The MIplImage type exposes the following fields.
Fields
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() |
Member | Description | |
---|---|---|
![]() | align |
Alignment of image rows (4 or 8).
OpenCV ignores it and uses widthStep instead
|
![]() | alphaChannel |
ignored by OpenCV
|
![]() | BorderConst |
ditto
|
![]() | BorderMode |
border completion mode, ignored by OpenCV
|
![]() | channelSeq |
ditto
|
![]() | colorModel |
ignored by OpenCV
|
![]() | dataOrder |
0 - interleaved color channels, 1 - separate color channels.
cvCreateImage can only create interleaved images
|
![]() | depth |
pixel depth in bits: IPL_DEPTH_8U, IPL_DEPTH_8S, IPL_DEPTH_16U, IPL_DEPTH_16S, IPL_DEPTH_32S, IPL_DEPTH_32F and IPL_DEPTH_64F are supported
|
![]() | height |
image height in pixels
|
![]() | ID |
version (=0)
|
![]() | imageData |
pointer to aligned image data
|
![]() | imageDataOrigin |
pointer to a very origin of image data (not necessarily aligned) - it is needed for correct image deallocation
|
![]() | imageId |
ditto
|
![]() | imageSize |
image data size in bytes
(=image->height*image->widthStep in case of interleaved data)
|
![]() | maskROI |
must be NULL in OpenCV
|
![]() | nChannels |
Most of OpenCV functions support 1,2,3 or 4 channels
|
![]() | nSize |
sizeof(IplImage)
|
![]() | origin |
0 - top-left origin,
1 - bottom-left origin (Windows bitmaps style)
|
![]() | roi |
image ROI. when it is not NULL, this specifies image region to process
|
![]() | tileInfo |
ditto
|
![]() | width |
image width in pixels
|
![]() | widthStep |
size of aligned image row in bytes
|