Bsoft function

img_shift_background

Source:

src/img/img_background.c

Description:

Sets the background for each sub-image to a given value.

Algorithm:

	The background is taken as the average of the values outside the

circle or sphere enclosed by the image.

Arguments:

Bimage* pimage.
double backgroundnew background value.

Returns:

int 0.

Prototype:

int img_shift_background(Bimage* p, double background)

Functions used:

balloc

Other objects included:

struct Bimage
struct Bmarker
class Complex


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


Back to the Bsoft home