source files: xvol.[ch]
(XVOL-RENDER-MAX-INTENSITY :VOXELS <grl:voxels> [ :SLICE <fix:slice> ] [ :DEPTH <fix:depth> ] [ :AXIS <fix:axis> ] [ :MIN <fix:min> ] [ :MAX <fix:max> ] [ :ZOOM-BY <fix:zoom> ] [ :RESULT-IN <grl:image> ] )
This function generates volume renderings based on maximum-intensity projection: Simply taking the maximum value found along the line of sight. It generates a monochrome result.
'voxels' should be either a rank-three CLASS-16-BIT-FLOAT-ARRAY or else a graphic relation holding such an array, named :INTENSITY.
'slice' indicates the first visible plane along the axis: planes numbered less than this are completely ignored during rendering.
'depth' controls the number of visible planes: Planes beyond 'slice'+'depth' (if any) will be ignored.
'Axis' indicates which direction the view should be taken. It should be 0, 1 or 2, and defaults to 0.
'zoom' indicates how much the image should be enlarged by during the copy, and defaults to 1. Currently, the only other supported values are 2, 4, 8 and 16.
'min', 'max' and the return value are as in XMRI-READ-RGB-IMAGE. See section XMRI-READ-RGB-IMAGE.
If a :RESULT-IN value is supplied, and is of appropriate type, the result will be placed in it and 'image' returned; otherwise, a fresh image relation will be allocated and returned.