|
| | Array3D () |
| | Array3D (int height, int width, int depth=1) |
| | Array3D (T *data, int height, int width, int depth=1) |
| void | Resize (int height, int width, int depth=1) |
| int | Height () const |
| int | Width () const |
| int | Depth () const |
| int | rows () const |
| int | cols () const |
| int | depth () const |
| int | Get_Step () const |
| T & | operator() (int i0, int i1, int i2=0) |
| | Enable accessing with 2 indices for grayscale images.
|
| const T & | operator() (int i0, int i1, int i2=0) const |
| | ArrayND () |
| | Create an empty array.
|
| | ArrayND (const Index &shape) |
| | Create an array with the specified shape.
|
| | ArrayND (int *shape) |
| | Create an array with the specified shape.
|
| | ArrayND (const ArrayND< T, N > &b) |
| | Copy constructor.
|
| | ArrayND (int s0) |
| | ArrayND (int s0, int s1) |
| | ArrayND (int s0, int s1, int s2) |
| | ArrayND (T *data, int s0, int s1, int s2) |
| | ~ArrayND () |
| | Destructor deletes pixel data.
|
| ArrayND & | operator= (const ArrayND< T, N > &b) |
| | Assignation copies pixel data.
|
| const Index & | Shapes () const |
| const Index & | Strides () const |
| void | Resize (const Index &new_shape) |
| | Create an array of shape s.
|
| void | ResizeLike (const ArrayND< D, N > &other) |
| void | Resize (const int *new_shape_array) |
| | Resizes the array to shape s. All data is lost.
|
| void | Resize (int s0) |
| | Resize a 1D array to length s0.
|
| void | Resize (int s0, int s1) |
| | Resize a 2D array to shape (s0,s1).
|
| void | resize (int rows, int cols) |
| void | Resize (int s0, int s1, int s2) |
| | Resize a 3D array to shape (s0,s1,s2).
|
| void | CopyFrom (const ArrayND< D, N > &other) |
| void | Fill (T value) |
| void | fill (T value) |
| const Index & | Shape () const |
| | Return a tuple containing the length of each axis.
|
| int | Shape (int axis) const |
| | Return the length of an axis.
|
| int | Stride (int axis) const |
| | Return the distance between neighboring elements along axis.
|
| int | Size () const |
| | Return the number of elements of the array.
|
| int | MemorySizeInBytes () const |
| | Return the total amount of memory used by the array.
|
| T * | Data () |
| | Pointer to the first element of the array.
|
| const T * | Data () const |
| | Constant pointer to the first element of the array.
|
| int | Offset (const Index &index) const |
| | Distance between the first element and the element at position index.
|
| int | Offset (int i0) const |
| | 1D specialization.
|
| int | Offset (int i0, int i1) const |
| | 2D specialization.
|
| int | Offset (int i0, int i1, int i2) const |
| | 3D specialization.
|
| T & | operator() (const Index &index) |
| | Return a reference to the element at position index.
|
| T & | operator() (int i0) |
| | 1D specialization.
|
| T & | operator() (int i0, int i1) |
| | 2D specialization.
|
| T & | operator() (int i0, int i1, int i2) |
| | 3D specialization.
|
| const T & | operator() (const Index &index) const |
| | Return a constant reference to the element at position index.
|
| const T & | operator() (int i0) const |
| | 1D specialization.
|
| const T & | operator() (int i0, int i1) const |
| | 2D specialization.
|
| const T & | operator() (int i0, int i1, int i2) const |
| | 3D specialization.
|
| bool | Contains (const Index &index) const |
| | True if index is inside array.
|
| bool | Contains (int i0) const |
| | 1D specialization.
|
| bool | Contains (int i0, int i1) const |
| | 2D specialization.
|
| bool | Contains (int i0, int i1, int i2) const |
| | 3D specialization.
|
| bool | operator== (const ArrayND< T, N > &other) const |
| bool | operator!= (const ArrayND< T, N > &other) const |
| ArrayND< T, N > | operator* (const ArrayND< T, N > &other) const |
| | ArrayND () |
| | Create an empty array.
|
| | ArrayND (const Index &shape) |
| | Create an array with the specified shape.
|
| | ArrayND (int *shape) |
| | Create an array with the specified shape.
|
| | ArrayND (const ArrayND< T, N > &b) |
| | Copy constructor.
|
| | ArrayND (int s0) |
| | ArrayND (int s0, int s1) |
| | ArrayND (int s0, int s1, int s2) |
| | ArrayND (T *data, int s0, int s1, int s2) |
| | ~ArrayND () |
| | Destructor deletes pixel data.
|
| ArrayND & | operator= (const ArrayND< T, N > &b) |
| | Assignation copies pixel data.
|
| const Index & | Shapes () const |
| const Index & | Strides () const |
| void | Resize (const Index &new_shape) |
| | Create an array of shape s.
|
| void | Resize (const int *new_shape_array) |
| | Resizes the array to shape s. All data is lost.
|
| void | Resize (int s0) |
| | Resize a 1D array to length s0.
|
| void | Resize (int s0, int s1) |
| | Resize a 2D array to shape (s0,s1).
|
| void | Resize (int s0, int s1, int s2) |
| | Resize a 3D array to shape (s0,s1,s2).
|
| void | ResizeLike (const ArrayND< D, N > &other) |
| void | resize (int rows, int cols) |
| void | CopyFrom (const ArrayND< D, N > &other) |
| void | Fill (T value) |
| void | fill (T value) |
| const Index & | Shape () const |
| | Return a tuple containing the length of each axis.
|
| int | Shape (int axis) const |
| | Return the length of an axis.
|
| int | Stride (int axis) const |
| | Return the distance between neighboring elements along axis.
|
| int | Size () const |
| | Return the number of elements of the array.
|
| int | MemorySizeInBytes () const |
| | Return the total amount of memory used by the array.
|
| T * | Data () |
| | Pointer to the first element of the array.
|
| const T * | Data () const |
| | Constant pointer to the first element of the array.
|
| int | Offset (const Index &index) const |
| | Distance between the first element and the element at position index.
|
| int | Offset (int i0) const |
| | 1D specialization.
|
| int | Offset (int i0, int i1) const |
| | 2D specialization.
|
| int | Offset (int i0, int i1, int i2) const |
| | 3D specialization.
|
| T & | operator() (const Index &index) |
| | Return a reference to the element at position index.
|
| T & | operator() (int i0) |
| | 1D specialization.
|
| T & | operator() (int i0, int i1) |
| | 2D specialization.
|
| T & | operator() (int i0, int i1, int i2) |
| | 3D specialization.
|
| const T & | operator() (const Index &index) const |
| | Return a constant reference to the element at position index.
|
| const T & | operator() (int i0) const |
| | 1D specialization.
|
| const T & | operator() (int i0, int i1) const |
| | 2D specialization.
|
| const T & | operator() (int i0, int i1, int i2) const |
| | 3D specialization.
|
| bool | Contains (const Index &index) const |
| | True if index is inside array.
|
| bool | Contains (int i0) const |
| | 1D specialization.
|
| bool | Contains (int i0, int i1) const |
| | 2D specialization.
|
| bool | Contains (int i0, int i1, int i2) const |
| | 3D specialization.
|
| bool | operator== (const ArrayND< T, N > &other) const |
| bool | operator!= (const ArrayND< T, N > &other) const |
| ArrayND< T, N > | operator* (const ArrayND< T, N > &other) const |
template<typename
T>
class libmv::Array3D< T >
3D array (row, column, channel).
Definition at line 332 of file array_nd.h.