Table of Contents

Enum EqualizeMode

Namespace
Egami.Operations
Assembly
Egami.dll
public enum EqualizeMode

Fields

Channels = 1

Red, green and blue, each by its own histogram, as ImageMagick's -equalize does: stronger, but it shifts colors.

Luminance = 0

Lightness: L* of Lab is equalized and a* and b* are kept, so colors do not shift. The default.

Examples

// Spread the lightness evenly without shifting colors, or each channel on its own as ImageMagick's -equalize.
using Raster<Rgba8> even = raster.Derive(o => o.Equalize(EqualizeMode.Luminance), Ct);
using Raster<Rgba8> strong = raster.Derive(o => o.Equalize(EqualizeMode.Channels), Ct);