Hi all,
Is there an easy way to read out the LUT display range which was set by the user in an ImageJ macro?
I would like to export a PNG image after letting the user adjust the contrast and then store the display range information along with the PNG.
I am aware that I get the display range by run(“Show Info…”); but I would like to know how can I read out the numbers from this Info box.
Thanks in advance!
Edit: I just realised that getMinAndMax(min, max); does what I want and returns the display range - unlike the min and max returned by the getStatistics command which hold the pixel values.
Best,
Anne