Documentation of 'Catalano.Imaging.Filters.Subtract' Java class
Subtract
Catalano.Imaging.Filters

Class Subtract

  • All Implemented Interfaces:
    IApplyInPlace


    public class Subtract
    extends java.lang.Object
    implements IApplyInPlace
    Subtract filter - subtract pixel values of one or two images.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Subtract()
      Initialize a new instance of the Subtract class.
      Subtract(FastBitmap overlayImage)
      Initialize a new instance of the Subtract class.
      Subtract(int gray)
      Initialize a new instance of the Subtract class.
      Subtract(int r, int g, int b)
      Initialize a new instance of the Subtract class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyInPlace(FastBitmap sourceImage)
      Apply filter to an image.
      void setOverlayImage(FastBitmap overlayImage)
      Sets an overlay image, which will be used as the second image required to process source image.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Subtract

        public Subtract()
        Initialize a new instance of the Subtract class.
      • Subtract

        public Subtract(int gray)
        Initialize a new instance of the Subtract class.
        Parameters:
        gray - Gray value.
      • Subtract

        public Subtract(int r,
                        int g,
                        int b)
        Initialize a new instance of the Subtract class.
        Parameters:
        r - Red value.
        g - Green value.
        b - Blue value.
      • Subtract

        public Subtract(FastBitmap overlayImage)
        Initialize a new instance of the Subtract 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: IApplyInPlace
        Apply filter to an image.
        Specified by:
        applyInPlace in interface IApplyInPlace
        Parameters:
        sourceImage - Image to be processed.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.