UAT 307 Computer Vision and Perception Technology
Worksheet 4 Depth and scale
Objective
Compute stereo depth, estimate monocular scale with an IMU and choose perception sensors for a task
Equipment and materials
- Stereo images recorded by the lecturer at 1–10 m with true ranges, and an image of a plain textureless wall
- A small stereo camera for a lecturer demonstration in class (if available)
- Recorded camera and IMU data
- Python and the module 4 example code
Safety
- Computer work only; no flying
- If a camera is demonstrated in class, keep cables and tripods clear of walkways
Steps
- In class: compute depth from disparity at 1–10 m against true range and Example 1
- In class: use the plain textureless wall image and note the missing depth
- Self-study: make the table of computed depth against prediction
- In class: estimate scale with Example 2 from camera and IMU data, comparing acceleration with constant speed
- In class: run Example 3, remove camera corrections between seconds 10 and 15, and compare with a filter without bias in its state
- Self-study: write a perception-sensor proposal for an under-bridge inspection drone
Record of results
| True range (m) | Disparity (px) | Computed depth (m) | Measured error (m) | Predicted error (m) |
|---|---|---|---|---|
| Data segment | Type of motion | Estimated scale | Residual RMS (m) | Notes |
|---|---|---|---|---|
| Filter | Camera dropout | RMS over the flight (m) | Largest error during dropout (m) | Estimated bias (m/s²) |
|---|---|---|---|---|
Questions
From Table 1, how fast does depth error grow when range doubles, and at what range does the error exceed 5% of range? Explain with Z = fB/d.
Where did depth disappear on the plain textureless wall, and why? What does this say about flying over water or smooth ground?
How did the scale from the accelerating segment differ from the constant-speed segment (value and residual), and why?
During the 5 s camera dropout, how different were the filters with and without bias in the state? Explain with ½bt² and say what it means for flying over water.
In your sensor proposal for an under-bridge inspection drone, which sensors did you choose, with reasons from the working range, lighting and surfaces measured in this worksheet?
Check before you hand in
What to hand in
- Measured versus predicted depth table
- Scale estimates for two segments
- One-page sensor proposal
- Fused-error plot during the camera dropout