opencv-0.0.1.1: Haskell binding to OpenCV-3.x

Safe HaskellNone
LanguageHaskell2010

OpenCV.Core.Types.Matx

Contents

Synopsis

Abstract Matx

data Matx dimR dimC depth Source #

Instances

ToMat Matx12f Source # 
ToMat Matx12d Source # 
ToMat Matx13f Source # 
ToMat Matx13d Source # 
ToMat Matx14f Source # 
ToMat Matx14d Source # 
ToMat Matx16f Source # 
ToMat Matx16d Source # 
ToMat Matx21f Source # 
ToMat Matx21d Source # 
ToMat Matx22f Source # 
ToMat Matx22d Source # 
ToMat Matx23f Source # 
ToMat Matx23d Source # 
ToMat Matx31f Source # 
ToMat Matx31d Source # 
ToMat Matx32f Source # 
ToMat Matx32d Source # 
ToMat Matx33f Source # 
ToMat Matx33d Source # 
ToMat Matx34f Source # 
ToMat Matx34d Source # 
ToMat Matx41f Source # 
ToMat Matx41d Source # 
ToMat Matx43f Source # 
ToMat Matx43d Source # 
ToMat Matx44f Source # 
ToMat Matx44d Source # 
ToMat Matx51f Source # 
ToMat Matx51d Source # 
ToMat Matx61f Source # 
ToMat Matx61d Source # 
ToMat Matx66f Source # 
ToMat Matx66d Source # 
WithPtr (Matx dimR dimC depth) Source # 

Methods

withPtr :: Matx dimR dimC depth -> (Ptr (C (Matx dimR dimC depth)) -> IO b) -> IO b

type MatxDimC (Matx dimR dimC) Source # 
type MatxDimC (Matx dimR dimC) = dimC
type MatxDimR (Matx dimR dimC) Source # 
type MatxDimR (Matx dimR dimC) = dimR
type MatDepth (Matx m n depth) Source # 
type MatDepth (Matx m n depth) = S * depth
type MatChannels (Matx m n depth) Source # 
type MatChannels (Matx m n depth) = S Nat 1
type MatShape (Matx m n depth) Source # 
type MatShape (Matx m n depth) = ShapeT [Nat] ((:) Nat m ((:) Nat n ([] Nat)))

type family MatxDimR (m :: * -> *) :: Nat Source #

Instances

type MatxDimR (Matx dimR dimC) Source # 
type MatxDimR (Matx dimR dimC) = dimR

type family MatxDimC (m :: * -> *) :: Nat Source #

Instances

type MatxDimC (Matx dimR dimC) Source # 
type MatxDimC (Matx dimR dimC) = dimC

class IsMatx m depth where Source #

Minimal complete definition

toMatx, fromMatx

Methods

toMatx :: m depth -> Matx (MatxDimR m) (MatxDimC m) depth Source #

fromMatx :: Matx (MatxDimR m) (MatxDimC m) depth -> m depth Source #

toMatxIO :: m depth -> IO (Matx (MatxDimR m) (MatxDimC m) depth) Source #

Matx's of specific sizes

Constructors

Orphan instances

FromPtr Matx12f Source # 

Methods

fromPtr :: IO (Ptr (C Matx12f)) -> IO Matx12f

FromPtr Matx12d Source # 

Methods

fromPtr :: IO (Ptr (C Matx12d)) -> IO Matx12d

FromPtr Matx13f Source # 

Methods

fromPtr :: IO (Ptr (C Matx13f)) -> IO Matx13f

FromPtr Matx13d Source # 

Methods

fromPtr :: IO (Ptr (C Matx13d)) -> IO Matx13d

FromPtr Matx14f Source # 

Methods

fromPtr :: IO (Ptr (C Matx14f)) -> IO Matx14f

FromPtr Matx14d Source # 

Methods

fromPtr :: IO (Ptr (C Matx14d)) -> IO Matx14d

FromPtr Matx16f Source # 

Methods

fromPtr :: IO (Ptr (C Matx16f)) -> IO Matx16f

FromPtr Matx16d Source # 

Methods

fromPtr :: IO (Ptr (C Matx16d)) -> IO Matx16d

FromPtr Matx21f Source # 

Methods

fromPtr :: IO (Ptr (C Matx21f)) -> IO Matx21f

FromPtr Matx21d Source # 

Methods

fromPtr :: IO (Ptr (C Matx21d)) -> IO Matx21d

FromPtr Matx22f Source # 

Methods

fromPtr :: IO (Ptr (C Matx22f)) -> IO Matx22f

FromPtr Matx22d Source # 

Methods

fromPtr :: IO (Ptr (C Matx22d)) -> IO Matx22d

FromPtr Matx23f Source # 

Methods

fromPtr :: IO (Ptr (C Matx23f)) -> IO Matx23f

FromPtr Matx23d Source # 

Methods

fromPtr :: IO (Ptr (C Matx23d)) -> IO Matx23d

FromPtr Matx31f Source # 

Methods

fromPtr :: IO (Ptr (C Matx31f)) -> IO Matx31f

FromPtr Matx31d Source # 

Methods

fromPtr :: IO (Ptr (C Matx31d)) -> IO Matx31d

FromPtr Matx32f Source # 

Methods

fromPtr :: IO (Ptr (C Matx32f)) -> IO Matx32f

FromPtr Matx32d Source # 

Methods

fromPtr :: IO (Ptr (C Matx32d)) -> IO Matx32d

FromPtr Matx33f Source # 

Methods

fromPtr :: IO (Ptr (C Matx33f)) -> IO Matx33f

FromPtr Matx33d Source # 

Methods

fromPtr :: IO (Ptr (C Matx33d)) -> IO Matx33d

FromPtr Matx34f Source # 

Methods

fromPtr :: IO (Ptr (C Matx34f)) -> IO Matx34f

FromPtr Matx34d Source # 

Methods

fromPtr :: IO (Ptr (C Matx34d)) -> IO Matx34d

FromPtr Matx41f Source # 

Methods

fromPtr :: IO (Ptr (C Matx41f)) -> IO Matx41f

FromPtr Matx41d Source # 

Methods

fromPtr :: IO (Ptr (C Matx41d)) -> IO Matx41d

FromPtr Matx43f Source # 

Methods

fromPtr :: IO (Ptr (C Matx43f)) -> IO Matx43f

FromPtr Matx43d Source # 

Methods

fromPtr :: IO (Ptr (C Matx43d)) -> IO Matx43d

FromPtr Matx44f Source # 

Methods

fromPtr :: IO (Ptr (C Matx44f)) -> IO Matx44f

FromPtr Matx44d Source # 

Methods

fromPtr :: IO (Ptr (C Matx44d)) -> IO Matx44d

FromPtr Matx51f Source # 

Methods

fromPtr :: IO (Ptr (C Matx51f)) -> IO Matx51f

FromPtr Matx51d Source # 

Methods

fromPtr :: IO (Ptr (C Matx51d)) -> IO Matx51d

FromPtr Matx61f Source # 

Methods

fromPtr :: IO (Ptr (C Matx61f)) -> IO Matx61f

FromPtr Matx61d Source # 

Methods

fromPtr :: IO (Ptr (C Matx61d)) -> IO Matx61d

FromPtr Matx66f Source # 

Methods

fromPtr :: IO (Ptr (C Matx66f)) -> IO Matx66f

FromPtr Matx66d Source # 

Methods

fromPtr :: IO (Ptr (C Matx66d)) -> IO Matx66d

IsMatx (Matx 1 2) CFloat Source # 

Methods

toMatx :: Matx 1 2 CFloat -> Matx (MatxDimR (Matx 1 2)) (MatxDimC (Matx 1 2)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 1 2)) (MatxDimC (Matx 1 2)) CFloat -> Matx 1 2 CFloat Source #

toMatxIO :: Matx 1 2 CFloat -> IO (Matx (MatxDimR (Matx 1 2)) (MatxDimC (Matx 1 2)) CFloat) Source #

IsMatx (Matx 1 2) CDouble Source # 
IsMatx (Matx 1 3) CFloat Source # 

Methods

toMatx :: Matx 1 3 CFloat -> Matx (MatxDimR (Matx 1 3)) (MatxDimC (Matx 1 3)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 1 3)) (MatxDimC (Matx 1 3)) CFloat -> Matx 1 3 CFloat Source #

toMatxIO :: Matx 1 3 CFloat -> IO (Matx (MatxDimR (Matx 1 3)) (MatxDimC (Matx 1 3)) CFloat) Source #

