· Module 22

Embedded Linux Lecture 2: PlantCam Practical Session (Supplementary Original Recording)

Dr. Redmond R. Shamshiri
Assistant Professor of Robotics · University of Southern Denmark (SDU)

Study Embedded Linux Lecture 2: PlantCam Practical Session (Supplementary Original Recording). Use the accompanying model, numerical example and practical task to connect the topic to a measurable engineering result. Notes are original supplemental material, not a transcript.

Lecture video: https://www.youtube.com/watch?v=1jp6Vew4-_0

Learning Objectives

  • Explain the role of camera projection and calibration in the engineering system.
  • Calculate the worked quantity with consistent units.
  • Design a measurement that can reveal an implementation failure.

Study guide

Original companion notes. These notes support the topic of this lesson. They are not a transcript or a claim about the exact contents, hardware settings or examples in the video.

Lesson focus: Embedded Linux Lecture 2: PlantCam Practical Session (Supplementary Original Recording)

Retain original data and timestamps so later filtering or threshold changes can be evaluated fairly.

Camera projection and calibration

A camera maps three-dimensional points to image coordinates through its intrinsics and pose. Pixel errors cannot be converted to metric errors without depth or another geometric constraint. Lens distortion should be calibrated before relying on a pinhole calculation.

Model, units and assumptions

\[u=f_x\frac XZ+c_x,\qquad v=f_y\frac YZ+c_y\]

(X,Y,Z) is a point in the camera frame with Z > 0; fx and fy are focal lengths in pixels, and (cx,cy) is principal point. This equation assumes an ideal distortion-corrected pinhole image.

Worked engineering example

With fx = 600 pixels, cx = 320 pixels, X = 0.10 m and Z = 1 m, horizontal pixel coordinate is 380. The same lateral offset at 2 m projects to 350 pixels, demonstrating depth dependence.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Embedded Linux Lecture 2: PlantCam Practical Session (Supplementary Original Recording).

  • Calibrate with multiple views of a known target spanning the image.
  • Keep image resolution and focus consistent with calibration.
  • Project known target points and inspect residuals near both image center and edges.

Submit: a diagram or interface table, a short timestamped dataset, the calculation with units, and a paragraph explaining the largest observed limitation.

Check your understanding

Question. fx = 800 px, cx = 320 px, X = 0.2 m and Z = 2 m. Find u.

Show worked answer

400 px in the distortion-corrected pinhole model.

Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.

Summary

Camera projection and calibration: keep units, assumptions and timing explicit. Check the numerical model against an independent observation before using it in a larger system.

Lectures: Embedded Linux Course · Dr. Redmond R. Shamshiri · University of Southern Denmark (SDU)