scikit-image icon indicating copy to clipboard operation
scikit-image copied to clipboard

Homography Estimation by Points, Lines and Ellipses Correspondence

Open RoyiAvital opened this issue 2 years ago • 4 comments

Description:

The current estimator for Homography is based on correspondence between points in 2 images.

Yet it can be extend with lines and ellipses. Namely one can extract the parameters of 2 corresponding lines / ellipses on the images and use them to estimate the Homography.

It would be great if the estimate() method would support ellipses and lines in addition to points.

RoyiAvital avatar Oct 24 '23 14:10 RoyiAvital

Hello scikit-image core devs! There hasn't been any activity on this issue for more than 180 days. I have marked it as "dormant" to make it easy to find. To our contributors, thank you for your contribution and apologies if this issue fell through the cracks! Hopefully this ping will help bring some fresh attention to the issue. If you need help, you can always reach out on our forum If you think that this issue is no longer relevant, you may close it, or we may do it at some point (either way, it will be done manually).

github-actions[bot] avatar Apr 22 '24 02:04 github-actions[bot]

This could be a feature to surpass OpenCV offerings for SciKit Image.

RoyiAvital avatar Apr 22 '24 06:04 RoyiAvital

Thanks for reaching out @RoyiAvital and sorry for the delayed response.

Namely one can extract the parameters of 2 corresponding lines / ellipses on the images and use them to estimate the Homography.

Sounds interesting. Could you perhaps elaborate on what kind of concrete API you would like to see? E.g. how would lines / ellipses be defined?

lagru avatar Apr 24 '24 08:04 lagru

Maybe a good starting point is something like: Luis Alvarez; Vicent Caselles - Homography Estimation Using One Ellipse Correspondence and Minimal Additional Information.

API wise, I guess extend the correspondence to the option of a list of dictionaries: [{'Type': 'Points', 'Source': srcMat, 'Target': tgtMat}, {'Type': 'Ellipse', 'Source': srcMat, 'Target': tgtMat}].

RoyiAvital avatar Apr 27 '24 12:04 RoyiAvital