public class AdaptiveLocalThresholdMedian extends AbstractLocalThreshold
SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>
sizeX, sizeY
Constructor and Description |
---|
AdaptiveLocalThresholdMedian(int size)
Construct the thresholding operator with the given patch size (assumed
square)
|
AdaptiveLocalThresholdMedian(int size,
float offset)
Construct the thresholding operator with the given patch size (assumed
square) and offset
|
AdaptiveLocalThresholdMedian(int size_x,
int size_y)
Construct the thresholding operator with the given patch size
|
AdaptiveLocalThresholdMedian(int size_x,
int size_y,
float offset)
Construct the thresholding operator with the given patch size and offset
|
Modifier and Type | Method and Description |
---|---|
void |
processImage(FImage image)
Process an image.
|
getKernelHeight, getKernelWidth
public AdaptiveLocalThresholdMedian(int size)
size
- size of the local image patchpublic AdaptiveLocalThresholdMedian(int size_x, int size_y)
size_x
- width of patchsize_y
- height of patchpublic AdaptiveLocalThresholdMedian(int size, float offset)
size
- size of the local image patchoffset
- offset from the patch mean at which the threshold occurspublic AdaptiveLocalThresholdMedian(int size_x, int size_y, float offset)
size_x
- width of patchsize_y
- height of patchoffset
- offset from the patch mean at which the threshold occurspublic void processImage(FImage image)
ImageProcessor
Image.internalAssign(Image)
.image
- The image to process in place.