ClaheFilterOptions Class

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

NameDescription
ClaheFilterOptions(is_grayscale, tiles_number_horizontal, tiles_number_vertical, clip_limit)Initializes a new instance of the ClaheFilterOptions class
with the specified parameters.

Properties

NameTypeAccessDescription
clip_limitfloatrGets the contrast limiting threshold.
Higher values allow more contrast; lower values limit the enhancement to prevent noise amplification.
is_grayscaleboolrGets a value indicating whether the filter operates in grayscale mode.
tiles_number_horizontalintrGets the number of tiles in the horizontal direction.
Determines how many regions the image is divided into horizontally for local contrast equalization.
tiles_number_verticalintrGets 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:

ParameterTypeDescription
is_grayscaleboolIndicates whether the filter should operate in grayscale mode.
tiles_number_horizontalintNumber of tiles horizontally. Default is 8.
tiles_number_verticalintNumber of tiles vertically. Default is 8.
clip_limitfloatContrast limiting threshold. Default is 4.0.