From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

count number pixcel labview vision 2013

Solved!
Go to solution

hi gays 

i need your help i want to count number of pixel with template in labview vison 2013 

thanks 

0 Kudos
Message 1 of 5
(2,857 Views)

What pixels, and what templates are you talking about?

 

Provide some information in your question.  Perhaps attach a VI or at leaste a picture of what you want.

0 Kudos
Message 2 of 5
(2,831 Views)

i want determines the precentage of pixels in a region of intreset that have a given intensity range 

like the the finction count pixels in NI vision builder AI but i want in labview vision 2013 

thanks 

0 Kudos
Message 3 of 5
(2,806 Views)
Solution
Accepted by topic author dalyto

Try the VI IMAQ Count Objects 2 in the Vision And Motion>Machine Vision>Count and Measure Objects palette.

If that does not do exactly what you want, you can still choose to migrate the VBAI inspection to LabVIEW (Tools>>Migrate Inspection to LabVIEW from VBAI) and look at the code generated. It will produce exactly the same results as in VBAI. The only thing is that the code generated is complex.

 

Hope this helps.

 

Christophe

0 Kudos
Message 4 of 5
(2,748 Views)

 hi ChristopheC

thanks for help 

0 Kudos
Message 5 of 5
(2,729 Views)