Hi all,
This is my first foray using OpenCV and C++. What I'm trying to do is I have a camera supplying continuous images, 640 x 480. What I want to do is get the lower right hand quadrant, the 4th, if you will, so a rectangle with corners at (340 x 240),(640 x 240),(340 x 480),(640 x 480), if you took the (0 x 0) point to be the bottom left corner of the entire image, if I put it all down correctly. I was trying to read through the function calls OpenCV has, and I think maybe getRectSubPix() might be what I'm looking for? Can anyone give me a definitive yes / no? Or, is there an easier / better way to pull a portion out of the incoming images?
Secondly, I could use the resize() function to then make this smaller area back into 640 x 480?
Thanks for looking at this. I hope I found the right solution and could use those function calls to do what I want to.