Woolz Image Processing  Version 1.8.3
WlzGreyTemplate
Name
WlzGreyTemplate - applies a template to an object's values.
Synopsis
WlzGreyTemplate [-t#] [-h] [<input template> [<input obj>]]
Options
-h Help, prints usage message.
-t The template value - default 0.
Description
Apply the template to the given object setting all pixels within the template to the object values. The object must be a woolz grey-level object, the template can be a domain object, polyline or boundary list which will be filled to make a domain. The template is always the second object if read from the standard input. Pixels outside the domain of the object are set to the template value.
Examples
WlzGreyTemplate obj0.wlz obj1.wlz >out.wlz
Creates a new object with the domain of the object read from obj0.wlz in which the values are either set to 0 or (within the intersection of the domains of obj0.wlz and obj1.wlz) the image values of obj1.wlz.
File
WlzGreyTemplate.c
See Also
WlzIntro(1) WlzGreyMask(1) WlzGreyTemplate(1)