Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try using this:

IplImage * out = cvCreateImage( cvSize(in->width,in->height), in->depth, in->nChannels )

You need a half size image here.

I think this would help.

Try using this:

IplImage * out = cvCreateImage( cvSize(in->width,in->height), cvSize(in->width/2,in->height/2), in->depth, in->nChannels )

You need a half size image here.

I think this would help.