IsMatx (Matx 1 3) CDouble Source # 
IsMatx (Matx 1 4) CFloat Source # 

Methods

toMatx :: Matx 1 4 CFloat -> Matx (MatxDimR (Matx 1 4)) (MatxDimC (Matx 1 4)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 1 4)) (MatxDimC (Matx 1 4)) CFloat -> Matx 1 4 CFloat Source #

toMatxIO :: Matx 1 4 CFloat -> IO (Matx (MatxDimR (Matx 1 4)) (MatxDimC (Matx 1 4)) CFloat) Source #

IsMatx (Matx 1 4) CDouble Source # 
IsMatx (Matx 1 6) CFloat Source # 

Methods

toMatx :: Matx 1 6 CFloat -> Matx (MatxDimR (Matx 1 6)) (MatxDimC (Matx 1 6)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 1 6)) (MatxDimC (Matx 1 6)) CFloat -> Matx 1 6 CFloat Source #

toMatxIO :: Matx 1 6 CFloat -> IO (Matx (MatxDimR (Matx 1 6)) (MatxDimC (Matx 1 6)) CFloat) Source #

IsMatx (Matx 1 6) CDouble Source # 
IsMatx (Matx 2 1) CFloat Source # 

Methods

toMatx :: Matx 2 1 CFloat -> Matx (MatxDimR (Matx 2 1)) (MatxDimC (Matx 2 1)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 2 1)) (MatxDimC (Matx 2 1)) CFloat -> Matx 2 1 CFloat Source #

toMatxIO :: Matx 2 1 CFloat -> IO (Matx (MatxDimR (Matx 2 1)) (MatxDimC (Matx 2 1)) CFloat) Source #

IsMatx (Matx 2 1) CDouble Source # 
IsMatx (Matx 2 2) CFloat Source # 

Methods

toMatx :: Matx 2 2 CFloat -> Matx (MatxDimR (Matx 2 2)) (MatxDimC (Matx 2 2)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 2 2)) (MatxDimC (Matx 2 2)) CFloat -> Matx 2 2 CFloat Source #

toMatxIO :: Matx 2 2 CFloat -> IO (Matx (MatxDimR (Matx 2 2)) (MatxDimC (Matx 2 2)) CFloat) Source #

IsMatx (Matx 2 2) CDouble Source # 
IsMatx (Matx 2 3) CFloat Source # 

Methods

toMatx :: Matx 2 3 CFloat -> Matx (MatxDimR (Matx 2 3)) (MatxDimC (Matx 2 3)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 2 3)) (MatxDimC (Matx 2 3)) CFloat -> Matx 2 3 CFloat Source #

toMatxIO :: Matx 2 3 CFloat -> IO (Matx (MatxDimR (Matx 2 3)) (MatxDimC (Matx 2 3)) CFloat) Source #

IsMatx (Matx 2 3) CDouble Source # 
IsMatx (Matx 3 1) CFloat Source # 

Methods

toMatx :: Matx 3 1 CFloat -> Matx (MatxDimR (Matx 3 1)) (MatxDimC (Matx 3 1)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 3 1)) (MatxDimC (Matx 3 1)) CFloat -> Matx 3 1 CFloat Source #

toMatxIO :: Matx 3 1 CFloat -> IO (Matx (MatxDimR (Matx 3 1)) (MatxDimC (Matx 3 1)) CFloat) Source #

IsMatx (Matx 3 1) CDouble Source # 
IsMatx (Matx 3 2) CFloat Source # 

Methods

toMatx :: Matx 3 2 CFloat -> Matx (MatxDimR (Matx 3 2)) (MatxDimC (Matx 3 2)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 3 2)) (MatxDimC (Matx 3 2)) CFloat -> Matx 3 2 CFloat Source #

toMatxIO :: Matx 3 2 CFloat -> IO (Matx (MatxDimR (Matx 3 2)) (MatxDimC (Matx 3 2)) CFloat) Source #

IsMatx (Matx 3 2) CDouble Source # 
IsMatx (Matx 3 3) CFloat Source # 

Methods

toMatx :: Matx 3 3 CFloat -> Matx (MatxDimR (Matx 3 3)) (MatxDimC (Matx 3 3)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 3 3)) (MatxDimC (Matx 3 3)) CFloat -> Matx 3 3 CFloat Source #

