Copyright | [2019..2020] The Accelerate Team |
---|---|
License | BSD3 |
Maintainer | Trevor L. McDonell <trevor.mcdonell@gmail.com> |
Stability | experimental |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- imageOfArray :: (Elt pixel, Vector (PixelBaseComponent pixel) ~ Vectors (EltR pixel)) => Array DIM2 pixel -> Image pixel
- arrayOfImage :: (Elt pixel, Vector (PixelBaseComponent pixel) ~ Vectors (EltR pixel)) => Image pixel -> Array DIM2 pixel
- module Data.Array.Accelerate.IO.Codec.Picture.Types
Documentation
imageOfArray :: (Elt pixel, Vector (PixelBaseComponent pixel) ~ Vectors (EltR pixel)) => Array DIM2 pixel -> Image pixel Source #
arrayOfImage :: (Elt pixel, Vector (PixelBaseComponent pixel) ~ Vectors (EltR pixel)) => Image pixel -> Array DIM2 pixel Source #