1
/* Copyright (C) 2003-2005 Peter J. Verveer
3
* Redistribution and use in source and binary forms, with or without
4
* modification, are permitted provided that the following conditions
7
* 1. Redistributions of source code must retain the above copyright
8
* notice, this list of conditions and the following disclaimer.
10
* 2. Redistributions in binary form must reproduce the above
11
* copyright notice, this list of conditions and the following
12
* disclaimer in the documentation and/or other materials provided
13
* with the distribution.
15
* 3. The name of the author may not be used to endorse or promote
16
* products derived from this software without specific prior
19
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
20
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
23
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
25
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
28
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
29
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35
int NI_Correlate1D(PyArrayObject*, PyArrayObject*, int, PyArrayObject*,
36
NI_ExtendMode, double, maybelong);
37
int NI_Correlate(PyArrayObject*, PyArrayObject*, PyArrayObject*,
38
NI_ExtendMode, double, maybelong*);
39
int NI_UniformFilter1D(PyArrayObject*, long, int, PyArrayObject*,
40
NI_ExtendMode, double, long);
41
int NI_MinOrMaxFilter1D(PyArrayObject*, long, int, PyArrayObject*,
42
NI_ExtendMode, double, long, int);
43
int NI_MinOrMaxFilter(PyArrayObject*, PyArrayObject*, PyArrayObject*,
44
PyArrayObject*, NI_ExtendMode, double, maybelong*,
46
int NI_RankFilter(PyArrayObject*, int, PyArrayObject*, PyArrayObject*,
47
NI_ExtendMode, double, maybelong*);
48
int NI_GenericFilter1D(PyArrayObject*, int (*)(double*, maybelong,
49
double*, maybelong, void*), void*, long, int,
50
PyArrayObject*, NI_ExtendMode, double, long);
51
int NI_GenericFilter(PyArrayObject*, int (*)(double*, maybelong, double*,
52
void*), void*, PyArrayObject*, PyArrayObject*,
53
NI_ExtendMode, double, maybelong*);