toMatxIO :: Matx 3 3 CFloat -> IO (Matx (MatxDimR (Matx 3 3)) (MatxDimC (Matx 3 3)) CFloat) Source #

IsMatx (Matx 3 3) CDouble Source # 
IsMatx (Matx 3 4) CFloat Source # 

Methods

toMatx :: Matx 3 4 CFloat -> Matx (MatxDimR (Matx 3 4)) (MatxDimC (Matx 3 4)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 3 4)) (MatxDimC (Matx 3 4)) CFloat -> Matx 3 4 CFloat Source #

toMatxIO :: Matx 3 4 CFloat -> IO (Matx (MatxDimR (Matx 3 4)) (MatxDimC (Matx 3 4)) CFloat) Source #

IsMatx (Matx 3 4) CDouble Source # 
IsMatx (Matx 4 1) CFloat Source # 

Methods

toMatx :: Matx 4 1 CFloat -> Matx (MatxDimR (Matx 4 1)) (MatxDimC (Matx 4 1)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 4 1)) (MatxDimC (Matx 4 1)) CFloat -> Matx 4 1 CFloat Source #

toMatxIO :: Matx 4 1 CFloat -> IO (Matx (MatxDimR (Matx 4 1)) (MatxDimC (Matx 4 1)) CFloat) Source #

IsMatx (Matx 4 1) CDouble Source # 
IsMatx (Matx 4 3) CFloat Source # 

Methods

toMatx :: Matx 4 3 CFloat -> Matx (MatxDimR (Matx 4 3)) (MatxDimC (Matx 4 3)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 4 3)) (MatxDimC (Matx 4 3)) CFloat -> Matx 4 3 CFloat Source #

toMatxIO :: Matx 4 3 CFloat -> IO (Matx (MatxDimR (Matx 4 3)) (MatxDimC (Matx 4 3)) CFloat) Source #

IsMatx (Matx 4 3) CDouble Source # 
IsMatx (Matx 4 4) CFloat Source # 

Methods

toMatx :: Matx 4 4 CFloat -> Matx (MatxDimR (Matx 4 4)) (MatxDimC (Matx 4 4)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 4 4)) (MatxDimC (Matx 4 4)) CFloat -> Matx 4 4 CFloat Source #

toMatxIO :: Matx 4 4 CFloat -> IO (Matx (MatxDimR (Matx 4 4)) (MatxDimC (Matx 4 4)) CFloat) Source #

IsMatx (Matx 4 4) CDouble Source # 
IsMatx (Matx 5 1) CFloat Source # 

Methods

toMatx :: Matx 5 1 CFloat -> Matx (MatxDimR (Matx 5 1)) (MatxDimC (Matx 5 1)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 5 1)) (MatxDimC (Matx 5 1)) CFloat -> Matx 5 1 CFloat Source #

toMatxIO :: Matx 5 1 CFloat -> IO (Matx (MatxDimR (Matx 5 1)) (MatxDimC (Matx 5 1)) CFloat) Source #

IsMatx (Matx 5 1) CDouble Source # 
IsMatx (Matx 6 1) CFloat Source # 

Methods

toMatx :: Matx 6 1 CFloat -> Matx (MatxDimR (Matx 6 1)) (MatxDimC (Matx 6 1)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 6 1)) (MatxDimC (Matx 6 1)) CFloat -> Matx 6 1 CFloat Source #

toMatxIO :: Matx 6 1 CFloat -> IO (Matx (MatxDimR (Matx 6 1)) (MatxDimC (Matx 6 1)) CFloat) Source #

IsMatx (Matx 6 1) CDouble Source # 
IsMatx (Matx 6 6) CFloat Source # 

Methods

toMatx :: Matx 6 6 CFloat -> Matx (MatxDimR (Matx 6 6)) (MatxDimC (Matx 6 6)) CFloat Source #

fromMatx :: Matx (MatxDimR (Matx 6 6)) (MatxDimC (Matx 6 6)) CFloat -> Matx 6 6 CFloat Source #

toMatxIO :: Matx 6 6 CFloat -> IO (Matx (MatxDimR (Matx 6 6)) (MatxDimC (Matx 6 6)) CFloat) Source #

IsMatx (Matx 6 6) CDouble Source #