Says I'm using the wrong types here. Both img and image are iplImages, what type should I be using and how do I use it? Thanks
IplImage image = IplImage.create(120, 120, IPL_DEPTH_8U, 4);
//resize the image
cvResize(img,image);
cvSaveImage("4-rjb" + capture + ".pgm", img);