Solution
This error will occur when the function you are using does not support your
Image Type. Check which
image types you can pass in as source/input images to your function.
If you want to use a function that does not support your current Image Type, you can try using the
IMAQ Cast Image function to convert the image to a compatible image type.
Note: Always be sure to verify the images to ensure it is the type you expect, especially after casting the image to another data type or bitness.
If you are using a thresholding VI, ensure it is the correct VI for the specific image type:
- If you have a colored image, you need to use IMAQ Color Threshold.vi before you do particle analysis.
- If you have a monochrome image you need to use IMAQ Threshold.vi before you do particle analysis.
- If you have a colored image and need to use IMAQ Threshold.vi, then you need to use IMAQ Cast.vi to convert the 16 bit image to a 8 bit image before performing thresholding using the IMAQ Threshold.vi.