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 don't actually know the code behind fill_polygon, but I was wondering: fill_polygon probably considers the actual (float-valued) locations along the polygon lines, does it not? In that case it seems like a low-hanging fruit to also enable float-valued coordinates for the description of those polygon segment end point nodes.
I ended up using skimage.draw.polygon, which solved the problem for me. So feel free to close this issue.
baloe
changed the title
make fill_polygon accecpt floats
make fill_polygon accept floats
May 17, 2022
Right now
mahotas.polygon.fill_polygon
requires input points to be integer-typed. That's quite restrictive.The text was updated successfully, but these errors were encountered: