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 tried to export ROI coordinates for different types of ROI.
What I Did
Opened nd2 file. Drew two ROI, rectangle and polygon. Saved file. ROI types and centres show correctly, but only the rectangle has all coordinates. The polygon has five (0,0) instead of five corners.
with nd2.ND2File("histo.nd2") as f:
print([(f.rois[k].info.label, f.rois[k].info.shapeType) for k in f.rois.keys()])
print('')
print(f.rois[1].animParams)
print('')
print(f.rois[2].animParams)
thanks for the report @pawlowska! I will try to reproduce it here soon, but if you happen to have the nd2 file handy and could share it that would be very helpful.
Description
I tried to export ROI coordinates for different types of ROI.
What I Did
Opened nd2 file. Drew two ROI, rectangle and polygon. Saved file. ROI types and centres show correctly, but only the rectangle has all coordinates. The polygon has five (0,0) instead of five corners.
Output:
The text was updated successfully, but these errors were encountered: