Registration module crashes [closed]

asked Mar 25 '15

ascentof gravatar image

updated Mar 25 '15

Hi,

I was trying to use the new registration module from opencv_contrib.

I used the example code.

cv::reg::MapperGradProj mapper;
cv::Ptr<cv::reg::Map> mapPtr;
cv::reg::MapperPyramid mappPyr(mapper);
mappPyr.calculate(oimage,oimage2, mapPtr);

The program already fails calling the calculate function.

Error in ... free(): invalid next size (normal): 0x0000000002a5a590

Edit: Got it. I had to convert the image to float first.

Preview: (hide)

Closed for the following reason the question is answered, right answer was accepted by berak
close date 2015-03-25 05:06:24.428741