PanoTools mailing list archive

Mailinglist:PanoTools NG
Sender:Antonin Roussel antonin.roussel@... [PanoToolsNG]
Date/Time:21-Apr-2020 18:54:43 +0000
Subject:Automating depth of field reduction - Addendum

Thread:


Addendum

According to the idea suggested, I manage to align my pictures using 
Hugin in two main steps, run as two projects. It's working fine, and 
needs you to be perseverent. Here are the details:

  * Project one : prepare pre-aligned pictures on the subject
     1. Masks tab > Crop tab > Crop > check "All images of selected lens"
        crop around subject "focal plane"
        then roughly align
              o [copied from previous post "Settings :" part]
                In order to automate the Control Points Creation as
                expected, around expected focal plane, I use the same
                Crop Mask on every photos before launching creation.
                Once done, restore default cropping (none) In order to
                limit the number of Control Points, I use the following
                customized Control Point Detector Program command
                `cpfind --linearmatch --sieve2width 2 --sieve2height 2
                -o %o %s`
     2. Masks tab > Crop tab > Crop > check "All images of selected
        lens" + reset cropping
     3. In "Fast Preview panorama" window: Crop tab > HDR Autocrop
     4. Stitch in "Remapped Images:"
  * Project two : fine align
     1. Add remapped images
     2. Align image-0 and image-1 with two points (on subject "focal plane")
     3. save
     4. close
  * Edit plain text pto file, part "# Controls points" and repeat
    alignment first points on each following images pairs
      o What you see:
        # control points
        c n0 N1 x1837.45203469205 y1999.00689622047 X2150.0061340898
        Y2013.09575035756 t0
        c n0 N1 x1893.93936109372 y2632.40244711498 X2219.65035682863
        Y2644.06221765228 t0
      o What you get:
        # control points
        c n0 N1 x1837.45203469205 y1999.00689622047 X2150.0061340898
        Y2013.09575035756 t0
        c n0 N1 x1893.93936109372 y2632.40244711498 X2219.65035682863
        Y2644.06221765228 t0
        .../...
        c n7 N8 x1837.45203469205 y1999.00689622047 X2150.0061340898
        Y2013.09575035756 t0
        c n7 N8 x1893.93936109372 y2632.40244711498 X2219.65035682863
        Y2644.06221765228 t0
        c n8 N0 x1837.45203469205 y1999.00689622047 X2150.0061340898
        Y2013.09575035756 t0
        c n8 N0 x1893.93936109372 y2632.40244711498 X2219.65035682863
        Y2644.06221765228 t0
      o save
      o close
  * Project two : reopen the project with Hugin
      o Menu > Edit > Fine-tune all Points
      o Optimise
      o Stitch in Remapped Images
  * Final step is with Siril to sum this stack.


Next message:

Previous message:

back to search page