Manual ROI drawing tool - Shift in ellipsoid centroids after trace extraction: False ROI positions and activity traces? #1074
Unanswered
TomRiddleVorlost
asked this question in
Q&A
Replies: 1 comment
-
Hi, I'm trying to extract traces from olfactory bulb glomeruli, and manual labelling is more or less the only way to go about it. But I'm facing the same problem of manually labelled ROIs showing shifted centroids after extraction. I tried with and without non-rigid registration, but the issue persists. It would be great if someone could look into this. Thank you, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear suite2p creators and suite2p team,
First and foremost, thank you for all the work invested into the suite2p software. It really brings awesome features and a conveniant GUI to the table, complementing, and in some domains outperforming existing calcium imaging analysis tools.
The issue I am struggling with at the moment concerns the manual ROI drawing tool and consists of two parts:
Is n_frames somehow cached directly after running suite2p with the gui and not anymore when reloading stats files later? How can I provide the software with this information when reloading stats files to (re)perform manual ROI drawing?
When reloading the updated stats file, surprisingly it seemed as if the manually drawn ellipses/ROIs were now shifted as well (original position: dashed outline; new position: color filled ellipses, panel C). To me it seemed as if the "new" ellipses were constructed around the falsely shifted centroids, leading to a wrong ROI in the GUI. In panel C you can observe an image-stack of 9 planes in which multiple elliptic ROIs have shifted dramatically (B original positions and wrong centroids; C shifted positions based on wrong centroids?). One ROI (roi0) even disappeared completely. Maybe I am missing
something, but I could also not find a systematic error related to the ellipses size or position (panel C). The launching point of the ROI (when hitting the "add roi" button) at least did not change things, indepdendent where the ROIs were launched, the centroid would not occur at the "launch site" but somewhere nearby the ellipsoid ROI (inside and outside of the outline both occurred).
Has this ever happened to anyone of you? DO you have any advice what could be going wrong here? I only noticed it, drawing big ROIs, however it also held true for small neuron-sized ROIs (panel E).
My main concern is, are the traces that I extracted even the ones from the original elliptic ROI I drew, or are they the traces of the newly generated "wrong" ellipsoid ROI (which I would assume)?
I hope I made myself understandable and that you guys can help me out, I am a bit puzzled... As a heads up, I have the most recent version of suite2p (updated 2 weeks ago) and am using the GUI launched in Anaconda on a Windows device.
Thank you very much in advance for any help,
Tom Offner
Beta Was this translation helpful? Give feedback.
All reactions