05-22-2015 02:32 AM
hi
im beginner in labview
i Extracts the pixels from part of an image into a 2D array
and i want to count number between 80 and 125 but i can't understand how
so someone tel me how i can do this
thx for help
05-22-2015 02:42 AM - edited 05-22-2015 02:43 AM
Maybe something like this?
(if you expect a large number, insert a to-I32 before taking the sum.)
05-22-2015 02:55 AM
hanks
i will try to do this
because my object is to calculate the percentage of pixel in image like the function in NI vision builder 'count pixels) but in labview they don't have function to do this .
so i transforme the image To2D array.and count numbers between min and max and finaly calculate the percentage
05-22-2015 03:02 AM - edited 05-22-2015 03:06 AM
The total number of elements is just the product of the two dimension sizes, so calcuating the percentage is very simple.
05-22-2015 03:10 AM
thanks
i will try to do
and if you cant send me this vi because i don't know the name of all the function in your image
I student is the first time I am working with labview
05-22-2015 09:17 AM
As a student, this is a good opportunity to learn:
The functions are:
Use "quickdrop" and start typing these words to get each function. If you don't know what quickdrop is, do a search. 😧
Good luck!
05-22-2015 10:47 AM
thanks for your help