public abstract class AbstractLocalThreshold extends Object implements SinglebandImageProcessor<Float,FImage>
SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>
Modifier and Type | Field and Description |
---|---|
protected int |
sizeX |
protected int |
sizeY |
Constructor and Description |
---|
AbstractLocalThreshold(int size)
Construct the AbstractLocalThreshold with the given patch size (the patch
will be square).
|
AbstractLocalThreshold(int size_x,
int size_y)
Construct the AbstractLocalThreshold with the given patch size.
|
Modifier and Type | Method and Description |
---|---|
int |
getKernelHeight()
Get the height of the local sampling rectangle
|
int |
getKernelWidth()
Get the width of the local sampling rectangle
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processImage
public AbstractLocalThreshold(int size)
size
- the length of the patch side.public AbstractLocalThreshold(int size_x, int size_y)
size_x
- the width of the patch.size_y
- the height of the patch.public int getKernelHeight()
public int getKernelWidth()