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

TemplateMatching: support images wider or taller than 16k pixels #53

Closed
voxoid0 opened this issue Jul 12, 2016 · 2 comments
Closed

TemplateMatching: support images wider or taller than 16k pixels #53

voxoid0 opened this issue Jul 12, 2016 · 2 comments

Comments

@voxoid0
Copy link

voxoid0 commented Jul 12, 2016

Which translates to, use Point2D_I32 instead of Point2D_I16. Also it should check the image width/height that it is within the bounds of the supported size. When I tried to use a 32k+ wide image, i was getting out-of-bounds errors for when it found a template at around -32k; I then figured out it was because the X greater than 2^15 was getting wrapped around in the signed 16-bit int.

@lessthanoptimal
Copy link
Owner

That would be simple to fix by using an int. However template matching is very slow...

@lessthanoptimal
Copy link
Owner

I'm closing this issue since I think template matching on images that large is just impractical. Anyone should feel free to re-open this issue if they feel otherwise.

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