$search

vlr::Image< T > Class Template Reference

#include <vlrImage.h>

Inheritance diagram for vlr::Image< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void bounds (T &lower_bound, T &upper_bound)
const T * constData () const
T * data () const
uint32_t elementSize () const
 Image (const Image &img, bool manage_buffer=true, bool copyData=true, bool copyTags=true)
 Image (uint32_t width, uint32_t height)
 Image (uint32_t width, uint32_t height, uint32_t channels)
 Image (uint32_t width, uint32_t height, uint32_t channels, colorSpace_t colorSpace)
 Image (uint32_t width, uint32_t height, uint32_t channels, uint32_t padded_width, bool manage_buffer, colorSpace_t colorSpace)
void normalize (T new_min, T new_max)
template<class nT >
 operator Image< nT > ()
Image< T > operator() (uint32_t x, uint32_t y, uint32_t roi_width, uint32_t roi_height) const
T & operator() (const uint32_t x, const uint32_t y, const uint32_t c) const
T & operator() (const uint32_t x, const uint32_t y) const
Image< T > operator+ (const Image< T > &img) const
Imageoperator= (const Image &img)
T & operator[] (const uint32_t pos) const
bool reformat (uint32_t new_width, uint32_t new_height, uint32_t new_channels, uint32_t new_padded_width, colorSpace_t new_color_space)
bool sameDims (const Image &img) const
T * setData (T *new_data, bool manage_new_buffer=false)
virtual ~Image ()

Private Member Functions

void create ()

Private Attributes

T * data_
uint32_t element_size_

Detailed Description

template<class T>
class vlr::Image< T >

Definition at line 187 of file vlrImage.h.


Constructor & Destructor Documentation

template<class T >
vlr::Image< T >::Image ( uint32_t  width,
uint32_t  height,
uint32_t  channels,
uint32_t  padded_width,
bool  manage_buffer,
colorSpace_t  colorSpace 
) [inline]

Definition at line 49 of file vlrImage.cpp.

template<class T >
vlr::Image< T >::Image ( uint32_t  width,
uint32_t  height,
uint32_t  channels,
colorSpace_t  colorSpace 
) [inline]

Definition at line 55 of file vlrImage.cpp.

template<class T >
vlr::Image< T >::Image ( uint32_t  width,
uint32_t  height,
uint32_t  channels 
) [inline]

Definition at line 61 of file vlrImage.cpp.

template<class T >
vlr::Image< T >::Image ( uint32_t  width,
uint32_t  height 
) [inline]

Definition at line 67 of file vlrImage.cpp.

template<class T >
vlr::Image< T >::Image ( const Image< T > &  img,
bool  manage_buffer = true,
bool  copyData = true,
bool  copyTags = true 
) [inline]

Definition at line 82 of file vlrImage.cpp.

template<class T >
vlr::Image< T >::~Image (  )  [inline, virtual]

Definition at line 137 of file vlrImage.cpp.


Member Function Documentation

template<class T >
void vlr::Image< T >::bounds ( T &  lower_bound,
T &  upper_bound 
) [inline]

Definition at line 144 of file vlrImage.cpp.

template<class T>
const T* vlr::Image< T >::constData (  )  const [inline]

Definition at line 204 of file vlrImage.h.

template<class T >
void vlr::Image< T >::create (  )  [inline, private]

Definition at line 73 of file vlrImage.cpp.

template<class T>
T* vlr::Image< T >::data (  )  const [inline]

Definition at line 203 of file vlrImage.h.

template<class T>
uint32_t vlr::Image< T >::elementSize (  )  const [inline]

Definition at line 202 of file vlrImage.h.

template<class T >
void vlr::Image< T >::normalize ( new_min,
new_max 
) [inline]

Definition at line 168 of file vlrImage.cpp.

template<class T>
template<class nT >
vlr::Image< T >::operator Image< nT > (  )  [inline]

Definition at line 219 of file vlrImage.h.

template<class T >
Image< T > vlr::Image< T >::operator() ( uint32_t  x,
uint32_t  y,
uint32_t  roi_width,
uint32_t  roi_height 
) const [inline]

Definition at line 251 of file vlrImage.cpp.

template<class T>
T& vlr::Image< T >::operator() ( const uint32_t  x,
const uint32_t  y,
const uint32_t  c 
) const [inline]

Definition at line 251 of file vlrImage.h.

template<class T>
T& vlr::Image< T >::operator() ( const uint32_t  x,
const uint32_t  y 
) const [inline]

Definition at line 250 of file vlrImage.h.

template<class T >
Image< T > vlr::Image< T >::operator+ ( const Image< T > &  img  )  const [inline]

Definition at line 200 of file vlrImage.cpp.

template<class T >
Image< T > & vlr::Image< T >::operator= ( const Image< T > &  img  )  [inline]

Definition at line 100 of file vlrImage.cpp.

template<class T>
T& vlr::Image< T >::operator[] ( const uint32_t  pos  )  const [inline]

Definition at line 249 of file vlrImage.h.

template<class T >
bool vlr::Image< T >::reformat ( uint32_t  new_width,
uint32_t  new_height,
uint32_t  new_channels,
uint32_t  new_padded_width,
colorSpace_t  new_color_space 
) [inline]

Definition at line 217 of file vlrImage.cpp.

template<class T>
bool vlr::Image< T >::sameDims ( const Image< T > &  img  )  const [inline]

Definition at line 214 of file vlrImage.h.

template<class T>
T* vlr::Image< T >::setData ( T *  new_data,
bool  manage_new_buffer = false 
) [inline]

Definition at line 205 of file vlrImage.h.


Member Data Documentation

template<class T>
T* vlr::Image< T >::data_ [private]

Definition at line 260 of file vlrImage.h.

template<class T>
uint32_t vlr::Image< T >::element_size_ [private]

Definition at line 259 of file vlrImage.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


vlr
Author(s): Soeren Kammel
autogenerated on Sun Mar 3 11:53:55 2013