A template image class. More...
#include <imgproc_aux.hpp>
Public Types | |
typedef T | elem_type |
the type of elements stored in the matrix More... | |
typedef get_pod_type< T >::result | pod_type |
if eT is non-complex, pod_type is same as eT. otherwise, pod_type is the underlying type used by std::complex More... | |
typedef arma::uword | size_type |
Public Member Functions | |
Image () | |
Constructor. More... | |
Image (const Mat< T > &m) | |
Constructor. More... | |
Image (const size_type width, const size_type height) | |
Constructor. More... | |
template<typename DT > | |
Image (const Mat< DT > &m) | |
Constructor. More... | |
void | release () |
Dummy function. More... | |
size_type | width () const |
Get image width. More... | |
size_type | height () const |
Get image height. More... | |
void | resize (size_type width, size_type height) |
Resize image. More... | |
operator Mat< T > & () | |
A template image class.
typedef T auxiliary::Image< T >::elem_type |
the type of elements stored in the matrix
typedef get_pod_type<T>::result auxiliary::Image< T >::pod_type |
if eT is non-complex, pod_type is same as eT. otherwise, pod_type is the underlying type used by std::complex
typedef arma::uword auxiliary::Image< T >::size_type |
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Get image height.
|
inline |
|
inline |
Dummy function.
|
inline |
Resize image.
|
inline |
Get image width.