ClaheFilterOptions Class
Contents
[
Hide
]Summary: Provides options for configuring the Contrast-Limited Adaptive Histogram Equalization (CLAHE) filter.
Module: aspose.imaging.imagefilters.filteroptions
Full Name: aspose.imaging.imagefilters.filteroptions.ClaheFilterOptions
Inheritance: FilterOptionsBase
Constructors
Name | Description |
---|---|
ClaheFilterOptions(is_grayscale, tiles_number_horizontal, tiles_number_vertical, clip_limit) | Initializes a new instance of the ClaheFilterOptions class with the specified parameters. |
Properties
Name | Type | Access | Description |
---|---|---|---|
clip_limit | float | r | Gets the contrast limiting threshold. Higher values allow more contrast; lower values limit the enhancement to prevent noise amplification. |
is_grayscale | bool | r | Gets a value indicating whether the filter operates in grayscale mode. |
tiles_number_horizontal | int | r | Gets the number of tiles in the horizontal direction. Determines how many regions the image is divided into horizontally for local contrast equalization. |
tiles_number_vertical | int | r | Gets the number of tiles in the vertical direction. Determines how many regions the image is divided into vertically for local contrast equalization. |
Constructor: ClaheFilterOptions(is_grayscale, tiles_number_horizontal, tiles_number_vertical, clip_limit)
ClaheFilterOptions(is_grayscale, tiles_number_horizontal, tiles_number_vertical, clip_limit)
Initializes a new instance of the ClaheFilterOptions class
with the specified parameters.
Parameters:
Parameter | Type | Description |
---|---|---|
is_grayscale | bool | Indicates whether the filter should operate in grayscale mode. |
tiles_number_horizontal | int | Number of tiles horizontally. Default is 8. |
tiles_number_vertical | int | Number of tiles vertically. Default is 8. |
clip_limit | float | Contrast limiting threshold. Default is 4.0. |