Moment computation needs to be linked with the registration in order to obtain more stable data.
There would be 2 steps:
[x] Change the registration so that instead of directly modifying the input images, it stores the shift in some custom environment and is able to apply it to any (compatible) image
[x] Apply registration to moments when recording
Note: the registration bases itself on the image selected by the user, just as it does currently, so no changes need to be done in that matter (no additional computation required for it).
It is supposed to work best with M0 flatfield, but the user needs to input it in order to make it work; it doesn't need to be automatically computed in the code.
Moment computation needs to be linked with the registration in order to obtain more stable data. There would be 2 steps:
Note: the registration bases itself on the image selected by the user, just as it does currently, so no changes need to be done in that matter (no additional computation required for it). It is supposed to work best with M0 flatfield, but the user needs to input it in order to make it work; it doesn't need to be automatically computed in the code.