Next Article in Journal
UVSegNet: Semantic Boundary-Aware Neural UV Parameterization for Man-Made Objects
Next Article in Special Issue
Automated Processing and Deviation Analysis of 3D Pipeline Point Clouds Based on Geometric Features
Previous Article in Journal
MDF2Former: Multi-Scale Dual-Domain Feature Fusion Transformer for Hyperspectral Image Classification of Bacteria in Murine Wounds
Previous Article in Special Issue
3D Road Defect Mapping via Differentiable Neural Rendering and Multi-Frame Semantic Fusion in Bird’s-Eye-View Space
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Accelerating Point Cloud Computation via Memory in Embedded Structured Light Cameras

1
Institute of Applied Mathematics, Hebei Academy of Sciences, Shijiazhuang 050081, China
2
Hebei Information Security Certification Technology Innovation Center, Shijiazhuang 050081, China
*
Author to whom correspondence should be addressed.
J. Imaging 2026, 12(2), 91; https://doi.org/10.3390/jimaging12020091
Submission received: 9 January 2026 / Revised: 16 February 2026 / Accepted: 19 February 2026 / Published: 21 February 2026

Abstract

Embedded structured light cameras have been widely applied in various fields. However, due to constraints such as insufficient computing resources, it remains difficult to achieve high-speed structured light point cloud computation. To address this issue, this study proposes a memory-driven computational framework for accelerating point cloud computation. Specifically, the point cloud computation process is precomputed as much as possible and stored in memory in the form of parameters, thereby significantly reducing the computational load during actual point cloud computation. The framework is instantiated in two forms: a low-memory method that minimizes memory footprint at the expense of point cloud stability, and a high-memory method that preserves the nonlinear phase–distance relation via an extensive lookup table. Experimental evaluations demonstrate that the proposed methods achieve comparable accuracy to the conventional method while delivering substantial speedups, and data-format optimizations further reduce required bandwidth. This framework offers a generalizable paradigm for optimizing structured light pipelines, paving the way for enhanced real-time 3D sensing in embedded applications.

1. Introduction

3D vision technology enables the acquisition of the precise three-dimensional (3D) information of targets, bringing unprecedented efficiency and accuracy to the fields of measurement and inspection. It has become an indispensable technology in domains such as autonomous driving [1], virtual reality [2], geographic mapping [3], and intelligent manufacturing [4]. 3D vision technology encompasses various techniques, including stereo vision technology [5], time-of-flight (ToF) technology [6], photometric stereo technology [7], speckle structured light technology [8], and fringe structured light technology [9]. Among these 3D vision techniques, fringe structured light technology is widely applied in scenarios like intelligent welding [10], defect detection [11], intelligent processing [12], and intelligent assembly [13], owing to its advantages of high measurement accuracy, non-contact operation, and excellent robustness. However, its insufficient reconstruction speed restricts its application in many fields [14,15,16].
One way to enhance reconstruction speed is to improve hardware performance, thereby enabling faster fringe projection, image acquisition, and point cloud computation. In terms of boosting projection speed, binary defocus projection technology replaces 8-bit sinusoidal fringes with 1-bit binary fringes, increasing the fringe projection frequency to several thousand Hz [17,18,19]; the moving grating method uses a motor to drive the movement or rotation of a physical grating, allowing the projection of structured light fringes with a frequency of tens of thousands of Hz [20,21,22]; the LED array method leverages the high-speed switching capability of LED chips to achieve 1000 Hz fringe projection [23,24,25]; and the MEMS scanning method enables the projection of laser fringes at several thousand Hz by means of the rapid rotation of a MEMS scanning mirror [26].
For improving imaging speed, researchers have universally opted for high-speed cameras. Specifically, in the 3D reconstruction system developed by Chen et al., the camera employed achieves a frame rate of 1000 fps [27]; Feng et al. used the V611 high-speed camera with a frame rate of 20,000 fps to capture structured light images of dynamic scenes [28]; and in Wang et al.’s 3D reconstruction system, the camera utilized has a frame rate of 100,000 fps [29]. Regarding the acceleration of 3D reconstruction computational speed, researchers have utilized high-performance central processing units (CPUs) [30], graphics processing units (GPUs) [31], field-programmable gate arrays (FPGAs) [32,33,34], and application-specific integrated circuits (ASICs) [35] to enhance the system’s computational efficiency.
Another approach to improving reconstruction speed is to enhance the encoding efficiency of structured light. To this end, a series of structured light encoding methods have been proposed. Among these, spatial phase calculation methods enable the extraction of structured light phase information using only a single fringe pattern [36]. These methods include the Fourier transform method [37,38], windowed Fourier transform (WFT) method [39], and wavelet transform (WT) method [40]. Although these methods require a small number of fringe patterns, their global processing nature results in insufficient reconstruction accuracy when measuring objects with complex shapes—particularly the inability to obtain accurate phase information at object edges [41,42,43].
Temporal phase calculation methods utilize multiple phase-shifted fringe patterns to reconstruct the 3D shape of objects, enabling pixel-level measurement resolution. They are particularly suitable for 3D reconstruction of objects with complex shapes. However, due to the arctangent operation, phase information is confined to the interval (−π, π], thus requiring phase unwrapping algorithms to restore phase continuity [44,45]. Among phase unwrapping algorithms, the Gray code method requires fringe images for unwrapping; when combined with three images for phase shifting, the total number of images will exceed 10 [46]. To reduce the number of images required, the three-frequency three-step phase-shifting method computes wrapped phases using three-step phase shifting and only needs nine fringe images to calculate the absolute phase [47]. Thereafter, the two-frequency three-step phase-shifting method reduces the number of fringe images to six [48]. Liu et al. proposed a two-frequency pattern scheme that combines high-frequency sinusoidal components with unit-frequency components, further reducing the required images to five [49]. Additionally, Zuo et al. employed the Dual-Frequency Phase Shifting (DFPS) method, which only requires four fringe patterns to recover the absolute phase of the measured object [50,51]. Additionally, Zhang et al. introduced a lookup table to establish the relationship between wrapped phase and depth and leveraged speckle patterns to resolve depth ambiguities, thereby accelerating point cloud computation [52].
While the aforementioned methods enable systems to rapidly acquire the absolute phase of structured light fringes, calculating the 3D point cloud of the measured object from the absolute phase still consumes significant time. Methods for computing the 3D point cloud based on the absolute phase of structured light fringes include the classic phase–height model [53], linear phase–height model [54], linear inverse phase–height model [55], polynomial phase–height model, governing equation-based phase–height model [56], and triangular stereo model [57]. When using the aforementioned models to calculate the 3D point cloud, three key steps are required: firstly, complex distortion correction must be performed on the projector and camera lenses; secondly, except for the linear phase–height model (though it offers relatively faster computation speed, it exhibits larger errors compared to other models), nonlinear function operations or equation-solving operations are necessary to compute the depth data corresponding to each pixel of the camera; finally, the 3D coordinates of the point cloud corresponding to each pixel must be calculated based on the depth data and the calibrated internal parameters of the camera and projector [58]. The computational complexity of this process increases linearly with the number of camera pixels. This causes high-resolution structured light 3D reconstruction systems to consume substantial computational resources and time, thereby resulting in insufficient reconstruction speed.
The aforementioned issues are more pronounced in embedded structured light cameras. Embedded structured light cameras are 3D cameras designed and mass-produced based on structured light 3D reconstruction technology and embedded technology. They possess advantages such as small size, high precision, low cost, low power consumption, and strong robustness, and are widely used in scenarios including intelligent welding, defect detection, and intelligent assembly. Due to constraints imposed by factors like size, cost, and power consumption, it is difficult to integrate high-performance computing platforms into embedded structured light cameras. If the captured structured light images are uploaded to a host computer for processing, due to limitations such as transmission bandwidth, it is increasingly challenging to meet the on-site real-time performance requirements for 3D cameras. Furthermore, with the rapid development of humanoid robots, the demand for 3D vision devices featuring small size, high precision, high speed, low power consumption, low cost, and strong robustness has grown increasingly intense. Thus, determining how to rapidly compute the 3D point cloud coordinates of the measured object using limited computational resources in embedded structured light cameras has gradually become an urgent demand in this industry.
This paper proposes a unified memory-based acceleration framework for structured light 3D reconstruction. This framework formalizes memory-driven accelerations and provides a systematic way to analyze memory footprint, online computation, and reconstruction fidelity. This framework identifies common computational bottlenecks as ‘memorizable tasks’ and proposes a comprehensive approach to optimize them based on available memory resources, offering both low-memory and high-memory strategies. This novel abstraction allows for a more general, flexible, and scalable approach to acceleration, guiding the design of efficient embedded structured light systems.

2. Fundamentals of Structured Light 3D Reconstruction

2.1. Principles of Structured Light 3D Reconstruction

A structured light 3D reconstruction system is mainly composed of three components: a projector, a camera, and a computation module. During operation, the projector projects encoded structured light onto the measured object, forming a structured light pattern on its surface. Then, the camera captures structured light images of the measured object and transmits these images to the computation module. Finally, the computation module calculates the 3D point cloud of the measured object based on the captured structured light images and calibration parameters. The principle schematic diagram and the actual product are shown in Figure 1.
For any pixel in a structured light image, when the measured object undergoes displacement relative to the camera and projector, the structured light phase of this pixel changes accordingly. That is, different phase values correspond to different distances between the measured object and the structured light 3D reconstruction system. Thus, by pre-calibrating the correspondence between phase values and distances, the distance (i.e., the Z-coordinate of the spatial point) can be calculated based on the phase values in practical applications. Then, combined with the pre-calibrated X- and Y-coordinate parameters, the 3D point cloud of the measured object can be reconstructed.
When calculating point cloud using the structured light method, it is first necessary to perform distortion correction on the structured light images, followed by computing the Z-coordinate distance using epipolar geometry. These two computational processes are both complex and time-consuming. However, if the correspondence between different phase values and 3D point clouds is pre-established, then once the phase value of each pixel in the structured light image is obtained, the corresponding 3D spatial point can be retrieved directly from memory without additional computation—this will significantly enhance the system’s 3D reconstruction speed.

2.2. System Intrinsic Parameter Calibration

The intrinsic parameter calibration of the system mainly refers to the calibration of camera parameters, and the pinhole imaging model is typically adopted as the calibration model. In the pinhole imaging model, a spatial point X W is projected onto a point x C on the camera’s image plane via the optical center. Then, the coordinates ( X w , Y w , Z w , 1 ) of the spatial point X W and the coordinates ( u , v , 1 ) of the image point x C are related by the following equation:
s u v 1 = K R | t X w Y w Z w 1 = f u γ u 0 0 f v v 0 0 0 1 R | t X w Y w Z w 1
where K is the intrinsic matrix of a camera; s is the scale factor; f u and f v denote the effective focal lengths along the u-axis and v-axis, respectively; γ represents the camera’s skew parameters; u 0 , v 0 are the principal point coordinates of the image plane; and R and t are the rotation matrix and translation vector between the camera coordinate system and the world coordinate system, respectively.
Equation (1) assumes that the camera’s imaging model is a standard linear model. However, due to constraints from manufacturing and assembly processes, there is a certain deviation between actual images and those under the pinhole imaging model—i.e., distortion exists. The main manifestations of image distortion are radial distortion and tangential distortion, which are usually expressed mathematically as:
x ^ = x 1 + k 1 r 2 + k 2 r 4 + k 3 r 6 + 2 p 1 x y + p 2 r 2 + 2 x 2 y ^ = y 1 + k 1 r 2 + k 2 r 4 + k 3 r 6 + 2 p 2 x y + p 1 r 2 + 2 y 2 r = x 2 + y 2
where x , y and x ^ , y ^ denote the normalized coordinates of pixel u , v on the image plane under ideal and actual conditions, respectively. k 1 , k 2 , k 3 are the radial distortion coefficients and p 1 , p 2 are the tangential distortion coefficients. Zhang Zhengyou’s calibration method can calibrate these camera parameters, offering high calibration accuracy and convenient operation [59].

3. Memory-Based Acceleration Framework of Point Cloud Computation

3.1. Two-Parameter Phase–Distance Model

Figure 2 shows a schematic diagram of the phase–distance relationship in the structured light system. The reference position and actual position correspond to two distinct positions of the object. The optical center G of the camera and the optical center C of the projector lie on the camera plane, with the distance between the two optical centers being L. Both the camera and the projector form images on the image plane. The focal length of the projector is f ; the axial distance from the reference position to the camera plane is Z 0 ; and the axial distance between the actual position and the reference position is Δ Z .
For any pixel H on the camera image plane, when the object is at the reference position, the fringes projected from point B on the projector image plane reach pixel H of the camera after being reflected by point F on the object. When the object is at the actual position, the fringes projected from point A on the projector image plane reach pixel H of the camera after being reflected by point D on the object. The distance between points A and B on the projector image plane along the fringe scanning direction is Δ x .
From the similarity of triangles ABC and DEC (ΔABC~ΔDEC), it can be derived that:
Δ x f = Δ X Z 0 + Δ Z
From the similarity of triangles CGF and EDF (ΔCGF~ΔEDF), it can be derived that:
L Δ X = Z 0 Δ Z
Furthermore, on the image plane of the projector,
Δ x = k Δ α
where Δ α denotes the structured light phase difference between points A and B and k represents the ratio of distance to phase along the fringe scanning direction on the projector image plane.
By combining Equations (3)–(5), the following can be derived:
Δ Z = k Z 0 2 Δ α L f k Z 0 Δ α
In Equation (6), Z 0 , L , f , and k are all constant values. Let:
a u , v = L f k Z 0 2 b u , v = 1 Z 0
Then Equation (6) can be simplified to:
Δ Z = Δ α a u , v + b u , v Δ α
Thus, as long as the a u , v and b u , v values for each pixel are determined, the relationship between phase and distance can be established.
In the model above, a u , v represents the rate of change in depth with respect to phase at the pixel ( u , v ) , which is primarily influenced by the baseline (distance between camera and projector), the focal lengths of the camera and projector, and the relative projection angle at that specific pixel; b u , v acts as an offset or intercept, effectively shifting the entire phase–distance curve along the depth axis, which is largely determined by the absolute position of the reference plane during calibration. A larger absolute value of a u , v implies that a small error in the measured phase will result in a proportionally larger error in the estimated depth. This makes pixels with large a u , v values more susceptible to phase noise or quantization errors.
During the calibration process (least-squares fitting for a u , v and b u , v ), the residual error for each pixel provides a critical indicator of how well the linear model fits the actual measured phase-depth data. A high residual value for a pixel suggests that the linear approximation is poor for that pixel or over the calibrated depth range, indicating that the low-memory method might be unreliable for that specific region.
To determine a u , v and b u , v , the measurement range d of the structured light 3D reconstruction system can be equally divided into n segments. Starting from the initial position, the object is moved by a step distance of d / n each time. Subsequently, structured light fringes are projected and captured, and the structured light phase values of each pixel in the images at each position are calculated, as shown in Figure 3. Then, based on the moved distances and structured light phase values, the least squares method is used to calculate the values of a u , v and b u , v for each pixel separately. By taking the reciprocal of b u , v , the value of Z 0 can be calculated.
It should be noted that the per-pixel two-parameter phase–distance model in Equation (8) is derived under the following explicit assumptions: (i) a calibrated pinhole projection for both camera and projector with distortions accounted for by the intrinsic calibration; (ii) higher-order distortion terms (beyond first-order radial and tangential distortion) are negligible within the calibrated working volume; (iii) the measured phase is obtained from a robust demodulation pipeline and treated as a noisy but unbiased quantity; and (iv) a u , v and b u , v are treated as locally constant over the depth range used for calibration.
When fitting the values of a u , v and b u , v for each pixel,
a u , v = L f k b u , v 2
Let:
m = L f k
Then
a u , v = m b u , v 2
In the image sensor, the values of m are the same for each pixel, while the values of b u , v are generally different.

3.2. Low-Memory Point Cloud Computation Method

From the n + 1 calibration positions, select any one position as the reference position. The phase of each pixel at this position is the reference phase α u , v , 0 , and the axial distance of each pixel at this position is Z u , v , 0 .
During 3D reconstruction, after calculating the absolute phase values α u , v of each pixel, the Z-directional distance of the spatial point corresponding to each pixel can be determined as follows:
Z u , v = Z u , v , 0 + Δ Z u , v           = Z u , v , 0 + Δ α u , v a u , v + b u , v Δ α u , v           = Z u , v , 0 + α u , v α u , v , 0 a u , v + b u , v ( α u , v α u , v , 0 )
If the camera coordinate system is adopted as the world coordinate system, then the rotation matrix R is an identity matrix and the translation vector t is a zero vector.
R = 1 0 0 0 1 0 0 0 1 t = 0 0 0 T
According to Section 3.1, Z w = Z u , v , and substituting this into Equation (1) yields:
X w = u ˜ u , v Z u , v f x Y w = v ˜ u , v Z u , v f y
where u ˜ u , v , v ˜ u , v denotes the distortion-corrected pixel coordinates of each pixel point. Let:
r a t i o _ u u , v = u ˜ u , v f x r a t i o _ v u , v = v ˜ u , v f y
Then the 3D coordinates of the spatial point cloud corresponding to each pixel point can be obtained:
X w = r a t i o _ u u , v Z u , v Y w = r a t i o _ v u , v Z u , v Z w = Z u , v
Since each calculation requires camera distortion correction and the calculation of r a t i o _ u u , v and r a t i o _ v u , v using calibrated internal parameters, if r a t i o _ u u , v and r a t i o _ v u , v for all pixels are precomputed and stored in the system memory, then during the 3D reconstruction process of the system, only calculations using Equations (12) and (16) are required to achieve 3D reconstruction of the measured object.

3.3. High-Memory Point Cloud Computation Method

Due to the projection errors of the projector and the defocus effect of the lens, the phase-shifted structured light fringes captured by the camera are not standard sinusoidal fringes. This results in fluctuations in the calculated absolute phase, thereby increasing the 3D reconstruction error of the system. In other words, the relationship between the calculated phase and the moving distance does not strictly follow Equation (12); instead, there exists a certain degree of error. To more accurately determine the relationship between the calculated phase and the moving distance, this paper employs a large memory space to establish a detailed lookup table of absolute phase and moving distance for implementation.
To achieve this, when the measurement range of the system is d and the desired measurement accuracy is ε , the number of moving positions n is given by:
n = d ε
Within the measurement range of the system, starting from the minimum measurement distance of the camera, we move n times with a step size of ε ; this results in n + 1 positions, at which point the correspondence table between the absolute phase of each pixel and the Z-directional distance is measured.
To facilitate lookup, the phase difference between the first position and the nth position is divided into n equal parts. The phase value of pixel point u , v at the m-th phase position is given by:
α u , v , m = α u , v , 0 + m δ u , v ,       m = 0 , 1 , 2 n
where α u , v , 0 denotes the phase of the pixel point at the first position and δ u , v denotes the phase difference between two adjacent phase positions:
δ u , v = α u , v , n α u , v , 0 n
From the established correspondence table between phase values and Z-directional distances, we select the phase value with the smallest difference from the phase α u , v , m and perform interpolation to obtain the distance corresponding to the phase α u , v , m . Then, we use Equation (19) to calculate the 3D coordinates of the spatial point corresponding to the phase α u , v , m . Repeating the above steps for the n + 1 phase positions of all pixel points yields the correspondence between phase values and spatial point coordinates at the n + 1 phase positions for each pixel point.
The above-mentioned spatial point coordinates are of float type or double type. In embedded platforms, float-type data typically occupies 4 bytes, while double-type data usually occupies 8 bytes. For value n, 255 ≤ n ≤ 65,535; thus, this study uses the short int type to store spatial point Z-coordinates. The short-int-type Z-coordinates of spatial point u , v at the m-th phase position are given by:
Z u , v , m = 1 ε Z u , v , m
where X u , v , m , Y u , v , m , Z u , v , m denotes the float-type or double-type coordinate values of spatial point u , v at the m-th phase position, calculated in Section 3.2; ε denotes the minimum measurement accuracy of the system;   and denotes the rounding operator.
This paper uses an array to store the spatial point Z-coordinates of each pixel point at n phase positions. The element in the array is denoted as d u , v , k .
d u , v , k = Z u , v , m
Thus, the lookup table of spatial point Z-coordinates for each pixel point at n + 1 phase positions is established. Furthermore, to facilitate lookup, it is necessary to record the phase value at the initial position of each pixel point α u , v , 0 and the phase step size δ u , v in the system’s memory.
During 3D reconstruction, the phase value α u , v of each pixel point is calculated; the position index corresponding to pixel point u , v is given by:
m = α u , v α u , v , 0 δ u , v
The short-int-type 3D coordinates of the spatial point corresponding to pixel point u , v are given by:
X W Y W Z W = d u , v , m r a t i o _ u u , v r a t i o _ v u , v 1
The short-int-type 3D coordinates of each pixel point are calculated and uploaded to the host computer. Using Equation (24), the float-type 3D coordinates of the spatial point corresponding to each pixel point are decoded in the host computer; this not only reduces the storage space of the lookup table, but also decreases the data volume of data transmission.
X W Y W Z W = ε X W Y W Z W
In practical structured light systems, phase maps often contain outliers due to low reflectivity, occlusions, or specular surfaces. To suppress these outliers, during calibration we estimate, for each pixel, the minimum absolute phase α min and the maximum absolute phase α max within the system’s measurement range. If the computed absolute phase lies outside this range, the corresponding depth value is set to zero, and no further computations or lookup table operations are performed for that pixel.

4. Experiment

To evaluate the actual performance of the proposed methods in this study, experiments are conducted using the D132S structured light camera from Xi’an Zhiwei Company (Xi’an, China). As shown in Figure 4a, the D132S camera consists of one structured light projector and one monochrome camera. The structured light projector adopts the P1130 MEMS uniaxial scanning module, which can project Gray code fringes and phase-shifted code fringes, featuring advantages such as high resolution, high reliability, low cost, small size, and easy integration. The monochrome camera has a resolution of 1280 × 1024 and can capture structured light grayscale images in RAW format. In this study, the aforementioned camera and projector are used to form a structured light 3D reconstruction system, with the RK3399 core board employed for data computation. During 3D reconstruction, seven-level Gray code and the four-step phase shifting method are adopted for encoding the structured light fringes.

4.1. Experiments on the Low-Memory Method

