NAME

ncc_matrix - Computes the normalized cross correlation (ncc) of two matrices

SYNOPSIS

#include "m2/m2_ncc.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 ncc_matrix
(
	double *corr,
	const Matrix *mp1,
	const Matrix *mp2
);

DESCRIPTION

This routine computes the normalized cross correlation of two matrices. The two matrix must have the same size. The result is put into *corr.

RETURNS

NO_ERROR on sucess and ERROR on failure.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Quanfu Fan and Kobus Barnard

DOCUMENTER

Quanfu Fan and Kobus Barnard

SEE ALSO

fourier_convolve_matrix , fourier_convolve_image , fourier_ncc_template_matrix , fourier_ncc_template_mvector , ncc_mvector