PyCVD Namespace Reference

Classes

struct  End
struct  NumpyType
struct  TypeList

Typedefs

typedef TypeList< float,
TypeList< double, End > > 
CVDFloatTypes
typedef TypeList< char,
TypeList< unsigned char,
TypeList< short, TypeList
< unsigned short, TypeList
< int, TypeList< long long,
TypeList< unsigned int,
TypeList< float, TypeList
< double, End > > > > > > > > > 
CVDTypes

Functions

template<class T >
CVD::BasicImage< T > allocateNumpyCVDImageSiblings (int width, int height, PyArrayObject **numpy)
 DEFINE_NUMPY_TYPE (double, NPY_DOUBLE)
 DEFINE_NUMPY_TYPE (float, NPY_FLOAT)
 DEFINE_NUMPY_TYPE (unsigned int, NPY_UINT)
 DEFINE_NUMPY_TYPE (long long, NPY_LONGLONG)
 DEFINE_NUMPY_TYPE (int, NPY_INT)
 DEFINE_NUMPY_TYPE (unsigned short, NPY_USHORT)
 DEFINE_NUMPY_TYPE (short, NPY_SHORT)
 DEFINE_NUMPY_TYPE (char, NPY_BYTE)
 DEFINE_NUMPY_TYPE (unsigned char, NPY_UBYTE)
template<class T >
PyArrayObject * fromBasicImageToNumpy (const CVD::BasicImage< T > &image)
template<class I >
CVD::BasicImage< I > fromNumpyToBasicImage (PyArrayObject *image, const std::string &n="")
template<class I >
CVD::BasicImage< I > fromNumpyToBasicImage (PyObject *p, const std::string &n="")

Detailed Description

interface.h

Author:
Damian Eads
Edward Rosten

This file is part of the CVD Library. Copyright (C) 2005 The Authors

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

types.h

Author:
Damian Eads
Edward Rosten

This file is part of the CVD Library. Copyright (C) 2005 The Authors

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA


Typedef Documentation

typedef TypeList<float, TypeList<double, End> > PyCVD::CVDFloatTypes

Definition at line 76 of file types.h.

typedef TypeList<char, TypeList<unsigned char, TypeList<short, TypeList<unsigned short, TypeList<int, TypeList<long long, TypeList<unsigned int, TypeList<float, TypeList<double, End> > > > > > > > > PyCVD::CVDTypes

Definition at line 71 of file types.h.


Function Documentation

template<class T >
CVD::BasicImage<T> PyCVD::allocateNumpyCVDImageSiblings ( int  width,
int  height,
PyArrayObject **  numpy 
) [inline]
Parameters:
numpy out:

Definition at line 51 of file interface.h.

PyCVD::DEFINE_NUMPY_TYPE ( double  ,
NPY_DOUBLE   
)
PyCVD::DEFINE_NUMPY_TYPE ( float  ,
NPY_FLOAT   
)
PyCVD::DEFINE_NUMPY_TYPE ( unsigned  int,
NPY_UINT   
)
PyCVD::DEFINE_NUMPY_TYPE ( long  long,
NPY_LONGLONG   
)
PyCVD::DEFINE_NUMPY_TYPE ( int  ,
NPY_INT   
)
PyCVD::DEFINE_NUMPY_TYPE ( unsigned  short,
NPY_USHORT   
)
PyCVD::DEFINE_NUMPY_TYPE ( short  ,
NPY_SHORT   
)
PyCVD::DEFINE_NUMPY_TYPE ( char  ,
NPY_BYTE   
)
PyCVD::DEFINE_NUMPY_TYPE ( unsigned  char,
NPY_UBYTE   
)
template<class T >
PyArrayObject* PyCVD::fromBasicImageToNumpy ( const CVD::BasicImage< T > &  image  )  [inline]

Definition at line 42 of file interface.h.

template<class I >
CVD::BasicImage<I> PyCVD::fromNumpyToBasicImage ( PyArrayObject *  image,
const std::string &  n = "" 
) [inline]

Definition at line 78 of file interface.h.

template<class I >
CVD::BasicImage<I> PyCVD::fromNumpyToBasicImage ( PyObject *  p,
const std::string &  n = "" 
) [inline]

Definition at line 60 of file interface.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libcvd
Author(s): Edward Rosten, Paul Smith, Tom Drummond, Gerhard Reitmayr, Ethan Eade, Timothy Gan, Chris Kemp, Georg Klein
autogenerated on Fri Jan 11 09:14:00 2013