No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include/RadonFramework/Drawing/Color
src/Drawing/Color
tests
.clang-format
.gitignore
CMakeLists.txt
Integrate.cmake
LICENSE
README.md

README.md

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