Skip to content

Latest commit

 

History

History
59 lines (53 loc) · 1.48 KB

README.md

File metadata and controls

59 lines (53 loc) · 1.48 KB

Radon framework Color space

This project provide the most common color spaces, converter, interpolation, processing and util functions.

Features

  • Color gradient support.
  • Interpolation between two colors of the same color space.
  • Conversion between RGB and an other color space.
  • Color space specific interpolation options(short/long path for Hue based).
  • Brighter and darker color of a specified color.
  • RGB Workspace support.
  • Gamma correction.
  • Reference white conversion.
  • Detect used color space.
  • Detect used RGB Workspace.
  • Batch processing of color values.
  • SIMD support.

Supported color spaces

  • RGB color space.
  • XYZ color space.
  • LAB color space.
  • HSV color space.
  • HSL color space.
  • LCH color space.
  • HWB color space.

RGB Workspace

  • Lab Gamut
  • Adobe RGB
  • Apple RGB
  • CIE RGB
  • NTSC RGB
  • PAL/SECAM RGB
  • sRGB

Batch processing of color values

  • Concurrency support.

Read and write

  • Clamp
  • Saturate
  • Brightness
  • Hue
  • Invert
  • Lambda expression

Read but write to seperate buffers

  • Resize
  • Lambda expression

Read only

  • Max
  • Min
  • Average
  • Color count
  • Lambda expression

Todo

  • merge the hue based interpolation in one function, to reduce the code
  • add to Gradient a cache for the picking of the nearest colors

http://www.brucelindbloom.com/index.html?WorkingSpaceInfo.html