OpenCV convertions

Summary
OpenCV convertions
Functions
convertIplImageConverts an IplImage to the Image type of smartreader.
convertImageConverts an Image to the IplImage used in OpenCV.

Functions

convertIplImage

Image *convertIplImage(IplImage *img)

Converts an IplImage to the Image type of smartreader.  We don’t support floating point images.

Parameters

imgIplImage to be converted Returns: An Image with the same content as the IplImage passed See Also: Image

convertImage

IplImage *convertImage(Image *img)

Converts an Image to the IplImage used in OpenCV.  The converted images will always have depth equal to IPL_DEPTH_8U.

Parameters

imgImage to be converted Returns: An IplImage with the same content as the Image passed See Also: Image
Image *convertIplImage(IplImage *img)
Converts an IplImage to the Image type of smartreader.
IplImage *convertImage(Image *img)
Converts an Image to the IplImage used in OpenCV.
The image type used in smartreader
Close