Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1074396077 (IMAQ Vision: Incompatible image type) after running IMAQ Mask

I am attempting to process color picture of pellet. I want to exclude any particle that touches the edges of the color images. I created mask from original image and used this mask on the original color image to retain only the color particles that don't touch the boundary. The error occured  when I ran the IMAQ Mask. The error message is “Error -1074396077 (IMAQ Vision:  Incompatible image type)”. How can I fix it ?

I have picture and program as attached.

Download All
0 Kudos
Message 1 of 7
(7,223 Views)

Hi

You get this error message when you pass an invalid image type to a function.

here you must pass an RGB mask . Use the IMAQ Cast Image function to do this

Hope this help

Regards

NTA_LabView_certified_Developper.jpg
Message 2 of 7
(7,220 Views)

Dear toto26

 

I can't find IMAQ Cast Image function. Pls. instruct more details

 

Thanks and regards,

0 Kudos
Message 3 of 7
(7,209 Views)

Hi XuanThuy,

 

The IMAQ Cast function is part of the Vision Development Module (VDM), under the Image Management Palette, as indicated by this document: http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_cast_image/. If you can't locate it and you indeed have the VDM, there may be an issue with the installation of this module. A similar issue has been encountered and resolved in this forum post: http://forums.ni.com/t5/Machine-Vision/can-t-find-IMAQ-cast-image-vi/td-p/340157. What version of the vision software are you using?

0 Kudos
Message 4 of 7
(7,179 Views)

Dear Joseph-S,

 

I will find and try it. I use Labview 2011.

 

Thanks,

0 Kudos
Message 5 of 7
(7,173 Views)

Dear Joseph-S and toto26,

I tried use IMAQ Cast but IMAQ Cast can't convert U8 image mask to RGB mask. I have program as attached. May you help me ?

Best regards,

 

0 Kudos
Message 6 of 7
(7,149 Views)

Hi were you able to solve your problem. I am using LV 2010, Could you provided your color sortor vi code in 2010? I am having same error in IMAQ mask. I have full development module running on my computer. Thanks,

0 Kudos
Message 7 of 7
(6,936 Views)