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

Class SeparableConvolution

  • All Implemented Interfaces:
    IApplyInPlace


    public class SeparableConvolution
    extends java.lang.Object
    implements IApplyInPlace
    Separable Convolution filter.
    • Constructor Summary

      Constructors 
      Constructor and Description
      SeparableConvolution()
      Initialize a new instance of the SeparableConvolution class.
      SeparableConvolution(double[] kernelX, double[] kernelY)
      Initialize a new instance of the SeparableConvolution class.
      SeparableConvolution(double[] kernelX, double[] kernelY, boolean replicate)
      Initialize a new instance of the SeparableConvolution class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyInPlace(FastBitmap fastBitmap)
      Apply filter to an image.
      boolean isReplicate()
      Verify if needs replicate pixels when is out of border.
      void setReplicate(boolean replicate)
      Replicate pixels out of border.
      • Methods inherited from class java.lang.Object

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

      • SeparableConvolution

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

        public SeparableConvolution(double[] kernelX,
                                    double[] kernelY)
        Initialize a new instance of the SeparableConvolution class.
        Parameters:
        kernelX - X - Structuring element.
        kernelY - Y - Structuring element.
      • SeparableConvolution

        public SeparableConvolution(double[] kernelX,
                                    double[] kernelY,
                                    boolean replicate)
        Initialize a new instance of the SeparableConvolution class.
        Parameters:
        kernelX - X - Structuring element.
        kernelY - Y - Structuring element.
        replicate - Replicate pixels out of border.
    • Method Detail

      • isReplicate

        public boolean isReplicate()
        Verify if needs replicate pixels when is out of border.
        Returns:
        Replicate.
      • setReplicate

        public void setReplicate(boolean replicate)
        Replicate pixels out of border.
        Parameters:
        replicate - Replicate.
      • applyInPlace

        public void applyInPlace(FastBitmap fastBitmap)
        Description copied from interface: IApplyInPlace
        Apply filter to an image.
        Specified by:
        applyInPlace in interface IApplyInPlace
        Parameters:
        fastBitmap - Image to be processed.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.