Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::Core::VideoSet::LbpEval::GetRectangles ( std::vector< Geometry::Rectangle > &  rects,
int  width,
int  height,
int  border 
) [inline, private]

Definition at line 332 of file LbpEval.h.

Referenced by HandleNewFrame().

00333     {
00334         rects.resize(6);
00335         int halfWidth = width/2;
00336         int halfHeight = height/2;
00337         rects[0] = Geometry::Rectangle(border, border, width-border-1, height-border-1);
00338         rects[1] = Geometry::Rectangle(border, border, halfWidth-1, halfHeight-1);
00339         rects[2] = Geometry::Rectangle(halfWidth, border, width-border-1, halfHeight-1);
00340         rects[3] = Geometry::Rectangle(border, halfHeight, halfWidth-1, height-border-1);
00341         rects[4] = Geometry::Rectangle(halfWidth, halfHeight, width-border-1, height-border-1);
00342         int width4 = width/4;
00343         int height4 = height/4;
00344         rects[5] = Geometry::Rectangle(width4, height4, height4+halfWidth-1, height4+halfHeight-1);
00345     }


Generated on Fri Mar 19 11:30:32 2010 for ImpalaSrc by  doxygen 1.5.1