Which measurements are worth keeping?
UIBS selects a fixed number of frames from focal stacks and repeated exposures with one shared greedy procedure, and audits when that selection helps and when it doesn’t.
UIBS →Physics undergraduate · EECS minor · UC Berkeley
Computational imaging that can show its work.
I work on computational microscopy and multi-frame reconstruction. I want to design optical measurements and reconstruction algorithms together, and to test what a reconstruction recovers.
I’m applying to PhD programs in computational imaging and optics.
Computed live in your browser with the method from my FocusStack2XR paper: a smoothed Laplacian focus response picks the sharpest slice at each point, the margin over the runner-up gives a confidence, and a 90th-percentile threshold gives a conservative validity mask. PMax blends slices, so the map shows which slice best supports a region, not what PMax used. The demo uses four slices at reduced resolution, rescaled to match the composite; with so few slices, confidence and agreement run higher than in the paper’s full stacks. Treat the map as a cue, not as depth.
Research
My interest started with insect specimens at the Essig Museum. With limited depth of field, every specimen needed a stack of photos at different focus settings, and the fused all-in-focus image made me ask which measurements supported each detail it showed. I now work on three versions of that question.
UIBS selects a fixed number of frames from focal stacks and repeated exposures with one shared greedy procedure, and audits when that selection helps and when it doesn’t.
UIBS →In the Na Ji Lab I work with the lab’s neural-field reconstruction pipeline, which estimates a specimen and the microscope’s aberrations together. Investigating a late-stage drift in its aberration estimates led me to ask when a good image fit pins down the optics.
Computational microscopy →FocusStack2XR estimates which focal slice is sharpest in each region of an all-in-focus composite, how decisive that estimate is, and whether the evidence is strong enough to trust, so the basis of a fused image stays visible.
FocusStack2XR →For my PhD
I want to study how optical design and measurement selection can make reconstructions more reliable. Two directions follow from my current experiments: finding measurements that help distinguish optical aberrations from specimen structure, and using what complete image stacks reveal to guide acquisition when exposure or time is limited. I’d like to test both with forward simulations and controlled experiments, judging methods by image quality and by recovery of known physical parameters.
Publications
UIBS: a unified formulation for retrospective subset selection in spatial and temporal image stacking
Bingxi Li
FocusStack2XR: Provenance-Preserving Depth-Aware Visualization of Focal-Stacked Specimen Images
Bingxi Li
Experimental Study of Transmission and Color Shift in Neutral Density (ND) Filters
Bingxi Li
Projects
Focal stacks and repeated-exposure sequences both combine many frames into one image, but for different reasons: focus stacks need frames that cover different depths, while temporal stacks need frames whose noise averages out. UIBS (unified information-budgeted selection) picks a fixed number of frames from a stack that has already been acquired, using one greedy objective with domain-specific proxies: a focus-response score for focal stacks and a shrinkage-regularized residual-covariance proxy for repeated exposures.
I evaluated it on seven insect focal stacks (519 images; some are different views of the same specimen) and three 64-frame Nikon Z8 RAW runs with matched dark frames and a separate low-noise reference, against random, uniform and single-operator greedy baselines. The baselines carry the main finding. Most of the spatial gain comes from greedy selection itself; my dual-operator score showed no consistent advantage over selecting with a single focus measure, and it can lower retention in the worst-served regions. Retention is scored with the same focus responses the selectors use, so it measures how much focus evidence survives, not the quality of a re-fused image.
Data from the UIBS manuscript (SPIE Sensors + Imaging 2026, proceedings under review). Medians hide the lower tail: on some stacks UIBS lowered 10th-percentile retention. Temporal selection showed no consistent advantage over random or uniform subsets.
An all-in-focus composite is good documentation but it erases provenance: you can no longer tell which slice supports a region, or whether that assignment is ambiguous. FocusStack2XR keeps that evidence. It computes a focus-index map, a confidence margin, a conservative validity mask and a relative focus-depth layer, and a browser viewer lets you switch overlays, browse slices and click a region to see its predicted source slice. Relative depth is treated as an inspection cue, not calibrated 3D geometry.
The “XR” is the goal, not the current system: the prototype is a desktop browser viewer and hasn’t been tried in a headset or with users. The paper’s argument is that a plausible 2.5D view can imply geometry the data don’t support, so the evidence layers have to come first.
The viewer at the top of this page is a simplified version of the same pipeline. The paper evaluates seven stacks across four specimen categories and reports where the method breaks: transparent wings and cluttered scenes.
I apply and analyze the lab’s neural-field-based reconstruction pipeline for two-photon fluorescence microscopy. A learned representation of the specimen is combined with a physical forward model of the microscope, so one optimization estimates both the specimen and the system’s aberrations, written as Zernike modes, and its point-spread function.
One problem caught my attention: a late-stage drift in the estimated optical parameters, which continued after the reconstruction loss had largely settled. I ran controlled tests of learning rates, regularization, shear handling and SLM/pupil geometry, comparing recovered Zernike coefficients with simulation references. Optimizer dynamics, model mismatch or a direction the data don’t constrain could each produce such a drift, and telling them apart is still open. I also extend an existing Gaussian-mixture-based SNR analysis across excitation powers and frame-averaging levels, testing how segmentation and masking choices change the result.
I acquire high-resolution focal stacks of pinned insect specimens with controlled illumination and motorized focus stepping, and fuse them into all-in-focus composites with Zerene Stacker PMax. Stacks run from 24 to 127 slices.
Inspecting fine structures and fusion artifacts in those composites made me want to know which measurements supported each displayed detail. I organize the source images for reproducible focal-stack analysis, and this work led directly to my selection experiments (UIBS) and to a tool that shows which source slice most likely supports each detail of a fused image (FocusStack2XR).
My first independent measurement project. I built a RAW-domain workflow to test a variable neutral-density filter against the ideal stop law: Nikon Z8 14-bit RAW captures converted to linear TIFFs, a homography-rectified ColorChecker, two illuminants (about 3000 K and 6000 K) and stops ND0 to ND5 with three repeats each. Transmission fell more slowly than the ideal 2−n (fitted log2 slope −0.74 against an ideal −1), and colors drifted warmer with density (R/G up, B/G down), which I quantified with RGB channel ratios and CIE Lab ΔE*ab.
It taught me to keep a pipeline linear until the last step.
Experience
Undergraduate Researcher, Computational Microscopy
Na Ji Lab, UC Berkeley · project ↑
Undergraduate Researcher (URAP), Specimen Imaging & Focus Stacking
Essig Museum of Entomology, UC Berkeley · project ↑
Education
University of California, Berkeley
B.A. in Physics, Minor in Electrical Engineering and Computer Sciences · Aug 2023 – May 2027 (expected)
Skills
Contact
I’m happy to talk about computational imaging, microscopy or any of the projects above.