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