Hi all,
I have two raster images of the same sample. Each was taken with a different filter. They are transformations of each other related by a combination of translation and rotation (i.e. no skew and no distortion). Is there some way to pick two points that should be in the same place on both images and use this define a single transformation that should be applied to one image other so that they can be aligned?
Thank you!
fitting objects together
Re: fitting objects together
Hi.
If those images were transformed inside inkscape, you can open the xml editor (Ctrl+Shift+X) and change those values to match one another.
Maybe it would be easier to remove those transformations, stich the images, then apply those transformation after for like a group made of the two stitched images.
Are you looking for values to set at the transformation panel, that would do the job alone?
To my experience one transformation matrix won't make an accurate result, so you would need a combination of translation and rotation for each object.
The rotation value would be the difference between the two object's rotation.
To get the right translation values, it would be the easiest way to construct that manually.
If those images were transformed inside inkscape, you can open the xml editor (Ctrl+Shift+X) and change those values to match one another.
Maybe it would be easier to remove those transformations, stich the images, then apply those transformation after for like a group made of the two stitched images.
Are you looking for values to set at the transformation panel, that would do the job alone?
To my experience one transformation matrix won't make an accurate result, so you would need a combination of translation and rotation for each object.
The rotation value would be the difference between the two object's rotation.
To get the right translation values, it would be the easiest way to construct that manually.
Re: fitting objects together
Hi,
It is actually for for raster images from outside inkscape. So the two images start out in a random and unknown orientation and location relative to each other. (Basically it depends upon the document scanner).
Thanks for the answer. Since someone pointed out how to use the center of transformation for size transfromation as well as rotation I can do it manually pretty easily now.
It is actually for for raster images from outside inkscape. So the two images start out in a random and unknown orientation and location relative to each other. (Basically it depends upon the document scanner).
Thanks for the answer. Since someone pointed out how to use the center of transformation for size transfromation as well as rotation I can do it manually pretty easily now.