NAME
compute_rms_image_difference - Computes the RMS difference between two images
SYNOPSIS
#include "i/i_metric.h"
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-I/home/kobus/include
-L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
int compute_rms_image_difference
(
const KJB_image *in1_ip,
const KJB_image *in2_ip,
double *rms_diff_ptr
);
DESCRIPTION
This routine computes the RMS difference between two images. Only valid
pixel pairs are used. The result is returned in *rms_diff_ptr.
RETURNS
NO_ERROR on success and ERROR on failure, with an error message being set.
The routine will fail if the two input images are different dimensions, or
there is no valid pixel pair.
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTER
Kobus Barnard
SEE ALSO
compute_image_difference