Preparing data for a 3D reconstruction pipeline
From June to August 2023, I was a summer research intern at The Chinese University of Hong Kong, working with Ren Lab on endoscopic 3D reconstruction. My contribution centered on the data and tooling that experiments depend on: understanding datasets, preparing stereo frames, examining pose and depth outputs, and documenting how those pieces fit together.
The work gave me an early lesson in research engineering. Before comparing reconstruction methods, we needed to know whether two datasets represented camera poses, image geometry, and depth in compatible ways.
Comparing datasets before choosing a pipeline
I examined StereoMIS, SCARED, EndoSLAM, and C3VD, tracking their image formats, stereo or monocular inputs, available depth information, camera annotations, and scene characteristics. I organized those differences in spreadsheet trackers so the lab could evaluate a dataset against an experiment’s requirements.
This meant looking beyond whether a dataset had the right subject matter. A sequence might be useful for one task and difficult for another because of missing poses, changing tissue, occlusion, or differences in how frames were stored.
Preprocessing and geometry
I adapted shell and MATLAB scripts to separate stereo video into left and right frames. I explored sttr-light outputs for disparity and depth and worked on arranging the resulting files for reconstruction experiments.
I also used COLMAP workflows and documented the relationship between their pose outputs and the conventions expected by NeRF-style pipelines. That included inspecting LLFF-style poses_bounds.npy data and explaining how image dimensions, focal information, and camera transforms were represented.
A consistent directory structure for images, right-eye frames, depth, masks, and poses helped make those inputs easier to inspect. I wrote notes and tutorials for frame extraction, dataset previews, and the scripts’ roles in the pipeline.
Reading alongside implementation
I reviewed work on neural reconstruction and point cloud registration, including NeRF2NeRF, graph-based spatial consistency methods, and BUFFER. My summaries connected each approach to the lab’s datasets and experimental requirements. I also investigated ways to account for surgical tools in images through masks.
What I took from the internship
I contributed the data preparation, tooling, and documentation needed for research experiments. Working across datasets strengthened my attention to the details that determine whether a pipeline is reproducible: transform direction, depth units, and correspondence between frames.
I came away with a stronger appreciation for reproducibility. A script is more useful when someone else can understand its inputs, inspect its output, and know which convention it follows.