mpicbg icon indicating copy to clipboard operation
mpicbg copied to clipboard

exporting transformation matrix

Open EdoDImp opened this issue 2 years ago • 1 comments

Hi, after running SIFT alignment using only translations, is there a way to save the alignments to apply them directly to another stack? I am not able to extract this info from the log file and parse it in a way that I can then easily apply to a new stack. Many thanks in advance.

EdoDImp avatar May 24 '22 08:05 EdoDImp

Hi @EdoDImp, are you running this from a plugin, or from some code you've written? Each Translation2D transform can be trivially exported and reapplied. The plugin hides all that, but if you were to run it from a short script, you'd have access to all the internals. See e.g., Image Registration and also Feature extraction with SIFT: translation transform

acardona avatar May 24 '22 13:05 acardona