MASK This task masks either the inside or the outside of a polygon in all planes of a data cube. It is similar to the MASK command in GreG, GRAPHIC or OVERLAY, but it does affect the output image and not an internal copy of it. The polygon must have been created previously using the WRITE POLYGON command in GreG, for example.