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
I see what you mean, but I'm not too sure what to do about it. The definition of a polygon that mahotas uses does not include those points, but the API certainly is confusing. I am a bit weary of just changing the code to fix this case as it's not too clear what other things it implies. I'll have to read up on it/think about it.
It's not clear in the documentation what definition is used or why it
wouldn't include the top. It's a little confusing that it would not
include the top, but does include the bottom, left, and right.
Thanks for looking!
On Wed, Apr 20, 2016 at 11:43 AM, Luis Pedro Coelho < [email protected]> wrote:
I see what you mean, but I'm not too sure what to do about it. The
definition of a polygon that mahotas uses does not include those points,
but the API certainly is confusing. I am a bit weary of just changing the
code to fix this case as it's not too clear what other things it implies.
I'll have to read up on it/think about it.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #73 (comment)
If I call
draw_polygon
with a square, it leaves the top row unfilled. Here is a small example:I would expect the top row to be filled. Certainly one cannot fix this by setting the coordinates to -1, as then nothing gets drawn.
Thanks!
The text was updated successfully, but these errors were encountered: