22#include <vnl/vnl_vector.h>
23#include <vnl/vnl_matrix.h>
45template <
typename TElement>
84#ifndef ITK_MANUAL_INSTANTIATION
85# include "itkPyVnl.hxx"
Helper class get views of VNL data buffers in python arrays and back.
vnl_matrix< TElement > MatrixType
static PyObject * _GetArrayViewFromVnlVector(VectorType *vector)
vnl_vector< TElement > VectorType
static PyObject * _GetArrayViewFromVnlMatrix(MatrixType *matrix)
static VectorType _GetVnlVectorFromArray(PyObject *arr, PyObject *shape)
static MatrixType _GetVnlMatrixFromArray(PyObject *arr, PyObject *shape)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....