hi, i want to convert c interface of opencv into c++ interface. such as cvCreateImageHeader
and how can i convert this to c++ interface :
cvSetData( colorimg, (uchar)colorImageData.planes[0], colorimg->width * 3 * sizeof(uchar) ); cvSetData( depthimg, (short)depthImageData.planes[0], depthimg->width * sizeof(short) ); cvSetData( UVimg, (float*)depthImageData.planes[2], depthimg->width * sizeof(float) );