public class HistogramStretch extends java.lang.Object implements IApplyInPlace
Imaging - Scott E. Umbaugh - Chapter 8 - p. 353| Constructor and Description |
|---|
HistogramStretch()
Initialize a new instance of the HistogramStretch class.
|
HistogramStretch(int min,
int max)
Initialize a new instance of the HistogramStretch class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
int |
getMax()
Maximum gray level.
|
int |
getMin()
Minimum gray level.
|
void |
setMax(int max)
Maximum gray level.
|
void |
setMin(int min)
Minimum gray level.
|
public HistogramStretch()
public HistogramStretch(int min,
int max)
min - Correspond to the minimum gray level values possible. Range [0..255].max - Correspond to the maximum gray level values possible. Range [0..255].public int getMax()
public void setMax(int max)
max - Maximum.public int getMin()
public void setMin(int min)
min - Minimum.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.