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.
2 | No.2 Revision |
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.