Manuscript Offprint
arXiv:2610.28258Reliability-Aware Reconstruction of V-Shaped Surfaces with a Low-Cost Multi-Zone SPAD Sensor
Yohanssen Pratama
Institute for International Strategy and Emerging Technologies, Tokyo International University, 1-13-1 Matoba-Kita, Kawagoe, 350-1197, Japan
Abstract—Low-cost multi-zone single-photon avalanche diode (SPAD) sensors provide compact time-of-flight measurements but are limited by sparse sampling and unreliable depth estimates near geometric discontinuities. This letter presents a reliability-aware reconstruction framework for V-shaped surfaces using two complementary TMF8821 acquisition configurations. Point-wise reliability is learned from sensor confidence, transient peak amplitude, and peak sharpness, and is incorporated into a graph-based depth optimization. The reconstructed geometry is evaluated by robust two-plane fitting and a perpendicular cross-section. Experiments on 60°, 90°, and 120° targets reduce the mean V-angle error from 11.21° to 9.66° (13.8%). For the representative 90° target, the combined point-to-plane RMSE decreases from 14.56 mm to 13.65 mm.
Index Terms—Single-photon avalanche diode (SPAD), surface reconstruction, time-of-flight (ToF) sensing, reliability-aware optimization, transient measurements, V-shaped surfaces.
I. INTRODUCTION
Time-of-flight (ToF) sensing is widely used for three-dimensional (3-D) perception. Single-photon avalanche diode (SPAD) sensors are attractive because of their single-photon sensitivity and high temporal resolution [1], [2]. Computational single-photon imaging has further demonstrated recovery of depth and reflectivity from sparse photon measurements by exploiting spatial and transient information [3]–[5].
Accurate reconstruction remains difficult near sharp depth transitions, where mixed returns can produce erroneous or “flying” measurements [6]. This is especially relevant for V-shaped surfaces, whose two planar faces meet at a sharp fold. Compact multi-zone dToF sensors such as the TMF8821 integrate SPAD detection, TDC circuitry, histogram processing, and distance/confidence output in a low-cost module [7]; however, their sparse spatial sampling limits direct surface recovery.
This letter proposes a reliability-aware reconstruction framework that aggregates two complementary acquisition configurations and learns point-wise reliability from confidence, transient peak amplitude, and peak sharpness. Reliability-weighted graph optimization refines the measured depth while preserving transient and local geometric consistency. The main contribution is the use of transient-derived, learnable reliability to guide geometric refinement of sparse low-cost SPAD measurements. Experiments on 60°, 90°, and 120° V-shaped targets reduce the mean angular error from 11.21° to 9.66° (13.8%).
Proposed Reconstruction Pipeline

Fig. 1. Overview of the proposed reliability-aware V-shaped surface reconstruction pipeline.
a graph-based optimization that balances measurement fidelity, local geometric consistency, and transient peak-position consistency. The overall processing pipeline is shown in Fig. 1.
A. Multi-Configuration SPAD Acquisition
The measurement setup employs a TMF8821 multi-zone direct time-of-flight (dToF) sensor to acquire both depth and transient photon histograms from the target surface. The sensor is operated using two custom acquisition configurations, denoted as Configurations B and C, to provide complementary spatial sampling of the scene. Both configurations are defined over a logical sampling grid and are executed sequentially using 20 measurement masks. Each acquisition frame uses one measurement per mask after a 5-ms settling interval.
Corresponding author: Y. Pratama (e-mail: ypratama@tiu.ac.jp).
(a) Configuration B

Logical column
Masks 1–10
(b) Configuration C
Logical column
Masks 11–20
Fig. 2. Spatial sampling patterns of the custom TMF8821 configurations: (a) Configuration B and (b) horizontally shifted Configuration C.
Measurements with confidence below 75 or nonpositive range are discarded before reconstruction.
Configuration B covers the complete grid, whereas Configuration C applies a one-column horizontal shift to provide complementary measurements under a different sampling pattern. The two configurations therefore observe the same target geometry with different spatial support. Valid measurements from both configurations are aggregated into a common point set before reliability estimation and depth optimization. The two sampling patterns are shown in Fig. 2.
Each valid sample provides range, confidence, and a temporal histogram. Before optimization, samples below the 20th confidence percentile or 15th photon-count percentile, above the 90th FWHM percentile, farther than 12 mm from the local median depth, or within the most isolated 10% of samples are removed.
After FoV calibration, each reported distance is embedded in the Cartesian parameterization used for reconstruction according to
where the horizontal and vertical viewing angles are given by
Here, and are the row and column indices, , , and , are the calibrated fields of view. The same calibration is used for all final 3-D reconstructions and plane fitting.
B. Transient Feature Extraction and Reliability Estimation
Each SPAD measurement provides a temporal photon histogram in addition to the estimated range. Rather than treating all depth samples equally, the proposed method derives a reliability value from three complementary measurement cues: sensor confidence, transient peak amplitude, and peak sharpness.
After background subtraction, peak amplitude is log-transformed and robustly normalized, while sharpness is defined as one minus the normalized FWHM of the dominant transient peak. The normalized feature vector for point i is
where , , and represent confidence, peak amplitude, and peak sharpness, respectively. Measurement reliability is defined as

Histogram bin
(b) Point-wise reliability
Fig. 3. Transient feature extraction and point-wise reliability: (a) representative transient histogram and (b) normalized features and learned reliability .
subject to
The weights are optimized jointly with the reconstructed depth rather than manually fixed. Fig. 3 illustrates the transient features and resulting point-wise reliability.
For the representative experiment, the learned coefficients are , indicating a dominant peak-amplitude contribution in this scene.
C. Reliability-Aware Depth Optimization
Let and denote the observed and optimized depths of point i, respectively. The reconstructed depth is obtained by minimizing
The reliability-weighted data term is
where is the Charbonnier penalty; thus lower-reliability samples can move farther from their observations.
Spatial consistency is imposed using a k-nearest-neighbor graph,
where is the transient-aware graph weight. matches normalized optimized depth to normalized peak position, penalizes deviation of the learned reliability coefficients from , and preserves their initial mean reliability.
D. V-Shaped Surface Geometry Estimation
For quantitative evaluation, the reconstructed point cloud is separated into the two dominant planar surfaces of the V-shaped target. Candidate planes are estimated using robust fitting, with local point density and spatial connectivity used to suppress sparse outliers.
The initial plane hypotheses follow a RANSAC-style robust model-fitting strategy [8], after which density and connectivity criteria favor spatially coherent support across each V-shaped face.
Each reconstructed plane is represented as
(a) Fitted 3-D planes

(b) Perpendicular cross-section

Fig. 4. V-shaped geometry estimation: (a) fitted 3-D planes and (b) perpendicular cross-section for the opening angle .
with normal vector . The intersection direction of the two planes is
A cross-sectional plane perpendicular to I is then used to obtain the two surface directions. The V opening angle is computed from
where and denote the two oriented surface directions in the cross-section. The geometry is illustrated in Fig. 4.
III. EXPERIMENTS AND RESULTS
A. Experimental Setup
Experiments were conducted using a TMF8821 multi-zone SPAD ToF sensor. Three V-shaped targets with ground-truth opening angles of , , and were evaluated. For each target, transient measurements were acquired using two sensor configurations and processed using identical reconstruction parameters.
The sensor field of view was calibrated to and kept fixed for all experiments. No ground-truth angle information was used during reconstruction or plane estimation. The setup and sensor module are shown in Fig. 5.
All targets use 500 iterations with and depth/weight learning rates of 0.05/0.002; no target-specific tuning is used.
B. V-Angle Reconstruction Accuracy
The opening angle was estimated from the fitted 3-D planes using the perpendicular cross-section of Section II-D. Table 1 summarizes the estimates and absolute errors before and after optimization.
The optimization reduces the angular error for all three targets, with the mean error decreasing from to (13.8%). The target remains the most challenging case under sparse spatial sampling. Fig. 6 shows the corresponding perpendicular cross-sections before and after optimization.

