public interface Neighborhood3x3Watcher
Modifier and Type | Method and Description |
---|---|
double |
calcOutputValue()
Called after neighborhood is completely visited.
|
void |
initializeNeighborhood(long[] position)
Called once each time a neighborhood is visited for the first time to allow
implementer to initialize local neighborhood state.
|
void |
setup()
Called once before the neighborhood iterations take place to allow
implementer to initialize state.
|
void |
visitLocation(int dx,
int dy,
double value)
Called 9 times (3x3), once for each value at a location so implementer can
update state for the local neighborhood.
|
void setup()
void initializeNeighborhood(long[] position)
void visitLocation(int dx, int dy, double value)
double calcOutputValue()
Copyright © 2014–2022 ImageJ. All rights reserved.