how to transform image from one coordinate frame to another coordinate frame using c++
I have two images from two different cameras, for which I have done both intrinsic and extrinsic calibration.
I have done transforming point clouds(3D) from both the cameras to base_link frame and added together(point cloud registration).
I wanted to do the same for 2D images. That is, I want to transform both the images and stitch it together so that I get one large image as if taken from one single camera.
Is my approach correct. If so How would I do it.
Thanks in advance.
Asked by Mahe on 2016-10-25 17:20:47 UTC
Comments
It seems like you're trying to do https://en.wikipedia.org/wiki/Image_stitching and that seems more complex than just doing an image transform.
Asked by ahendrix on 2016-10-25 17:52:27 UTC
This seems relevant too: http://docs.opencv.org/2.4/modules/stitching/doc/introduction.html
Asked by ahendrix on 2016-10-25 17:54:42 UTC
I agree that "stitch" might be what you're looking for. Stitching by e.g.
OpenCV
2D images can be done without involving ROS. So I'm closing this for now as "OpenCV question". Please modify your question to provide more info if you insist this is still ROS question.Asked by 130s on 2022-02-01 01:59:13 UTC