VIA - Volumetric Image Analysis
|
Functions | |
VGraph | VImage2Graph (VImage src, VGraph dest, VDouble xmin, VDouble xmax, VBoolean link, VBoolean border) |
Convert a raster image to graph representation. |
Convert a raster image to graph representation
Each foreground voxel is represented by a node in the output graph. Optionally, only border voxels are used. Optionally, 26-adjacent voxels are connected by arcs. Voxels of grey value '0' are assumed to be background voxels.
VGraph VImage2Graph | ( | VImage | src, |
VGraph | dest, | ||
VDouble | xmin, | ||
VDouble | xmax, | ||
VBoolean | link, | ||
VBoolean | border | ||
) |
Convert a raster image to graph representation.
src | input image (any repn) |
dest | output graph |
xmin | voxels with values below 'xmin' are assumed to be background. |
xmax | voxels with values above 'xmax' are assumed to be background. If both xmin and xmax equal zero then these thresholds are ignored. |
link | if 'TRUE', then 26-adjacent voxels are linked by an arc. |
border | if 'TRUE', convert only border voxels. |