-
Notifications
You must be signed in to change notification settings - Fork 83
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
Padding to original bounds extends the array #155
Comments
Does |
Yes, but I guess it's a question of definition of the bounding box. In |
I would assume that would be the behavior. What are your thoughts? |
I don't know, but it has to be consistent with |
One idea I had was to reduce the buffer by multiplying the cell size by 0.9999 and see if that helps with the floating point precision issues. |
I'm not sure, it would be kind of a hack. I think the current behavior is OK, we might just have to document it a bit more. |
That sounds good to me 👍 |
Code Sample, a copy-pastable example if possible
Problem description
I think we shouldn't include the half-pixel here.
Expected Output
The shape of the padded array should remain the same.
The text was updated successfully, but these errors were encountered: