Commit 17e5172d authored by Davis King's avatar Davis King

Changed the display size of the boxes in this example so that each

box is the same size as the SURF window.  I thought the smaller boxes
were easier on the eyes but not using the SURF window size is probably
confusing.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403172
parent e60bfc7b
......@@ -70,7 +70,7 @@ int main(int argc, char** argv)
{
// Pull out the info from the SURF point relevant to figuring out
// where its rotated box should be.
const unsigned long box_size = static_cast<unsigned long>(sp[i].p.scale*10);
const unsigned long box_size = static_cast<unsigned long>(sp[i].p.scale*20);
const double ang = sp[i].angle;
const point center(sp[i].p.center);
rectangle rect = centered_rect(center, box_size, box_size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment