LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ vision bug in several IMAQ vision functions

Some IMAQ Vision functions malfunction if you use the source image as the mask. I keep running into this bug in IMAQ Vision, some Vision functions exhibit this behavior, and some don't. It is not documented in the function descriptions. Even if it were, it would still be a bug. Example:

 

1. Create a U8 source image that contains some zeros and some nonzero values.

2. Wire the image into the source input and mask input of IMAQ Quantify and return the % value of the global report to see what percentage of pixels are nonzero.

 

The answer is wrong. If you copy the image into a separate image first, and wire the separate image into the mask input, you get the correct answer. See attached VI for edification

 

 

Cheers,

-root

Message Edited by Root Canal on 04-20-2009 06:06 PM
Message Edited by Root Canal on 04-20-2009 06:08 PM

global variables make robots angry


Download All
0 Kudos
Message 1 of 2
(2,237 Views)
Identical thread in Machine Vision discussion forum: mask bug in several IMAQ vision functions
Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 2 of 2
(2,201 Views)