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