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

use SURF #2

Open
benfoxall opened this issue Jan 23, 2014 · 1 comment
Open

use SURF #2

benfoxall opened this issue Jan 23, 2014 · 1 comment

Comments

@benfoxall
Copy link
Contributor

from @rjmunro:

The SURF algorithm uses a transform it calls an integral image, where every pixel is replaced with the sum of all pixels above and to the left of it. You can then calculate the sum ( & therefore average) value of any area by subtracting the bottom left and top right pixels from the top left pixel and bottom right pixels.

https://en.wikipedia.org/wiki/SURF
https://en.wikipedia.org/wiki/Integral_image

This could make it easy to check the number of pixels within the threshold for an area, and know if you have a good match on the ball.

@rjmunro
Copy link

rjmunro commented Jan 23, 2014

Using the whole of SURF would probably be over the top and slow, but integral images might provide a nice way to help identify areas that have large numbers of pixels within the colour thresholds, I.e. areas where balls are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants