Bsoft function
img_color_red
Source:
src/img/img_colour.c
Description:
Converts a gray-scale image to red.
Algorithm:
A grayscale image is converted to red between the given minimum and maximum.
Arguments:
Bimage* p
image.
float cmin
lower grayscale boundary.
float cmax
upper grayscale boundary.
int gray_extremes
keep the ranges beyond the minimum and maximum as gray.
Returns:
int 0.
Prototype:
int img_color_red(Bimage* p, float cmin, float cmax, int gray_extremes)
Functions used:
balloc
bfree
Other objects included:
struct Bimage
Generated by bdoc.pl on Mon Jun 15 11:47:27 2009
Back to the Bsoft home