colour-accelerate: Working with colours in Accelerate

[ bsd3, data, graphics, library ] [ Propose Tags ]

This package provides data types for colours and transparency for use with Accelerate. For further information refer to the main Accelerate package: http://hackage.haskell.org/package/accelerate.


[Skip to Readme]
Versions 0.1.0.0, 0.2.0.0, 0.3.0.0
Change log CHANGELOG.md
Dependencies accelerate (>=1.2), base (>=4.7 && <4.13) [details]
License BSD-3-Clause
Copyright Copyright (c) [2016]. Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
Author Trevor L. McDonell
Maintainer Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
Revised Revision 1 made by TrevorMcDonell at Sun Oct 7 12:01:49 UTC 2018
Category Data, Graphics
Home page https://github.com/tmcdonell/colour-accelerate
Bug tracker https://github.com/tmcdonell/colour-accelerate/issues
Source repo head: git clone https://github.com/tmcdonell/colour-accelerate
this: git clone https://github.com/tmcdonell/colour-accelerate(tag 0.3.0.0)
Uploaded by TrevorMcDonell at Wed Apr 4 00:22:20 UTC 2018
Distributions NixOS:0.3.0.0
Downloads 933 total (26 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-04-14 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for colour-accelerate-0.3.0.0

[back to package description]

colour-accelerate

Build Status Stackage LTS Stackage Nightly 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.