Class ClaheFilterOptions
Namespace: Aspose.Imaging.ImageFilters.FilterOptions
Assembly: Aspose.Imaging.dll (25.12.0)
Provides options for configuring the Contrast-Limited Adaptive Histogram Equalization (CLAHE) filter.
public class ClaheFilterOptions : FilterOptionsBaseInheritance
object ← FilterOptionsBase ← ClaheFilterOptions
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ClaheFilterOptions(bool, int, int, double)
Initializes a new instance of the Aspose.Imaging.ImageFilters.FilterOptions.ClaheFilterOptions class with the specified parameters.
public ClaheFilterOptions(bool isGrayscale = false, int tilesNumberHorizontal = 8, int tilesNumberVertical = 8, double clipLimit = 4)Parameters
isGrayscale bool
Indicates whether the filter should operate in grayscale mode.
tilesNumberHorizontal int
Number of tiles horizontally. Default is 8.
tilesNumberVertical int
Number of tiles vertically. Default is 8.
clipLimit double
Contrast limiting threshold. Default is 4.0.
Properties
ClipLimit
Gets the contrast limiting threshold. Higher values allow more contrast; lower values limit the enhancement to prevent noise amplification.
public double ClipLimit { get; }Property Value
IsGrayscale
Gets a value indicating whether the filter operates in grayscale mode.
public bool IsGrayscale { get; }Property Value
TilesNumberHorizontal
Gets the number of tiles in the horizontal direction. Determines how many regions the image is divided into horizontally for local contrast equalization.
public int TilesNumberHorizontal { get; }Property Value
TilesNumberVertical
Gets the number of tiles in the vertical direction. Determines how many regions the image is divided into vertically for local contrast equalization.
public int TilesNumberVertical { get; }