rust-cv / cv

Rust CV mono-repo. Contains pure-Rust dependencies which attempt to encapsulate the capability of OpenCV, OpenMVG, and vSLAM frameworks in a cohesive set of APIs.
855 stars 67 forks source link

Add homography matrix routines to cv-pinhole #25

Open vadixidav opened 4 years ago

vadixidav commented 4 years ago

Currently, cv-pinhole has the essential matrix and various methods designed to help people extract pose from it, among other things. The same thing needs to be done for the homography matrix.

UnkDevE commented 3 years ago

Hi, I would like to give this a go!

vadixidav commented 3 years ago

Hi, I would like to give this a go!

Excellent, I will assign you to the issue. If you are on the Discord server, feel free to ask me more questions on there. In essence we need to be able to decompose homography matrix into pose (rotation and translation), and we also need an estimator. See the eight-point crate for an example of an estimator. The definition of HomographyMatrix should go into cv-pinhole.