BSD-3-Clause licensed by Trevor L. McDonell
Maintained by Trevor L. McDonell
This version can be pinned in stack with:colour-accelerate-0.2.0.0@sha256:8b59a158453e67d01c717543df24ed4a442333eae1a6414d738de7104e2dc6cb,1791
Depends on 2 packages(full list with versions):
Used by 2 packages in nightly-2017-10-28(full list with versions):

colour-accelerate

Build Status Hackage

This package provides data types and operations for dealing with colours in Accelerate. For details on Accelerate, refer to the main repository.

Example: Blur

Test image sRGB RGB
Test image sRGB linear RGB non-linear

The test image on the left is composed of blocks and bars of the primary and secondary colours, arranged so that each colour is juxtaposed next to all others, plus black and white.

The image in the centre is created by blurring the original with a 9x9 Gaussian filter in the linear gamma sRGB space.

The image on the right is created by blurring with the same 9x9 Gaussian filter in the standard non-linear RGB colour space. Note the dark regions separating red from green and cyan, and blue from red and green; purple lines separate cyan from red and magenta; green separates yellow from cyan. These regions are artefacts produced by mixing colours in the RGB colour space.

The files to generate the test image and run the demonstration are in the examples directory.

Changes

Change Log

Notable changes to the project will be documented in this file.

The format is based on Keep a Changelog and the project adheres to the Haskell Package Versioning Policy (PVP)

0.2.0.0 - 2017-09-21

  • update for accelerate-1.1.*

0.1.0.0 - 2017-03-31

  • initial release