Bsoft function

img_3D_to_height

Source:

src/img/img_afm.c

Description:

Converts a 3D image to a 2D height image.

Algorithm:

	The threshold defines the surface of the positive density in the 3D image.

Each line of voxels in the z-direction is scanned for the voxel
exceeding the threshold with the highest z-index.

Arguments:

Bimage* p3D image.
float thresholdthreshold to define the surface (assuming positive density).

Returns:

Bimage* 2D height image.

Prototype:

Bimage* img_3D_to_height(Bimage* p, float threshold)

Functions used:

balloc
bfree

Other objects included:

struct Bimage
constant VERB_


Generated by bdoc.pl on Mon Jun 15 11:47:12 2009


Back to the Bsoft home