Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about line homography estimation #5

Closed
ChrisLLLLL opened this issue Dec 6, 2021 · 3 comments
Closed

Question about line homography estimation #5

ChrisLLLLL opened this issue Dec 6, 2021 · 3 comments

Comments

@ChrisLLLLL
Copy link

Thank you for your work. When i view your code,I noticed that there is no code for homography. Cloud you teach me how to achieve the result like Figure 5 in your paper?I have sent you an email. Looking forward to your reply.

@yosungho
Copy link
Owner

yosungho commented Dec 28, 2021

Hello, Chris. I used ground-truth line correspondences generated by a synthetic for the homography matrix. I also used 3D line projection to create ground-truth pairs for the ScanNet datasets. Furthermore, the color of the line pairs can be set using the 3D-lines' reprojection error given 6DoF poses for Oxford RobotCar dataset.

@ChrisLLLLL
Copy link
Author

Thank you, but I want to know how to get the "correct matches (green) and the wrong matches (red) " in the matching of a pair of images. I could not find the code in LineTR.

@yosungho
Copy link
Owner

yosungho commented Feb 23, 2022

Hi Chris, sorry for the late reply. The correct and incorrect matches can be known with the homographic/geometric relationship (the first and the rest datasets in my paper). For example, when the lines on one image should be projected onto the lines on another image if their matches are correct. If their matches are incorrect, the reprojection error will be large. For the projections, you can use a known synthetic homography matrix or a perspective projection in 3D line maps. I recommend you to refer to the paper for more details. The code only contains the inference code.

@yosungho yosungho closed this as completed Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants