From 4c9dadaa3b1aec2ba0a6db60b55441c53ef9f143 Mon Sep 17 00:00:00 2001 From: torset Date: Thu, 8 Jan 2009 09:23:27 +0000 Subject: add cross correlation (need assertions) --- src/signalProcessing/includes/crossCorr.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/signalProcessing/includes/crossCorr.h (limited to 'src/signalProcessing/includes') diff --git a/src/signalProcessing/includes/crossCorr.h b/src/signalProcessing/includes/crossCorr.h new file mode 100644 index 00000000..daabe52d --- /dev/null +++ b/src/signalProcessing/includes/crossCorr.h @@ -0,0 +1,28 @@ + +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Arnaud TORSET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +#ifndef __CROSSCORR_H__ +#define __CROSSCORR_H__ + +#include "floatComplex.h" +#include "doubleComplex.h" + +void scrossCorra(float* in1, int rows1, int cols1, float* in2, int rows2, int cols2, float* out); + +void dcrossCorra(double* in1, int rows1, int cols1, double* in2, int rows2, int cols2, double* out); + +void ccrossCorra(floatComplex* in1, int rows1, int cols1, floatComplex* in2, int rows2, int cols2, floatComplex* out); + +void zcrossCorra(doubleComplex* in1, int rows1, int cols1, doubleComplex* in2, int rows2, int cols2, doubleComplex* out); + +#endif /* __CROSSCORR_H__ */ -- cgit