This study employs the Zhang Zhengyou calibration method to calibrate the camera’s internal parameters. During calibration, 20 structured light images with different poses are captured, as shown in Figure 5, and the camera’s internal parameters are computed using OpenCV 3.4.1 software, with the computed results given by:
f u γ u 0 0 f v v 0 0 0 1 = 1.4328957 × 10 3 0   6.3751170 × 10 2 0 1.4326590 × 10 3 5.2187200 × 10 2 0 0 1 k 1 k 2 k 3 p 1 p 2 = 1.2009005 × 10 1   1.1928703 × 10 1 0 9.6197371 × 10 5 1.4896083 × 10 4
According to Equation (15), after the coordinates of each pixel are calibrated, the ratio of the X-coordinate to the Z-coordinate r a t i o X u , v and the ratio of the Y-coordinate to the Z-coordinate r a t i o Y u , v of the point clouds corresponding to each pixel are computed respectively. These ratios are then stored in the memory of the structured light camera for use in 3D reconstruction.
As shown in Figure 6, the camera is fixed on a guide rail via a mechanical bracket, with the guide rail perpendicular to the calibration plane; the distance between the structured light system and the calibration plane is adjusted by moving the guide rail. The camera has a working range of 400 mm to 600 mm. Starting from 400 mm, the camera is moved by 2 mm each time, and the moving distance of the camera is recorded based on the readings of the grating scale. Meanwhile, a set of structured light fringe images is captured, and the absolute phase value of each pixel is computed. According to the differences between the absolute phase values at each position and those at the initial position, as well as the moving distances, the a-value a u , v and b-value b u , v for each pixel are fitted respectively according to Equation (8). These a-values and b-values are then stored in the memory of the structured light camera.
During testing, it was found that the point cloud reconstructed by this method exhibited significant fluctuations. The study of its fluctuation errors revealed that, due to the projection errors of the projector and the defocus effect of the lens, the relationship between the absolute phase and the moving distance did not strictly follow Equation (8); instead, it exhibited a certain degree of fluctuation relative to the curve of Equation (8), as shown in Figure 7b, thereby leading to calculation errors in the point cloud.
It should be noted that this fluctuation error is not intrinsic to the proposed two-parameter phase–distance models but is a generic characteristic of all phase-to-depth models in structured light systems. The relationship between the precise absolute phase and displacement strictly follows Formula (8) in theory. However, in practical applications, when the period of the phase-shifted structured light patterns is very small, the actual projected fringes are often not perfectly sinusoidal. This deviation from ideal sinusoidal patterns introduces errors in the absolute phase calculation. The poorer the sinusoidal quality of the projected fringes, the greater the error in the calculated absolute phase. Consequently, the curve representing the absolute phase with these calculation errors, plotted against displacement, does not strictly adhere to Formula (8).
When the projector’s projection error lies within the system’s allowable tolerance, the effect can be neglected. If the projection error becomes large, compensation should be applied or an alternative modeling approach should be used for computation. For applications where computational resources are highly constrained and a small compromise in accuracy is acceptable, the low-memory method offers a superior trade-off by drastically reducing online computation. Its suitability should be evaluated by empirical calibration and by checking the residual fitting errors against the application’s accuracy requirements. If these residuals are too high, or if the depth range is too wide and nonlinear, the high-memory method becomes a more suitable alternative.

4.2. Experiments on the High-Memory Method

To address the aforementioned point cloud fluctuation issue, this paper further explored a high-memory 3D reconstruction method. The system employed in this study has a working range of 400 mm to 600 mm and a target measurement accuracy of 0.2 mm. By moving the guide rail 1000 times in accordance with the method described in Section 3.3, the correspondence table between the absolute phase of each pixel and the 3D point cloud was established, as well as the phase value table at the initial position for each pixel and the phase step size table. During operation, the table position of each pixel could be located in accordance with Equation (12), thereby achieving 3D reconstruction of the measured object.
For this method, the correspondence table between the absolute phase and the 3D point cloud is established based on true values. The table data and true data are as shown in Figure 8. It can be observed from Figure 8b that the table data and the true data nearly coincide.

4.3. Comparison Experiment

To validate the performance of the proposed methods, this paper compared them with the light-plane method. This method reconstructs 3D points by projecting the stripe boundary lines of the structured light pattern and then back-projecting the corresponding image pixels from the camera center. The intersection of these back-projected pixels and the observed stripe boundary lines (light planes) on the object surface yields the 3D reconstruction points. This method is widely adopted in industrial applications for its fast reconstruction speed, high accuracy, and strong robustness. The light-plane method uses the identical structured light patterns and the same hardware platform as those employed by the proposed two methods. The three methods are further compared from three aspects: computation time, planar RMS accuracy, and standard sphere accuracy. To ensure statistical reliability, the experiment is repeated 10 times, and the mean values are calculated to determine reconstruction time and accuracy for each experiment. The experimental setups for the three methods are detailed in Table 1.
In Table 1, l 1 , n , l 2 , n , l 3 , n , and l 4 , n denote the parameters of the nth light-plane equation.
l 1 , n X W + l 2 , n Y W + l 3 , n Z W + l 4 , n = 0

4.3.1. Comparison of Computation Time

This study tested the computation time of the three methods using both the CPU and GPU of the RK3399 computing platform, with the test results presented in Table 2.
As shown in Table 2, owing to the elimination of numerous computation steps, the computation time of the two methods proposed in this study has achieved a reduction by an order of magnitude compared with that of the light-plane method. Although the high-memory method involves fewer computation steps than the low-memory method, due to its larger memory footprint, its addressing time is longer than that of the low-memory method. Consequently, the computation times of the two methods are roughly comparable. Additionally, in the high-memory method, since the point cloud data type is changed from float to unsigned short, the data storage space is reduced by half, and thus the transmission time is also significantly reduced.

4.3.2. Comparison of Planar RMS Accuracy

During the measurement of planar RMS accuracy, the structured light camera is moved to a non-calibrated distance position, a set of structured light images is captured, and the absolute phase of each pixel is then computed. Based on the absolute phase of each pixel, the point cloud of this calibration plane is computed using the three methods respectively. The acquired point cloud is further fitted using Geomagic software, with the fitting results shown in Figure 9. The planar RMS errors of the three methods are shown in Table 3.
As can be observed from Figure 9 and Table 3, since the similarity of the table data to the true data in the high-memory method is better than that of the fitted curve to the true data in the low-memory method, the RMS accuracy of the high-memory method is significantly superior to that of the low-memory method. However, due to the interpolation errors during the lookup table establishment process in the high-memory method and the rounding errors caused by the data type conversion from float to unsigned int, the RMS accuracy of the high-memory method is inferior to that of the light-plane method. These quantization processes inherently introduce a certain degree of computational error. If this error falls within the system’s required accuracy range, it can be neglected. However, when this error becomes substantial and severely impacts the system’s precision, mitigation strategies such as adopting a finer quantization step size or employing methods like interpolation and spatial filtering can be utilized to suppress noise. Nevertheless, these processes inevitably increase memory consumption and computational complexity, consequently increasing the 3D reconstruction time of the system.

4.3.3. Comparison of Standard Sphere Accuracy

To further test the measurement accuracy of the three methods, two standard dumbbell-shaped ceramic spheres were selected as the test targets, as shown in Figure 10a. The diameters of the two ceramic standard spheres were 50.8019 mm and 50.8017 mm respectively, and they were mounted on a carbon fiber plate, with a center-to-center distance of 299.8513 mm between the two spheres. The reconstructed point clouds of the three methods were fitted using Geomagic software, with the fitting results as shown in Figure 10 and the computed point cloud errors presented in Table 4.
As shown in Figure 10 and Table 4, although the low-memory method exhibits significant point cloud fluctuations, the standard sphere accuracy of the three methods shows no significant difference, thereby validating the feasibility of the proposed methods in this study.

5. Discussion

5.1. Trade-Off Between Accuracy and Memory in High-Memory Methods

In the high-memory approach described herein, memory consumption depends on the camera resolution, the number of calibration positions, and the data storage type. When the camera resolution is W   ×   H , the number of calibration locations is n + 1 and the data storage type is d a t a _ t y p e ; the memory footprint is given by Equation (27).
M e m o r y = W × H × ( ( n + 1 ) × s i z e o f d a t a _ t y p e + 16 )
In this equation, the value 16 denotes the α i , j , 0 , α min , α max , and δ i , j that need to be stored. In this paper, the camera resolution is 1280 × 1024, the number of calibration locations is 1001, and the data storage type is short (16-bit integer), so the total memory consumption is determined by:
  M e m o r y   = 1280 × 1024 × ( ( 1001 + 1 ) × 2 ( b y t e s ) + 16 ) 2.5 G B
