Woolz Image Processing  Version 1.8.3
Name
WlzGreyMask - sets all object values within a mask domain to a mask value.
Synopsis
WlzGreyMask [-m#] [-h] [<input mask> [<input obj>]]
Options
-h Help, prints usage message.
-m Mask value, default 0.
Description
Apply the mask to the given object setting all pixels within the mask to the mask value. The object must be a woolz grey-level object, the mask can be a domain object polyline or boundary list which will be filled to make a domain. The mask is always the second object if read from the standard input.
Examples
WlzGreyMask -m 64 dom.wlz obj.wlz >masked.wlz
Creates a new object mask.wlz which has the same domain and values of obj.wlz, except where the domain of obj.wlz and mask.wlz intersect where the values are set to 64.
File
WlzGreyMask.c
See Also
WlzIntro(1) WlzGreyTemplate(1) WlzGreyMask(3)