Exemple #1
0
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();
}
Exemple #2
0
//--------------------------------------------------------------------------------
void ofxCvImage::drawROI( float x, float y ) const {
    ofRectangle roi = getROI();
    drawROI( x,y, roi.width, roi.height );
}