As shown in Equation (17), the number of calibration locations is determined by both the measurement range and the required measurement accuracy. For a fixed system setup, the measurement range is consequently fixed. Therefore, the relationship between measurement accuracy and memory footprint is as follows:
M e m o r y   = W × H × ( ( d ε + 1 ) × s i z e o f d a t a _ t y p e + 16 )
In this study, the relationship between memory footprint and measurement accuracy is illustrated in Figure 11.
As illustrated in Figure 11, an increase in measurement precision for the high-memory method leads to a progressively larger system memory footprint. This phenomenon arises because enhanced calibration precision is primarily achieved by decreasing the calibration step size. Such a reduction, however, invariably leads to a proportional increase in the number of calibration points, consequently expanding the memory footprint.
However, this improvement in calibration precision is not limitless. This is primarily due to two factors. Firstly, the calibration equipment possesses inherent limitations in its minimum movement step and positioning accuracy; consequently, reducing the calibration step size below a certain threshold will not yield further improvements in measurement precision. Secondly, owing to factors such as assembly and manufacturing tolerances, the structured light 3D reconstruction system itself has an intrinsic limit to its reconstruction accuracy, which the calibrated system cannot surpass.
In addition, it is worth noting that constantly expanding the memory may not necessarily boost the reconstruction speed because on such embedded systems, memory bandwidth and cache performance (including L1, L2, and potentially L3 caches) can become significant bottlenecks, potentially negating the benefits of reduced computation. Accessing large lookup tables, particularly when the access pattern is non-sequential or ‘random’, can lead to frequent cache misses. A cache miss results in a delay as data must be fetched from slower main memory (DDR), thereby increasing memory latency and reducing overall processing speed. If the access pattern is highly random and spans across large portions of memory, it can lead to ‘cache thrashing’, where useful data is constantly evicted from the cache to make room for new data that is soon also evicted, further diminishing performance.
During the real-time reconstruction process, the system typically processes image frames in a pixel-by-pixel or scanline-by-scanline manner. This sequential access pattern for the coordinates inherently possesses spatial locality. As the processing moves from one pixel to an adjacent one, it is highly probable that the data required for the neighboring pixel (including its 3D coordinates or related parameters) will reside in the same or nearby cache lines. However, when pixels are located at object edges or in regions with complex geometries, the phase values of adjacent pixels can vary significantly, thereby increasing the randomness of memory access and consequently affecting the system’s reconstruction speed. Therefore, our future work would explore data structures or compression techniques that further enhance spatial or temporal locality during access, e.g., by organizing the memory in a hierarchical manner, to potentially reduce cache thrashing.

5.2. Comparison with Existing Acceleration Methodologies

This work introduces a memory-based acceleration framework for structured light 3D reconstruction. It is not claimed as a universal algorithmic breakthrough for all structured light pipelines; instead, it provides a unified theoretical abstraction and practical instantiations that systematically analyze memory–accuracy trade-offs.
The principle of trading computation for memory has been applied in some fields, including structured light 3D reconstruction. Several existing approaches implicitly or explicitly leverage this concept to enhance performance. It is crucial to distinguish our proposed memory-based acceleration framework from these related methodologies to clarify its unique contribution.
Traditional calibration-based lookup tables (LUTs), such as phase–height models or calibration tables for depth recovery, represent a common form of memory-for-computation trade-off. These methods precompute the relationship between measured optical features (e.g., phase) and 3D spatial coordinates for a specific camera-projector setup and working volume. Existing lookup tables are typically small and primarily used for phase correction.
Similarly, FPGA/ASIC implementations often incorporate lookup tables as low-level hardware components. These hardware LUTs are fundamental building blocks designed to execute specific combinatorial logic rapidly or to store small, frequently accessed data sets, directly contributing to hardware-accelerated processing. The optimization focus here is primarily at the hardware description level, aiming for minimal gate delays and efficient resource utilization within the physical circuit.
In contrast, our proposed memory-based acceleration framework operates at a higher algorithmic and theoretical abstraction level. It is not a specific precomputation table, nor is it a hardware-centric optimization technique. Instead, it offers a systematic framework for analyzing the entire structured light reconstruction pipeline, identifying diverse computational stages as ‘memorizable tasks’—not limited to geometric mapping. This framework provides a principled methodology to:
(1)
Identify Memorizable Tasks: Systematically pinpoint computational operations that can be transformed into memory lookups or caching mechanisms;
(2)
Define Memory Budgeting: Guide the process of establishing and managing memory resources effectively;
(3)
Formulate Memory-Computation Strategies: Develop flexible acceleration strategies (e.g., low-memory and high-memory) based on the available memory budget, real-time constraints, and desired reconstruction quality.
This holistic approach moves beyond merely precomputing specific geometric relations or accelerating isolated hardware functions. It provides a generic design paradigm for making informed decisions about how to best exploit memory to reduce computational load across a broad spectrum of structured light algorithms and their various processing stages.

5.3. Main Contributions of This Work

After over a decade of unremitting efforts by researchers, fringe structured light 3D reconstruction technology has made remarkable progress both in terms of speed and accuracy. Specifically, its reconstruction speed can reach an impressive tens to hundreds of kHz. However, in industrial settings, structured light cameras with a reconstruction speed of 10 Hz are still extremely rare. One important reason for this is that high-speed structured light 3D reconstruction technology typically requires high-performance data processing equipment, whereas structured light cameras used in industry usually adopt embedded platforms. Due to insufficient computing performance, embedded platforms often struggle to cope with the processing demands of high-speed structured light 3D reconstruction algorithms.
To address this issue, this study proposes a framework to accelerate point cloud computation for embedded structured light cameras using memory. Specifically, the point cloud computation process is precomputed as much as possible and stored in memory in the form of parameters, thereby significantly reducing the computational load during actual point cloud computation. To the best of our knowledge, this is the first time this framework has been explicitly proposed to specifically improve the speed of embedded structured light cameras in this manner. The framework is instantiated in two forms: a low-memory method and a high-memory method. By comparing with the light-plane method, it is demonstrated that the proposed two methods significantly improve the point cloud reconstruction speed while achieving comparable accuracy performance. The main contributions of this study are as follows:
(1)
Memory method to accelerate point cloud computation: The point cloud computation process is precomputed as much as possible and stored in memory in the form of parameters, thereby significantly reducing the computational load during actual point cloud computation. The framework does not rely on any particular approach to computing the absolute phase, enabling potential transfer to other structured light modalities (e.g., binary defocus projection and LED array projection) in 3D reconstruction systems.
(2)
Low-memory point cloud computation method: The principle of the two-parameter point cloud reconstruction method, as well as the mathematical relationship between parameter a u , v and parameter b u , v , has been geometrically derived; the calibration process for the two parameters in this method under constraint conditions has been proposed; by pre-calibrating the lens and storing the calibration results in memory in the form of parameters, the computational load of point clouds is significantly reduced.
(3)
High-memory point cloud computation method: The calibration process and point cloud computation process for the high-memory point cloud computation method are proposed, which maintain the nonlinear relationship between the system’s absolute phase and moving distance to the greatest extent possible.
(4)
Memory-saving method via data type conversion: By converting the data type from float to unsigned short, the storage space for calibration parameters and the bandwidth for point cloud transmission are significantly reduced.
Despite these advantages, the methods proposed still have certain limitations. In the low-memory point cloud computation method, real data fluctuates along the function curve, thereby introducing point cloud reconstruction errors. The specific mathematical relationship of this fluctuation requires further investigation. In the high-memory point cloud computation method, thousands of guide rail movements are required, the calibration process takes 2 h, and the calibration parameters occupy significant storage space. In the future, in-depth research will be conducted on these two issues to achieve simultaneous improvements in both calibration speed and reconstruction speed.

6. Conclusions

