What would be a good way to scale and align various scanned images using common points?











up vote
1
down vote

favorite












I have a number of images of scanned maps. These maps all fit together in two dimensions. Is there a good tool I can use to specify points common to two overlapping images that'll then scale and align the images? I've tried to do this manually in GIMP but the process is too laborious (and error-prone).



One thing to note is that the images are fairly high resolution bitmaps.










share|improve this question




























    up vote
    1
    down vote

    favorite












    I have a number of images of scanned maps. These maps all fit together in two dimensions. Is there a good tool I can use to specify points common to two overlapping images that'll then scale and align the images? I've tried to do this manually in GIMP but the process is too laborious (and error-prone).



    One thing to note is that the images are fairly high resolution bitmaps.










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I have a number of images of scanned maps. These maps all fit together in two dimensions. Is there a good tool I can use to specify points common to two overlapping images that'll then scale and align the images? I've tried to do this manually in GIMP but the process is too laborious (and error-prone).



      One thing to note is that the images are fairly high resolution bitmaps.










      share|improve this question















      I have a number of images of scanned maps. These maps all fit together in two dimensions. Is there a good tool I can use to specify points common to two overlapping images that'll then scale and align the images? I've tried to do this manually in GIMP but the process is too laborious (and error-prone).



      One thing to note is that the images are fairly high resolution bitmaps.







      software-recommendation gimp image-processing






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 26 at 15:49









      Zanna

      49.3k13126236




      49.3k13126236










      asked Dec 8 '14 at 12:18









      d3pd

      1,59672948




      1,59672948






















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          1
          down vote













          You can try scantailor.
          I used it for aligning scanned pictures of books and it has great result. I don't know what do you mean by common points but scantailor can guess common size of pictures and align pictures based on it.






          share|improve this answer





















          • By common points, OP probably meant the following: there's a certain overlap between the scanned sections of the map. A common way of aligning images is to analyze the overlapping area in both images, looking for distinctive features and identifying the corresponding pixels in each image. Their location is then used to calculate the correct transformation of one image respective to the other.
            – user149408
            Sep 30 '16 at 19:34


















          up vote
          1
          down vote













          I suggest you look at Hugin. Hugin is a panorama photo stitching program. Essentially, Hugin is a GUI frontend for Panorama Tools. Stitching is accomplished by using several overlapping photos taken from the same location, and using control points to align and transform the photos so that they can be blended together to form a larger image. Hugin allows for the easy creation of control points between two images, optimization of the
          image transforms, and much more.






          share|improve this answer





















          • That sounds good. Can Hugin do zoom in/out, in case any of the images (maps here, but I'm imagining satellite or aerial photos) aren't the right scale? That probably never happens for panoramic photos where you're supposed to stand still...
            – Xen2050
            Dec 8 '14 at 13:14










          • I have never tried your exact process, so I can't say. I would certainly try it and report back. Hugin is in the Ubuntu repositories.
            – chili555
            Dec 8 '14 at 13:33










          • As far as I know, Hugin can correct rotation as well as for artifacts created by photographic lenses, but I didn't find a way to do any kind of zoom correction. See my questions at photo.stackexchange.com/q/83155/56957 and photo.stackexchange.com/q/83162/56957.
            – user149408
            Sep 30 '16 at 19:39


















          up vote
          0
          down vote













          Still with Gimp:



          With the new Unified transform tool in 2.10:




          • Move the top layer so that one point of reference is above its counterpart in the other layer

          • Drag the transformation center to that point

          • Continue using the tool to scale/rotate the layer to bring the second point over its counter part


          With the ofn-layer-aligner script




          • create a path with 4 anchors:


            • two on the two reference points on the reference layer,

            • two on the two matching points in the adjusted layer



          • make the adjusted layer the active layer and call the script, which will move/rotate/scale it so that the two pairs of point overlap.






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f557994%2fwhat-would-be-a-good-way-to-scale-and-align-various-scanned-images-using-common%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote













            You can try scantailor.
            I used it for aligning scanned pictures of books and it has great result. I don't know what do you mean by common points but scantailor can guess common size of pictures and align pictures based on it.






            share|improve this answer





















            • By common points, OP probably meant the following: there's a certain overlap between the scanned sections of the map. A common way of aligning images is to analyze the overlapping area in both images, looking for distinctive features and identifying the corresponding pixels in each image. Their location is then used to calculate the correct transformation of one image respective to the other.
              – user149408
              Sep 30 '16 at 19:34















            up vote
            1
            down vote













            You can try scantailor.
            I used it for aligning scanned pictures of books and it has great result. I don't know what do you mean by common points but scantailor can guess common size of pictures and align pictures based on it.






            share|improve this answer





















            • By common points, OP probably meant the following: there's a certain overlap between the scanned sections of the map. A common way of aligning images is to analyze the overlapping area in both images, looking for distinctive features and identifying the corresponding pixels in each image. Their location is then used to calculate the correct transformation of one image respective to the other.
              – user149408
              Sep 30 '16 at 19:34













            up vote
            1
            down vote










            up vote
            1
            down vote









            You can try scantailor.
            I used it for aligning scanned pictures of books and it has great result. I don't know what do you mean by common points but scantailor can guess common size of pictures and align pictures based on it.






            share|improve this answer












            You can try scantailor.
            I used it for aligning scanned pictures of books and it has great result. I don't know what do you mean by common points but scantailor can guess common size of pictures and align pictures based on it.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 8 '14 at 12:45









            Meysam

            1414




            1414












            • By common points, OP probably meant the following: there's a certain overlap between the scanned sections of the map. A common way of aligning images is to analyze the overlapping area in both images, looking for distinctive features and identifying the corresponding pixels in each image. Their location is then used to calculate the correct transformation of one image respective to the other.
              – user149408
              Sep 30 '16 at 19:34


















            • By common points, OP probably meant the following: there's a certain overlap between the scanned sections of the map. A common way of aligning images is to analyze the overlapping area in both images, looking for distinctive features and identifying the corresponding pixels in each image. Their location is then used to calculate the correct transformation of one image respective to the other.
              – user149408
              Sep 30 '16 at 19:34
















            By common points, OP probably meant the following: there's a certain overlap between the scanned sections of the map. A common way of aligning images is to analyze the overlapping area in both images, looking for distinctive features and identifying the corresponding pixels in each image. Their location is then used to calculate the correct transformation of one image respective to the other.
            – user149408
            Sep 30 '16 at 19:34




            By common points, OP probably meant the following: there's a certain overlap between the scanned sections of the map. A common way of aligning images is to analyze the overlapping area in both images, looking for distinctive features and identifying the corresponding pixels in each image. Their location is then used to calculate the correct transformation of one image respective to the other.
            – user149408
            Sep 30 '16 at 19:34












            up vote
            1
            down vote













            I suggest you look at Hugin. Hugin is a panorama photo stitching program. Essentially, Hugin is a GUI frontend for Panorama Tools. Stitching is accomplished by using several overlapping photos taken from the same location, and using control points to align and transform the photos so that they can be blended together to form a larger image. Hugin allows for the easy creation of control points between two images, optimization of the
            image transforms, and much more.






            share|improve this answer





















            • That sounds good. Can Hugin do zoom in/out, in case any of the images (maps here, but I'm imagining satellite or aerial photos) aren't the right scale? That probably never happens for panoramic photos where you're supposed to stand still...
              – Xen2050
              Dec 8 '14 at 13:14










            • I have never tried your exact process, so I can't say. I would certainly try it and report back. Hugin is in the Ubuntu repositories.
              – chili555
              Dec 8 '14 at 13:33










            • As far as I know, Hugin can correct rotation as well as for artifacts created by photographic lenses, but I didn't find a way to do any kind of zoom correction. See my questions at photo.stackexchange.com/q/83155/56957 and photo.stackexchange.com/q/83162/56957.
              – user149408
              Sep 30 '16 at 19:39















            up vote
            1
            down vote













            I suggest you look at Hugin. Hugin is a panorama photo stitching program. Essentially, Hugin is a GUI frontend for Panorama Tools. Stitching is accomplished by using several overlapping photos taken from the same location, and using control points to align and transform the photos so that they can be blended together to form a larger image. Hugin allows for the easy creation of control points between two images, optimization of the
            image transforms, and much more.






            share|improve this answer





















            • That sounds good. Can Hugin do zoom in/out, in case any of the images (maps here, but I'm imagining satellite or aerial photos) aren't the right scale? That probably never happens for panoramic photos where you're supposed to stand still...
              – Xen2050
              Dec 8 '14 at 13:14










            • I have never tried your exact process, so I can't say. I would certainly try it and report back. Hugin is in the Ubuntu repositories.
              – chili555
              Dec 8 '14 at 13:33










            • As far as I know, Hugin can correct rotation as well as for artifacts created by photographic lenses, but I didn't find a way to do any kind of zoom correction. See my questions at photo.stackexchange.com/q/83155/56957 and photo.stackexchange.com/q/83162/56957.
              – user149408
              Sep 30 '16 at 19:39













            up vote
            1
            down vote










            up vote
            1
            down vote









            I suggest you look at Hugin. Hugin is a panorama photo stitching program. Essentially, Hugin is a GUI frontend for Panorama Tools. Stitching is accomplished by using several overlapping photos taken from the same location, and using control points to align and transform the photos so that they can be blended together to form a larger image. Hugin allows for the easy creation of control points between two images, optimization of the
            image transforms, and much more.






            share|improve this answer












            I suggest you look at Hugin. Hugin is a panorama photo stitching program. Essentially, Hugin is a GUI frontend for Panorama Tools. Stitching is accomplished by using several overlapping photos taken from the same location, and using control points to align and transform the photos so that they can be blended together to form a larger image. Hugin allows for the easy creation of control points between two images, optimization of the
            image transforms, and much more.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 8 '14 at 12:59









            chili555

            37.9k55077




            37.9k55077












            • That sounds good. Can Hugin do zoom in/out, in case any of the images (maps here, but I'm imagining satellite or aerial photos) aren't the right scale? That probably never happens for panoramic photos where you're supposed to stand still...
              – Xen2050
              Dec 8 '14 at 13:14










            • I have never tried your exact process, so I can't say. I would certainly try it and report back. Hugin is in the Ubuntu repositories.
              – chili555
              Dec 8 '14 at 13:33










            • As far as I know, Hugin can correct rotation as well as for artifacts created by photographic lenses, but I didn't find a way to do any kind of zoom correction. See my questions at photo.stackexchange.com/q/83155/56957 and photo.stackexchange.com/q/83162/56957.
              – user149408
              Sep 30 '16 at 19:39


















            • That sounds good. Can Hugin do zoom in/out, in case any of the images (maps here, but I'm imagining satellite or aerial photos) aren't the right scale? That probably never happens for panoramic photos where you're supposed to stand still...
              – Xen2050
              Dec 8 '14 at 13:14










            • I have never tried your exact process, so I can't say. I would certainly try it and report back. Hugin is in the Ubuntu repositories.
              – chili555
              Dec 8 '14 at 13:33










            • As far as I know, Hugin can correct rotation as well as for artifacts created by photographic lenses, but I didn't find a way to do any kind of zoom correction. See my questions at photo.stackexchange.com/q/83155/56957 and photo.stackexchange.com/q/83162/56957.
              – user149408
              Sep 30 '16 at 19:39
















            That sounds good. Can Hugin do zoom in/out, in case any of the images (maps here, but I'm imagining satellite or aerial photos) aren't the right scale? That probably never happens for panoramic photos where you're supposed to stand still...
            – Xen2050
            Dec 8 '14 at 13:14




            That sounds good. Can Hugin do zoom in/out, in case any of the images (maps here, but I'm imagining satellite or aerial photos) aren't the right scale? That probably never happens for panoramic photos where you're supposed to stand still...
            – Xen2050
            Dec 8 '14 at 13:14












            I have never tried your exact process, so I can't say. I would certainly try it and report back. Hugin is in the Ubuntu repositories.
            – chili555
            Dec 8 '14 at 13:33




            I have never tried your exact process, so I can't say. I would certainly try it and report back. Hugin is in the Ubuntu repositories.
            – chili555
            Dec 8 '14 at 13:33












            As far as I know, Hugin can correct rotation as well as for artifacts created by photographic lenses, but I didn't find a way to do any kind of zoom correction. See my questions at photo.stackexchange.com/q/83155/56957 and photo.stackexchange.com/q/83162/56957.
            – user149408
            Sep 30 '16 at 19:39




            As far as I know, Hugin can correct rotation as well as for artifacts created by photographic lenses, but I didn't find a way to do any kind of zoom correction. See my questions at photo.stackexchange.com/q/83155/56957 and photo.stackexchange.com/q/83162/56957.
            – user149408
            Sep 30 '16 at 19:39










            up vote
            0
            down vote













            Still with Gimp:



            With the new Unified transform tool in 2.10:




            • Move the top layer so that one point of reference is above its counterpart in the other layer

            • Drag the transformation center to that point

            • Continue using the tool to scale/rotate the layer to bring the second point over its counter part


            With the ofn-layer-aligner script




            • create a path with 4 anchors:


              • two on the two reference points on the reference layer,

              • two on the two matching points in the adjusted layer



            • make the adjusted layer the active layer and call the script, which will move/rotate/scale it so that the two pairs of point overlap.






            share|improve this answer

























              up vote
              0
              down vote













              Still with Gimp:



              With the new Unified transform tool in 2.10:




              • Move the top layer so that one point of reference is above its counterpart in the other layer

              • Drag the transformation center to that point

              • Continue using the tool to scale/rotate the layer to bring the second point over its counter part


              With the ofn-layer-aligner script




              • create a path with 4 anchors:


                • two on the two reference points on the reference layer,

                • two on the two matching points in the adjusted layer



              • make the adjusted layer the active layer and call the script, which will move/rotate/scale it so that the two pairs of point overlap.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Still with Gimp:



                With the new Unified transform tool in 2.10:




                • Move the top layer so that one point of reference is above its counterpart in the other layer

                • Drag the transformation center to that point

                • Continue using the tool to scale/rotate the layer to bring the second point over its counter part


                With the ofn-layer-aligner script




                • create a path with 4 anchors:


                  • two on the two reference points on the reference layer,

                  • two on the two matching points in the adjusted layer



                • make the adjusted layer the active layer and call the script, which will move/rotate/scale it so that the two pairs of point overlap.






                share|improve this answer












                Still with Gimp:



                With the new Unified transform tool in 2.10:




                • Move the top layer so that one point of reference is above its counterpart in the other layer

                • Drag the transformation center to that point

                • Continue using the tool to scale/rotate the layer to bring the second point over its counter part


                With the ofn-layer-aligner script




                • create a path with 4 anchors:


                  • two on the two reference points on the reference layer,

                  • two on the two matching points in the adjusted layer



                • make the adjusted layer the active layer and call the script, which will move/rotate/scale it so that the two pairs of point overlap.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 26 at 15:58









                xenoid

                1,4001415




                1,4001415






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f557994%2fwhat-would-be-a-good-way-to-scale-and-align-various-scanned-images-using-common%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                    ComboBox Display Member on multiple fields

                    Is it possible to collect Nectar points via Trainline?