-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contrast enhancement and registration #11
Comments
A good starting point seems to be |
The methods I've implemented are actually doing an operation called "clipping". |
Suite2p registration already uses clipping to improve performance. Options file already contains a bool called Thanks @carsen-stringer for the suggestion. |
Is your feature request related to a problem? Please describe.
Contrast enhancement was applied to the derotated video to improve registration performance. It worked when the optimal thresholds for the contrast were calculated on a frame-by-frame basis. However this introduces a lot of noise and artefacts.
You can see that the background gets more noisy at certain angles, and this is due to the changes in the overall ranges of pixels intensities from frames that are derotated, likely due to un-sampling of certain pixels.
Describe the solution you'd like
I would like to take optimal rigid registration shifts using the contrast enhancement derotated video and apply them to the original one. I could create a custom registration script leveraging suite2p tools.
Describe alternatives you've considered
No contrast enhancement: poor registration with suite2p.
Contrast enhancement with the same thresholds for all the video: poor registration with suite2p.
The text was updated successfully, but these errors were encountered: