get 3 max and min values
Posted by danibodor on
URL: http://imagej.273.s1.nabble.com/get-3-max-and-min-values-tp3692913.html
I know that you can get the max and min of a selection with the getMinAndMax function (or getStatistics). Is there a way to get e.g. the 3 maximum or minimum values. I was searching for a function to list all the values in a selection, and then sorting those and getting X maximal or minimal values. However, I cannot find a way of listing all the values in my selection. Also, I don't know if it possible to then easily sort them to get the highest values.
Can anyone help me?
Thanks!