PDA

View Full Version : MV Blob Finder Issue



kcad
May 25, 2005, 20:37:35
I am having an issue with the ROI in the MV Blob Finder.

1. I have it set to 200(H) by 320(W) on a 320x240 input stream. It seems to intermittently change the Width value to zero though? I can't figure out why? It might be correlated to using the mvp file from an application, but I'm not making any calls that should modify this value.

2. Once it made that change to 0, if I increase the ROI width again then run my mvp from the workbench (or if I run and increase the width while it is running), it crashes.

Error message is:
===
IPL 2.5 Release
In function iplColorToGray(): [file iplcolor.c, line 74]
Incorrect Image

Incorrect size of ROI in the image header
(status: -25)

ErrMode=IPL_ErrorModeLeaf

Terminate the application?
===


Am I doing something wrong or is there a bug in there or something?

Thanks

kcad
May 25, 2005, 20:45:27
The changing ROI width seems to occur when I save, close, then reopen my mvp file... It seems that opening the file resets the ROI width value from 320 to 0, and it can't be increased again.

kcad
May 25, 2005, 20:52:47
I'm not sure if this helps explain the issue, but if I take an MVP file that has had the problem above in #1, remove the Blob Finder, then insert a new blob finder, I can modify the ROI dimension without a crash.

As soon as I save that same MVP file and re-open it, the ROI width gets set to 0 and I get a runtime crash if I change it.