Bsoft function

img_histomatch

Source:

src/img/img_combine.c

Description:

Fits two images by matching the histogram of the second to the first.

Algorithm:

	Both images are converted to floating point.

Arguments:

Bimage* p1first image.
Bimage* p2second image.
float binsnumber of bins in the histograms.

Returns:

int 0, <0 if error.

Prototype:

int img_histomatch(Bimage* p1, Bimage* p2, int bins)

Functions used:

balloc
bfree
error_show
img_check_if_same_size
img_stats

Other objects included:

struct Bimage
struct Bmarker


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


Back to the Bsoft home