View into an image class which allows treating a subimage as an image or treating external data as an image. More...
#include "wimage.hpp"
Public Types | |
typedef WImage< T >::BaseType | 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) | |
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 |
IplImage * | Ipl () |
const IplImage * | Ipl () const |
T * | operator() (int c, int r) |
const T * | operator() (int c, int r) const |
WImageView & | operator= (const WImage< T > &img) |
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 Member Functions | |
void | SetIpl (IplImage *image) |
Protected Attributes | |
IplImage | header_ |
IplImage * | image_ |
View into an image class which allows treating a subimage as an image or treating external data as an image.
typedef WImage<T>::BaseType cv::WImageView< T >::BaseType |
|
inline |
|
inline |
References cv::WImage< T >::Ipl(), and cv::WImage< T >::SetIpl().
|
inlineinherited |
References cv::WImage< T >::image_, and IplImage::nChannels.
Referenced by cv::WImageBuffer< T >::CloneFrom(), cv::WImage< T >::operator()(), cv::WImage< T >::PixelSize(), and cv::WImageC< T, C >::WImageC().
|
inlineinherited |
|
inlineinherited |
References cvCopy(), cv::WImage< T >::image_, and cv::WImage< T >::Ipl().
Referenced by cv::WImageBuffer< T >::CloneFrom(), and cv::WImageBufferC< T, C >::CloneFrom().
|
inherited |
|
inlineinherited |
References IPL_DEPTH_8U.
|
inlineinherited |
References IPL_DEPTH_8S.
|
inlineinherited |
References IPL_DEPTH_16S.
|
inlineinherited |
References IPL_DEPTH_16U.
|
inlineinherited |
References IPL_DEPTH_32S.
|
inlineinherited |
References IPL_DEPTH_32F.
|
inlineinherited |
References IPL_DEPTH_64F.
|
inlineinherited |
References IplImage::height, and cv::WImage< T >::image_.
Referenced by cv::WImageBuffer< T >::CloneFrom(), and cv::WImageBufferC< T, C >::CloneFrom().
|
inlineinherited |
References cv::WImage< T >::image_, and IplImage::imageData.
|
inlineinherited |
References cv::WImage< T >::image_, and IplImage::imageData.
|
inlineinherited |
References cv::WImage< T >::image_.
Referenced by cv::WImage< T >::CopyFrom(), cv::WImageC< T, C >::CopyFrom(), cv::WImageView< T >::operator=(), cv::WImageViewC< T, C >::operator=(), cv::WImageView< T >::WImageView(), and cv::WImageViewC< T, C >::WImageViewC().
|
inlineinherited |
References cv::WImage< T >::image_.
|
inlineinherited |
References cv::WImage< T >::Channels(), cv::WImage< T >::image_, IplImage::imageData, and IplImage::widthStep.
|
inlineinherited |
References cv::WImage< T >::Channels(), cv::WImage< T >::image_, IplImage::imageData, and IplImage::widthStep.
|
inline |
References cv::WImage< T >::Ipl(), and cv::WImage< T >::SetIpl().
|
inlineinherited |
References cv::WImage< T >::Channels(), cv::WImage< T >::ChannelSize(), and cv::WImage< T >::Depth().
|
inlineinherited |
References cv::WImage< T >::image_, IplImage::imageData, and IplImage::widthStep.
|
inlineinherited |
References cv::WImage< T >::image_, IplImage::imageData, and IplImage::widthStep.
|
inlineprotectedinherited |
References IplImage::depth, and cv::WImage< T >::image_.
Referenced by cv::WImageView< T >::operator=(), cv::WImageBuffer< T >::ReleaseImage(), cv::WImageC< T, C >::SetIpl(), cv::WImageBuffer< T >::SetIpl(), and cv::WImageView< T >::WImageView().
|
inlineinherited |
References cvSetZero(), cv::WImage< T >::image_, cv::WImage< T >::operator=(), cv::WImage< T >::View(), and cv::WImage< T >::WImage().
|
inlineinherited |
References cv::WImage< T >::image_, and IplImage::width.
Referenced by cv::WImageBuffer< T >::CloneFrom(), and cv::WImageBufferC< T, C >::CloneFrom().
|
inlineinherited |
References cv::WImage< T >::image_, and IplImage::widthStep.
|
protected |
Referenced by cv::WImageView< T >::WImageView().
|
protectedinherited |
Referenced by cv::WImage< T >::Channels(), cv::WImage< T >::CopyFrom(), cv::WImage< T >::Height(), cv::WImage< T >::ImageData(), cv::WImage< T >::Ipl(), cv::WImage< T >::operator()(), cv::WImage< T >::Row(), cv::WImage< T >::SetIpl(), cv::WImage< T >::SetZero(), cv::WImage< T >::Width(), and cv::WImage< T >::WidthStep().