Catalano.Imaging.Filters
Class StereoAnaglyph
- java.lang.Object
-
- Catalano.Imaging.Filters.StereoAnaglyph
-
- All Implemented Interfaces:
- IApplyInPlace
public class StereoAnaglyph extends java.lang.Object implements IApplyInPlace
Stereo anaglyph filter.The image processing filter produces stereo anaglyph images which are aimed to be viewed through anaglyph glasses with red filter over the left eye and cyan over the right.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classStereoAnaglyph.AlgorithmEnumeration of algorithms for creating anaglyph images.
-
Constructor Summary
Constructors Constructor and Description StereoAnaglyph()Initializes a new instance of the StereoAnaglyph class.StereoAnaglyph(FastBitmap overlayImage)Initializes a new instance of the StereoAnaglyph class.StereoAnaglyph(FastBitmap overlayImage, StereoAnaglyph.Algorithm algorithm)Initializes a new instance of the StereoAnaglyph class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap sourceImage)Apply filter to an image.StereoAnaglyph.AlgorithmgetAlgorithm()Algorithm for creating anaglyph images.FastBitmapgetOverlayImage()Overlay Image.voidsetAlgorithm(StereoAnaglyph.Algorithm algorithm)Algorithm for creating anaglyph images.voidsetOverlayImage(FastBitmap overlayImage)Overlay Image.
-
-
-
Constructor Detail
-
StereoAnaglyph
public StereoAnaglyph()
Initializes a new instance of the StereoAnaglyph class.
-
StereoAnaglyph
public StereoAnaglyph(FastBitmap overlayImage)
Initializes a new instance of the StereoAnaglyph class.- Parameters:
overlayImage- Overlay image.
-
StereoAnaglyph
public StereoAnaglyph(FastBitmap overlayImage, StereoAnaglyph.Algorithm algorithm)
Initializes a new instance of the StereoAnaglyph class.- Parameters:
overlayImage- Overlay image.algorithm- Enumeration of algorithms for creating anaglyph images.
-
-
Method Detail
-
getAlgorithm
public StereoAnaglyph.Algorithm getAlgorithm()
Algorithm for creating anaglyph images.- Returns:
- Algorithm.
-
setAlgorithm
public void setAlgorithm(StereoAnaglyph.Algorithm algorithm)
Algorithm for creating anaglyph images.- Parameters:
algorithm- Algorithm.
-
getOverlayImage
public FastBitmap getOverlayImage()
Overlay Image.- Returns:
- Overlay image.
-
setOverlayImage
public void setOverlayImage(FastBitmap overlayImage)
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