LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Histogram doesn't work

Solved!
Go to solution

Hello,

 

In the example that follows the IMAQ Histogram block doesn't do its job: all statistics are 0.

Where I've been mistaken ?

 

Thanks in advance.

 

Image_Average_issue [0].png

 

 

0 Kudos
Message 1 of 4
(3,686 Views)

Well, look at the wire connected to the input of the Histogram Function -- it comes from an IMAQ Create function that creates a blank image!  So you get the Expected Answer, every intensity is zero.  Fix your wiring.

 

Bob Schor

0 Kudos
Message 2 of 4
(3,679 Views)
Solution
Accepted by topic author Pavel_47

Resolved.

The problem was the IMAQ Histogram doesn't work with RGB (I used PC web camera).

Workarounf: insert the Customizing function (that transforms 32-bit RGB to 16-bit grey) between ROI image and Histogram.

 

 

Image_Average_issue [1].png

0 Kudos
Message 3 of 4
(3,672 Views)

Dear Sir,

         I am facing the same issue with IMAQ Histogram block I am not able to properly plot the Histogram for my 16-Bit Monochrome image. Can you please do share with me the solution you have found for sorting out this issue.?Hist.PNG

0 Kudos
Message 4 of 4
(2,867 Views)