void testApp :: drawSourceImage () { ofFill(); ofSetColor( 0xFFFFFF ); int b = 2; ofRect ( -b, -b, imageColor.width + b * 2, imageColor.height + b * 2 ); imageColor.draw( 0, 0 ); drawROI(); }
//-------------------------------------------------------------------------------- void ofxCvImage::drawROI( float x, float y ) const { ofRectangle roi = getROI(); drawROI( x,y, roi.width, roi.height ); }