~ubuntu-branches/ubuntu/saucy/python-scipy/saucy

« back to all changes in this revision

Viewing changes to scipy/ndimage/src/ni_morphology.h

  • Committer: Bazaar Package Importer
  • Author(s): Ondrej Certik
  • Date: 2008-06-16 22:58:01 UTC
  • mfrom: (2.1.24 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080616225801-irdhrpcwiocfbcmt
Tags: 0.6.0-12
* The description updated to match the current SciPy (Closes: #489149).
* Standards-Version bumped to 3.8.0 (no action needed)
* Build-Depends: netcdf-dev changed to libnetcdf-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 2003-2005 Peter J. Verveer
 
2
 *
 
3
 * Redistribution and use in source and binary forms, with or without
 
4
 * modification, are permitted provided that the following conditions
 
5
 * are met: 
 
6
 *
 
7
 * 1. Redistributions of source code must retain the above copyright
 
8
 *    notice, this list of conditions and the following disclaimer.
 
9
 *
 
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.
 
14
 *
 
15
 * 3. The name of the author may not be used to endorse or promote
 
16
 *    products derived from this software without specific prior
 
17
 *    written permission.
 
18
 * 
 
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.      
 
30
 */
 
31
 
 
32
#ifndef NI_MORPHOLOGY_H
 
33
#define NI_MORPHOLOGY_H
 
34
 
 
35
int NI_BinaryErosion(PyArrayObject*, PyArrayObject*, PyArrayObject*, 
 
36
     PyArrayObject*, int, maybelong*, int, int, int*, NI_CoordinateList**);
 
37
int NI_BinaryErosion2(PyArrayObject*, PyArrayObject*, PyArrayObject*,
 
38
                      int, maybelong*, int, NI_CoordinateList**);
 
39
int NI_DistanceTransformBruteForce(PyArrayObject*, int, PyArrayObject*,
 
40
                                   PyArrayObject*, PyArrayObject*);
 
41
int NI_DistanceTransformOnePass(PyArrayObject*, PyArrayObject *,
 
42
                                PyArrayObject*);
 
43
int NI_EuclideanFeatureTransform(PyArrayObject*, PyArrayObject*, 
 
44
                                 PyArrayObject*);
 
45
 
 
46
#endif