The question
For our capstone, an industry partner gave us a cube-frame rig of mounted
webcams and asked whether low-cost photogrammetry could measure the surface
roughness of laser powder bed fusion (LPBF) metal parts, a job usually done
with expensive profilometers or microscopes.
Calibration and pipeline
I developed the software in Python with OpenCV, using Meshroom for 3D
reconstruction. I calibrated the multi-camera array with a stepped-pyramid
target whose known step heights gave the models true scale and depth
references. I also built the pipeline that processes the camera images,
extracts roughness measurements from the reconstructed models, and visualizes
the surfaces for inspection and comparison between samples.
Findings
To get the most detail out of the system, we tested multiple camera, lighting
and background configurations. Webcam resolution proved to be the limiting
factor for fine roughness, a key finding for the partner’s decision on whether
to invest in higher-resolution imaging.