updates an existing mask

update_shademask(MaskPath, HDR, Mask, MaskPath_Update)

Arguments

MaskPath

character. path for original mask (may not exist)

HDR

list. header correpondingproviding general info about data format

Mask

numeric. data to be used in the mask

MaskPath_Update

character. path for the updated mask

Value

MaskPath_Update