Login  Register

Re: Default LUT

Posted by Michael Schmid on Aug 23, 2014; 6:03pm
URL: http://imagej.273.s1.nabble.com/Default-LUT-tp5009240p5009318.html

Hi Matt,

if you have 16-bit images, there are several choices for the default
display range in Edit>Options>Appearance.

Otherwise, if you start a plugin that registers as an ImageListener on
ImageJ startup (run it in macro "AutoRun" of StartupMacros.txt), you can
easily use that plugin to set the display range to any value you like.

Use imp.getProcessor().setMinAndMax(min, max).

Michael
____________________________________________________________________

On Sat, August 23, 2014 18:38, Matt wrote:

> Great it works! Thank you very much :-)
>
> I have one more request. How could I achieve that ImageJ always opens
> image with the maximum contrast? Namely, images are always shown with low
> contrast, which I fix by going to Image/Adjust/Brightness&Contrast and set
> the limits. Is there a way this could be atomized? I would always like to
> have "minimum display value" at 0 whereas the "maximum display value"
> should be automatically adjusted for particular image.
>
> Thanks,
> Matt

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html