ImageUtils.cpp
CvRect offsetRect(const CvRect rectA, const CvRect rectB)
{
	CvRect rectC;
	rectC.x = rectA.x + rectB.x;
	rectC.y = rectA.y + rectB.y;
	rectC.width = rectA.width;
	rectC.height = rectA.height;
	return rectC;
}
// Return a new rect that the same as rectA when shifted by (rectB.x, rectB.y).

Return a new rect that the same as rectA when shifted by (rectB.x, rectB.y).
Return a new rect that the same as rectA when shifted by ( rectB . x rectB . y ) .
CvRect offsetRect(const CvRect rectA, const CvRect rectB)
{
	CvRect rectC;
	rectC.x = rectA.x + rectB.x;
	rectC.y = rectA.y + rectB.y;
	rectC.width = rectA.width;
	rectC.height = rectA.height;
	return rectC;
}
CvRect offsetRect ( const CvRect rectA , const CvRect rectB ) { CvRect rectC ; rectC . x = rectA . x + rectB . x ; rectC . y = rectA . y + rectB . y ; rectC . width = rectA . width ; rectC . height = rectA . height ; return rectC ; }
Return a new rect that the same as rectA when shifted by (rectB.x, rectB.y).
Return a new rect that the same as rectA when shifted by ( rectB . x rectB . y ) .