Difference between revisions of "Hugin Mask tab"

From PanoTools.org Wiki
Jump to navigation Jump to search
(Created page with 'The blender (default is Enblend) use any part of an image overlap to place a seam. By excluding an area using a mask you are telling the blender to exclude that region from c...')
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The blender (default is [[Enblend]]) use any part of an image overlap to place a seam.
+
The blender (default is [[Enblend]]) uses any part of an photo overlap to place a seam which can result in part of a person or object being cut by the seam and only appearing in part in the final stitch.
By excluding an area using a mask you are telling the blender to exclude
+
 
 +
By excluding an area using a mask (exclude mask) you are telling the blender to exclude
 
that region from consideration both when placing the seam and when
 
that region from consideration both when placing the seam and when
blending.
+
blending. The result is that you can remove a person or object from the final stitch. You should only exclude part of one photo if some other photo shows the same part of the scene without that object.
The result is that you can remove a person or object only if some
+
 
other photo shows the same part of the scene without that object.
+
When you include an object with a mask (include mask) the opposite happens, this simply removes that part of the scene from all other photos, the blender then has no choice but to use the region in the photo you selected.
  
When you include an object with a mask the opposite happens, this
+
Masks can be saved and reloaded.
simply removes that part of the scene from all other photos, the blender
 
then has no choice but to use the region in the photo you selected.  
 
  
The left side shows a list of all images in the current project.  
+
The left side of the mask window shows a list of all images in the current project.  
 
The list box below shows all masks of the active image.  
 
The list box below shows all masks of the active image.  
  
Line 18: Line 17:
 
=== Creating mask polygon ===
 
=== Creating mask polygon ===
  
After selecting '''add new mask''' set polyon points with left mouse click. Finish polygon with right mouse button or left double
+
After selecting '''add new mask''' set polygon points with left mouse click. Finish polygon with right mouse button or left double
 
click.
 
click.
  
Line 24: Line 23:
  
 
You can delete the active mask by the '''delete mask''' button. The active mask is also deleted by
 
You can delete the active mask by the '''delete mask''' button. The active mask is also deleted by
pressing the delete key when all or none point of the current mask are selected.
+
pressing the delete key when all or none points of the current mask are selected.
  
 
=== Select mask ===
 
=== Select mask ===
Line 47: Line 46:
 
=== Adding points ===
 
=== Adding points ===
  
You can add a new point to the mask polygon by click with left mouse button while holding down the ctrl key on a line segment. Until you release the left mouse button you can also direclty move the newly created point.
+
You can add a new point to the mask polygon by click with left mouse button while holding down the ctrl key on a line segment. Until you release the left mouse button you can also directly move the newly created point.
  
 
=== Deleting points ===
 
=== Deleting points ===
  
You can delete a single point of the active polygon by a right mouse click while holding ctrl key on a point. To delete multiply points drag a rectangle/rubberband with the right mouse button and pressed ctrl key around the points, which should be deleted. When you press the delete key the selected points are deleted.
+
You can delete a single point of the active polygon by a right mouse click while holding ctrl key on a point. To delete multiple points drag a rectangle/rubberband with the right mouse button and pressed ctrl key around the points, which should be deleted. When you press the delete key the selected points are deleted.
  
 
Attention: When the remaining polygon consists of less than tree points, the delete operation is canceled.  
 
Attention: When the remaining polygon consists of less than tree points, the delete operation is canceled.  
  
__NOTOC__
+
 
 +
'''Hint:''' On Mac OS use the command key instead of the control key for all above mentioned operations.
 +
 
 
[[Category:Software:Hugin]]
 
[[Category:Software:Hugin]]

Revision as of 09:53, 12 November 2011

The blender (default is Enblend) uses any part of an photo overlap to place a seam which can result in part of a person or object being cut by the seam and only appearing in part in the final stitch.

By excluding an area using a mask (exclude mask) you are telling the blender to exclude that region from consideration both when placing the seam and when blending. The result is that you can remove a person or object from the final stitch. You should only exclude part of one photo if some other photo shows the same part of the scene without that object.

When you include an object with a mask (include mask) the opposite happens, this simply removes that part of the scene from all other photos, the blender then has no choice but to use the region in the photo you selected.

Masks can be saved and reloaded.

The left side of the mask window shows a list of all images in the current project. The list box below shows all masks of the active image.


Editing masks

Creating mask polygon

After selecting add new mask set polygon points with left mouse click. Finish polygon with right mouse button or left double click.

Deleting a mask

You can delete the active mask by the delete mask button. The active mask is also deleted by pressing the delete key when all or none points of the current mask are selected.

Select mask

There are 3 ways to select a mask

  • left mouse click inside polygon
  • use rubberband around polygon, this works only when the active polygon has no selected points
  • use the listbox on the left side

Selecting point(s)

You can select points of the active polygon by clicking on it. To select several points use a rubberband around all points. When holding down the shift key, the newly selected points are added to the existing selection.

Move point(s)

Simply drag a point with left mouse button. This works also when more then one point is selected.

Move whole mask

If you want to move the whole mask, drag the mask with right mouse button. (You have to start dragging inside the polygon.)

Adding points

You can add a new point to the mask polygon by click with left mouse button while holding down the ctrl key on a line segment. Until you release the left mouse button you can also directly move the newly created point.

Deleting points

You can delete a single point of the active polygon by a right mouse click while holding ctrl key on a point. To delete multiple points drag a rectangle/rubberband with the right mouse button and pressed ctrl key around the points, which should be deleted. When you press the delete key the selected points are deleted.

Attention: When the remaining polygon consists of less than tree points, the delete operation is canceled.


Hint: On Mac OS use the command key instead of the control key for all above mentioned operations.