friday-0.2.3.1: A functional image processing library for Haskell.

Safe HaskellNone
LanguageHaskell2010

Vision.Primitive

Synopsis

Documentation

type Point = DIM2 #

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 #

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 #

Constructors

Rect 

Fields

Instances

Eq Rect # 

Methods

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

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

Ord Rect # 

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 #

Read Rect # 
Show Rect # 

Methods

showsPrec :: Int -> Rect -> ShowS #

show :: Rect -> String #

showList :: [Rect] -> ShowS #

data RPoint #

Rational coordinates used for interpolations.

Constructors

RPoint 

Fields