2013-04-15 17:40:39 -0600 | commented answer | Get only a certain area out of an incoming image Hey, thanks a bunch, after playing with it just a tad, I was able to pull a corner of the incoming image, and resize it. |
2013-04-13 22:50:32 -0600 | commented answer | Get only a certain area out of an incoming image Well dang, thanks. I'll give it a try again on Monday when I'm back at school. |
2013-04-13 22:49:27 -0600 | received badge | ● Supporter (source) |
2013-04-11 16:29:01 -0600 | commented answer | Get only a certain area out of an incoming image Will this working for video, not just singular images? imread() is just for images, correct? |
2013-04-10 20:59:23 -0600 | asked a question | Get only a certain area out of an incoming image 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. |