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

#include "wimage.hpp"

Inheritance diagram for cv::WImageBufferC< T, C >:
cv::WImageC< T, C > cv::WImage< T >

Public Types

enum  { kChannels = C }
 
typedef WImage< T >::BaseType BaseType
 
- Public Types inherited from cv::WImageC< T, C >
enum  { kChannels = C }
 
typedef WImage< T >::BaseType BaseType
 
- Public Types inherited from cv::WImage< T >
typedef T BaseType
 

Public Member Functions

 WImageBufferC ()
 
 WImageBufferC (int width, int height)
 
 WImageBufferC (IplImage *img)
 
 ~WImageBufferC ()
 
void Allocate (int width, int height)
 
void CloneFrom (const WImageC< T, C > &src)
 
bool IsNull () const
 
void ReleaseImage ()
 
void SetIpl (IplImage *img)
 
- Public Member Functions inherited from cv::WImageC< T, C >
 WImageC (IplImage *img)
 
virtual ~WImageC ()=0
 
int Channels () const
 
void CopyFrom (const WImageC< T, C > &src)
 
WImageViewC< T, C > View (int c, int r, int width, int height)
 
- 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::WImageC< T, C >
 WImageC (const WImageC &)
 
void operator= (const WImageC &)
 
void SetIpl (IplImage *image)
 
- 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, int C>
class cv::WImageBufferC< T, C >

Like a WImageBuffer class but when the number of channels is known at compile time.

Member Typedef Documentation

template<typename T , int C>
typedef WImage<T>::BaseType cv::WImageBufferC< T, C >::BaseType

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename T , int C>
void cv::WImageBufferC< T, C >::CloneFrom ( const WImageC< T, C > &  src)
inline
template<typename T , int C>
bool cv::WImageBufferC< T, C >::IsNull ( ) const
inline
template<typename T , int C>
void cv::WImageBufferC< T, C >::ReleaseImage ( )
inline
template<typename T , int C>
void cv::WImageBufferC< T, C >::SetIpl ( IplImage img)
inline

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