public class AdaptiveLocalThresholdMean extends AbstractLocalThreshold
SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>
sizeX, sizeY
Constructor and Description |
---|
AdaptiveLocalThresholdMean(int size)
Construct the thresholding operator with the given patch size (assumed
square)
|
AdaptiveLocalThresholdMean(int size,
float offset)
Construct the thresholding operator with the given patch size (assumed
square) and offset
|
AdaptiveLocalThresholdMean(int size_x,
int size_y)
Construct the thresholding operator with the given patch size
|
AdaptiveLocalThresholdMean(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 AdaptiveLocalThresholdMean(int size)
size
- size of the local image patchpublic AdaptiveLocalThresholdMean(int size_x, int size_y)
size_x
- width of patchsize_y
- height of patchpublic AdaptiveLocalThresholdMean(int size, float offset)
size
- size of the local image patchoffset
- offset from the patch mean at which the threshold occurspublic AdaptiveLocalThresholdMean(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.