public class ContrastEnhancer extends Object implements PlugIn, Measurements
ADD_TO_OVERLAY, ALL_STATS, AREA, AREA_FRACTION, CENTER_OF_MASS, CENTROID, CIRCULARITY, ELLIPSE, FERET, INTEGRATED_DENSITY, INVERT_Y, KURTOSIS, LABELS, LIMIT, MAX_STANDARDS, MEAN, MEDIAN, MIN_MAX, MODE, NaN_EMPTY_CELLS, PERIMETER, RECT, SCIENTIFIC_NOTATION, SHAPE_DESCRIPTORS, SKEWNESS, SLICE, STACK_POSITION, STD_DEV
Constructor and Description |
---|
ContrastEnhancer() |
Modifier and Type | Method and Description |
---|---|
void |
equalize(ImagePlus imp) |
void |
equalize(ImageProcessor ip)
Changes the tone curves of images.
|
void |
run(String arg)
This method is called when the plugin is loaded.
|
void |
setNormalize(boolean normalize) |
void |
setProcessStack(boolean processStack) |
void |
setUseStackHistogram(boolean useStackHistogram) |
void |
stretchHistogram(ImagePlus imp,
double saturated) |
void |
stretchHistogram(ImageProcessor ip,
double saturated) |
void |
stretchHistogram(ImageProcessor ip,
double saturated,
ImageStatistics stats) |
public void run(String arg)
PlugIn
public void stretchHistogram(ImagePlus imp, double saturated)
public void stretchHistogram(ImageProcessor ip, double saturated)
public void stretchHistogram(ImageProcessor ip, double saturated, ImageStatistics stats)
public void equalize(ImagePlus imp)
public void equalize(ImageProcessor ip)
public void setNormalize(boolean normalize)
public void setProcessStack(boolean processStack)
public void setUseStackHistogram(boolean useStackHistogram)
Copyright © 1997–2020 NIH. All rights reserved.