Catalano.Imaging.Filters
Class Division
- java.lang.Object
-
- Catalano.Imaging.Filters.Division
-
- All Implemented Interfaces:
- IApplyInPlace
public class Division extends java.lang.Object implements IApplyInPlace
Division filter - divide pixel values of one or two images.- Supported types: Grayscale, RGB.
- Coordinate System: Matrix.
-
-
Constructor Summary
Constructors Constructor and Description Division()Initialize a new instance of the Division class.Division(double gray)Initialize a new instance of the Division class.Division(double r, double g, double b)Initialize a new instance of the Division class.Division(FastBitmap overlayImage)Initialize a new instance of the Division class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap sourceImage)Apply filter to an image.voidApplyInPlaceImage(FastBitmap sourceImage)voidApplyInPlaceValues(FastBitmap sourceImage)voidsetOverlayImage(FastBitmap overlayImage)Sets an overlay image, which will be used as the second image required to process source image.
-
-
-
Constructor Detail
-
Division
public Division()
Initialize a new instance of the Division class.
-
Division
public Division(double gray)
Initialize a new instance of the Division class.- Parameters:
gray- Gray value.
-
Division
public Division(double r, double g, double b)Initialize a new instance of the Division class.- Parameters:
r- Red value.g- Green value.b- Blue value.
-
Division
public Division(FastBitmap overlayImage)
Initialize a new instance of the Division 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.
-
ApplyInPlaceValues
public void ApplyInPlaceValues(FastBitmap sourceImage)
- Parameters:
sourceImage-
-
ApplyInPlaceImage
public void ApplyInPlaceImage(FastBitmap sourceImage)
- Parameters:
sourceImage-
-
-
DataMelt 3.0 © DataMelt by jWork.ORG