parametric masks with bright edge

Exactly.
Examples: