#include <types_c.h>
Public Attributes | |
int | nSize |
int | ID |
int | nChannels |
int | alphaChannel |
int | depth |
char | colorModel [4] |
char | channelSeq [4] |
int | dataOrder |
int | origin |
int | align |
int | width |
int | height |
struct _IplROI * | roi |
struct _IplImage * | maskROI |
void * | imageId |
struct _IplTileInfo * | tileInfo |
int | imageSize |
char * | imageData |
int | widthStep |
int | BorderMode [4] |
int | BorderConst [4] |
char * | imageDataOrigin |
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.
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.
int _IplImage::height |
Image height in pixels.
int _IplImage::ID |
version (=0)
char* _IplImage::imageData |
Pointer to aligned image data.
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
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.
int _IplImage::widthStep |
Size of aligned image row in bytes.