OpenCV  3.4.4
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

§ BaseType

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

Member Enumeration Documentation

§ anonymous enum

template<typename T , int C>
anonymous enum
Enumerator
kChannels 

Constructor & Destructor Documentation

§ WImageBufferC() [1/3]

template<typename T , int C>
cv::WImageBufferC< T, C >::WImageBufferC ( )
inline

§ WImageBufferC() [2/3]

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

§ WImageBufferC() [3/3]

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

§ ~WImageBufferC()

template<typename T , int C>
cv::WImageBufferC< T, C >::~WImageBufferC ( )
inline

Member Function Documentation

§ CloneFrom()

template<typename T , int C>
void cv::WImageBufferC< T, C >::CloneFrom ( const WImageC< T, C > &  src)
inline

§ IsNull()

template<typename T , int C>
bool cv::WImageBufferC< T, C >::IsNull ( ) const
inline

§ ReleaseImage()

template<typename T , int C>
void cv::WImageBufferC< T, C >::ReleaseImage ( )
inline

§ SetIpl()

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: