Hugin Mask tab - PanoTools.org Wiki
Keywords: Hugin Mask tab,Enblend

# Hugin Mask tab

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.

Retrieved from "http://wiki.panotools.org/Hugin_Mask_tab"