08-17-2005 02:37 PM
08-18-2005 03:23 PM
08-19-2005 01:45 AM
hello,
which is exactly the error you are having. Could you post a simple example with the VIs that you use?
crisR
08-23-2005 01:28 PM
08-24-2005 03:20 AM
Hello,
In order for the pattern matching to operate correctly, the acquired image and the pattern template image must both have the same bit depth. For example, if you acquire 16-bit images but your pattern image is an 8-bit file, then LabVIEW will return the above error and will be unable to match the pattern to the image correctly.
In the following link you have more information about it. Look at Point 4.
http://digital.ni.com/public.nsf/websearch/F05924D50AD6472B86256F320075CDBF?OpenDocument
Maybe, this is the problem you are having. Check the bit depth bot your images acquired and the template. They must be the same.
crisR
07-24-2009 07:52 AM - edited 07-24-2009 07:58 AM
Thanks CrisR for your link!
Sorry to dig this thread out but i am having the same problem when using IMAQ Mask (after ROITomask). I tried to set the mask & the destination images to I16 but the same error occurs.
Does this function only deals with U8 ?
I don't post my VI but it is exactly the same as ROI_example with a I16 image in, and with the functions ROItoMask, IMAQ Mask and Image to Array in order to export pixel values of the desired Region of Interest.
Thanks for the help
Christophe
07-24-2009 08:08 AM
Hi,
Imaq Mask help notifies that Image Mask is an 8-bit image...So my question is answered!
Is The last remaining solution to convert my 16bit image to 8?
07-27-2009 07:47 AM
Up this problem!