NAME
fourier_ncc_template_mvector - Computes the normalized cross correlation (ncc) of a template matrix vector
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 fourier_ncc_template_mvector
(
Matrix **out_mpp,
const Matrix_vector *in_mvp,
const Matrix_vector *template_mvp
);
DESCRIPTION
pointed to by *template_mvp with the corresponding patch at each element of
a matrix vector.
This routine computes the normalized cross correlation of a template matrix
vector with another matrix vector. It's desirable when we want to compute
the normalized correlation over RGB instead of only over the intensity.
The fourier transform and the running sum techniques are used
to speed up the routine. The result is put into *out_mpp.
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
,
ncc_matrix
,
ncc_mvector