We're recording GCaMP in cortex and using tdTomato to label specific cells. We're trying to set up a way to automatically label suite2P ROIs using masks from tdTom images taken at the end of the recordings (using cellpose).
Is there a consistent way to get the xy shift between the last frame and the suite2P reference image?
If I shift the tdTom mask with ops.npy xoff/yoff of the last frame, will that work?
We're recording GCaMP in cortex and using tdTomato to label specific cells. We're trying to set up a way to automatically label suite2P ROIs using masks from tdTom images taken at the end of the recordings (using cellpose).
Is there a consistent way to get the xy shift between the last frame and the suite2P reference image?
If I shift the tdTom mask with ops.npy xoff/yoff of the last frame, will that work?
Thank you!