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

bbapply-embed boundary condition check #2

Merged
merged 1 commit into from
Feb 10, 2015
Merged

bbapply-embed boundary condition check #2

merged 1 commit into from
Feb 10, 2015

Conversation

una-dinosauria
Copy link
Contributor

This line checks whether the embedded box will fit in the passed image, presumably to avoid runtime exceptions.

However, both x and y locations are checked against the second dimension of the image, when I believe y should be checked against the first dimension. This stopped the exceptions for me. Maybe issuing a warning that some boxes are not being painted would be useful.

pdollar added a commit that referenced this pull request Feb 10, 2015
bbapply-embed boundary condition check (thanks Julieta!)
@pdollar pdollar merged commit 612f9a0 into pdollar:master Feb 10, 2015
xzhewei added a commit to xzhewei/toolbox that referenced this pull request Nov 21, 2017
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

Successfully merging this pull request may close these issues.

2 participants