The IplImage is taken from the Intel Image Processing Library, in which the format is native. More...
#include "types_c.h"
Public Member Functions | |
_IplImage () | |
_IplImage (const cv::Mat &m) | |
Public Attributes | |
int | align |
Alignment of image rows (4 or 8). More... | |
int | alphaChannel |
Ignored by OpenCV. More... | |
int | BorderConst [4] |
Ditto. More... | |
int | BorderMode [4] |
Ignored by OpenCV. More... | |
char | channelSeq [4] |
ditto More... | |
char | colorModel [4] |
Ignored by OpenCV. More... | |
int | dataOrder |
0 - interleaved color channels, 1 - separate color channels. More... | |
int | depth |
Pixel depth in bits: IPL_DEPTH_8U, IPL_DEPTH_8S, IPL_DEPTH_16S, IPL_DEPTH_32S, IPL_DEPTH_32F and IPL_DEPTH_64F are supported. More... | |
int | height |
Image height in pixels. More... | |
int | ID |
version (=0) More... | |
char * | imageData |
Pointer to aligned image data. More... | |
char * | imageDataOrigin |
Pointer to very origin of image data (not necessarily aligned) - needed for correct deallocation. More... | |
void * | imageId |
" " More... | |
int | imageSize |
Image data size in bytes (==image->height*image->widthStep in case of interleaved data) More... | |
struct _IplImage * | maskROI |
Must be NULL. More... | |
int | nChannels |
Most of OpenCV functions support 1,2,3 or 4 channels. More... | |
int | nSize |
sizeof(IplImage) More... | |
int | origin |
0 - top-left origin, 1 - bottom-left origin (Windows bitmaps style). More... | |
struct _IplROI * | roi |
Image ROI. More... | |
struct _IplTileInfo * | tileInfo |
" " More... | |
int | width |
Image width in pixels. More... | |
int | widthStep |
Size of aligned image row in bytes. More... | |
The IplImage is taken from the Intel Image Processing Library, in which the format is native.
OpenCV only supports a subset of possible IplImage formats, as outlined in the parameter list above.
In addition to the above restrictions, OpenCV handles ROIs differently. OpenCV functions require that the image size or ROI size of all source and destination images match exactly. On the other hand, the Intel Image Processing Library processes the area of intersection between the source and destination images (or ROIs), allowing them to vary independently.
|
inline |
IplImage::_IplImage | ( | const cv::Mat & | m | ) |
int IplImage::align |
Alignment of image rows (4 or 8).
OpenCV ignores it and uses widthStep instead.
int IplImage::alphaChannel |
Ignored by OpenCV.
int IplImage::BorderConst[4] |
Ditto.
int IplImage::BorderMode[4] |
Ignored by OpenCV.
char IplImage::channelSeq[4] |
ditto
char IplImage::colorModel[4] |
Ignored by OpenCV.
int IplImage::dataOrder |
0 - interleaved color channels, 1 - separate color channels.
cvCreateImage can only create interleaved images
int IplImage::depth |
Pixel depth in bits: IPL_DEPTH_8U, IPL_DEPTH_8S, IPL_DEPTH_16S, IPL_DEPTH_32S, IPL_DEPTH_32F and IPL_DEPTH_64F are supported.
Referenced by cv::WImage< T >::SetIpl(), cv::WImageC< T, C >::SetIpl(), and cv::WImage< T >::WImage().
int IplImage::height |
Image height in pixels.
Referenced by cv::WImage< T >::Height(), cv::WImageView< T >::WImageView(), and cv::WImageViewC< T, C >::WImageViewC().
int IplImage::ID |
version (=0)
char* IplImage::imageData |
Pointer to aligned image data.
Referenced by cv::WImage< T >::ImageData(), cv::WImage< T >::operator()(), cv::WImage< T >::Row(), cv::WImageView< T >::WImageView(), and cv::WImageViewC< T, C >::WImageViewC().
char* IplImage::imageDataOrigin |
Pointer to very origin of image data (not necessarily aligned) - needed for correct deallocation.
void* IplImage::imageId |
" "
int IplImage::imageSize |
Image data size in bytes (==image->height*image->widthStep in case of interleaved data)
struct _IplImage* IplImage::maskROI |
Must be NULL.
int IplImage::nChannels |
Most of OpenCV functions support 1,2,3 or 4 channels.
Referenced by cv::WImage< T >::Channels(), and cv::WImageC< T, C >::WImageC().
int IplImage::nSize |
sizeof(IplImage)
int IplImage::origin |
0 - top-left origin, 1 - bottom-left origin (Windows bitmaps style).
struct _IplROI* IplImage::roi |
Image ROI.
If NULL, the whole image is selected.
struct _IplTileInfo* IplImage::tileInfo |
" "
int IplImage::width |
Image width in pixels.
Referenced by cv::WImage< T >::Width(), cv::WImageView< T >::WImageView(), and cv::WImageViewC< T, C >::WImageViewC().
int IplImage::widthStep |
Size of aligned image row in bytes.
Referenced by cv::WImage< T >::operator()(), cv::WImage< T >::Row(), cv::WImage< T >::WidthStep(), cv::WImageView< T >::WImageView(), and cv::WImageViewC< T, C >::WImageViewC().