Convert luminance or colour ranges into alpha so lower layers show through selected parts of the image.