Auto adjustment enhance question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Auto adjustment enhance question

doritoman23
In the brightness contrast adjustment, there is an option to press auto which
apparently does this:
"run", "Enhance Contrast", "saturated=0.35"

However, how exactly does enhance contrast work with a saturation value? Is
there any code available for this?

Thanks



--
Sent from: http://imagej.1557.x6.nabble.com/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Auto adjustment enhance question

Michael Schmid-3
Hi anonymous,

The Process>Enhance Contrast command has a Help Button, which links to
the documentation:
   https://imagej.nih.gov/ij/docs/menus/process.html#enhance


The "saturated=0.35" fills in 0.35 into the "Saturated pixels:" field of
the Dialog. The checkboxes remain unchecked: To select a checkbox, one
would have to add its name, e.g.
   "run", "Enhance Contrast", "saturated=0.35 equalize"

If you want to know more about the internals of an ImageJ command:

Type (CTRL) L and "Enhance Contrast". Then you get the Class responsible
for it (ij.plugin.ContrastEnhancer) and a button to show the source code.


Michael
________________________________________________________________

On 30/12/2017 20:26, doritoman23 wrote:
> In the brightness contrast adjustment, there is an option to press auto which
> apparently does this:
> "run", "Enhance Contrast", "saturated=0.35"
>
> However, how exactly does enhance contrast work with a saturation value? Is
> there any code available for this?
>
> Thanks

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