NAME

ncc_mvector - Computes the normalized cross correlation (ncc) of two matrix vectors.

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_mvector
(
	double *corr,
	const Matrix_vector *mvp1,
	const Matrix_vector *mvp2
);

DESCRIPTION

This routine computes the normalized cross correlation of two matrix vectors. The two matrix vectors must have the same length and their corresponding matrices should have the same size as well. 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_matrix