OpenCV  2.4.13
Open Source Computer Vision
cv::WImage< T > Class Template Referenceabstract

#include <wimage.hpp>

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

Public Types

typedef T BaseType
 

Public Member Functions

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

 WImage (const WImage &)
 
void operator= (const WImage &)
 
 WImage (IplImage *img)
 
void SetIpl (IplImage *image)
 

Protected Attributes

IplImageimage_
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename T >
cv::WImage< T >::~WImage ( )
inlinepure virtual
template<typename T>
cv::WImage< T >::WImage ( const WImage< T > &  )
protected
template<typename T>
cv::WImage< T >::WImage ( IplImage img)
inlineexplicitprotected

Member Function Documentation

template<typename T>
int cv::WImage< T >::Channels ( ) const
inline
template<typename T>
int cv::WImage< T >::ChannelSize ( ) const
inline
template<typename T>
void cv::WImage< T >::CopyFrom ( const WImage< T > &  src)
inline
template<typename T>
int cv::WImage< T >::Depth ( ) const
template<>
int cv::WImage< uchar >::Depth ( ) const
inline
template<>
int cv::WImage< signed char >::Depth ( ) const
inline
template<>
int cv::WImage< short >::Depth ( ) const
inline
template<>
int cv::WImage< ushort >::Depth ( ) const
inline
template<>
int cv::WImage< int >::Depth ( ) const
inline
template<>
int cv::WImage< float >::Depth ( ) const
inline
template<>
int cv::WImage< double >::Depth ( ) const
inline
template<typename T>
int cv::WImage< T >::Height ( ) const
inline
template<typename T>
T* cv::WImage< T >::ImageData ( )
inline
template<typename T>
const T* cv::WImage< T >::ImageData ( ) const
inline
template<typename T>
IplImage* cv::WImage< T >::Ipl ( )
inline
template<typename T>
const IplImage* cv::WImage< T >::Ipl ( ) const
inline
template<typename T>
T* cv::WImage< T >::operator() ( int  c,
int  r 
)
inline
template<typename T>
const T* cv::WImage< T >::operator() ( int  c,
int  r 
) const
inline
template<typename T>
void cv::WImage< T >::operator= ( const WImage< T > &  )
protected
template<typename T>
int cv::WImage< T >::PixelSize ( ) const
inline
template<typename T>
const T* cv::WImage< T >::Row ( int  r) const
inline
template<typename T>
T* cv::WImage< T >::Row ( int  r)
inline
template<typename T>
void cv::WImage< T >::SetIpl ( IplImage image)
inlineprotected
template<typename T>
void cv::WImage< T >::SetZero ( )
inline
template<typename T >
WImageView< T > cv::WImage< T >::View ( int  c,
int  r,
int  width,
int  height 
)
template<typename T>
int cv::WImage< T >::Width ( ) const
inline
template<typename T>
int cv::WImage< T >::WidthStep ( ) const
inline

Member Data Documentation

template<typename T>
IplImage* cv::WImage< T >::image_
protected

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