Class NeighborhoodFactory
Object
org.anchoranalysis.image.voxel.neighborhood.NeighborhoodFactory
public class NeighborhoodFactory extends Object
Creates either a big voxel-neighborhood or a small voxel-neighborhood.
In two dimensions, a big voxel neighborhood is 8-connected, and a small neighborhood is 4-connected.
In three dimensions, a big voxel neighborhood is 26-connected, and a small neighborhood is 6-connected.
- Author:
- Owen Feehan
- See Also:
- Pixel connectivity
-
Method Summary
Modifier and Type Method Description static Neighborhoodof(boolean big)Gets an appropriate neighborhood
-
Method Details
-
of
Gets an appropriate neighborhood- Parameters:
big- if true, a big neighborhood, if false a small one- Returns:
- the neighborhood
-