MouseLand / suite2p

cell detection in calcium imaging recordings
http://www.suite2p.org
GNU General Public License v3.0
350 stars 241 forks source link

FEATURE: Draw non-ellipse manual ROIs in GUI #1017

Open yrleftbrain opened 1 year ago

yrleftbrain commented 1 year ago

Feature you'd like to see:

The manual ROIs in the GUI are currently limited to elliptical shapes. It would be beneficial to have the ability to draw manual ROIs (like we can in CellPose).

Attempted alternative approaches:

In my case, sometimes cells are missed because I'm using anatomy for cell finding based on a CellPose model (human in the loop) and cells are sometimes conjoined due to the use of the max projection-mean image as the trained data (and cell finding approach). In the GUI manual ROI window, you could add the ability to manually draw the ROI, just like you do in CellPose. I suppose this function would also a "cell-spliting" feature which would help in cases when two cells in close proximity are marked as one neuron.

Additional Context

No response

just-meng commented 6 months ago

This feature would be very beneficial for my data, since I have an unusual FOV that contains complex morphologies. I wish to analyze different morphological compartments within the same cell that are often detected as one ROI by sutie2p. I understand that this might be due to correlated activity, but still I wish to obtain this result explicitly by comparing the activity of these different compartments.

Would it be possible to implement the feature?