07-02-2014 04:05 AM
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
07-02-2014 04:54 AM
If you just want the mean of the five highest array elements, you could try something like this: