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

#include "wimage.hpp"

Inheritance diagram for cv::WImageView< T >:
cv::WImage< T >

Public Types

typedef WImage< T >::BaseType BaseType
 
- Public Types inherited from cv::WImage< T >
typedef T BaseType
 

Public Member Functions

 WImageView (WImage< T > *img, int c, int r, int width, int height)
 
 WImageView (T *data, int width, int height, int channels, int width_step=-1)
 
 WImageView (IplImage *img)
 
 WImageView (const WImage< T > &img)
 
WImageViewoperator= (const WImage< T > &img)
 
- 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
 

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

template<typename T>
class cv::WImageView< T >

View into an image class which allows treating a subimage as an image or treating external data as an image

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename T>
cv::WImageView< T >::WImageView ( IplImage img)
inline
template<typename T>
cv::WImageView< T >::WImageView ( const WImage< T > &  img)
inline

Member Function Documentation

template<typename T>
WImageView& cv::WImageView< T >::operator= ( const WImage< T > &  img)
inline

Member Data Documentation

template<typename T>
IplImage cv::WImageView< T >::header_
protected

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