Hugin Mask tab old gui
|2013-01-01:||These are the wiki pages belonging to hugin versions up to and including 2012.0.0|
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.
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.
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
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.
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.)
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.
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.