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
Points (backed by matplotlib) uses coordinates in x, y order. get_centroids outputs points in row, column (y, x) order and the napari-based tools also use row, column order.
Whichever convention we use we need to have the tools do the conversion as necessary. The order is easy to flip if needed:
new_coords= [(x, y) fory, xincoords]
The text was updated successfully, but these errors were encountered:
Points
(backed bymatplotlib
) uses coordinates in x, y order.get_centroids
outputs points in row, column (y, x) order and thenapari
-based tools also use row, column order.Whichever convention we use we need to have the tools do the conversion as necessary. The order is easy to flip if needed:
The text was updated successfully, but these errors were encountered: