WIP. With the apply mask operator it is possible to apply cleaner masks.
In the final design I expect this to become a node with multiple modes.
Or where it can detect what it is extracting.
Current implementation applies the masks with less AA artifacts near
edges.