Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

surf_matcher.cpp perspectivetransform exception

I am trying to test out surf_matcher.cpp (https://github.com/Itseez/opencv_contrib/blob/master/modules/xfeatures2d/samples/surf_matcher.cpp), the problem is I kept getting an exception in this line perspectiveTransform( obj_corners, scene_corners, H);. The images I provided is from the hand picture at the bottom of this page (http://docs.opencv.org/doc/tutorials/imgproc/histograms/histogram_comparison/histogram_comparison.html) since I can't find the box.png image for this program. I would like to know how to fix this exception and if there is another simpler version of SURF or SIFT for OpenCV 3.0.0. I am not sure what is causing the exception, maybe the image width and height, or missing libraries. If someone can give me a lead would be cool.

surf_matcher.cpp perspectivetransform exception

I am trying to test out surf_matcher.cpp (https://github.com/Itseez/opencv_contrib/blob/master/modules/xfeatures2d/samples/surf_matcher.cpp), the problem is I kept getting an exception in this line perspectiveTransform( obj_corners, scene_corners, H);. The images I provided is from the hand picture at the bottom of this page (http://docs.opencv.org/doc/tutorials/imgproc/histograms/histogram_comparison/histogram_comparison.html) since I can't find the box.png image for this program. I would like to know how to fix this exception and if there is another simpler version of SURF or SIFT for OpenCV 3.0.0. I am not sure what is causing the exception, maybe the image width and height, or missing libraries. If someone can give me a lead would be cool.cool. image description image description image description

surf_matcher.cpp perspectivetransform exception

I am trying to test out surf_matcher.cpp (https://github.com/Itseez/opencv_contrib/blob/master/modules/xfeatures2d/samples/surf_matcher.cpp), the problem is I kept getting an exception in this line perspectiveTransform( obj_corners, scene_corners, H);. The images I provided is from the hand picture at the bottom of this page (http://docs.opencv.org/doc/tutorials/imgproc/histograms/histogram_comparison/histogram_comparison.html) since I can't find the box.png image for this program. I would like to know how to fix this exception and if there is another simpler version of SURF or SIFT for OpenCV 3.0.0. I am not sure what is causing the exception, maybe the image width and height, or missing libraries. If someone can give me a lead would be cool. image description image description image description image description image description