% This is the Umass boxframe data.

boxframe1 = [...
72.829208, 88.626297, ...
47.692543, 48.730194, ...
38.620819, 42.007294, ...
0.765198, 30.004898, ...
-34.726105, 27.809692, ...
-46.734100, 31.576706, ...
-56.980301, 34.893005, ...
-2.607193, 37.821899, ...
29.610909, 35.752899, ...
19.883698, 28.827194, ...
-11.170700, 20.812500, ...
-23.746597, 24.225204, ...
-2.183395, 44.971893, ...
10.167702, 22.624298, ...
17.078400, 97.835602, ...
56.162971, 41.088898, ...
67.368870, -0.360802, ...
36.111504, -27.363037, ...
26.420799, -34.953827, ...
-25.379501, -34.154778, ...
-27.118393, -22.073692, ...
-38.757294, -18.089203, ...
-36.880707, -30.109543, ...
68.729912, -22.158897, ...
38.205322, -49.997803, ...
29.092033, -57.871498, ...
-22.180603, -57.170937, ...
-33.290100, -52.628792, ...
-23.843704, -45.574417, ...
75.325840, -37.531303, ...
-4.823502, 55.518997, ...
21.811203, 82.635605, ...
-2.505997, -42.613480, ...
-79.707718, 60.818130, ...
-49.661301, 67.430298, ...
40.438797, 84.912399, ...
-6.676407, 64.741699, ...
-18.535904, 76.615997, ...
65.954128, 23.388397, ...
-17.977600, -13.963501];

boxframe2 = [...
74.020222, 86.950104, ...
45.396271, 47.338898, ...
35.633629, 40.591797, ...
-5.844696, 29.579803, ...
-38.531601, 28.602203, ...
-50.063095, 33.103897, ...
-59.225800, 36.595795, ...
-8.491394, 37.195007, ...
25.898903, 34.788498, ...
15.093803, 27.730301, ...
-16.428299, 20.741394, ...
-28.268402, 24.732300, ...
-7.257294, 44.502899, ...
4.903099, 21.742996, ...
19.639801, 97.746597, ...
55.109444, 39.817093, ...
67.220501, -2.185699, ...
33.043442, -28.224243, ...
22.704803, -35.692429, ...
-28.134796, -33.308197, ...
-30.252502, -20.944000, ...
-41.493103, -16.483299, ...
-39.501205, -28.350807, ...
68.200401, -24.427658, ...
35.150131, -51.184021, ...
25.145599, -58.523369, ...
-25.234100, -55.942917, ...
-35.767395, -50.814613, ...
-26.964600, -44.400452, ...
76.160069, -39.546867, ...
-7.880096, 55.400101, ...
22.315300, 81.889893, ...
-6.972000, -42.238136, ...
-79.783279, 62.933319, ...
-49.334305, 69.128403, ...
41.290123, 83.970093, ...
-8.293793, 64.918701, ...
-18.190002, 77.121002, ...
65.170071, 21.417404, ...
-22.196793, -13.257301];

boxframe3 = [...
74.931629, 85.038696, ...
43.642250, 45.733505, ...
32.953377, 39.123596, ...
-11.213303, 29.159195, ...
-41.409897, 29.749496, ...
-51.623703, 34.331100, ...
-60.223999, 38.062500, ...
-13.498001, 36.980392, ...
22.638100, 33.682999, ...
11.257500, 26.973297, ...
-21.052902, 20.723099, ...
-31.816193, 25.529404, ...
-11.539993, 44.157593, ...
0.212296, 21.352600, ...
22.731697, 97.711594, ...
54.226196, 37.986801, ...
66.060711, -4.355904, ...
29.235046, -29.503700, ...
18.634697, -36.186417, ...
-31.465302, -31.866043, ...
-33.547897, -19.633698, ...
-44.215302, -14.617897, ...
-41.977905, -26.490807, ...
67.934860, -25.912552, ...
32.057907, -51.948273, ...
21.263702, -59.183350, ...
-27.793594, -54.777817, ...
-37.755707, -48.946632, ...
-29.815399, -43.190117, ...
76.177361, -41.825592, ...
-10.863907, 55.270798, ...
22.769699, 81.499207, ...
-11.631195, -41.919724, ...
-80.083893, 65.046738, ...
-49.946503, 70.268295, ...
41.957161, 82.862701, ...
-9.639603, 64.973297, ...
-17.703506, 77.727707, ...
65.077469, 19.640503, ...
-26.108902, -12.439201];

