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

Repeatability test #61

Open
Celebrandil opened this issue Apr 18, 2019 · 1 comment
Open

Repeatability test #61

Celebrandil opened this issue Apr 18, 2019 · 1 comment

Comments

@Celebrandil
Copy link
Owner

Celebrandil commented Apr 18, 2019

After seeing the paper "PopSift: a faithful SIFT implementation for real-time applications" in which the authors claim CudaSift to perform exceptionally poor with respect to scale changes, I got a bit worried and had to make some tests to verify the claim, using the benchmark code from the paper "A comparison of affine region detectors". Unfortunately, I didn't manage to replicate the results.

The graphs below show the repeatability and number of correspondences for image pairs in the 'bark' image set. The exact number of correspondences can vary quite a bit depending on what threshold you set, but the repeatability should be relatively stable. Also, note that I didn't upscale the image in this test. I haven't yet tried to benchmark the descriptor. If CudaSift performs worse than e.g. VLFeat then it's much more likely to be due to the descriptor. I don't really know why the results differ, but if someone has I clue, I would be glad to hear.

Repeatability 9-point filters
repeat
Number of correspondences 9-point filters
corresp
Features from the first 'bark' image
sift1
Features from the last 'bark' image
sift6

@Celebrandil
Copy link
Owner Author

Celebrandil commented Apr 19, 2019

I made some tests with 17-point filters for the detector, rather than the 9-point filters that I've used so far. It's true that with a 9-point filter you truncate a bit of the Gaussians used for larger scales within an octave, but many years ago I concluded that this shouldn't matter much. With 17-point filters, the time consumption goes up with about 0.2 ms on a 1080 Ti.

The number of features also goes down a bit using the same threshold. It's because filters are normalized so that they sum up to one and with longer filters, the peak decreases a little bit. The fact that the repeatability goes up for a scale difference of 4 for the 9-point filters, I believe is just an artifact due to the low number of features in the overlap between images.

Repeatability 17-point filters
repeat8
Number of correspondences 17-point filters
corresp8

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