public class AdaptiveLocalThresholdBernsen extends AbstractLocalThreshold
SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>sizeX, sizeY| Constructor and Description |
|---|
AdaptiveLocalThresholdBernsen(float threshold,
int size)
Construct the thresholding operator with the given patch size (assumed
square)
|
AdaptiveLocalThresholdBernsen(float threshold,
int size_x,
int size_y)
Construct the thresholding operator with the given patch size
|
| Modifier and Type | Method and Description |
|---|---|
void |
processImage(FImage image)
Process an image.
|
getKernelHeight, getKernelWidthpublic AdaptiveLocalThresholdBernsen(float threshold, int size)
threshold - the contrast thresholdsize - size of the local image patchpublic AdaptiveLocalThresholdBernsen(float threshold, int size_x, int size_y)
threshold - the contrast thresholdsize_x - width of patchsize_y - height of patchpublic void processImage(FImage image)
ImageProcessorImage.internalAssign(Image).image - The image to process in place.