public class Patch
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
patchHeight |
ij.process.FloatProcessor |
patchProcessor |
int |
patchWidth |
int |
x |
int |
y |
Constructor and Description |
---|
Patch(int x,
int y,
int patchWidth,
int patchHeight,
ij.ImagePlus srcImg)
function selectPatches is used to form a square shaped patch around an input point
the input point (float x, float y) is supposed to be a 2D point in Cartesian Coordinate,
the input point (float x, float y) is also the center of the formed square patch
patchWidth and patchHeight are supposed to be odd numbers
|
Modifier and Type | Method and Description |
---|---|
ij.process.FloatProcessor |
getProcessor() |
public int x
public int y
public int patchWidth
public int patchHeight
public ij.process.FloatProcessor patchProcessor
public Patch(int x, int y, int patchWidth, int patchHeight, ij.ImagePlus srcImg)