Image class which owns the data, so it can be allocated and is always freed. More...
#include "wimage.hpp"
Public Types | |
typedef WImage< T >::BaseType | BaseType |
Public Member Functions | |
WImageBuffer () | |
WImageBuffer (int width, int height, int nchannels) | |
WImageBuffer (IplImage *img) | |
~WImageBuffer () | |
void | Allocate (int width, int height, int nchannels) |
int | Channels () const |
int | ChannelSize () const |
void | CloneFrom (const WImage< T > &src) |
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 |
bool | IsNull () const |
T * | operator() (int c, int r) |
const T * | operator() (int c, int r) const |
int | PixelSize () const |
void | ReleaseImage () |
const T * | Row (int r) const |
T * | Row (int r) |
void | SetIpl (IplImage *img) |
void | SetZero () |
WImageView< T > | View (int c, int r, int width, int height) |
int | Width () const |
int | WidthStep () const |
Protected Attributes | |
IplImage * | image_ |
Image class which owns the data, so it can be allocated and is always freed.
It cannot be copied but can be explicity cloned.
typedef WImage<T>::BaseType cv::WImageBuffer< T >::BaseType |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
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 |
|
inline |
References cv::WImage< T >::Channels(), cv::WImage< T >::CopyFrom(), cv::WImage< T >::Height(), and cv::WImage< T >::Width().
|
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_.
|
inline |
|
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.
|
inlineinherited |
References cv::WImage< T >::Channels(), cv::WImage< T >::ChannelSize(), and cv::WImage< T >::Depth().
|
inline |
References cvReleaseImage(), and cv::WImage< T >::SetIpl().
|
inlineinherited |
References cv::WImage< T >::image_, IplImage::imageData, and IplImage::widthStep.
|
inlineinherited |
References cv::WImage< T >::image_, IplImage::imageData, and IplImage::widthStep.
|
inline |
|
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.
|
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().