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