Bsoft function
img_colorize
Source:
src/img/img_colour.c
Description:
Colourizes an image from blue to red.
Algorithm:
A grayscale image is converted to RGB and coloured from blue (low) to
red (high). Only the values between the given minimum and maximum is used.
Arguments:
| Bimage* p | image.
|
| float cmin | lower grayscale boundary.
|
| float cmax | upper grayscale boundary.
|
Returns:
int 0.
Prototype:
int img_colorize(Bimage* p, float cmin, float cmax)
Functions used:
RGB_spectrum_from_float
balloc
bfree
img_fft
img_rescale_to_avg_std
Other objects included:
struct Bimage
Generated by bdoc.pl on Mon Jun 15 11:47:28 2009
Back to the Bsoft home