Bsoft function

img_mask_with_image

Source:

src/img/img_combine.c

Description:

Masks the first image with the second at a threshold level of the second.

Algorithm:

	Both images are converted to floating point.

Arguments:

Bimage* pimage to mask.
Bimage* mmasking image.
float thresholdthreshold on second image.
float fillfill value for masking.

Returns:

int 0, <0 if error.

Prototype:

int img_mask_with_image(Bimage* p, Bimage* m, float threshold, float fill)

Functions used:

balloc

Other objects included:

struct Bimage
struct Bmarker


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


Back to the Bsoft home