public interface ThinningStrategy extends SingletonPlugin
Modifier and Type | Method and Description |
---|---|
void |
afterCycle()
Called by the ThinningOp after each cycle, and thus exactly
getIterationsPerCycle()-times per iteration.
|
ThinningStrategy |
copy()
Returns a seperate copy of this strategy.
|
int |
getIterationsPerCycle()
Returns the minimum number of iterations necessary for the algorithm to
run.
|
boolean |
removePixel(long[] position,
RandomAccessible<BitType> accessible,
int iteration)
This method should determine whether to keep a foreground pixel or not.
|
boolean removePixel(long[] position, RandomAccessible<BitType> accessible, int iteration)
position
- Long Array containing the current position in the image.accessible
- The image to thin.iteration
- The iteration number.int getIterationsPerCycle()
void afterCycle()
ThinningStrategy copy()
Copyright © 2014–2022 ImageJ. All rights reserved.