friday-0.2.3.2: A functional image processing library for Haskell.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vision.Primitive

Synopsis

Documentation

type Point = DIM2 Source #

Coordinates inside the image.

Can be constructed using ix2. The first parameter is the y coordinate while the second is the x coordinate (i.e. ix2 y x). Image origin (ix2 0 0) is located in the upper left corner.

type Size = DIM2 Source #

Size of an object.

Can be constructed using ix2. The first parameter is the height while the second is the width (i.e. ix2 h w).

data Rect Source #

Constructors

Rect 

Fields

Instances

Instances details
Read Rect Source # 
Instance details

Defined in Vision.Primitive

Show Rect Source # 
Instance details

Defined in Vision.Primitive

Methods

showsPrec :: Int -> Rect -> ShowS #

show :: Rect -> String #

showList :: [Rect] -> ShowS #

Eq Rect Source # 
Instance details

Defined in Vision.Primitive

Methods

(==) :: Rect -> Rect -> Bool #

(/=) :: Rect -> Rect -> Bool #

Ord Rect Source # 
Instance details

Defined in Vision.Primitive

Methods

compare :: Rect -> Rect -> Ordering #

(<) :: Rect -> Rect -> Bool #

(<=) :: Rect -> Rect -> Bool #

(>) :: Rect -> Rect -> Bool #

(>=) :: Rect -> Rect -> Bool #

max :: Rect -> Rect -> Rect #

min :: Rect -> Rect -> Rect #

data RPoint Source #

Rational coordinates used for interpolations.

Constructors

RPoint 

Fields

Instances

Instances details
Read RPoint Source # 
Instance details

Defined in Vision.Primitive

Show RPoint Source # 
Instance details

Defined in Vision.Primitive

Eq RPoint Source # 
Instance details

Defined in Vision.Primitive

Methods

(==) :: RPoint -> RPoint -> Bool #

(/=) :: RPoint -> RPoint -> Bool #

Ord RPoint Source # 
Instance details

Defined in Vision.Primitive