Catalano.Imaging.Filters
Class Or
- java.lang.Object
-
- Catalano.Imaging.Filters.Or
-
- All Implemented Interfaces:
- IApplyInPlace
public class Or extends java.lang.Object implements IApplyInPlace
Or filter - Performs logical operator "or" between two images.
Logical operators are generally derived from Boolean algebra.
Truth-tables for OR:
A B | Q
---------
0 0 | 0
0 1 | 1
1 0 | 1
1 1 | 1
-
-
Constructor Summary
Constructors Constructor and Description Or()Initialize a new instance of the Or class.Or(FastBitmap overlayImage)Initialize a new instance of the Or 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
-
Or
public Or()
Initialize a new instance of the Or class.
-
Or
public Or(FastBitmap overlayImage)
Initialize a new instance of the Or 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