(a) Experimental setup and tested V-shaped targets
(b) TMF8821 sensor module
Fig. 5. Experimental setup: (a) TMF8821-to-target arrangement and (b) TMF8821 multi-zone dToF sensor module.
TABLE 1. V-angle reconstruction accuracy before and after optimization.
| GT | Before optimization | After optimization | ||
|---|---|---|---|---|
| Est. | Error | Est. | Error | |
| 60° | 66.42° | 6.42° | 65.21° | 5.21° |
| 90° | 98.91° | 8.91° | 97.45° | 7.45° |
| 120° | 138.29° | 18.29° | 136.31° | 16.31° |
| Mean | - | 11.21° | - | 9.66° |
C. Geometric Reconstruction Quality
The target is used as a representative example of local planar conformity. Fig. 7 compares the calibrated 3-D reconstruction and fitted planes before and after optimization.
Geometric error is quantified by the point-to-plane RMSE,
where is the perpendicular point-to-plane distance; multi-peak boundary measurements are excluded. The combined RMSE decreases from 14.56 mm to 13.65 mm (6.24%). Surface 1 decreases from 19.06 mm to 18.76 mm, while Surface 2 decreases from 8.95 mm to 6.48 mm, indicating improved local planar conformity.
D. Effect of Multi-Configuration Acquisition
To isolate the contribution of complementary spatial sampling, the target is additionally evaluated using Configuration B alone, the aggregated B+C measurements before optimization, and the aggregated B+C measurements after the proposed optimization. As shown in Fig. 8, this comparison separates the effect of increased spatial support from the subsequent reliability-aware depth refinement.
Table 2 summarizes the same ablation numerically. Using the second acquisition configuration increases the retained spatial support from 93 to 176 points and reduces the angular error from to . The proposed reliability-aware optimization further reduces the error to .
IV. CONCLUSION
A reliability-aware framework for V-shaped surface reconstruction using a low-cost multi-zone SPAD sensor was presented. Across , , and targets, the mean V-angle error decreased from to (13.8%); for the representative target, point-to-plane RMSE decreased from 14.56 mm to 13.65 mm. The results demonstrate the benefit of transient-derived reliability for sparse SPAD reconstruction.
V-Angle Reconstruction Accuracy
Perpendicular cross-section before and after optimization

Fig. 6. V-angle reconstruction before and after optimization for , , and targets.
(a) Before optimization
Before optimization
Perpendicular-section V angle = 98.91°

(b) After optimization
After optimization
Perpendicular-section V angle = 97.45°
Fig. 7. Geometric reconstruction quality for the V-shaped target before and after reliability-aware optimization.
REFERENCES
[1] C. Bruschini, H. Homulle, I. M. Antolovic, S. Burri, and E. Charbon, “Single-photon avalanche diode imagers in biophotonics: Review and outlook,” Light: Science & Applications, vol. 8, p. 87, 2019.
[2] S. Scholes, G. Mora-Martín, F. Zhu, I. Gyongy, P. Soan, and J. Leach, “Fundamental limits to depth imaging with single-photon detector array sensors,” Scientific Reports, vol. 13, p. 176, 2023.
[3] A. Kirmani, D. Venkatraman, D. Shin, A. Colaco, F. N. C. Wong, J. H. Shapiro, and V. K. Goyal, “First-photon imaging,” Science, vol. 343, no. 6166, pp. 58–61, 2014.
[4] D. Shin, F. Xu, D. Venkatraman, R. Lussana, F. Villa, F. Zappa, V. K. Goyal, F. N. C. Wong, and J. H. Shapiro, “Photon-efficient imaging with a single-photon camera,” Nature Communications, vol. 7, p. 12046, 2016.
[5] Y. Altmann, X. Ren, A. McCarthy, G. S. Buller, and S. McLaughlin, “Robust bayesian target detection algorithm for depth imaging from sparse single-photon data,” IEEE Transactions on Computational Imaging, vol. 2, no. 4, pp. 456–467, 2016.
[6] I. Chugunov, S.-H. Baek, Q. Fu, W. Heidrich, and F. Heide, “Mask-tof: Learning microlens masks for flying pixel correction in time-of-flight imaging,” in Proceedings
Multi-Configuration Ablation for the V-shaped Target
(a) One configuration

(b) Two configurations

(c) Proposed optimization

Surface 1 measurements
Surface 2 measurements
Fitted plane
Fitted plane
--- Plane intersection
Fig. 8. Ablation on the target: (a) one configuration before optimization, (b) two aggregated configurations before optimization, and (c) two configurations after the proposed reliability-aware optimization.
TABLE 2. Multi-configuration ablation on the 90° target.
| Method | Points | Est. angle | Error |
|---|---|---|---|
| Config. B only | 93 | 102.32° | 12.32° |
| B+C raw | 176 | 98.91° | 8.91° |
| B+C proposed | 176 | 97.45° | 7.45° |
of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2021, pp. 9116–9126.
[7] ams OSRAM, TMF8820/21/28 Multizone Time-of-Flight Sensor, ams OSRAM, product datasheet.
[8] M. A. Fischler and R. C. Bolles, “Random sample consensus: A paradigm for model fitting with applications to image analysis and automated cartography,” Communications of the ACM, vol. 24, no. 6, pp. 381–395, 1981.