I've taken about an hundered of pictures of a large painting with an iPhone at a distance of about 40cm. For each picture I moved the camera along the painting.

I was thinking to use to build the final assembly. Unfortunately all the possible projections seems to apply only on a sphere not on a rectangle.

How can I automate the assembly of the painting I captured?


If you are on Windows platform, try Microsoft Image Composite Editor.
It has mode for this kind of stitching and it works quite well.


What you are looking for is Rectilinear projection. It practice, it is usually hard to get right, since it tends to amplify mis-alignments of individual images.

See for example this tutorial or this one for an example of stitching flat images together.

  • Not sure about your answer Rectilinear is a type of projection for mapping a portion of the surface of a sphere to a flat image. I would like to map a portion of a flat image into a flat image.
    – nowox
    Aug 25 '15 at 18:55
  • The description assumes that you took all your pictures from the same point. I guess you moved your phone to remain parallel to the picture. I'll add more info in my answer. Aug 25 '15 at 19:46
  • In my Hugin version (latest), I don't have the same interface as your first tutorial. There is less tabs.
    – nowox
    Aug 25 '15 at 20:15
  • 2
    @nowox, select Interface -> Expert or Interface -> Advanced, and you should see the Control Points, Masks, Optimizer, and Stitcher tabs.
    – inkista
    Aug 25 '15 at 20:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.