Reference > Masking > 

Pixel Masking

 
 
 

Pixel Masking lets you limit the effect of an image modifier to a subset of the input pixels (those covered by the mask). All tools that support masking have a Mask image input.

The actual masking is implemented by blending the original input with the tool output using the pixel values in the mask as the control weights in the blend.