Difference between revisions of "Hugin Crop tab"

From PanoTools.org Wiki
Jump to navigation Jump to search
(basic page describing the hugin crop tab)
 
m (Numerous minor tweaks)
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Use the '''Crop''' tab to indicate the areas of the input images that [[hugin]] should be
+
Use the '''Crop''' tab to indicate the area of the panorama that should be used as output. This crop tab doesn't work on the individual images but on the entire panorama.
excluded from the stitching output. Note that unlike [[PTGui]], setting [[crop parameters]] in
 
hugin doesn't change the [[Field of View]] or optical centre of your images, it simply
 
indicates areas of the image to be masked out.
 
  
(In detail, [[hugin]] uses the '''S''' 'selection' parameter in the '''i''' and '''o'''
+
[[image:Hugin2013 crop tab.png|thumb|600px|left|Screenshot of the Crop tab; click for larger image]]
script lines instead of the '''C''' 'crop' parameter)
+
{{clr}}
  
There are three situations where you might want to use crop parameters in hugin:
+
The "Autocrop" and "HDR Autocrop" buttons will adjust the crop rectangle so that it is entirely within the image area, i.e. there will be no "black" borders in the final stitched image (In other words: it determines the maximum number of pixels having no empty, black space). It does this by maximising the area of the rectangle rather than the width or height. This is automatically done when running the [[Hugin Assistant tab]].
  
* With a scanned input image, there are usually black edges or marks along the sides of the image.
+
To change the cropping at each edge, move the mouse towards that edge until a semi-transparant white box appears along it; then drag with the left mouse button until the edge is where you want it. The area outside the dragging rectangle represents the areas that will be cropped off the panorama. You can move two edges at once by moving the mouse towards the corner shared by the edges until both white boxes appear. If you wish to move the whole region at once, move the mouse into the middle so that all four edges have boxes along them and drag.
* With a circular [[Fisheye Projection]] image there are black unexposed areas around the image circle.
+
 
* Some lenses have a lot of flaring around the edges which you don't want to keep.
+
This [[Hugin Crop tab]] also has the option to display guides in the preview to help you crop the panorama until the composition applies to for example the "rule of thirds."
 +
 
 +
Note: '''Cropping the panorama''' shouldn't be confused with a camera's [[Crop factor]], which is something else entirely.  
 +
 
 +
Note 2: This [[Hugin Crop tab]] is not for cropping individual images, like you would do for e.g. [[fisheye Projection]] images having a circular area in the middle with a useless black area outside or scanned images that might have edges that need to
 +
be ''cropped'' away.
 +
 
 +
[[Category:Software:Hugin]]

Latest revision as of 07:04, 28 January 2013

Use the Crop tab to indicate the area of the panorama that should be used as output. This crop tab doesn't work on the individual images but on the entire panorama.

Screenshot of the Crop tab; click for larger image


The "Autocrop" and "HDR Autocrop" buttons will adjust the crop rectangle so that it is entirely within the image area, i.e. there will be no "black" borders in the final stitched image (In other words: it determines the maximum number of pixels having no empty, black space). It does this by maximising the area of the rectangle rather than the width or height. This is automatically done when running the Hugin Assistant tab.

To change the cropping at each edge, move the mouse towards that edge until a semi-transparant white box appears along it; then drag with the left mouse button until the edge is where you want it. The area outside the dragging rectangle represents the areas that will be cropped off the panorama. You can move two edges at once by moving the mouse towards the corner shared by the edges until both white boxes appear. If you wish to move the whole region at once, move the mouse into the middle so that all four edges have boxes along them and drag.

This Hugin Crop tab also has the option to display guides in the preview to help you crop the panorama until the composition applies to for example the "rule of thirds."

Note: Cropping the panorama shouldn't be confused with a camera's Crop factor, which is something else entirely.

Note 2: This Hugin Crop tab is not for cropping individual images, like you would do for e.g. fisheye Projection images having a circular area in the middle with a useless black area outside or scanned images that might have edges that need to be cropped away.