retreiving with getStatistics

Posted by donny008 on
URL: http://imagej.273.s1.nabble.com/retreiving-with-getStatistics-tp3692946.html

hello

i am faced with a small hiccup while writing this macro so that i can
possibly retreive the mean value and then use this to calculate the mean and
max values. this is my macro

run("Brightness/Contrast...");
    getStatistics(mean, min, max, std, histogram);

    setMinAndMax(mean*0.6666,201);

can someone tell me wats the mistake with this. i wanted getStatistics to
get the values from the image and then with setMinAndMax i could calculate
and set the values.

thanku for the help in advance

cheers


--
Donny George