Hi
You can just use
getMinAndMax(min, max)
Returns the minimum and maximum displayed pixel values (display range). See the DisplayRangeMacros for examples.
http://imagej.nih.gov/ij/developer/macro/functions.htmlBest
Oli
> -----Original Message-----
> From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of
> mmettlen
> Sent: Tuesday, March 10, 2015 17:27
> To:
[hidden email]
> Subject: Save B&C values after running "Enhance Contrast"
>
> Hi,
> Is an ImageJ macro able to extract and save the min/max displayed values for
> each channel after running e.g.:
>
> setSlice(1);
> run("Enhance Contrast", "saturated=0.35"); setSlice(2); run("Enhance
> Contrast", "saturated=0.35");
>
> Ths!
>
>
>
> --
> View this message in context:
http://imagej.1557.x6.nabble.com/Save-B-C-> values-after-running-Enhance-Contrast-tp5011937.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html