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

What's the unit of homography found by FindHomography() function in mainSift.cpp #89

Open
narutojxl opened this issue Nov 28, 2023 · 0 comments

Comments

@narutojxl
Copy link

Hello author,
Thanks for your sharing.
I notice in mainSift.cpp, we can find the two images transform by FindHomography() and ImproveHomography() functions. I have 2 trival questions to seek your confirmation.

    1. Does variable homography represents SE(2), namely, [R, t; 0, 1]= [H[0], H[1], H[2]; H[3], H[4], H[5]; H[6], H[7], H[8]]?
    1. If it is correct, the translation part t = [H[2], H[5] ] unit is pixel, or m? The rotaion part unit is rad.

CudaSift/mainSift.cpp

Lines 72 to 78 in 5bc874a

// Match Sift features and find a homography
for (int i=0;i<1;i++)
MatchSiftData(siftData1, siftData2);
float homography[9];
int numMatches;
FindHomography(siftData1, homography, &numMatches, 10000, 0.00f, 0.80f, 5.0);
int numFit = ImproveHomography(siftData1, homography, 5, 0.00f, 0.80f, 3.0);

Best regards
narutojxl

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

1 participant