Ask Your Question
0

OpenCV error in cvPtr2D

asked 2013-05-14 12:45:23 -0600

Arthur gravatar image

Hello, The following error occur in my application:

OpenCV Error: Bad argument (unrecognized or unsupported array type) in cvPtr2D, file cxcore/cxarray.cpp, line 1818 terminate called after throwing an instance of 'cv::Exception'

What is that?

Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-05-15 02:15:33 -0600

berak gravatar image

"What is that?"

that is in most cases an invalid or empty Mat/IplImage.

check, if the image you're trying to access with cvPtr2D has proper width/height/depth.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-05-14 12:45:23 -0600

Seen: 1,724 times

Last updated: May 15 '13