Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Manifest p = Manifest {
- manifestSize :: !Size
- manifestVector :: !(Vector p)
- data Delayed p = Delayed {
- delayedSize :: !Size
- delayedFun :: !(Point -> p)
- data DelayedMask p = DelayedMask {
- delayedMaskSize :: !Size
- delayedMaskFun :: !(Point -> Maybe p)
- delay :: Image i => i -> Delayed (ImagePixel i)
- compute :: (Image i, Storable (ImagePixel i)) => i -> Manifest (ImagePixel i)
- delayed :: Delayed p -> Delayed p
- manifest :: Manifest p -> Manifest p
Manifest images
Stores the image content in a Vector
.
Manifest | |
|
Instances
Delayed images
A delayed image is an image which is constructed using a function.
Usually, a delayed image maps each of its pixels over another image. Delayed images are useful by avoiding intermediate images in a transformation pipeline of images or by avoiding the computation of the whole resulting image when only a portion of its pixels will be accessed.
Delayed | |
|
Instances
Delayed masked images
data DelayedMask p Source #
DelayedMask | |
|
Instances
Conversion and type helpers
delay :: Image i => i -> Delayed (ImagePixel i) Source #
Delays an image in its delayed representation.
compute :: (Image i, Storable (ImagePixel i)) => i -> Manifest (ImagePixel i) Source #
Computes the value of an image into a manifest representation.