Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Conversion between IplImage and MxArray

I am working on a project that accepts stream of images from a webcam through CvCapture, detect the face of the user through cvHaarDetectObjects() from each image and then send the image and its detected face locations to Matlab through Matlab engine. Then it will further be processed in Matlab. So my problem is how I can convert the Iplimage(gray-scale) of the detected face to MxArray variable and pass it as a 2D matrix to the Matlab through the Matlab engine. If anyone has any idea, please let me know.

Sincerely,