ECE516 Lab 3 ("lab3"), 2025
XR (eXtended Reality) and Spatial Computing (SWIM) as scientific Outstrument™
Based on the SWIM from Lab 2, let's understand how to use it as a scientific
outside-the-box ("Outstrument") measurement and meta-measurement device
for intelligent imaging, XR, and spatial computing with SWIM.
Marking:
Build a simple data-logging resistance meter as discussed in class.
Easy part of the lab for up to 10/10, plus ambitious part of the lab for
more than 10/10, e.g. by adding a couple of bonus marks.
- 1/10 Build a simple data-logging resistance meter that can also drive
a SWIM as discussed in class.
- 1/10 Collect a dense array of comparametric data points for each of
for red-only, green-only, and blue-only SWIM lights.
- 1/10 Plot comparametric scatterplots
for the red data, green data, and blue data,
and overlay the 3 plots color-coded (red points in red, green points
in green, and blue points in blue).
- 2/10 Fit the data to compametric functions for each of red, green, and blue.
Choose functions that have known solution.
- 1/10 Plot comparagraphs of the comparametric functions using Octave,
and overlay the 3 plots color-coded, and save as vector graphics
(e.g. SVG).
- 1/10 Does the comparagraphic function vary appreciably by spectral band
(red, green, or blue)?
- 1/10 Solve for f(q) to recover the response function of the photocell.
- 1/10 Constructs a light meter from the resulting function, i.e.
use f-inverse to recover q, so you now have a device that outputs the
true quantity of light, up to a single unknown scalar constant.
- 1/10 Calibrate the SWIM and write a function so that you can output a known
quantity of light in each and every pixel of the SWIM.
Explain your work.
- 2/10 Optional bonus marks: do something cool and fun, perhaps SWIM out
some interesting scientific data like brainwaves or ECG, e.g. use
Muse and
machine learning to infer EEG and gamify it into an interesting
game or fitness system.
Post your results on Mersivity.com under Projects, SWIM