Woolz Image Processing  Version 1.7.5
Name
WlzProjectDomain - Projects a given 3D domain into a section.
Synopsis
WlzProjectDomain [-h] [-o<out object>] [-p<proj>] [-s[<sec>]
                 [-n#] [-m<mask1>[,<mask2>,...,<maskn>]]
                 [-t<tr1>[,<tr2>,...,<trn>]] <input object>
Options
-h Prints usage information.
-o Output file for the projected section view.
-p Projection from the 3D space of the input object and mask domains onto a plane. This must be defined by a bibfile (as saved by MAPaint).
-s Section transform which maps the plane back into a 3D space. This must be defined by a bibfile (as saved by MAPaint).
-n The number of parts to be used for the projection. If the number of parts is one (which is the default) then no mask is required. In this case the default in-plane transform is the identity transform.
-m Mask domains for each of the parts. If the mask is to cover the whole of the input object's domain then the string "null" (without the quotes) may be used.
-t Transforms withing the plane for each part. If the identity transform is required then the string "null" (without the quotes) may be used.
Description
WlzProjectDomain projects the given input 3D (spatial domain) object into a section, as used for EMAGE wholemount views. The input domain may be projected and transformed in parts to allow the separation of regions that may otherwise be obscured in a projected view. The list of masks and in-plane transforms should be comma separated and a missing string represents either the universal domain or an identity transform.
Examples
./WlzProjectDomain -o out.wlz -p prj.bib -s sec.bib domain.wlz
The 3D domain in the file domain.wlz is projected onto a plane using the projecttion transform defined in the bibfile prj.bib this is then made a section defined by the section transform read from the bibfile sec.bib.
WlzProjectDomain -o out.wlz -p prj.bib -s sec.bib -n 2 \
        -m body-msk.wlz,tail-msk.wlz \
        -t body-tr.wlz,tail-tr.wlz domain.wlz

The 3D domain in the file domain.wlz is masked using the 3D domains read from the files body-msk.wlz and tail-msk.wlz. The resulting domains are projected onto a plane using the projection defined in the bibfile prj.bib. Each of these projected domains is then transformed independently using the transforms read from the files body-tr.wlz and tail-tr.wlz. The union of these transformed 2D domains is then made a section defined by the section transform read from the bibfile sec.bib.

File
See Also
WlzIntro(1)