RasterCachedImageBinarizeBradley Method (Double, Int32) |
Binarization of an image using Bradley's adaptive thresholding algorithm using the integral image thresholding
Namespace: Aspose.PSDAssembly: Aspose.PSD (in Aspose.PSD.dll) Version: 21.2
Syntaxpublic override void BinarizeBradley(
double brightnessDifference,
int windowSize
)
Public Overrides Sub BinarizeBradley (
brightnessDifference As Double,
windowSize As Integer
)
public:
virtual void BinarizeBradley(
double brightnessDifference,
int windowSize
) override
abstract BinarizeBradley :
brightnessDifference : float *
windowSize : int -> unit
override BinarizeBradley :
brightnessDifference : float *
windowSize : int -> unit
Parameters
- brightnessDifference
- Type: SystemDouble
The brightness difference between pixel and the average of an s x s window of pixels centered around this pixel. - windowSize
- Type: SystemInt32
The size of s x s window of pixels centered around this pixel
See Also