neuroinformatics-unit / derotation

Derotate images acquired via 2-photon or 3-photon calcium imaging
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

Find optimal centre of rotations #12

Open lauraporta opened 3 months ago

lauraporta commented 3 months ago

Is your feature request related to a problem? Please describe. The centre of rotation is not aligned with the centre of the image. It becomes very clear when doing np.max(original_video, axis=0)

Screenshot 2024-06-18 at 17 19 45

Describe the solution you'd like I want a method to be added in the pipeline that finds this centre.

Describe alternatives you've considered I think there are two options: A) Fit an ellipse to the image:

lauraporta commented 1 month ago

Nice progress on this problem was done by @DhimanS07 in it's project