Vision.Image.RGB.Type
type RGB = Manifest RGBPixel Source #
data RGBPixel Source #
Constructors
Fields
Defined in Vision.Image.RGB.Type
Methods
sizeOf :: RGBPixel -> Int #
alignment :: RGBPixel -> Int #
peekElemOff :: Ptr RGBPixel -> Int -> IO RGBPixel #
pokeElemOff :: Ptr RGBPixel -> Int -> RGBPixel -> IO () #
peekByteOff :: Ptr b -> Int -> IO RGBPixel #
pokeByteOff :: Ptr b -> Int -> RGBPixel -> IO () #
peek :: Ptr RGBPixel -> IO RGBPixel #
poke :: Ptr RGBPixel -> RGBPixel -> IO () #
showsPrec :: Int -> RGBPixel -> ShowS #
show :: RGBPixel -> String #
showList :: [RGBPixel] -> ShowS #
Defined in Vision.Histogram
Associated Types
type PixelValueSpace RGBPixel Source #
pixToIndex :: RGBPixel -> PixelValueSpace RGBPixel Source #
domainSize :: RGBPixel -> PixelValueSpace RGBPixel Source #
type PixelChannel RGBPixel Source #
pixNChannels :: RGBPixel -> Int Source #
pixIndex :: RGBPixel -> Int -> PixelChannel RGBPixel Source #
interpol :: (PixelChannel RGBPixel -> PixelChannel RGBPixel -> PixelChannel RGBPixel) -> RGBPixel -> RGBPixel -> RGBPixel Source #
(==) :: RGBPixel -> RGBPixel -> Bool #
(/=) :: RGBPixel -> RGBPixel -> Bool #
Defined in Vision.Image.Conversion
safeConvert :: GreyPixel -> ConvertResult RGBPixel #
safeConvert :: HSVPixel -> ConvertResult RGBPixel #
safeConvert :: RGBPixel -> ConvertResult GreyPixel #
safeConvert :: RGBPixel -> ConvertResult HSVPixel #
safeConvert :: RGBPixel -> ConvertResult RGBPixel #
safeConvert :: RGBPixel -> ConvertResult RGBAPixel #
safeConvert :: RGBAPixel -> ConvertResult RGBPixel #
type RGBDelayed = Delayed RGBPixel Source #