Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

XVOL-GET-MASK-SLICE

source files: xvol.[ch]

SYNTAX

(XVOL-GET-MASK-SLICE
      :VOXELS <grl:voxels>
    [ :MASK <mask-ary-name>  ]
    [ :SLICE slice           ]
    [ :AXIS <fix:axis>       ]
    [ :MIN <fix:min>         ]
    [ :MAX <fix:max>         ]
    [ :ZOOM-BY <fix:zoom>    ]
    [ :RESULT-IN <grl:image> ]
    [ :REVERSE-X t           ]
)

DESCRIPTION

A duplicate of XVOL-GET-VOXEL-SLICE, except it returns a slice of a bit array instead of a slice of the volume's intensity array. The bit array to slice is provided with the :MASK keyword. The return value is the same as XMRI-READ-RGB-IMAGE, which makes this function handy for displaying a slice of a bitmask.


Go to the first, previous, next, last section, table of contents.