public class ConstantBorder3D extends Object implements BorderManager3D
BorderManager3D.Type
Constructor and Description |
---|
ConstantBorder3D(ij.ImageStack image,
int value)
Creates a new Constant Border Manager
|
Modifier and Type | Method and Description |
---|---|
int |
get(int x,
int y,
int z)
Returns either image pixel when position is inside image bounds, or a
constant value when position is outside of image bounds.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBorders
public ConstantBorder3D(ij.ImageStack image, int value)
image
- the image to expandvalue
- the value used to expand the borders.public int get(int x, int y, int z)
get
in interface BorderManager3D
x
- column index of the positiony
- row index of the positionz
- slice index of the positionBorderManager.get(int, int)
Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.