Hi,
ofImage has a grabScreen(x,y,w,h) method that you can use. Or alternatively if you want a bit more control over what you are grabbing you can draw to an ofFbo and then use it's readToPixels method to read that to some pixels you would pass along to ofxGstV4L2Sink