RasterCachedImage.AutoBrightnessContrast
Contents
[
Hide
]RasterCachedImage.AutoBrightnessContrast method
Performs automatic adaptive brightness and contrast normalization for the entire image.
public override void AutoBrightnessContrast()
Remarks
This method applies a pipeline of advanced adaptive filters (CLAHE, adaptive white stretch, and auto white balance) to improve the visual quality of the image by enhancing contrast, local brightness, and color fidelity.
Filter pipeline:
- Contrast-Limited Adaptive Histogram Equalization (CLAHE) – improves local contrast and enhances faint details.
- Adaptive White Stretch – increases effective white level while protecting dark features.
- Auto White Balance – corrects color casts by balancing channel histograms.
Note:
- Each filter stage uses its default settings. For custom parameters, apply filters individually.
- The method is intended for use in automated normalization scenarios (e.g., scan preprocessing, document pipelines).
Examples
// Example usage in image pre-processing:
image.AutoBrightnessContrast();
See Also
- class RasterCachedImage
- namespace Aspose.Imaging
- assembly Aspose.Imaging