MIplImage Fields |
The MIplImage type exposes the following members.
| Name | Description | |
|---|---|---|
| Align |
Alignment of image rows (4 or 8).
OpenCV ignores it and uses widthStep instead
| |
| AlphaChannel |
ignored by OpenCV
| |
| BorderConst0 |
border const, ignored by OpenCV
| |
| BorderConst1 |
border const, ignored by OpenCV
| |
| BorderConst2 |
border const, ignored by OpenCV
| |
| BorderConst3 |
border const, ignored by OpenCV
| |
| BorderMode0 |
border completion mode, ignored by OpenCV
| |
| BorderMode1 |
border completion mode, ignored by OpenCV
| |
| BorderMode2 |
border completion mode, ignored by OpenCV
| |
| BorderMode3 |
border completion mode, ignored by OpenCV
| |
| ChannelSeq0 |
ignored by OpenCV
| |
| ChannelSeq1 |
ignored by OpenCV
| |
| ChannelSeq2 |
ignored by OpenCV
| |
| ChannelSeq3 |
ignored by OpenCV
| |
| ColorModel0 |
ignored by OpenCV
| |
| ColorModel1 |
ignored by OpenCV
| |
| ColorModel2 |
ignored by OpenCV
| |
| ColorModel3 |
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
|