Bsoft function

img_sum_two

Source:

src/img/img_align.c

Description:

Adds two images together, adjusting for size difference.

Algorithm:

	The second image is added to the first:

image1 = image1 + image2*scale + shift
The resultant image size is the bigger of the two.

Arguments:

Bimage* p1first image (modified).
Bimage* p2second image.

Returns:

Bimage* summed image, NULL on error.

Prototype:

Bimage* img_sum_two(Bimage* p1, Bimage* p2)

Functions used:

add_item
bfree
coordset_find_rottrans
error_show

Other objects included:

struct Bimage


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


Back to the Bsoft home