Align images so that you can better compare them #7269
Replies: 2 comments 2 replies
-
Yes. If you align with a single mark, this defines a translation, a movement in the x- and y-directions. Aligning with two marks (eg in opposite corners) defines a translation and rotation and scale. If you use the same physical scanner, the scale probably doesn't change. Three points also allows correction for shear. To do this, scan your drawing with one or more marks. Find the marks, and make crops of them. Keep these crops, and make a note of their locations. For example, the top-left corner of one crop might be at coordinates 123,156. This could be a manual process, or easily automated if the drawing contains nothing but the marks. When the drawing has progressed, scan it again. Find the marks on this scan. You can do this by searching it for each of the saved crops. ( Then you can make a version of the second scan that matches the first like this:
If you have 2 or 3 marks, use another 4 or 8 numbers. |
Beta Was this translation helpful? Give feedback.
-
This works on my Mac OSX Ventura and should work on Windows also
You can name the resulting txt file as you want. |
Beta Was this translation helpful? Give feedback.
-
I'm new in using imagemagick.
I'm also learning to draw.
I'm already used to scan my drawings in different stages of the devellopment.
Now I would like to use imagemagick to compare the different stages.
But I have already detected that after the scan-action, the jpg-files are little different, perhaps because i didnt put the original in identical the same way on the scanner.
Is there a methode to find some 'marker' in a jpg file so that i can align that marker in all the pictures on the same place? and than use the compare action? ( For example: i can start each drawing with a small cross in the upper left corner of the drawing as a marker and leave it there during the whole process.)
Thanks in advance.
Eddy
Beta Was this translation helpful? Give feedback.
All reactions