Catalano.Imaging.Filters
Class Intersect
- java.lang.Object
-
- Catalano.Imaging.Filters.Intersect
-
- All Implemented Interfaces:
- IApplyInPlace
public class Intersect extends java.lang.Object implements IApplyInPlace
Intersect filter - get MIN of pixels in two images.
The intersect filter takes two images (source and overlay images) of the same size and pixel format and produces an image, where each pixel equals to the minimum value of corresponding pixels from provided images.
-
-
Constructor Summary
Constructors Constructor and Description Intersect()Initialize a new instance of the Intersect class.Intersect(FastBitmap overlayImage)Initialize a new instance of the Intersect class.
-
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)Sets an overlay image, which will be used as the second image required to process source image.
-
-
-
Constructor Detail
-
Intersect
public Intersect()
Initialize a new instance of the Intersect class.
-
Intersect
public Intersect(FastBitmap overlayImage)
Initialize a new instance of the Intersect 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.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG