LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

count pixel

Hello all , 

 

i need to find the percentage of Pixels and number of pixels in intensity range  in LabVIEW only . as like the "count pixel " function in the NI VISION BUILDER AI . 

 

i tried with the Imaq histogram and imaq get pixel value . pls suggest me a options . 

0 Kudos
Message 1 of 5
(3,579 Views)

Do you have Vision Acquisition Software? You can use IMAQ image to array to get the pixel intensities.

0 Kudos
Message 2 of 5
(3,519 Views)

a way without vision...

 

intensity_counting.png

0 Kudos
Message 3 of 5
(3,508 Views)

Hi zwired1, 

May i know, for what purpose you gave an intensity range from 200 to 256 ?

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

Just random numbers as placeholders.  You will need to put in numbers that suit your application.

 

In greyscale 0 is black and 255 is white so the range I put it would count "relatively bright" pixels. 

 

 

0 Kudos
Message 5 of 5
(3,483 Views)