| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
OpenCV.Calib3d
- data FundamentalMatMethod
- data WhichImage
- findFundamentalMat :: IsPoint2 point2 CDouble => Vector (point2 CDouble) -> Vector (point2 CDouble) -> FundamentalMatMethod -> CvExcept (Maybe (Mat (S '[D, S 3]) (S 1) (S Double), Mat (S '[D, D]) (S 1) (S Word8)))
- computeCorrespondEpilines :: IsPoint2 point2 CDouble => Vector (point2 CDouble) -> WhichImage -> Mat (ShapeT '[3, 3]) (S 1) (S Double) -> CvExcept (Mat (S '[D, S 1]) (S 3) (S Double))
Documentation
data FundamentalMatMethod Source #
Instances
data WhichImage Source #
Instances
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.
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