auxiliary
 All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Macros
Public Types | Public Member Functions | List of all members
auxiliary::Image< T > Class Template Reference

A template image class. More...

#include <imgproc_aux.hpp>

Inheritance diagram for auxiliary::Image< T >:

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 > & ()
 

Detailed Description

template<typename T>
class auxiliary::Image< T >

A template image class.

Member Typedef Documentation

template<typename T>
typedef T auxiliary::Image< T >::elem_type

the type of elements stored in the matrix

template<typename T>
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

template<typename T>
typedef arma::uword auxiliary::Image< T >::size_type

Constructor & Destructor Documentation

template<typename T>
auxiliary::Image< T >::Image ( )
inline

Constructor.

template<typename T>
auxiliary::Image< T >::Image ( const Mat< T > &  m)
inline

Constructor.

template<typename T>
auxiliary::Image< T >::Image ( const size_type  width,
const size_type  height 
)
inline

Constructor.

template<typename T>
template<typename DT >
auxiliary::Image< T >::Image ( const Mat< DT > &  m)
inline

Constructor.

Member Function Documentation

template<typename T>
size_type auxiliary::Image< T >::height ( ) const
inline

Get image height.

template<typename T>
auxiliary::Image< T >::operator Mat< T > & ( )
inline
template<typename T>
void auxiliary::Image< T >::release ( )
inline

Dummy function.

template<typename T>
void auxiliary::Image< T >::resize ( size_type  width,
size_type  height 
)
inline

Resize image.

template<typename T>
size_type auxiliary::Image< T >::width ( ) const
inline

Get image width.


The documentation for this class was generated from the following file: