You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is correct this way I think. The value is assigned to the centerpoint of the pixel, meaning that some values will be at the corners, and only the part that is inside the bounds will be rendered. This is a 3x3:
The only exception to this behavior is when you have a 2x2. That can be seen as a bug.
1x1 is the odd one because in principle you should not see anything.
matplotlib (I guess) might interpret the value as the top-left corner of the pixel instead. This has the unfortunate consequence of not visualising the last row and last column of data at all.
Hi,
please consider this snippet:
As you can see edges are clipped, for some reason.
FYI, Matplotlib imshow() shows them correct
The text was updated successfully, but these errors were encountered: