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

Safe HaskellNone
LanguageHaskell2010

OpenCV.Calib3d

Synopsis

Documentation

data FindHomographyMethod Source #

Constructors

FindHomographyMethod_0

A regular method using all the points.

FindHomographyMethod_RANSAC

RANSAC-based robust method.

FindHomographyMethod_LMEDS

Least-Median robust method.

FindHomographyMethod_RHO

PROSAC-based robust method.

findFundamentalMat Source #

Arguments

:: IsPoint2 point2 CDouble 
=> Vector (point2 CDouble)

Points from the first image.

-> Vector (point2 CDouble)

Points from the second image.

-> FundamentalMatMethod 
-> CvExcept (Maybe (Mat (S '[D, S 3]) (S 1) (S Double), Mat (S '[D, D]) (S 1) (S Word8))) 

Calculates a fundamental matrix from the corresponding points in two images

The minimum number of points required depends on the FundamentalMatMethod.

With 7 points the FM_7Point method is used, despite the given method.

With more than 7 points the FM_7Point method will be replaced by the FM_8Point method.

Between 7 and 15 points the FM_Ransac method will be replaced by the FM_Lmeds method.

With the FM_7Point method and with 7 points the result can contain up to 3 matrices, resulting in either 3, 6 or 9 rows. This is why the number of resulting rows in tagged as Dynamic. For all other methods the result always contains 3 rows.

OpenCV Sphinx doc

findHomography Source #

Arguments

:: IsPoint2 point2 CDouble 
=> Vector (point2 CDouble)

Points from the first image.

-> Vector (point2 CDouble)

Points from the second image.

-> FindHomographyParams 
-> CvExcept (Maybe (Mat (S '[S 3, S 3]) (S 1) (S Double), Mat (S '[D, D]) (S 1) (S Word8))) 

computeCorrespondEpilines Source #

Arguments

:: IsPoint2 point2 CDouble 
=> Vector (point2 CDouble)

Points.

-> WhichImage

Image which contains the points.

-> Mat (ShapeT [3, 3]) (S 1) (S Double)

Fundamental matrix.

-> CvExcept (Mat (S [D, S 1]) (S 3) (S Double)) 

For points in an image of a stereo pair, computes the corresponding epilines in the other image

OpenCV Sphinx doc