public class ClaheFilterOptions extends FilterOptionsBase
Provides options for configuring the Contrast-Limited Adaptive Histogram Equalization (CLAHE) filter.
| Constructor and Description |
|---|
ClaheFilterOptions() |
ClaheFilterOptions(boolean isGrayscale) |
ClaheFilterOptions(boolean isGrayscale,
int tilesNumberHorizontal) |
ClaheFilterOptions(boolean isGrayscale,
int tilesNumberHorizontal,
int tilesNumberVertical) |
ClaheFilterOptions(boolean isGrayscale,
int tilesNumberHorizontal,
int tilesNumberVertical,
double clipLimit)
Initializes a new instance of the
ClaheFilterOptions class
with the specified parameters. |
| Modifier and Type | Method and Description |
|---|---|
double |
getClipLimit()
Gets the contrast limiting threshold.
|
int |
getTilesNumberHorizontal()
Gets the number of tiles in the horizontal direction.
|
int |
getTilesNumberVertical()
Gets the number of tiles in the vertical direction.
|
boolean |
isGrayscale()
Gets a value indicating whether the filter operates in grayscale mode.
|
public ClaheFilterOptions()
public ClaheFilterOptions(boolean isGrayscale)
public ClaheFilterOptions(boolean isGrayscale,
int tilesNumberHorizontal)
public ClaheFilterOptions(boolean isGrayscale,
int tilesNumberHorizontal,
int tilesNumberVertical)
public ClaheFilterOptions(boolean isGrayscale,
int tilesNumberHorizontal,
int tilesNumberVertical,
double clipLimit)
Initializes a new instance of the ClaheFilterOptions class
with the specified parameters.
isGrayscale - Indicates whether the filter should operate in grayscale mode.tilesNumberHorizontal - Number of tiles horizontally. Default is 8.tilesNumberVertical - Number of tiles vertically. Default is 8.clipLimit - Contrast limiting threshold. Default is 4.0.public final boolean isGrayscale()
Gets a value indicating whether the filter operates in grayscale mode.
public final int getTilesNumberHorizontal()
Gets the number of tiles in the horizontal direction. Determines how many regions the image is divided into horizontally for local contrast equalization.
public final int getTilesNumberVertical()
Gets the number of tiles in the vertical direction. Determines how many regions the image is divided into vertically for local contrast equalization.
public final double getClipLimit()
Gets the contrast limiting threshold. Higher values allow more contrast; lower values limit the enhancement to prevent noise amplification.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.