OpenCV  2.4.13.7
Open Source Computer Vision
cv::WImageC< T, C > Class Template Referenceabstract

#include <wimage.hpp>

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

Public Types

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

Public Member Functions

 WImageC (IplImage *img)
 
WImageViewC< T, C > View (int c, int r, int width, int height)
 
void CopyFrom (const WImageC< T, C > &src)
 
virtual ~WImageC ()=0
 
int Channels () const
 
- Public Member Functions inherited from cv::WImage< T >
virtual ~WImage ()=0
 
IplImageIpl ()
 
const IplImageIpl () const
 
T * ImageData ()
 
const T * ImageData () const
 
int Width () const
 
int Height () const
 
int WidthStep () const
 
int Channels () const
 
int ChannelSize () const
 
int PixelSize () const
 
int Depth () const
 
const T * Row (int r) const
 
T * Row (int r)
 
T * operator() (int c, int r)
 
const T * operator() (int c, int r) const
 
void CopyFrom (const WImage< T > &src)
 
void SetZero ()
 
WImageView< T > View (int c, int r, int width, int height)
 
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
 

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from cv::WImage< T >
IplImageimage_
 

Member Typedef Documentation

§ BaseType

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

Member Enumeration Documentation

§ anonymous enum

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

Constructor & Destructor Documentation

§ WImageC() [1/2]

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

§ ~WImageC()

template<typename T , int C>
cv::WImageC< T, C >::~WImageC ( )
inlinepure virtual

§ WImageC() [2/2]

template<typename T, int C>
cv::WImageC< T, C >::WImageC ( const WImageC< T, C > &  )
protected

Member Function Documentation

§ Channels()

template<typename T, int C>
int cv::WImageC< T, C >::Channels ( ) const
inline

§ CopyFrom()

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

§ operator=()

template<typename T, int C>
void cv::WImageC< T, C >::operator= ( const WImageC< T, C > &  )
protected

§ SetIpl()

template<typename T, int C>
void cv::WImageC< T, C >::SetIpl ( IplImage image)
inlineprotected

§ View()

template<typename T , int C>
WImageViewC< T, C > cv::WImageC< T, C >::View ( int  c,
int  r,
int  width,
int  height 
)

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