Hello to all!
I'm having a problem with an openCV program which compiles correctly but when it runs it aborts giving this error:
OpenCV Error: Assertion failed (dims <= 2 && step > 0) in locateROI, file /home/user/Desktop/HOME/src/OpenCV/modules/core/src/matrix.cpp, line 647
terminate called after throwing an instance of 'cv::Exception'
what(): /home/user/Desktop/HOME/src/OpenCV/modules/core/src/matrix.cpp:647: error: (-215) dims <= 2 && step > 0 in function locateROI
I'm using ubuntu with the latest openCV libraries but it gives me the same error also on Leopard with Eclipse.
The matrix.cpp file is inside my openCV source folder.
I'm not able to understand why i'm getting this error. Can you help me, please? Thanks a lot.
P.S. I can add the code i'm using if needed.
P.P.S. I've already tryed to ask to opencv yahoo group without any success :(