OpenCV  3.0.0-dev
Open Source Computer Vision
Public Types | Public Member Functions | List of all members
cv::WImageBuffer< T > Class Template Reference

#include "wimage.hpp"

Inheritance diagram for cv::WImageBuffer< T >:
cv::WImage< T >

Public Types

typedef WImage< T >::BaseType BaseType
 
- Public Types inherited from cv::WImage< T >
typedef T BaseType
 

Public Member Functions

 WImageBuffer ()
 
 WImageBuffer (int width, int height, int nchannels)
 
 WImageBuffer (IplImage *img)
 
 ~WImageBuffer ()
 
void Allocate (int width, int height, int nchannels)
 
void CloneFrom (const WImage< T > &src)
 
bool IsNull () const
 
void ReleaseImage ()
 
void SetIpl (IplImage *img)
 
- Public Member Functions inherited from cv::WImage< T >
virtual ~WImage ()=0
 
int Channels () const
 
int ChannelSize () const
 
void CopyFrom (const WImage< T > &src)
 
int Depth () const
 
template<>
int Depth () const
 
template<>
int Depth () const
 
template<>
int Depth () const
 
template<>
int Depth () const
 
template<>
int Depth () const
 
template<>
int Depth () const
 
template<>
int Depth () const
 
int Height () const
 
T * ImageData ()
 
const T * ImageData () const
 
IplImageIpl ()
 
const IplImageIpl () const
 
T * operator() (int c, int r)
 
const T * operator() (int c, int r) const
 
int PixelSize () const
 
const T * Row (int r) const
 
T * Row (int r)
 
void SetZero ()
 
WImageView< T > View (int c, int r, int width, int height)
 
int Width () const
 
int WidthStep () const
 

Additional Inherited Members

- Protected Member Functions inherited from cv::WImage< T >
 WImage (const WImage &)
 
 WImage (IplImage *img)
 
void operator= (const WImage &)
 
void SetIpl (IplImage *image)
 
- Protected Attributes inherited from cv::WImage< T >
IplImageimage_
 

Detailed Description

template<typename T>
class cv::WImageBuffer< T >

Image class which owns the data, so it can be allocated and is always freed. It cannot be copied but can be explicity cloned.

Member Typedef Documentation

template<typename T >
typedef WImage<T>::BaseType cv::WImageBuffer< T >::BaseType

Constructor & Destructor Documentation

template<typename T >
cv::WImageBuffer< T >::WImageBuffer ( )
inline
template<typename T >
cv::WImageBuffer< T >::WImageBuffer ( int  width,
int  height,
int  nchannels 
)
inline
template<typename T >
cv::WImageBuffer< T >::WImageBuffer ( IplImage img)
inlineexplicit
template<typename T >
cv::WImageBuffer< T >::~WImageBuffer ( )
inline

Member Function Documentation

template<typename T >
void cv::WImageBuffer< T >::CloneFrom ( const WImage< T > &  src)
inline
template<typename T >
bool cv::WImageBuffer< T >::IsNull ( ) const
inline
template<typename T >
void cv::WImageBuffer< T >::ReleaseImage ( )
inline
template<typename T >
void cv::WImageBuffer< T >::SetIpl ( IplImage img)
inline

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