Image.Plug.Pipeline.Ops.Adjust (image_plug v0.1.0)

Copy Markdown View Source

Tonal/colour adjustment operation. A consolidated bag of multiplier fields so that adjacent adjustments fold into one op during normalisation.

All four fields are multipliers on the unmodified channel value. A value of 1.0 is a no-op; the normaliser drops the field if every multiplier is 1.0.

Summary

Types

t()

@type t() :: %Image.Plug.Pipeline.Ops.Adjust{
  brightness: float(),
  contrast: float(),
  gamma: float(),
  saturation: float()
}