UAT 307 Computer Vision and Perception Technology

Worksheet 4 Depth and scale

Analysis activity 3 hAssesses CLO1, CLO3

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

  1. In class: compute depth from disparity at 1–10 m against true range and Example 1
  2. In class: use the plain textureless wall image and note the missing depth
  3. Self-study: make the table of computed depth against prediction
  4. In class: estimate scale with Example 2 from camera and IMU data, comparing acceleration with constant speed
  5. In class: run Example 3, remove camera corrections between seconds 10 and 15, and compare with a filter without bias in its state
  6. Self-study: write a perception-sensor proposal for an under-bridge inspection drone

Record of results

Table 1 Stereo depth versus true range and prediction (steps 1-3)
True range (m)Disparity (px)Computed depth (m)Measured error (m)Predicted error (m)
Table 2 Monocular scale with the IMU (step 4)
Data segmentType of motionEstimated scaleResidual RMS (m)Notes
Table 3 Fused camera-IMU error during a camera dropout (step 5)
FilterCamera dropoutRMS over the flight (m)Largest error during dropout (m)Estimated bias (m/s²)

Questions

  1. 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.

  2. Where did depth disappear on the plain textureless wall, and why? What does this say about flying over water or smooth ground?

  3. How did the scale from the accelerating segment differ from the constant-speed segment (value and residual), and why?

  4. 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.

  5. 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

CLO1 Explain image formation and camera geometry. CLO3 Apply perception for navigation and detection. (CLOs are a web-team draft; the course owner sets the final ones.)

Instructors: answers and teaching notes for this worksheet are in the teaching pack