Copyright | (c) Alexey Kuleshevich 2016 |
---|---|
License | BSD3 |
Maintainer | Alexey Kuleshevich <lehins@yandex.ru> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
module Graphics.Image.ColorSpace
module Graphics.Image.IO.Formats
class (MArray (Manifest arr) cs e, BaseArray arr cs e) => Array arr cs e Source #
class BaseArray arr cs e => MArray arr cs e Source #
Array representation that is actually has real data stored in memory, hence allowing for image indexing, forcing pixels into computed state etc.
class Exchangable arr' arr Source #
Allows for changing an underlying image representation.
Exchangable arr arr Source # | Changing to the same array representation as before is disabled and |
Exchangable VU RS Source # | O(1) - Changes to Repa representation. |
Exchangable VU RP Source # | O(1) - Changes to Repa representation. |
Exchangable RS VU Source # | O(1) - Changes to Vector representation. |
Exchangable RS RP Source # | Changes computation strategy. Will casue all fused operations to be computed. |
Exchangable RP VU Source # | O(1) - Changes to Vector representation. |
Exchangable RP RS Source # | Changes computation strategy. Will casue all fused operations to be computed. |
Approach to be used near the borders during various transformations. Whenever a function needs information not only about a pixel of interest, but also about it's neighbours, it will go out of bounds around the image edges, hence is this set of approaches that can be used in such situtation.
Fill !px | Fill in a constant pixel. outside | Image | outside
( |
Wrap | Wrap around from the opposite border of the image. outside | Image | outside
|
Edge | Replicate the pixel at the edge. outside | Image | outside
|
Reflect | Mirror like reflection. outside | Image | outside
|
Continue | Also mirror like reflection, but without repeating the edge pixel. outside | Image | outside
|
Unboxed Vector
representation.
Show VU Source # | |
Exchangable VU RS Source # | O(1) - Changes to Repa representation. |
Exchangable VU RP Source # | O(1) - Changes to Repa representation. |
Exchangable RS VU Source # | O(1) - Changes to Vector representation. |
Exchangable RP VU Source # | O(1) - Changes to Vector representation. |
Array VU cs e => MArray VU cs e Source # | |
BaseArray VU cs e => Array VU cs e Source # | |
Elt VU cs e => BaseArray VU cs e Source # | |
type Manifest VU Source # | |
data Image VU Source # | |
data MImage st VU Source # | |
type Elt VU cs e Source # | |
Repa U
nboxed Array representation, which is computed sequentially.
Show RS Source # | |
Exchangable VU RS Source # | O(1) - Changes to Repa representation. |
Exchangable RS VU Source # | O(1) - Changes to Vector representation. |
Exchangable RS RP Source # | Changes computation strategy. Will casue all fused operations to be computed. |
Exchangable RP RS Source # | Changes computation strategy. Will casue all fused operations to be computed. |
BaseArray RS cs e => Array RS cs e Source # | |
Elt RS cs e => BaseArray RS cs e Source # | |
type Manifest RS Source # | |
data Image RS Source # | |
type Elt RS cs e Source # | |
Repa U
nboxed Array representation, which is computed in parallel.
Show RP Source # | |
Exchangable VU RP Source # | O(1) - Changes to Repa representation. |
Exchangable RS RP Source # | Changes computation strategy. Will casue all fused operations to be computed. |
Exchangable RP VU Source # | O(1) - Changes to Vector representation. |
Exchangable RP RS Source # | Changes computation strategy. Will casue all fused operations to be computed. |
BaseArray RP cs e => Array RP cs e Source # | |
Elt RP cs e => BaseArray RP cs e Source # | |
type Manifest RP Source # | |
data Image RP Source # | |
type Elt RP cs e Source # | |