public class Morph extends java.lang.Object implements IApplyInPlace
| Constructor and Description |
|---|
Morph()
Initialize a new instance of the BottomHat class.
|
Morph(FastBitmap overlayImage)
Initialize a new instance of the BottomHat class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap sourceImage)
Apply filter to an image.
|
double |
getSourcePercent()
Percent of source image to keep, [0, 1].
|
void |
setOverlayImage(FastBitmap overlayImage)
Sets an overlay image, which will be used as the second image required to process source image.
|
void |
setSourcePercent(double sourcePercent)
Percent of source image to keep, [0, 1].
|
public Morph()
public Morph(FastBitmap overlayImage)
overlayImage - Overlay image.public void setOverlayImage(FastBitmap overlayImage)
overlayImage - Overlay image.public double getSourcePercent()
public void setSourcePercent(double sourcePercent)
sourcePercent - Source percent.public void applyInPlace(FastBitmap sourceImage)
IApplyInPlaceapplyInPlace in interface IApplyInPlacesourceImage - Image to be processed.