Due to insufficient computing resources, embedded structured light cameras typically exhibit low 3D reconstruction speeds. To address this issue, this study proposes a memory-based acceleration framework for structured light 3D reconstruction and demonstrates two concrete instantiations: a low-memory method and a high-memory method. The framework provides a unified abstraction to analyze memory usage, online computation, and reconstruction fidelity. Initial embedded-platform experiments show meaningful speedups with controllable accuracy implications. This theoretical framework provides a robust and widely applicable paradigm for enhancing the performance of structured light reconstruction algorithms, offering a systematic way to analyze and design memory-centric accelerations across various algorithmic components. Future work will explore the application of this framework to learning-based structured light methods and its integration with advanced hardware architectures to further push the boundaries of real-time 3D sensing.

Author Contributions

Conceptualization, Y.Z.; methodology, Y.Z. and S.M.; software, Y.Z. and S.M.; validation, S.W. and Y.R.; formal analysis, S.W. and S.M.; investigation, Y.Z. and S.M.; resources: Y.R.; data curation, S.M.; writing—original draft preparation, Y.Z. and S.M.; writing—review and editing, Y.R.; visualization, S.M.; supervision, Y.R.; project administration, Y.R.; funding acquisition, Y.Z. and Y.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Hebei Natural Science Foundation (F2025302004) and Science and Technology Plan Project of Hebei Academy of Sciences (26A15).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Li, T.; Wang, H.; Li, X.; Liao, W.; He, T.; Peng, P. Generative planning with 3d-vision language pre-training for end-to-end autonomous driving. Proc. AAAI Conf. Artif. Intell. 2025, 39, 4950–4958. [Google Scholar] [CrossRef] [Scilit]
  2. Lian, H.; Liu, K.; Cao, R.; Fei, Z.; Wen, X.; Chen, L. Integration of 3D Gaussian Splatting and Neural Radiance Fields in Virtual Reality Fire Fighting. Remote Sens. 2024, 16, 2448. [Google Scholar] [CrossRef] [Scilit]
  3. Wang, X.; Jiang, L.; Wang, F.; You, H.; Xiang, Y. Disparity refinement for stereo matching of high-resolution remote sensing images based on gis data. Remote Sens. 2024, 16, 487. [Google Scholar] [CrossRef] [Scilit]
  4. Chi, P.; Wang, Z.; Liao, H.; Li, T.; Wu, X.; Zhang, Q. Towards new-generation of intelligent welding manufacturing: A systematic review on 3D vision measurement and path planning of humanoid welding robots. Measurement 2025, 242, 116065. [Google Scholar] [CrossRef] [Scilit]
  5. Zhao, Y.; Qin, H.; Xu, L.; Yu, H.; Chen, Y. A review of deep learning-based stereo vision techniques for phenotype feature and behavioral analysis of fish in aquaculture. Artif. Intell. Rev. 2024, 58, 7. [Google Scholar] [CrossRef] [Scilit]
  6. Li, D.; Li, P.; Hu, J.; Wang, X.; Ma, R.; Zhu, Z. A SPAD-Based Hybrid Time-of-Flight Image Sensor With PWM and Non-Linear Spatiotemporal Coincidence. IEEE Trans. Circuits Syst. I: Regul. Pap. 2025, 72, 5610–5619. [Google Scholar] [CrossRef] [Scilit]
  7. Wu, L.; Ran, Y.; Yan, L.; Liu, Y.; Song, Y.; Han, D. A dataset for surface defect detection on complex structured parts based on photometric stereo. Sci. Data 2025, 12, 276. [Google Scholar] [CrossRef] [Scilit]
  8. Ren, M.; Cui, J.; Cai, S.-A.; Tian, W.; Feng, G. Speckle suppression in dynamic structured light via single-element interference. Opt. Express 2025, 33, 11452–11461. [Google Scholar] [CrossRef] [Scilit]
  9. Liao, Z.; Li, H.; Cai, W.; Zhong, Y.; Zhang, X. Phase sensitivity based fringe angle optimization in telecentric fringe projection profilometry. IEEE Trans. Instrum. Meas. 2024, 74, 1001610. [Google Scholar] [CrossRef] [Scilit]
  10. Li, B.; Xu, Z.; Gao, F.; Cao, Y.; Dong, Q. 3D reconstruction of high reflective welding surface based on binocular structured light stereo vision. Machines 2022, 10, 159. [Google Scholar] [CrossRef] [Scilit]
  11. Hu, E.; Zhu, Y.; Shao, Y. Defect information detection of a spare part by using a dual-frequency line-scan method. Optik 2014, 125, 1255–1258. [Google Scholar] [CrossRef] [Scilit]
  12. Rao, G.; Yang, X.; Yu, H.; Chen, K.; Xu, J. Fringe-projection-based normal direction measurement and adjustment for robotic drilling. IEEE Trans. Ind. Electron. 2019, 67, 9560–9570. [Google Scholar] [CrossRef] [Scilit]
  13. Wu, Y.; Dantanarayana, H.G.; Yue, H.; Huntley, J.M. Accurate characterisation of hole size and location by projected fringe profilometry. Meas. Sci. Technol. 2018, 29, 065010. [Google Scholar] [CrossRef] [Scilit]
  14. Zhao, Y.; Zhu, R.; Zhang, K.; Yu, H.; Bai, L.; Zheng, D.; Han, J. Accurate dynamic 3-D shape measurement based on the fringe pattern super-reconstruction technique. Measurement 2022, 200, 111575. [Google Scholar] [CrossRef] [Scilit]
  15. Yang, S.; Huang, H.; Wu, G.; Wu, Y.; Yang, T.; Liu, F. High-speed three-dimensional shape measurement with inner shifting-phase fringe projection profilometry. Chin. Opt. Lett. 2022, 20, 112601. [Google Scholar] [CrossRef] [Scilit]
  16. Lorenz, A.L.; Zhang, S. Human Respiration Rate Measurement with High-Speed Digital Fringe Projection Technique. Sensors 2023, 23, 9000. [Google Scholar] [CrossRef] [Scilit]
  17. Xu, Y.; Ekstrand, L.; Dai, J.; Zhang, S. Phase error compensation for three-dimensional shape measurement with projector defocusing. Appl. Opt. 2011, 50, 2572–2581. [Google Scholar] [CrossRef] [Scilit]
  18. Xu, J.; Li, Z.; Liu, H.; Chen, R.; Wu, D.; Zhang, J.; Wang, G. Defocus-driven variable-shape fringe for accuracy improvement in fringe projection profilometry. IEEE Trans. Instrum. Meas. 2024, 73, 5023712. [Google Scholar] [CrossRef] [Scilit]
  19. Chen, W.; Yang, S.; Yu, Y.; Jia, Y.; Liu, M.; Chen, S. Automatic projector defocus measurement method with large depth of field for fringe projection system. Meas. Sci. Technol. 2025, 36, 065018. [Google Scholar] [CrossRef] [Scilit]
  20. Lyu, C.; Wang, X.; Liu, Y.; Liu, H.; Ge, C.; Jin, J. Low-frequency vibration measurement based on the concentric-circle grating projection system. IEEE Trans. Instrum. Meas. 2021, 70, 5011810. [Google Scholar] [CrossRef] [Scilit]
  21. Hyun, J.S.; Chiu, G.T.C.; Zhang, S. High-speed and high-accuracy 3D surface measurement using a mechanical projector. Opt. Express 2018, 26, 1474–1487. [Google Scholar] [CrossRef] [Scilit]
  22. Windecker, R.; Fleischer, M.; Tiziani, H.J. Three-dimensional topometry with stereo microscopes. Opt. Eng. 1997, 36, 3372–3377. [Google Scholar] [CrossRef] [Scilit]
  23. Huang, H.X.; Jing, X.T.; Tan, J.; Zhang, H.K.; Deng, W.J.; Sun, M.J. An Ultra-High-Speed LED Array Driver Circuit for Structured Illumination. IEEE Trans. Power Electron. 2025, 40, 13177–13186. [Google Scholar] [CrossRef] [Scilit]
  24. Xing, H.; She, S.; Wang, J.; Guo, J.H.; Liu, Q.; Wei, C.; Yang, L.; Peng, R.; Yue, H.; Liu, Y. High-frame rate, large-depth-range structured light projector based on the step-designed LED chips array. Opt. Express 2024, 32, 24117–24127. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Hinz, L.; Kästner, M.; Reithmeier, E. Improved defect segmentation by combining fiber optic fringe projection profilometry with directional variable brightfield illumination. Emerg. Digit. Micromirror Device Based Syst. Appl. XIII SPIE 2021, 11698, 140–150. [Google Scholar]
  26. Qu, J.; Gao, H.; Zhang, R.; Cao, Y.; Zhou, W.; Xie, H. High-flexibility and high-accuracy phase delay calibration method for MEMS-based fringe projection systems. Opt. Express 2023, 31, 1049–1066. [Google Scholar] [CrossRef] [Scilit]
  27. Chen, W.; Feng, S.; Yin, W.; Li, Y.; Qian, J.; Chen, Q.; Zuo, C. Deep-learning-enabled temporally super-resolved multiplexed fringe projection profilometry: High-speed kHz 3D imaging with low-speed camera. PhotoniX 2024, 5, 25. [Google Scholar] [CrossRef] [Scilit]
  28. Feng, S.; Zuo, C.; Yin, W.; Gu, G.; Chen, Q. Micro deep learning profilometry for high-speed 3D surface imaging. Opt. Lasers Eng. 2019, 121, 416–427. [Google Scholar] [CrossRef] [Scilit]
  29. Wang, B.; Chen, W.; Qian, J.; Feng, S.; Chen, Q.; Zuo, C. Single-shot super-resolved fringe projection profilometry (SSSR-FPP): 100,000 frames-per-second 3D imaging with deep learning. Light Sci. Appl. 2025, 14, 70. [Google Scholar] [CrossRef] [Scilit]
  30. Xiang, S.; Yang, Y.; Deng, H.; Wu, J.; Yu, L. Multi-anchor spatial phase unwrapping for fringe projection profilometry. Opt. Express 2019, 27, 33488–33503. [Google Scholar] [CrossRef] [Scilit]
  31. Liu, Y.; Li, X.; Jin, Z.; Chen, W.; Lam, E.Y.; Feng, S.; Chen, Q.; Zuo, C. Multimodal adaptive temporal phase unwrapping using deep learning and physical priors. APL Photonics 2025, 10, 046104. [Google Scholar] [CrossRef] [Scilit]
  32. Jiang, H.; Xing, Y.; Shi, W.; Han, M.; Wang, X.; Li, X. FPGA-based fringe projection with double light intensity via bidirectional scanning. Semicond. Lasers Appl. XIV SPIE 2024, 13233, 13–19. [Google Scholar]
  33. Chen, Z.; Hu, T.; Hao, Y.; Zhang, X. High-speed phase structured light integrated architecture on FPGA. IEEE Trans. Ind. Electron. 2023, 71, 1017–1027. [Google Scholar] [CrossRef] [Scilit]
  34. Zhou, W.; Jia, Y.; Fan, L.; Fan, G.; Lu, F. A MEMS-based real-time structured light 3-D measuring architecture on FPGA. J. Real-Time Image Process. 2024, 21, 98. [Google Scholar] [CrossRef] [Scilit]
  35. Yin, W.; Cao, L.; Zhao, H.; Hu, Y.; Feng, S.; Zhang, X.; Shen, D.; Wang, H.; Chen, Q.; Zuo, C. Real-time and accurate monocular 3D sensor using the reference plane calibration and an optimized SGM based on opencl acceleration. Opt. Lasers Eng. 2023, 165, 107536. [Google Scholar] [CrossRef] [Scilit]
  36. Su, X.; Zhang, Q. Dynamic 3-D shape measurement method: A review. Opt. Lasers Eng. 2010, 48, 191–204. [Google Scholar] [CrossRef] [Scilit]
  37. Ji, P.; Hu, P.; Zhao, H.; Yao, Q.; Ma, W.; Zhang, G.; Zhang, Z.; Yang, S. Motion-induced phase-shifting profilometry for dynamic objects via Fourier fringe analysis and speckle correlation-assisted phase unwrapping. Opt. Express 2025, 33, 18251–18263. [Google Scholar] [CrossRef] [Scilit]
  38. Zuo, C.; Feng, S.; Huang, L.; Tao, T.; Yin, W.; Chen, Q. Phase shifting algorithms for fringe projection profilometry: A review. Opt. Lasers Eng. 2018, 109, 23–59. [Google Scholar] [CrossRef] [Scilit]
  39. Kemao, Q. Windowed Fourier transform for fringe pattern analysis. Appl. Opt. 2004, 43, 2695–2702. [Google Scholar] [CrossRef] [Scilit]
  40. Han, M.; Chen, W.; Zhang, Q.; Bai, X.; Pan, B. Dual-strategy-guided 2D wavelet transform for single-exposure high dynamic range 3D shape measurement. Opt. Express 2025, 33, 13145–13160. [Google Scholar] [CrossRef] [Scilit]
  41. Gao, R.; Zhao, X.; Lau, D.L.; Zhang, B.; Xu, B.; Liu, K. One-shot structured light illumination based on shearlet transform. Opt. Express 2024, 32, 30182–30198. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  42. Zendejas-Hernández, E.; Trujillo-Schiaffino, G.; Anguiano-Morales, M.; Salas-Peimbert, D.P.; Corral-Martínez, L.F.; Tornero-Martínez, N. Spatial and temporal methods for fringe pattern analysis: A review. J. Opt. 2023, 52, 888–899. [Google Scholar] [CrossRef] [Scilit]
  43. Wang, J.; Yang, Y.; Xu, P.; Liu, J. Noise-induced phase error comparison in multi-frequency phase-shifting profilometry based on few fringes. Opt. Laser Technol. 2023, 159, 109034. [Google Scholar] [CrossRef] [Scilit]
  44. Zhao, S.; Wu, J.; Zhang, H. A binocular structured light reconstruction method based on disparity fusion. Opt. Lasers Eng. 2025, 194, 109208. [Google Scholar] [CrossRef] [Scilit]
  45. Yu, L.; Pietila, J.; Singh, H.J.; Caglayan, H. Phase-Shifting Structured Illumination with a Polarization-Encoded Metasurface. Nano Lett. 2025, 25, 11696–11702. [Google Scholar] [CrossRef] [Scilit]
  46. Zhang, S. Absolute phase retrieval methods for digital fringe projection profilometry: A review. Opt. Lasers Eng. 2018, 107, 28–37. [Google Scholar] [CrossRef] [Scilit]
  47. Wang, J.; Yang, Y. Phase extraction accuracy comparison based on multi-frequency phase-shifting method in fringe projection profilometry. Measurement 2022, 199, 111525. [Google Scholar] [CrossRef] [Scilit]
  48. Li, J.L.; Su, H.J.; Su, X.Y. Two-frequency grating used in phase-measuring profilometry. Appl. Opt. 1997, 36, 277–280. [Google Scholar] [CrossRef] [Scilit]
  49. Liu, K.; Wang, Y.; Lau, D.L.; Hao, Q.; Hassebrook, L.G. Dual-frequency pattern scheme for high-speed 3-D shape measurement. Opt. Express 2010, 18, 5229–5244. [Google Scholar] [CrossRef] [Scilit]
  50. Zuo, C.; Chen, Q.; Gu, G.; Feng, S.; Feng, F.; Li, R.; Shen, G. High-speed three-dimensional shape measurement for dynamic scenes using bi-frequency tripolar pulse-width-modulation fringe projection. Opt. Lasers Eng. 2013, 51, 953–960. [Google Scholar] [CrossRef] [Scilit]
  51. Cai, B.; Zi, A.; Tong, C.; Wu, Q.; Zhao, B.; Chen, X. Spatial coding strategy for dual-frequency phase-shifting profilometry. Measurement 2025, 239, 115437. [Google Scholar] [CrossRef] [Scilit]
  52. Zhang, J.; Guo, W.; Wu, Z.; Zhang, Q. Three-dimensional shape measurement based on speckle-embedded fringe patterns and wrapped phase-to-height lookup table. Opt. Rev. 2021, 28, 227–238. [Google Scholar] [CrossRef] [Scilit]
  53. Takeda, M.; Mutoh, K. Fourier transform profilometry for the automatic measurement of 3-D object shapes. Appl. Opt. 1983, 22, 3977–3982. [Google Scholar] [CrossRef] [Scilit]
  54. Zhang, S.; Huang, P.S. High-resolution, real-time three-dimensional shape measurement. Opt. Eng. 2006, 45, 123601. [Google Scholar]
  55. Zhou, W.S.; Su, X.Y. A direct mapping algorithm for phase-measuring profilometry. J. Mod. Opt. 1994, 41, 89–94. [Google Scholar] [CrossRef] [Scilit]
  56. Feng, S.; Chen, Q.; Zuo, C. Graphics processing unit–assisted real-time three-dimensional measurement using speckle-embedded fringe. Appl. Opt. 2015, 54, 6865–6873. [Google Scholar] [CrossRef] [Scilit]
  57. Scharstein, D.; Szeliski, R. A taxonomy and evaluation of dense two-frame stereo correspondence algorithms. Int. J. Comput. Vis. 2002, 47, 7–42. [Google Scholar] [CrossRef] [Scilit]
  58. Feng, S.; Zuo, C.; Zhang, L.; Tao, T.; Hu, Y.; Yin, W.; Qian, J.; Chen, Q. Calibration of fringe projection profilometry: A comparative review. Opt. Lasers Eng. 2021, 143, 106622. [Google Scholar] [CrossRef] [Scilit]
  59. Zhang, Z. Flexible camera calibration by viewing a plane from unknown orientations. In Proceedings of the Seventh IEEE International Conference on Computer Vision, Kerkyra, Greece, 20–27 September 1999; IEEE: Washington, DC, USA, 1999; pp. 666–673. [Google Scholar]
