option to combine overlapping masks

Bug #1678626 reported by zarl on 2017-04-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

In projects with moving persons and in some other cases I sometimes need to draw very detailed masks. So I zoom in but than sometimes the area I want to mask doesn't fit inside the display area. This leads to a workflow problem: it's not easy to scroll when I have an "open" mask in the works (in that state I can't get access to the "Zoom" drop down menu or scroll lines but instead mark new mask corners outside of the image).

One idea is to have a modifier key (some applications use the 'space' or 'alt' key for this) that turns the mouse pointer to a "hand" symbol so I can drag the image inside the display area.

The other idea is to create several overlapping masks and combine those later. So one solution would be to have a context menu for a mask if it has overlapping masks for the same image number that have the same mask type (or ask for resulting mask type if those differ):
- combine with mask <list of numbers of other available masks>
- combine with all overlapping masks

An alternative to the former is to select several masks in the list (shift+click or so) and have a context menu with:
- combine selected masks
(also via the usual buttons 'copy', 'export' and selection of a different 'mask type' would be available for several masks at once)

tmodes (tmodes) wrote :

The mask editor was not written for handling arbitrary mask. It was written to create simple mask.
I would recommend to first create a rough mask in the overview and then refine the mask in higher zoom level (add more points, move points, remove points).

Changed in hugin:
importance: Undecided → Wishlist
status: New → Triaged
zarl (carl-einem) wrote :

OK, thanks for the clarification. The workflow you recommend is what I'm already doing.


tmodes (tmodes) wrote :

I forgot: you can move the image content with the cursor keys. This works also when you are in the process of creating a mask. (The default branch contains a fix which adapts the scroll rate to the image size. This should be more appropriate than a fixed scroll rate.)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers