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

Class MorphologicGradientImage

  • All Implemented Interfaces:
    IApplyInPlace


    public class MorphologicGradientImage
    extends java.lang.Object
    implements IApplyInPlace
    Morphologic Gradient Image. In mathematical morphology and digital image processing, a morphological gradient is the difference between the dilation and the erosion of a given image. It is an image where each pixel value (typically non-negative) indicates the contrast intensity in the close neighborhood of that pixel. It is useful for edge detection and segmentation applications. References: http://en.wikipedia.org/wiki/Morphological_gradient
    • Constructor Summary

      Constructors 
      Constructor and Description
      MorphologicGradientImage()
      Initialize a new instance of the MorphologicGradientImage class.
      MorphologicGradientImage(int radius)
      Initialize a new instance of the MorphologicGradientImage class.
      MorphologicGradientImage(int[][] kernel)
      Initialize a new instance of the MorphologicGradientImage class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyInPlace(FastBitmap fastBitmap)
      Apply filter to an image.
      int[][] getKernel()
      Get Kernel of morphologic operators.
      int getRadius()
      Get Radius of morphologic operators.
      void setKernel(int[][] kernel)
      Set Kernel of morphologic operators.
      void setRadius(int radius)
      Set Radius of morphologic operators.
      • Methods inherited from class java.lang.Object

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

      • MorphologicGradientImage

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

        public MorphologicGradientImage(int radius)
        Initialize a new instance of the MorphologicGradientImage class.
        Parameters:
        radius - Radius.
      • MorphologicGradientImage

        public MorphologicGradientImage(int[][] kernel)
        Initialize a new instance of the MorphologicGradientImage class.
        Parameters:
        kernel - Kernel.
    • Method Detail

      • getRadius

        public int getRadius()
        Get Radius of morphologic operators.
        Returns:
        Radius.
      • setRadius

        public void setRadius(int radius)
        Set Radius of morphologic operators.
        Parameters:
        radius - Radius.
      • getKernel

        public int[][] getKernel()
        Get Kernel of morphologic operators.
        Returns:
        Kernel.
      • setKernel

        public void setKernel(int[][] kernel)
        Set Kernel of morphologic operators.
        Parameters:
        kernel - Kernel.
      • 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.