Tracing the joints. Each wall's front face was turned into a depth map on a 1 cm grid, measured outward from the wall's average plane. Joints show up as narrow recessed valleys. A valley filter traced them, and a watershed split the face along them into separate stones. Where depth alone left an area unresolved, the dark joint lines in the photo were used as well.
Sorting the stones. Regions were dropped when they were ragged (solidity under 0.80), larger than 2.5 m² or smaller than 80 cm², mostly bordered by unscanned area, rough inside (plaster or rubble), or low cobbles on the street line. A stone counts as later cobble infill when it is under 0.30 m² and the stones within 1 m of it are also small. The east end of wall A, the colonial portal and the rough walling beside it, is a separate group.
Choosing the verified stones. A stone was first verified automatically only if it passed every one of these tests:
- Its face is at least 0.2 m².
- The scan covers at least 95% of the face, and no gap is larger than 2% of it.
- At least 80% of its top edge meets other polygonal stones, which excludes the ragged top course.
- At least 85% of its outline meets stones or the street.
- No joint with a neighbor is shallower than 12 mm, which usually means one stone split in two.
The stones were then reviewed by eye, and stones were verified or excluded by hand; the review buttons in each stone's record show and change that call.
Hand corrections. Stones the tracing had split were merged: C-347, the corner stones that wrap round two walls (A-002, A-005, C-480, C-483 with B-006 and B-008, C-484), and B-031. Two traced stones were split along their joints: B-391 (now also B-443) and A-232 (now also A-386). A tab of the course above was taken out of B-011.
Cleaning the edges. The street was cut away below and just above the street line. Where a stone sits on the street, the apron of scan skin running from its face into the paving was trimmed back to where the face begins. Along the top and bottom of verified stones, jagged fringes and skin that turns over the top of the wall were trimmed back to a smooth line through their base, and a number of edges were cleaned by hand. Trimmed skin goes to the neighboring stone or to the unassigned surface, so no gap opens in the wall.