Package inra.ijpb.data.border
Class PeriodicBorder3D
java.lang.Object
inra.ijpb.data.border.PeriodicBorder3D
- All Implemented Interfaces:
BorderManager3D
public class PeriodicBorder3D extends java.lang.Object implements BorderManager3D
Periodic border that considers image is repeated indefinitely in all
directions.
- Author:
- David Legland
-
Nested Class Summary
Nested classes/interfaces inherited from interface inra.ijpb.data.border.BorderManager3D
BorderManager3D.Type
-
Constructor Summary
Constructors Constructor Description PeriodicBorder3D(ij.ImageStack image)
Creates a new Periodic Border Manager -
Method Summary
Modifier and Type Method Description int
get(int x, int y, int z)
Returns the value corresponding to (x,y) position.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface inra.ijpb.data.border.BorderManager3D
addBorders
-
Constructor Details
-
PeriodicBorder3D
public PeriodicBorder3D(ij.ImageStack image)Creates a new Periodic Border Manager- Parameters:
image
- the image to expand
-
-
Method Details
-
get
public int get(int x, int y, int z)Description copied from interface:BorderManager3D
Returns the value corresponding to (x,y) position. Position can be outside original image bounds.- Specified by:
get
in interfaceBorderManager3D
- Parameters:
x
- column index of the positiony
- row index of the positionz
- slice index of the position- Returns:
- border corrected value
- See Also:
BorderManager.get(int, int)
-