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