63 printf(
"error: CByteImage::eRGB24Split is not supported by IplImageAdaptor::Adapt\n");
95 pImage->
pixels = (
unsigned char *) pIplImage->imageData;
int width
The width of the image in pixels.
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
unsigned char * pixels
The pointer to the the pixels.
int height
The height of the image in pixels.
int bytesPerPixel
The number of bytes used for encoding one pixel.
ImageType type
The type of the image.
IplImage * Adapt(const CByteImage *pImage, bool bAllocateMemory=false)
Converts a CByteImage to an IplImage.