cvCreateImage size [closed]
Hi,
I'm capturing images using
IplImage* image = cvCreateImage(cvGetSize(image_in), 8, 3);
where image_in is e.g. 160x120 or 320x240. But so far, no matter the size, the images shown using imshow() are 640x480 while I want at max. 320x480. How can I do that ?
Thanks.
could you try to avoid the outdated c-api ?
(using the c++ api, you don't even have to pre-allocate result images, so things will get much more simple)
I can try, but how can I do it without that ?
the most simple idea would be
namedWindow("lalala", CV_WINDOW_NORMAL);
<-- now you can resize that manually(but i'm only guessing. all your questions here lately suffer from being totally vague)
Thank you, that works nicely.