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

Class FillHoles

  • All Implemented Interfaces:
    IApplyInPlace


    public class FillHoles
    extends java.lang.Object
    implements IApplyInPlace
    Fill holes in objects in binary image.
    • Constructor Summary

      Constructors 
      Constructor and Description
      FillHoles()
      Initialize a new instance of the FillHoles class.
      FillHoles(int minArea)
      Initialize a new instance of the FillHoles 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 getMinArea()
      Minimum area of a hole.
      void setMinArea(int minArea)
      Minimum area of a hole.
      • Methods inherited from class java.lang.Object

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

      • FillHoles

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

        public FillHoles(int minArea)
        Initialize a new instance of the FillHoles class.
        Parameters:
        minArea - Minimum area of a hole to fill.
    • Method Detail

      • getMinArea

        public int getMinArea()
        Minimum area of a hole.
        Returns:
        Area.
      • setMinArea

        public void setMinArea(int minArea)
        Minimum area of a hole.
        Parameters:
        minArea - Area.
      • 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.