boxframe4 = [...
76.094608, 82.891602, ...
41.684273, 44.082306, ...
30.438217, 38.020401, ...
-16.848007, 28.744095, ...
-44.325104, 30.780807, ...
-53.897598, 36.134598, ...
-61.453094, 39.941803, ...
-19.439606, 36.855804, ...
19.423599, 32.799698, ...
6.983101, 26.348099, ...
-25.390503, 21.051102, ...
-36.113007, 26.657501, ...
-16.165405, 44.026596, ...
-4.555496, 20.919907, ...
25.873299, 97.472107, ...
52.773972, 36.188599, ...
66.397751, -5.991501, ...
26.456001, -30.175362, ...
14.757599, -36.774368, ...
-33.556107, -30.688820, ...
-35.739899, -18.356300, ...
-45.516006, -12.791397, ...
-43.212799, -24.764557, ...
67.951569, -27.898460, ...
28.461098, -53.013458, ...
17.404701, -59.421989, ...
-30.683899, -53.080856, ...
-39.731598, -46.933243, ...
-32.466095, -41.470238, ...
76.924999, -43.665962, ...
-13.611404, 55.315796, ...
23.090202, 80.781494, ...
-15.341507, -41.711830, ...
-79.677200, 67.406158, ...
-49.394806, 71.903702, ...
42.530807, 81.846100, ...
-11.130493, 65.037399, ...
-17.065704, 78.395401, ...
64.858898, 17.763000, ...
-29.583496, -11.489998];

boxframe5 = [...
76.138660, 80.969894, ...
39.460327, 42.474106, ...
27.168602, 37.003296, ...
-22.385803, 28.808304, ...
-47.387894, 32.029205, ...
-56.048492, 37.988205, ...
-62.574295, 41.897598, ...
-25.001999, 36.503601, ...
15.497597, 31.796799, ...
2.720703, 25.821701, ...
-29.969193, 21.547897, ...
-39.376602, 27.268402, ...
-20.623993, 43.997894, ...
-9.867493, 20.673004, ...
28.863541, 97.211899, ...
51.076668, 34.589493, ...
65.598888, -7.966904, ...
22.791801, -30.925560, ...
10.560402, -37.386299, ...
-36.498505, -28.987152, ...
-38.439301, -16.884903, ...
-47.365997, -10.817398, ...
-45.415802, -22.637917, ...
66.985210, -29.861847, ...
25.236198, -53.755409, ...
13.281197, -59.858391, ...
-33.117798, -51.915207, ...
-41.606995, -44.581970, ...
-34.794098, -39.981010, ...
76.943859, -45.796127, ...
-16.475906, 55.433701, ...
23.516403, 80.330902, ...
-19.460693, -41.170120, ...
-78.627686, 69.581558, ...
-48.621399, 73.330505, ...
42.833832, 80.651199, ...
-12.713303, 65.258804, ...
-16.738205, 78.791901, ...
63.955170, 16.045502, ...
-32.824295, -10.531303];

boxframe6 = [...
76.197559, 78.946304, ...
37.577423, 41.535995, ...
24.857300, 35.801697, ...
-26.927597, 29.056503, ...
-48.955902, 33.449203, ...
-56.605698, 39.239105, ...
-63.016403, 43.929001, ...
-29.462402, 36.728104, ...
12.557701, 31.176193, ...
-0.959702, 25.498001, ...
-33.657898, 22.242706, ...
-42.566299, 28.666794, ...
-24.228897, 44.262695, ...
-13.980499, 20.669205, ...
30.831802, 96.637604, ...
50.113579, 33.261597, ...
64.934391, -9.584900, ...
19.661903, -31.522972, ...
6.629204, -37.327148, ...
-38.613007, -27.500252, ...
-40.860992, -15.015297, ...
-48.938004, -8.826103, ...
-46.727203, -20.819199, ...
66.053188, -31.647812, ...
22.095497, -54.074219, ...
10.327400, -59.611031, ...
-35.029205, -50.254807, ...
-43.145401, -42.530647, ...
-37.274902, -38.216759, ...
76.170261, -47.877670, ...
-18.653702, 55.625397, ...
23.257599, 79.632401, ...
-23.080200, -40.310509, ...
-77.590088, 72.044556, ...
-48.145096, 74.815796, ...
42.953979, 79.635101, ...
-14.039200, 65.610306, ...
-16.307404, 79.471405, ...
63.037354, 14.169601, ...
-35.847305, -9.255997];

boxframe7 = [...
75.919910, 77.057297, ...
34.943451, 40.337006, ...
21.521400, 34.751404, ...
-31.830795, 29.379303, ...
-51.290100, 34.795502, ...
-58.074005, 41.263306, ...
-63.213104, 45.649506, ...
-33.772598, 36.984207, ...
8.817497, 30.169296, ...
-5.183899, 25.402603, ...
-37.626007, 22.965805, ...
-45.066101, 29.248596, ...
-28.175293, 44.630707, ...
-18.361206, 20.297394, ...
33.497398, 96.309402, ...
48.184273, 31.736694, ...
63.673462, -11.434502, ...
16.516800, -32.088043, ...
3.273804, -37.374687, ...
-40.099197, -26.383438, ...
-42.540497, -13.814400, ...
-50.136002, -6.685402, ...
-48.118195, -18.476097, ...
65.033691, -33.531914, ...
19.238197, -54.533043, ...
6.323502, -60.002140, ...
-36.603195, -48.638931, ...
-43.599701, -40.936401, ...
-39.112198, -36.187889, ...
76.178848, -49.962997, ...
-21.635803, 55.899399, ...
23.642303, 79.185104, ...
-26.069901, -39.967918, ...
-76.727158, 74.282349, ...
-47.059494, 76.058304, ...
42.874039, 78.636795, ...
-15.320999, 65.750702, ...
-15.290207, 80.063904, ...
62.008537, 12.366592, ...
-38.729599, -8.026398];

boxframe8 = [...
75.873112, 74.516296, ...
32.563332, 38.896698, ...
18.399399, 34.229797, ...
-37.056503, 29.969406, ...
-53.334305, 36.481903, ...
-59.382294, 43.110794, ...
-63.651596, 47.639206, ...
-39.285995, 37.754196, ...
5.114197, 29.723495, ...
-9.137207, 25.167694, ...
-41.510803, 23.792099, ...
-48.622498, 31.356903, ...
-32.508896, 44.799393, ...
-23.222900, 20.571304, ...
35.863487, 95.675797, ...
45.775848, 30.098801, ...
62.192093, -13.621300, ...
13.172798, -32.537598, ...
-0.624603, -37.401237, ...
-41.814804, -24.635529, ...
-44.219101, -12.259903, ...
-50.921204, -4.329300, ...
-48.491699, -17.007500, ...
63.968597, -35.507103, ...
15.886002, -54.888901, ...
2.345596, -59.843948, ...
-39.093201, -46.152847, ...
-44.635406, -38.536133, ...
-40.385300, -34.547050, ...
75.535889, -52.138252, ...
-23.717697, 56.094498, ...
23.460503, 78.394196, ...
-29.935394, -38.052650, ...
-74.757690, 76.304764, ...
-46.080704, 77.256302, ...
42.259270, 77.554596, ...
-16.452698, 65.996094, ...
-14.582199, 80.351196, ...
60.145599, 10.258408, ...
-41.526596, -6.498596];

% boxframe1 = all information from frame 1.  Letting point 1 have coords
% x1, y1 this is in the form [x1,y1,x2,y2,...]

bf1 = (reshape(boxframe1,2,40))';
bf2 = (reshape(boxframe2,2,40))';
bf3 = (reshape(boxframe3,2,40))';
bf4 = (reshape(boxframe4,2,40))';
bf5 = (reshape(boxframe5,2,40))';
bf6 = (reshape(boxframe6,2,40))';
bf7 = (reshape(boxframe7,2,40))';
bf8 = (reshape(boxframe8,2,40))';

% bf1 then has info in the form: 
%  [ x1 y1
%    x2 y2
%    ...
%    x40 y40]

boxframe = [bf1,bf2,bf3,bf4,bf5,bf6,bf7,bf8]';