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

Class TopHat

  • All Implemented Interfaces:
    IApplyInPlace


    public class TopHat
    extends java.lang.Object
    implements IApplyInPlace
    Top-hat operator from Mathematical Morphology.
    Top-hat morphological operator subtracts result of morphological opening on the input image from the input image itself.
    Applied to binary image, the filter allows to get all those object (their parts) which were removed by opening filter, but never restored.
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyInPlace(FastBitmap fastBitmap)
      Apply filter to an image.
      • Methods inherited from class java.lang.Object

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

      • TopHat

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

        public TopHat(int[][] se)
        Initialize a new instance of the BottomHat class.
        Parameters:
        se - Structuring element.
      • TopHat

        public TopHat(int radius)
        Initialize a new instance of the BottomHat class.
        Parameters:
        radius - Radius.
    • Method Detail

      • 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.