Figure 1. Structured light 3D reconstruction system: (a) principle schematic diagram; (b) actual product.
Figure 1. Structured light 3D reconstruction system: (a) principle schematic diagram; (b) actual product.
Jimaging 12 00091 g001
Figure 2. Schematic diagram of the phase–distance relationship in the structured light system.
Figure 2. Schematic diagram of the phase–distance relationship in the structured light system.
Jimaging 12 00091 g002
Figure 3. Schematic diagram of the calibration of phase and depth values.
Figure 3. Schematic diagram of the calibration of phase and depth values.
Jimaging 12 00091 g003
Figure 4. Experimental equipment: (a) structured light system; (b) projector.
Figure 4. Experimental equipment: (a) structured light system; (b) projector.
Jimaging 12 00091 g004
Figure 5. Chessboard pose images for calibrating camera’s intrinsic parameters.
Figure 5. Chessboard pose images for calibrating camera’s intrinsic parameters.
Jimaging 12 00091 g005
Figure 6. System calibration environment.
Figure 6. System calibration environment.
Jimaging 12 00091 g006
Figure 7. Actual data and fitted curve of the phase difference and distance difference for the pixels (500, 600): (a) full-range data; (b) data in the 75 rad–82 rad range.
Figure 7. Actual data and fitted curve of the phase difference and distance difference for the pixels (500, 600): (a) full-range data; (b) data in the 75 rad–82 rad range.
Jimaging 12 00091 g007
Figure 8. Actual data and table data of the phase difference and distance difference for the pixels (500, 600): (a) full-range data; (b) data in the 75 rad–82 rad range.
Figure 8. Actual data and table data of the phase difference and distance difference for the pixels (500, 600): (a) full-range data; (b) data in the 75 rad–82 rad range.
Jimaging 12 00091 g008
Figure 9. Fitted point cloud: (a) fitted point cloud of the low-memory method; (b) fitted point cloud of the high-memory method; (c) fitted point cloud of the light-plane method.
Figure 9. Fitted point cloud: (a) fitted point cloud of the low-memory method; (b) fitted point cloud of the high-memory method; (c) fitted point cloud of the light-plane method.
Jimaging 12 00091 g009
Figure 10. Ceramic standard spheres reconstructed by different methods: (a) two standard dumbbell-shaped ceramic spheres, (b1) point cloud fitting results of the low-memory method, (b2) point cloud fitting results of the high-memory method, (b3) point cloud fitting results of the light-plane method.
Figure 10. Ceramic standard spheres reconstructed by different methods: (a) two standard dumbbell-shaped ceramic spheres, (b1) point cloud fitting results of the low-memory method, (b2) point cloud fitting results of the high-memory method, (b3) point cloud fitting results of the light-plane method.
Jimaging 12 00091 g010
Figure 11. The relationship between measurement accuracy and memory footprint in the high-memory method.
Figure 11. The relationship between measurement accuracy and memory footprint in the high-memory method.
Jimaging 12 00091 g011
Table 1. Experimental setups for the three methods.
Table 1. Experimental setups for the three methods.
Low-MemoryHigh-MemoryLight-Plane
Hardware Computing Platform: RK3399
Camera Resolution:1280 × 1024
Projector: P1130 MEMS projector
Memory: 4 GB
SoftwareOperating System: Ubuntu22.04
Programming Language: C/OpenCL
Calibration
Parameters
f u , f v γ , u 0 , v 0 , k 1 , k 2 , k 3 , p 1 p 2
a u , v , b u , v ,
α min , α max ,
r a t i o _ u u , v , r a t i o _ v u , v
α u , v , 0 , δ u , v , d i , j , k ,
α min , α max ,
r a t i o _ u u , v , r a t i o _ v u , v
l 1 , n , l 2 , n , l 3 , n , l 4 , n
Memory
Footprint
0.86 GB3.42 GB0.82 GB
Table 2. Computation time of the three methods (unit: ms).
Table 2. Computation time of the three methods (unit: ms).
MethodPlatformComputation TimeData Transmission
Time
Total Time
Low-Memory CPU43.15-43.15
GPU4.2610.3214.58
High-MemoryCPU54.84-54.84
GPU4.156.4810.63
Light-PlaneCPU763.24-763.24
GPU64.7210.2774.99
Table 3. Planar RMS errors of the three methods (unit: mm).
Table 3. Planar RMS errors of the three methods (unit: mm).
MethodLow-MemoryHigh-MemoryLight-Plane
Planar RMS error1.140.270.19
Table 4. Standard sphere accuracy of the three methods (unit: mm).
Table 4. Standard sphere accuracy of the three methods (unit: mm).
Sphere 1Sphere 2
DiameterErrorDiameterErrorDistanceError
True Value50.8019-50.8017-299.8513-
Low-Memory50.93490.133050.74460.0571299.97400.1227
High-Memory50.70910.092850.83980.0381299.74630.1050
Light-Plane50.94660.144750.89330.0916299.97550.1242
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, Y.; Meng, S.; Wang, S.; Ren, Y. Accelerating Point Cloud Computation via Memory in Embedded Structured Light Cameras. J. Imaging 2026, 12, 91. https://doi.org/10.3390/jimaging12020091

AMA Style

Zhang Y, Meng S, Wang S, Ren Y. Accelerating Point Cloud Computation via Memory in Embedded Structured Light Cameras. Journal of Imaging. 2026; 12(2):91. https://doi.org/10.3390/jimaging12020091

Chicago/Turabian Style

Zhang, Yanan, Shikang Meng, Shijie Wang, and Yaheng Ren. 2026. "Accelerating Point Cloud Computation via Memory in Embedded Structured Light Cameras" Journal of Imaging 12, no. 2: 91. https://doi.org/10.3390/jimaging12020091

APA Style

Zhang, Y., Meng, S., Wang, S., & Ren, Y. (2026). Accelerating Point Cloud Computation via Memory in Embedded Structured Light Cameras. Journal of Imaging, 12(2), 91. https://doi.org/10.3390/jimaging12020091

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop