Like a WImageBuffer class but when the number of channels is known at compile time. More...
#include "wimage.hpp"
Public Types | |
enum | { kChannels = C } |
enum | { kChannels = C } |
typedef WImage< T >::BaseType | BaseType |
Public Member Functions | |
WImageBufferC () | |
WImageBufferC (int width, int height) | |
WImageBufferC (IplImage *img) | |
~WImageBufferC () | |
void | Allocate (int width, int height) |
int | Channels () const |
int | ChannelSize () const |
void | CloneFrom (const WImageC< T, C > &src) |
void | CopyFrom (const WImage< T > &src) |
void | CopyFrom (const WImageC< T, C > &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 () |
WImageViewC< T, C > | View (int c, int r, int width, int height) |
int | Width () const |
int | WidthStep () const |
Protected Attributes | |
IplImage * | image_ |
Like a WImageBuffer class but when the number of channels is known at compile time.
typedef WImage<T>::BaseType cv::WImageBufferC< T, C >::BaseType |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
References 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().
|
inlineinherited |
|
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::WImageC< T, C >::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().