public class ReplicatedBorder extends Object implements BorderManager
BorderManager.Type
Constructor and Description |
---|
ReplicatedBorder(ij.process.ImageProcessor image)
Creates a new Replicating Border Manager
|
Modifier and Type | Method and Description |
---|---|
int |
get(int x,
int y)
Forces both of x and y to be between 0 and the corresponding image size,
and returns the corresponding image value.
|
float |
getf(int x,
int y)
Forces both of x and y to be between 0 and the corresponding image size,
and returns the corresponding image value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBorders
public ReplicatedBorder(ij.process.ImageProcessor image)
image
- the image to expandpublic int get(int x, int y)
get
in interface BorderManager
x
- column index of the positiony
- row index of the positionBorderManager.get(int, int)
public float getf(int x, int y)
getf
in interface BorderManager
x
- column index of the positiony
- row index of the positionBorderManager.getf(int, int)
Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.