Bsoft function

img_colour_to_intensity

Source:

src/img/img_colour.c

Description:

Generates intensity without colour.

Algorithm:

	The intensity is defined as the average of the colour.

Arguments:

Bimage* pimage.

Returns:

int 0.

Prototype:

int img_colour_to_intensity(Bimage* p)

Functions used:

balloc
bfree

Other objects included:

struct Bimage


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


Back to the Bsoft home