Catalano.Imaging.Filters
Class And
- java.lang.Object
-
- Catalano.Imaging.Filters.And
-
- All Implemented Interfaces:
- IApplyInPlace
public class And extends java.lang.Object implements IApplyInPlace
And filter - Performs logical operator "and" between two images.
Logical operators are generally derived from Boolean algebra.
Truth-tables for AND:
A B | Q
---------
0 0 | 0
0 1 | 0
1 0 | 0
1 1 | 1
-
-
Constructor Summary
Constructors Constructor and Description And()Initialize a new instance of the And class.And(FastBitmap overlayImage)Initialize a new instance of the And class with defined an overlay image.
-
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)Set Overlay image.
-
-
-
Constructor Detail
-
And
public And()
Initialize a new instance of the And class.
-
And
public And(FastBitmap overlayImage)
Initialize a new instance of the And class with defined an overlay image.- Parameters:
overlayImage- Overlay image.
-
-
Method Detail
-
setOverlayImage
public void setOverlayImage(FastBitmap overlayImage)
Set Overlay 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