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 noticed a small shift in y-coordinates between the manually-drawn ROIs and the actual pixels used to define the ROI fluorescence. This shift seems proportional to the height of the ellipse. For thin pieces of dendrites with rotated ROIs, it can be quite problematic. You can find an example below.
Here is the selection in the manual_labelling GUI:
Here is the selection in the main GUI:
Note the fact that it's not centered anymore on the dendrite.
This is worst with rotations:
versus:
I re-did the ellipse coordinates calculation to fix the ROI pixel values (see yzerlaut@af26542).
I think it fixed it:
A few ellipses manually drawn:
And their respective ROIs in the GUI:
If this bug is reproduced by others, I could also do a PR.
Best,
yann
P.S. 1) Thank you very much for sharing and maintaining this amazing piece of software !
P.S. 2) Just to let you know. I am adding on my fork the python support for other ROI shapes (RectROI, PolyLineROI) in case you would be interested by a PR.
Describe the issue:
Dear Suite2p developers,
I noticed a small shift in y-coordinates between the manually-drawn ROIs and the actual pixels used to define the ROI fluorescence. This shift seems proportional to the height of the ellipse. For thin pieces of dendrites with rotated ROIs, it can be quite problematic. You can find an example below.
Here is the selection in the
manual_labelling
GUI:Here is the selection in the main GUI:
Note the fact that it's not centered anymore on the dendrite.
This is worst with rotations:
versus:
I re-did the ellipse coordinates calculation to fix the ROI pixel values (see yzerlaut@af26542).
I think it fixed it:
A few ellipses manually drawn:
And their respective ROIs in the GUI:
If this bug is reproduced by others, I could also do a PR.
Best,
yann
P.S. 1) Thank you very much for sharing and maintaining this amazing piece of software !
P.S. 2) Just to let you know. I am adding on my fork the python support for other ROI shapes (RectROI, PolyLineROI) in case you would be interested by a PR.
Reproduce the code example:
Error message:
No response
Version information:
v0.9.3.dev528+gc88e1ba.d20240604
Context for the issue:
This bug impedes to select pieces of thin dendritic segments.
The text was updated successfully, but these errors were encountered: