VIA - Volumetric Image Analysis
Functions
VolumesOps.c File Reference

Functions

Volumes VImage2Volumes (VImage src)
 convert a raster image to volume repn. Each grey value produces one volume. More...
 
VImage Volumes2Image (Volumes src, VRepnKind repn)
 convert a volume set to a raster image repn More...
 
VImage Volumes2Bin (Volumes src)
 convert a volume set to a binary raster image More...
 
VImage Volume2Bin (Volume v)
 convert a single volume to a binary raster image More...
 
Volume VBin2Volume (VImage src)
 convert a binary raster image to a single volume representation More...
 
VBoolean VolumeInside (Volume v, short b, short r, short c)
 test if voxel [b,r,c] is inside volume v, return TRUE if so, return FALSE, otherwise. More...
 

Detailed Description

Operations on volume sets.

Reference:
G. Lohmann (1998). "Volumetric Image Analysis", John Wiley & Sons, Chichester, England.
Author:
Gabriele Lohmann, MPI-CBS

Function Documentation

Volumes VImage2Volumes ( VImage  src)

convert a raster image to volume repn. Each grey value produces one volume.

Parameters
srcinput image (ubyte or short repn)
VImage Volumes2Image ( Volumes  src,
VRepnKind  repn 
)

convert a volume set to a raster image repn

Parameters
srcinput volume set
repnoutput pixel repn (any repn).
VImage Volumes2Bin ( Volumes  src)

convert a volume set to a binary raster image

Parameters
srcinput volume set
VImage Volume2Bin ( Volume  src)

convert a single volume to a binary raster image

Parameters
srcinput volume
Volume VBin2Volume ( VImage  src)

convert a binary raster image to a single volume representation

Parameters
srcinput raster image (bit repn)
VBoolean VolumeInside ( Volume  v,
short  b,
short  r,
short  c 
)

test if voxel [b,r,c] is inside volume v, return TRUE if so, return FALSE, otherwise.

Parameters
vinput volume
bslice address of voxel
rrow address of voxel
ccolumn address of voxel