After several attempts at trying to get an accurate matchmore, I realised that the poor lighting conditions meant I had no clear reference with which to align the ground plane. As a result I decided to reshoot a similar movement in daylight and to correct all the mistakes I made the first time.
Shooting
The camera was placed further back than normal to reduce the parallax effect whist moving it. To assist with grid alignment later, a box with known dimensions was placed in the frame.
As measuring the size of the large buildings in the background of the location during the shoot would be impractical, I used Google Earths distance tool during the later phases to measure them instead. As I only needed them rounded to the nearest meter at most accuracy wasn’t such an issue as they could be corrected by eye if needed.
Footage was recorded at 1080p @25fps to capture the most detail possible. With this resolution, PFTrack has more data to use when tracking and solving the scene and therefore has a greater chance of accurately matching the camera movement.
Tracking and Solving
Before I could start solving the footage, I took the video and converted it into an image sequence in AE. I added a border to the composition and experimented with the optics compensation effect. Since this footage had little distortion I found that adding this did nothing to improve it. I then imported the unaltered footage into PFTrack.
The lighting conditions alone meant that PFTrack was able to create a much better solve for the shot, I only had to place 1 feature manually to mark a corner of the box so that the scene could be scaled at the end. No adjustments were made to the default settings in order to get a good solution.
Matching the ground plane to the scene was a lot easier this time round as edges and corners were more visible. A point on the reference box was used as the origin to align the grid correctly and small adjustments were made to stop it sliding in certain problem areas at the edge of the frame.
Matching Geometry
The scene was exported to Maya and the measurements taken on location were used to create basic models of the box, buildings and ground. The ground plane was set at 106cm below the camera as it was in real life and from there the geometry was placed on top and rotated into position. Early versions of this scene had to be discarded as the plane in PFTrack was not set accurately enough, so work was done between the two until the ground and reference box were matched precisely.
Because the ground in the scene went uphill towards the right of the frame, the buildings had to be rotated slightly in order to become perpendicular to the horizon.
Once the chequered overlay footage had rendered, I place it above the original image sequence in AE and lowered its opacity. During the export, it was stretched from a 4:3 image into a full 16:9 1080p image
Conclusion
I’m very happy with the way the matchmove turned out; after a bad start when I spent hours trying to match footage I forgot to stretch to fit the resolution gate in Maya during first attempt at the matchmove, I managed to create an accurate track using better planning and higher quality footage. During work in Maya, it seemed that the track wasn’t as accurate as I would have liked, but the differences were only a few pixels apart and so are not very noticable in the final video. I feel that I have learnt a lot from my mistakes and have become more familiar with the matchmoving workflow.
Important Dimensions:
Focal Length: 8mm
Distance from Lens to ground: 106cm
Distance from Lens to acting pivot: 3.5cm- very little distortion as a result.
Box: 21.5cm x 26.5cm x 23.5cm
Car Park Barriers: 191cm Wide
Distant Tower Blocks: 30m wide, 18m deep