LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting 2d array of pixel intensities from image

Hi all,

 

I have got an image which i have converted in to an 2d array using IMAQ image to Array VI. The image size is 640X240. Now my task is to sort this 2d array of image pixel intensities and obtain first five highest elements and average them.

 

Please let me know how this can be achieved.

 

Thanks in advance,

with regards,

sri

 

 

0 Kudos
Message 1 of 2
(2,281 Views)

If you just want the mean of the five highest array elements, you could try something like this:

 

SNIPPET.png

0 Kudos
Message 2 of 2
(2,263 Views)