Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
ContrastEnhancer Class Reference
Inheritance diagram for ContrastEnhancer:
PlugIn

Public Member Functions

void run (String arg)
 
void stretchHistogram (ImagePlus imp, double saturated)
 
void stretchHistogram (ImageProcessor ip, double saturated)
 
void equalize (ImagePlus imp)
 
void equalize (ImageProcessor ip)
 

Detailed Description

Implements ImageJ's Process/Enhance Contrast command.

Definition at line 9 of file ContrastEnhancer.java.

Member Function Documentation

void equalize ( ImageProcessor  ip)
inline

Changes the tone curves of images. It should bring up the detail in the flat regions of your image. Histogram Equalization can enhance meaningless detail and hide important but small high-contrast features. This method uses a similar algorithm, but uses the square root of the histogram values, so its effects are less extreme. Hold the alt key down to use the standard histogram equalization algorithm. This code was contributed by Richard Kirk (rak@c.nosp@m.re.c.nosp@m.anon..nosp@m.co.u.nosp@m.k).

Definition at line 154 of file ContrastEnhancer.java.

void run ( String  arg)
inline

This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.

Implements PlugIn.

Definition at line 18 of file ContrastEnhancer.java.


The documentation for this class was generated from the following file: