Catalano.Imaging.Filters
Class Multiply
- java.lang.Object
-
- Catalano.Imaging.Filters.Multiply
-
- All Implemented Interfaces:
- IApplyInPlace
public class Multiply extends java.lang.Object implements IApplyInPlace
Multiply filter - multiply pixel values of one or two images.
-
-
Constructor Summary
Constructors Constructor and Description Multiply()Initialize a new instance of the Mulltiply class.Multiply(double gray)Initialize a new instance of the Mulltiply class.Multiply(double r, double g, double b)Initialize a new instance of the Mulltiply class.Multiply(FastBitmap overlayImage)Initialize a new instance of the Mulltiply class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap sourceImage)Apply filter to an image.voidsetOverlayImage(FastBitmap overlayImage)Sets an overlay image, which will be used as the second image required to process source image.
-
-
-
Constructor Detail
-
Multiply
public Multiply()
Initialize a new instance of the Mulltiply class.
-
Multiply
public Multiply(double gray)
Initialize a new instance of the Mulltiply class.- Parameters:
gray- Gray value.
-
Multiply
public Multiply(double r, double g, double b)Initialize a new instance of the Mulltiply class.- Parameters:
r- Red value.g- Green value.b- Blue value.
-
Multiply
public Multiply(FastBitmap overlayImage)
Initialize a new instance of the Mulltiply class.- Parameters:
overlayImage- Overlay image.
-
-
Method Detail
-
setOverlayImage
public void setOverlayImage(FastBitmap overlayImage)
Sets an overlay image, which will be used as the second image required to process source image.- Parameters:
overlayImage- Overlay image.
-
applyInPlace
public void applyInPlace(FastBitmap sourceImage)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
sourceImage- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG