Hey!
This might be a very trivial issue since I'm new to LabVIEW.
I'm trying to extract the contour from an image. I am trying to use a predefined ROI (Rectangular) instead of the regular user-defined Region ROI. It works fine with the user-defined ROI and I was able to do the further required analysis.
I'm doing this to eliminate the need to specify some region for analyzing an image.
I have reproduced the same error by writing a small VI (Screenshot) since the original file had lots of other things. I'm just trying to get the size of the image and specify the whole rectangle that bounds the image as the ROI which seems pretty straightforward. But as I connect the ROI descriptor to the Extract Contour, it shows a red coercion dot. And the error pops up.
Can anyone provide the reason for this error and how this can be resolved?
Error -1074395720 occurred at IMAQ Extract Contour
Possible reason(s):
IMAQ Vision: (Hex 0xBFF605B8) Invalid ROI.
I've attached both the input files and the VI.
Thanks for any help,
Prathamesh Kulkarni.