Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

fwrite in pgm file in open cv

plz i have a code in matlab which write in a pgm file "fwrite(f, image', 'uint8');" and i convert it to open cv as fwrite(image,CV_8UC1,sizeof(image),pFile);

but it doesn't write anything in a file