Bsoft function

img_add_constant

Source:

src/img/img_arithmetic.c

Description:

Adds a constant value to an image.

Algorithm:

	newdatum = olddatum + constant

Arguments:

Bimage* pimage structure.
double constantconstant to add.

Returns:

int 0.

Prototype:

int img_add_constant(Bimage* p, double constant)

Functions used:

balloc

Other objects included:

struct Bimage


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


Back to the Bsoft home