Class ImageBuffer.ToneAdjustments
The settings consumed by AdjustTone(ToneAdjustments): the photographic
adjustment set (exposure, brightness, contrast, highlights, shadows, saturation,
sharpness). Every value is normalized to [-1, +1] (sharpness to [0, +1])
with 0 meaning "leave as is"; assignments outside the range clamp silently, so a
UI slider can bind directly.
public sealed class ImageBuffer.ToneAdjustments
- Inheritance
-
ImageBuffer.ToneAdjustments
- Inherited Members
Properties
- Brightness
Linear brightness offset over
[-1, +1];+1lifts every channel by 100 levels,-1lowers it by the same amount.
- Contrast
Contrast over
[-1, +1], pivoting on mid-grey (128): positive values push channels away from the pivot, negative values pull them toward it.
- Exposure
Exposure in photographic stops over
[-1, +1]:+1doubles every channel value,-1halves it, applied before every other setting.
- Highlights
Highlight recovery/boost over
[-1, +1], weighted by pixel luma so only the bright end of the image responds: negative values pull blown areas back, positive values push them further.
- IsNeutral
Whether every setting is at its neutral value - in which case AdjustTone(ToneAdjustments) returns an unmodified copy.
- Saturation
Saturation over
[-1, +1], pivoting on each pixel's own luma:-1is grayscale,+1doubles the distance of every channel from the luma. Greys are a fixed point at any setting.
- Shadows
Shadow lift/crush over
[-1, +1], weighted by pixel luma so only the dark end of the image responds: positive values open the shadows, negative values deepen them.
- Sharpness
Unsharp-mask strength over
[0, +1]. Flat areas are left byte-exact; only real detail (where a pixel differs from its neighborhood) is amplified.