Skip to content

adding a command-line function for motion correction #41

@wingillis

Description

@wingillis

I've found that even with the extraction smoothing parameters, sometimes there is a significant amount of mouse jitter between frames.

I propose an enhancement using opencv's findTransformECC function to perform image registration. 3 conditions must be met with this registration:

  1. code must correctly handle errors if the registration cannot converge
  2. a registration template must be applied to an entire dataset, so that each mouse is centered to the same reference point
  3. code must be able to handle cable masks, and apply the registration transformation to the cable mask as well, if it exists.

Please look here: https://github.com/wingillis/dls-net/blob/master/dls_net/cli.py#L120 for implementation ideas

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions