Difference between revisions of "Leveling a Finished Panorama"

From PanoTools.org Wiki
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
Fortunately, it is easy to level the panorama even after doing manual touchup.
 
Fortunately, it is easy to level the panorama even after doing manual touchup.
  
Procede as follows using PTGui.  (A similar sequence should work with PTAssembler.)
+
Proceed as follows using PTGui.  (A similar sequence should work with PTAssembler.)
  
 
* Create a new project consisting of just one image: your unlevel but otherwise finished panorama.
 
* Create a new project consisting of just one image: your unlevel but otherwise finished panorama.
 
* Set lens parameters to be equirectangular, hfov=360, a/b/c=0. <small>(hfov=360 might not be possible if you use a pano12.dll that is restricted to below 180� - see Tools->Options->Panorama Tools->'Features...' MaxFFOV parameter)</small>
 
* Set lens parameters to be equirectangular, hfov=360, a/b/c=0. <small>(hfov=360 might not be possible if you use a pano12.dll that is restricted to below 180� - see Tools->Options->Panorama Tools->'Features...' MaxFFOV parameter)</small>
 
* Set output pano to be equirectangular, hfov=360, vfov=180, "Set optimum size".
 
* Set output pano to be equirectangular, hfov=360, vfov=180, "Set optimum size".
* Either:
+
* Level the horizon using one of these approaches:
** Define several sets of vertical control points, then optimize pitch and roll, or
+
** Define several sets of vertical control points, then optimize pitch and roll.  Or...
** Graphically level the pano using the Panorama Editor window in mode Edit Entire Panorama, using right-mouse drag to rotate until the horizon's high or low spot is centered, then left-mouse drag until the wave flattens out.
+
** Define several sets of horizontal control points on the actual horizon, then optimize pitch and roll.  Or...
** Use 'Numerical Transform' from the Edit menu in Panorama Editor to apply roll or pitch incrementally until the panorama is level. <small>(PTGui only)</small>
+
** Graphically level the pano using the Panorama Editor window in mode Edit Entire Panorama, using right-mouse drag to rotate until the horizon's high or low spot is centered, then left-mouse drag that spot up and down until the wave flattens out.  Be sure to wait long enough for the window to repaint between changes. <small>(PTGui only)</small>  Or...
** Use the 'Set Center Point' button in Panorama Editor to set center point to the highest or lowest point of the horizon curve - may be repeatedly. <small>(PTGui only)</small>
+
** Use 'Numerical Transform' from the Edit menu in Panorama Editor to apply roll or pitch incrementally until the panorama is level. <small>(PTGui only)</small> Or...
 +
** Use the 'Set Center Point' button in Panorama Editor to set center point to the highest or lowest point of the horizon curve - repeat if necessary. <small>(PTGui only)</small> Or...
 
* Push button Create Panorama!  
 
* Push button Create Panorama!  
  

Revision as of 07:57, 24 March 2005

Sometimes you'll do a lot of manual touchup on a panorama that you think is finished, and then realize that it's not level. Oops!

Fortunately, it is easy to level the panorama even after doing manual touchup.

Proceed as follows using PTGui. (A similar sequence should work with PTAssembler.)

  • Create a new project consisting of just one image: your unlevel but otherwise finished panorama.
  • Set lens parameters to be equirectangular, hfov=360, a/b/c=0. (hfov=360 might not be possible if you use a pano12.dll that is restricted to below 180� - see Tools->Options->Panorama Tools->'Features...' MaxFFOV parameter)
  • Set output pano to be equirectangular, hfov=360, vfov=180, "Set optimum size".
  • Level the horizon using one of these approaches:
    • Define several sets of vertical control points, then optimize pitch and roll. Or...
    • Define several sets of horizontal control points on the actual horizon, then optimize pitch and roll. Or...
    • Graphically level the pano using the Panorama Editor window in mode Edit Entire Panorama, using right-mouse drag to rotate until the horizon's high or low spot is centered, then left-mouse drag that spot up and down until the wave flattens out. Be sure to wait long enough for the window to repaint between changes. (PTGui only) Or...
    • Use 'Numerical Transform' from the Edit menu in Panorama Editor to apply roll or pitch incrementally until the panorama is level. (PTGui only) Or...
    • Use the 'Set Center Point' button in Panorama Editor to set center point to the highest or lowest point of the horizon curve - repeat if necessary. (PTGui only) Or...
  • Push button Create Panorama!

Here are some pictures illustrating this process (using an artificially un-leveled pano ;-)

The original off-level pano and lens settings:

LevelingTutorialOffLevelPreview.jpg

LevelingTutorialLensSettings.jpg


Vertical control points and optimizer settings:

LevelingTutorialControlPoints.jpg

LevelingTutorialOptimizerPanel.jpg

The leveled pano:

LevelingTutorialLeveledPreview.jpg