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* p
image to mask.
Bimage* m
masking image.
float threshold
threshold on second image.
float fill
fill 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