Documentation of 'ij.process.FloodFiller' Java class
FloodFiller
ij.process

Class FloodFiller



  • public class FloodFiller
    extends java.lang.Object
    This class, which does flood filling, is used by the floodFill() macro function and by the particle analyzer The Wikipedia at "http://en.wikipedia.org/wiki/Flood_fill" has a good description of the algorithm used here as well as examples in C and Java.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean fill(int x, int y)
      Does a 4-connected flood fill using the current fill/draw value, which is defined by ImageProcessor.setValue().
      boolean fill8(int x, int y)
      Does a 8-connected flood fill using the current fill/draw value, which is defined by ImageProcessor.setValue().
      void particleAnalyzerFill(int x, int y, double level1, double level2, ImageProcessor mask, java.awt.Rectangle bounds)
      This method is used by the particle analyzer to remove interior holes from particle masks.
      • Methods inherited from class java.lang.Object

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

      • fill

        public boolean fill(int x,
                            int y)
        Does a 4-connected flood fill using the current fill/draw value, which is defined by ImageProcessor.setValue().
      • fill8

        public boolean fill8(int x,
                             int y)
        Does a 8-connected flood fill using the current fill/draw value, which is defined by ImageProcessor.setValue().
      • particleAnalyzerFill

        public void particleAnalyzerFill(int x,
                                         int y,
                                         double level1,
                                         double level2,
                                         ImageProcessor mask,
                                         java.awt.Rectangle bounds)
        This method is used by the particle analyzer to remove interior holes from particle masks.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.