Class AdaptiveWhiteStretchFilterOptions
Contents
[
Hide
]AdaptiveWhiteStretchFilterOptions class
Provides options for configuring the Adaptive White Stretch filter. Allows customization of histogram stretch parameters to enhance the white level and improve the readability of faint-text or low-contrast document images.
public class AdaptiveWhiteStretchFilterOptions : FilterOptionsBase
Constructors
| Name | Description |
|---|---|
| AdaptiveWhiteStretchFilterOptions(bool, int, int, int, float) | Initializes a new instance of the AdaptiveWhiteStretchFilter class. |
Properties
| Name | Description |
|---|---|
| HighPercentile { get; } | Gets the upper percentile for white point calculation. Pixel values above this percentile are considered as white during stretching. |
| IsGrayscale { get; } | Gets a value indicating whether the filter operates in grayscale mode. |
| LowPercentile { get; } | Gets the lower percentile for black point calculation. Pixel values below this percentile are considered as black during stretching. |
| MaxScale { get; } | Gets the maximum allowed brightness scale. The actual stretching will not exceed this factor, to avoid over-brightening. |
| TargetWhite { get; } | Gets the target white value the stretch aims to achieve. |
See Also
- class FilterOptionsBase
- namespace Aspose.Imaging.ImageFilters.FilterOptions
- assembly Aspose.Imaging