22 #include <vnl/vnl_vector.h>
23 #include <vnl/vnl_matrix.h>
26 #undef _POSIX_C_SOURCE
29 #include "PatchedPython27pyconfig.h"
46 template <
typename TElement>
88 #ifndef ITK_MANUAL_INSTANTIATION
89 #include "itkPyVnl.hxx"
void operator=(const Self &)
static const MatrixType _GetVnlMatrixFromArray(PyObject *arr, PyObject *shape)
static const VectorType _GetVnlVectorFromArray(PyObject *arr, PyObject *shape)
vnl_matrix< TElement > MatrixType
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.