ITK
4.11.0
Insight Segmentation and Registration Toolkit
|
#include <itkPyVnl.h>
Helper class for converting VNL data buffers into python arrays.
This class will receive a VNL data structure and create the equivalent python array. This permits passing VNL data structures into python arrays from the NumPy python package.
Definition at line 43 of file itkPyVnl.h.
Public Types | |
typedef TElement | DataType |
typedef vnl_matrix< TElement > | MatrixType |
typedef PyVnl | Self |
typedef vnl_vector< TElement > | VectorType |
Static Public Member Functions | |
static PyObject * | _GetArrayFromVnlMatrix (MatrixType *matrix) |
static PyObject * | _GetArrayFromVnlVector (VectorType *vector) |
static const MatrixType | _GetVnlMatrixFromArray (PyObject *arr, PyObject *shape) |
static const VectorType | _GetVnlVectorFromArray (PyObject *arr, PyObject *shape) |
Private Member Functions | |
void | operator= (const Self &) |
PyVnl (const Self &) | |
typedef TElement itk::PyVnl< TElement >::DataType |
Type of the data from which the buffer will be converted
Definition at line 50 of file itkPyVnl.h.
typedef vnl_matrix<TElement> itk::PyVnl< TElement >::MatrixType |
Definition at line 52 of file itkPyVnl.h.
typedef PyVnl itk::PyVnl< TElement >::Self |
Standard "Self" typedef.
Definition at line 47 of file itkPyVnl.h.
typedef vnl_vector<TElement> itk::PyVnl< TElement >::VectorType |
Definition at line 51 of file itkPyVnl.h.
|
private |
|
static |
Get an Array with the content of the vnl matrix
|
static |
Get an Array with the content of the vnl vector
|
static |
Get a vnl matrix from a Python array
|
static |
Get a vnl vector from a Python array
|
private |