Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with IMAQ Histrograph.vi

Hi, I'm using this vi to determine the histogram of an image, the source of this images is my webcam and I'm using a Express vi Vision Acquisition(Continuos acqusistion with inline processing)... the proble is that when I run the program, it says 

 

"Error -1074396080 occurred at IMAQ Histograph"

"Possible reason(s):

IMAQ Vision: Invalid image type."

 

lol.png

 

0 Kudos
Message 1 of 2
(3,833 Views)

The image that is returned from the Vision Acquisition Express VI is a 32-bit RGB image. The IMAQ Histograph only accepts grayscale images (Open the Context Help (Ctrl + H) window and click on Detailed Help. Under Examples it should tell you what image type it accepts).

 

You might be better off using the IMAQ ColorHistograph.vi

 

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 2 of 2
(3,823 Views)