public class FloodFiller extends Object
Constructor and Description |
---|
FloodFiller(ImageProcessor ip) |
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,
Rectangle bounds)
This method is used by the particle analyzer to remove interior holes from particle masks.
|
public FloodFiller(ImageProcessor ip)
public boolean fill(int x, int y)
public boolean fill8(int x, int y)
public void particleAnalyzerFill(int x, int y, double level1, double level2, ImageProcessor mask, Rectangle bounds)
Copyright © 1997–2018 NIH. All rights reserved.