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.