Pixelization
Hi, I've been trying to manipulate an 800x600 image to be 80x60 image ( kinda pixalated ) and grayscaled but to be seen as 800x600 size
what I do is the following:
img_gray=cvLoadImage(FILENAME,CV_LOAD_IMAGE_GRAYSCALE);
img_gray_smaller=cvCreateImage(cvSize(80, 60),IPL_DEPTH_8U,1);
img_gray_regular=cvCreateImage(cvSize(800, 600),IPL_DEPTH_8U,1);
which is loading the image as grayscale to begin with resizing it to 80x60 and then resizing it again to 800x600
but it doesnt look very well, any suggestions on
How to look at a low resolution image magnified to 800*600?
(maybe its the depth? the channels? tried mixing with those but the program fails)
awesome thanks