Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ok Thanks for the reply. And sorry, I think I wasnt clear with my problem. For me , the problem is not with the Image function itself. I created a binary,8bit,1 channel thresholded CvMat using openCV and loaded it into simpleCV with img=Image(thresholdedimage). Now if i run img.findBlobs() I get the above error.So the issue is with findblobs, which seems to fail if passed an already thresholded image.

Ive been looking at the source code and trying to figure out where to add some code to fix the issue. If i figure it out,I ll let you know. Im think it has to do with bypassing the code that creates a thresholded image within findblobs. thanks again harsha