public interface BorderManager
 ImageProcessor image = ...
 BorderManager bm = new ReplicatedBorder(image);
 int value = bm.get(-5, -10);
 | Modifier and Type | Interface and Description | 
|---|---|
static class  | 
BorderManager.Type
A set of pre-defined border managers stored in an enumeration. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
default ij.process.ImageProcessor | 
addBorders(ij.process.ImageProcessor image,
          int left,
          int right,
          int top,
          int bottom)
Adds the specified number of pixels around the input image, and returns
 the resulting image. 
 | 
int | 
get(int x,
   int y)
Returns the value corresponding to (x,y) position. 
 | 
float | 
getf(int x,
    int y)
Returns the floating-point value corresponding to (x,y) position. 
 | 
default ij.process.ImageProcessor addBorders(ij.process.ImageProcessor image,
                                             int left,
                                             int right,
                                             int top,
                                             int bottom)
image - the input imageleft - the number of pixels to add to the left of the imageright - the number of pixels to add to the right of the imagetop - the number of pixels to add on top of the imagebottom - the number of pixels to add at the bottom of the imageint get(int x,
        int y)
x - column index of the positiony - row index of the positionfloat getf(int x,
           int y)
x - column index of the positiony - row index of the positionCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.