Is image correlation in GALAXY possible while preserving aspect ratio (no distortion only rotation/scaling)?

Hello Galaxy team,

I would like to perform image correlation in GALAXY EU while allowing translation, rotation, and uniform scaling, but preventing any aspect ratio distortion (i.e., no non-uniform scaling or shear).

This is for two images of different resolution/size, for example a microscopic image and a MALDI-MSI image of the same tissue section. I noticed that the landmark registration tool can be used for alignment, but it appears to introduce changes in aspect ratio, and I cannot find an option to disable this distortion. I may be overlooking something, but I could not identify any setting that enforces preservation of aspect ratio—even though the GALAXY AI suggested this should be possible.

Is image correlation in GALAXY EU possible under these constraints (similarity transformation only)? If yes, could you please suggest which tools or workflows would be appropriate?

Thank you in advance for your help.

Hi @Norbert_Feuerechse

Do you still need help? I didn’t find a pre-wrapped tool with those constraints, and other ideas like Align two images with ImageJ2 may still introduce distortion.

Another option to explore is an Interactive JupyterLab Notebook and using:

skimage.transform.SimilarityTransform

From what I can tell, this should support what you need.

Please let us know if this actually works or not! :slight_smile: