ImageUtils.cpp
IplImage* convertMatrixToUcharImage(const CvMat *srcMat)
{
	// Fill the Matrix's float data as a float image into this image.
	IplImage srcIplImg;
	cvGetImage(srcMat, &srcIplImg);

	// Convert the float image into a normal Uchar image.
	return convertFloatImageToUcharImage(&srcIplImg);
}
// Get an 8-bit equivalent of the 32-bit Float Matrix.
// Returns a new image, so remember to call 'cvReleaseImage()' on the result.

Get an 8-bit equivalent of the 32-bit Float Matrix.
Returns a new image, so remember to call 'cvReleaseImage()' on the result.
Get an 8 - bit equivalent of the 32 - bit Float Matrix . Returns a new image so remember to call ' cvReleaseImage () ' on the result .
IplImage* convertMatrixToUcharImage(const CvMat *srcMat)
{
	IplImage srcIplImg;
	cvGetImage(srcMat, &srcIplImg);
	return convertFloatImageToUcharImage(&srcIplImg);
}
IplImage * convertMatrixToUcharImage ( const CvMat * srcMat ) { IplImage srcIplImg ; cvGetImage ( srcMat , & srcIplImg ) ; return convertFloatImageToUcharImage ( & srcIplImg ) ; }
Get an 8-bit equivalent of the 32-bit Float Matrix.
Get an 8 - bit equivalent of the 32 - bit Float Matrix .
// Fill the Matrix's float data as a float image into this image.
 // Convert the float image into a normal Uchar image.
