ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting Discrete Histogram

I tried to plot the contrast information of an image using the IMAQ histogram., But the output of this vi does not have a IMAQ display associated with it.  Even when I tried to use the built in LabVIEW graphs to display the histogram, it gives a continous plot.

 

Is there any VI I can use to display a discrete histotram plot as shown in the attached picture.

 

Thank you.

0 Kudos
Message 1 of 5
(4,108 Views)
Instead of IMAQ histogram, use IMAQ histograph.vi (vision and motion > image processing > analysis > ...), and connect a waveform graph to the histogram graph output. Then choose a bar plot style.
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 5
(4,103 Views)

Thank you Chilly. I did what you suggested, however, I can not change the waveform plot to bar plot.

 

There is no option to change it to bar plot.

 

I have attached the VI .

 

Thanks.

0 Kudos
Message 3 of 5
(4,088 Views)

Right-clic on the graph > Visible items > plot legend 

then clic on legend > bar plots... 🙂 

Chilly Charly    (aka CC)
0 Kudos
Message 4 of 5
(4,079 Views)

Thank you very much Chilly.

 

Have a pleasant weekend

0 Kudos
Message 5 of 5
(4,074 Views)