22 #include <vnl/vnl_vector.h>
23 #include <vnl/vnl_matrix.h>
26 #undef _POSIX_C_SOURCE
29 #include "PatchedPython27pyconfig.h"
45 template <
typename TElement>
87 #ifndef ITK_MANUAL_INSTANTIATION
88 #include "itkPyVnl.hxx"
void operator=(const Self &)
static const VectorType _GetVnlVectorViewFromArray(PyObject *arr, PyObject *shape)
vnl_matrix< TElement > MatrixType
static const MatrixType _GetVnlMatrixViewFromArray(PyObject *arr, PyObject *shape)
static PyObject * _GetArrayViewFromVnlVector(VectorType *vector)
vnl_vector< TElement > VectorType
static PyObject * _GetArrayViewFromVnlMatrix(MatrixType *matrix)
Helper class get views of VNL data buffers in python arrays and back.