Warping is crashing the terminal

asked 2017-11-27 11:03:19 -0500

saptarshi123 gravatar image

updated 2017-11-27 11:30:05 -0500

Hi

I am using the opencv warping api to warp multiple images from a Ladybug2 camera.

Ptr<warpercreator> warper_creator = makePtr<cv::planewarper>();

Ptr<rotationwarper> warper = warper_creator->create(static_cast<float>(warped_image_scale * seam_work_aspect));

warper->warp(imagesRect[i], kMat, cameras[i].R, INTER_LINEAR, BORDER_REFLECT, img_wrp);

The reason I am doing this is basically I have to stitch the images from all the 5 cameras and create a cylindrical view. I tried the general Stitching API but it is not working. I think the reason is there is not much overlapping area in the images. Plus I do not want to calculate every single time I have the camera extrinsic and intrinsic parameters with me.

Now to the question. When I am warping using the above mentioned API the terminal is getting crashed and I not able to get any exception message. Any idea what could be the possible reason. Or any suggestion regarding the stitching issue would be really helpful.

edit retag flag offensive close merge delete

Comments

not enough code visible to make any assumption, unfortunately

berak gravatar imageberak ( 2017-11-27 11:46:59 -0500 )edit