easysnowdata.processing.stretch_clahe#
- easysnowdata.processing.stretch_clahe(composite: DataArray, *, clip_limit: float = 0.03, nbins: int = 256, kernel_size: int | None = None, dim: str = 'band') DataArray[source]#
Contrast Limited Adaptive Histogram Equalization per band (scikit-image).
Input should be 0–1 floats (see
rgb()); NaNs are filled with 0 for the equalisation and restored afterwards. Computes eagerly.