OpenCV  2.4.13.6
Open Source Computer Vision
cv::WImageViewC< T, C > Class Template Reference

#include <wimage.hpp>

Inheritance diagram for cv::WImageViewC< 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

 WImageViewC ()
 
virtual ~WImageViewC ()
 
 WImageViewC (WImageC< T, C > *img, int c, int r, int width, int height)
 
 WImageViewC (T *data, int width, int height, int width_step=-1)
 
 WImageViewC (IplImage *img)
 
 WImageViewC (const WImageC< T, C > &img)
 
 WImageViewC (const WImageViewC< T, C > &img)
 
WImageViewCoperator= (const WImageC< T, C > &img)
 
WImageViewCoperator= (const WImageViewC< T, C > &img)
 
- Public Member Functions inherited from cv::WImageC< T, C >
 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 Attributes

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

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 &)
 
void operator= (const WImage &)
 
 WImage (IplImage *img)
 
void SetIpl (IplImage *image)
 

Member Typedef Documentation

§ BaseType

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

Member Enumeration Documentation

§ anonymous enum

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

Constructor & Destructor Documentation

§ WImageViewC() [1/6]

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

§ ~WImageViewC()

template<typename T, int C>
virtual cv::WImageViewC< T, C >::~WImageViewC ( )
inlinevirtual

§ WImageViewC() [2/6]

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

§ WImageViewC() [3/6]

template<typename T , int C>
cv::WImageViewC< T, C >::WImageViewC ( T *  data,
int  width,
int  height,
int  width_step = -1 
)

§ WImageViewC() [4/6]

template<typename T, int C>
cv::WImageViewC< T, C >::WImageViewC ( IplImage img)
inline

§ WImageViewC() [5/6]

template<typename T, int C>
cv::WImageViewC< T, C >::WImageViewC ( const WImageC< T, C > &  img)
inline

§ WImageViewC() [6/6]

template<typename T, int C>
cv::WImageViewC< T, C >::WImageViewC ( const WImageViewC< T, C > &  img)
inline

Member Function Documentation

§ operator=() [1/2]

template<typename T, int C>
WImageViewC& cv::WImageViewC< T, C >::operator= ( const WImageC< T, C > &  img)
inline

§ operator=() [2/2]

template<typename T, int C>
WImageViewC& cv::WImageViewC< T, C >::operator= ( const WImageViewC< T, C > &  img)
inline

Member Data Documentation

§ header_

template<typename T, int C>
IplImage cv::WImageViewC< T, C >::header_
protected

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