Three-dimensional modeling method and system
By using alignment stripes coated with visible light antireflection film as a spatial reference in the 3D modeling system, the problems of tedious manual assembly and high precision requirements in the existing technology are solved, realizing fast and high-precision 3D reconstruction, and improving assembly efficiency and system robustness.
Patent Information
- Application Number
- CN202510657643.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2026-11-24
AI Technical Summary
In existing structured light-based 3D modeling systems, the camera assembly and adjustment process relies on manual operation. The steps are cumbersome and require high precision in centering and tilting adjustments, resulting in high assembly and adjustment difficulty and long time consumption, which seriously affects the efficiency of 3D modeling.
The method employs a grating stripe pattern, including alignment stripes coated with a visible light anti-reflection film, as a spatial reference. By acquiring multi-view images of the deformed stripe images and the target object images, the alignment stripe images are used for rapid positioning and fusion, reducing the precision dependence of centering and tilting adjustments, and improving assembly efficiency and 3D modeling accuracy.
It achieves fast, artifact-free, and high-precision 3D reconstruction, reduces assembly and adjustment difficulties and time costs, and improves the robustness and overall modeling quality of the 3D modeling system.
Smart Images

Figure CN123160754A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to a three-dimensional modeling method and system. Background Technology
[0002] With the rapid development of computer vision, image processing, and digital technologies, 3D modeling technology plays a crucial role in many fields. Due to its high precision, high resolution, and strong anti-interference capabilities, structured light-based 3D modeling systems have become one of the mainstream 3D modeling systems today.
[0003] In typical structured light-based 3D modeling systems, a structured light pattern is projected onto the surface of a target object, and a camera assembly synchronously acquires stripe images from different angles. The 3D model of the target object is then reconstructed using methods such as triangulation. Common camera assemblies typically employ a combination of two monochrome cameras and one color camera. The monochrome cameras acquire the data images used for 3D reconstruction, while the color camera acquires the color information of the target object's surface and performs texture mapping. In such systems, to ensure the accuracy of the 3D reconstruction, the two monochrome cameras require high registration accuracy, especially in symmetrical designs where the center offset and tilt tolerance typically cannot exceed 3 pixels. This places extremely high demands on the assembly and adjustment precision of the camera assembly.
[0004] In the existing technology, the assembly and adjustment process of camera components mainly relies on manual operation, with the help of special tooling, to adjust parameters such as the camera's optical focus, centering and tilt angle to meet the system design requirements.
[0005] However, manual assembly and adjustment is not only cumbersome, but also difficult and time-consuming due to the extremely high precision requirements for centering and tilting adjustments, which seriously affects the efficiency of 3D modeling. Summary of the Invention
[0006] This disclosure provides a three-dimensional modeling method and system.
[0007] According to one aspect of this disclosure, a three-dimensional modeling method is provided, comprising: projecting a grating stripe pattern onto a target object to be modeled, the grating stripe pattern including parallel stripes and aligned stripes, the aligned stripes being coated with a visible light anti-reflection film; acquiring a multi-view image containing a deformed stripe image and an image of the target object, the deformed stripe image being formed by projecting the stripe pattern onto the target object; and using the image of the aligned stripes in the deformed stripe image as a spatial reference, reconstructing a three-dimensional model of the target object based on the multi-view image.
[0008] According to one technical solution, by using alignment stripes as a spatial reference, the reconstruction process can achieve rapid image positioning and fusion based on the relative positions of the images corresponding to the alignment stripes, thereby improving the accuracy of 3D modeling. Moreover, the above process does not completely rely on physical assembly and adjustment, effectively reducing the accuracy dependence of centering and tilt adjustment, and improving assembly and adjustment efficiency and the robustness of 3D modeling.
[0009] According to at least one embodiment of the 3D modeling method of this disclosure, the step of reconstructing a 3D model of the target object based on the multi-view images using the image of the alignment stripes in the deformed stripe image as a spatial reference includes: extracting deformed stripe images from each view image; extracting the image of the alignment stripes from the deformed stripe images; using the image of the alignment stripes as a spatial reference, aligning the multi-view images to obtain an aligned image; decoding and calculating the phase of the parallel stripes in the aligned image to obtain phase information; generating 3D point cloud data of the target object based on the aligned image and the phase information; and performing meshing processing on the 3D point cloud data to obtain a 3D model of the target object.
[0010] According to the technical solution of this embodiment, accurate three-dimensional reconstruction of the target object can be achieved, and a high-quality three-dimensional model can be generated.
[0011] According to one aspect of this disclosure, a three-dimensional modeling system is provided, comprising: a projection component with a grating for projecting a stripe pattern of the grating onto a target object to be modeled; the stripe pattern of the grating includes parallel stripes and aligned stripes, the aligned stripes being coated with a visible light anti-reflection film; an image acquisition component for acquiring a multi-view image containing a deformed stripe image and an image of the target object, the deformed stripe image being formed by projecting the stripe pattern onto the target object; and a processing component for reconstructing a three-dimensional model of the target object based on the multi-view image, using the image of the aligned stripes in the deformed stripe image as a spatial reference.
[0012] According to one technical solution, by using alignment stripes as a spatial reference, the reconstruction process can achieve rapid image positioning and fusion based on the relative positions of the images corresponding to the alignment stripes, thereby improving the accuracy of 3D modeling. Moreover, the above process does not completely rely on physical assembly and adjustment, effectively reducing the accuracy dependence of centering and tilt adjustment, and improving assembly and adjustment efficiency and the robustness of the 3D modeling system.
[0013] According to at least one embodiment of the 3D modeling system of this disclosure, the alignment stripes include: cross alignment stripes, wherein the distance between the center of the cross alignment stripes and the center of the grating is less than a distance threshold.
[0014] The technical solution of this embodiment can significantly improve the accuracy of three-dimensional reconstruction and reduce the difficulty of debugging.
[0015] According to at least one embodiment of the three-dimensional modeling system of this disclosure, the parallel stripes are stripes coated with blue, green and white antireflective films.
[0016] According to the technical solution of this embodiment, rapid, artifact-free and high-precision dynamic three-dimensional reconstruction can be achieved.
[0017] According to at least one embodiment of the 3D modeling system of this disclosure, the image acquisition component includes: a blue light camera, a green light camera, and a color camera.
[0018] The technical solution of this embodiment can improve the overall modeling quality and visual effect.
[0019] According to at least one embodiment of the three-dimensional modeling system of this disclosure, the blue light camera and / or the green light camera are provided with polarizers; and / or the blue light camera and / or the green light camera and / or the color camera are provided with near-infrared imaging modules.
[0020] According to the technical solution of this embodiment, the specular interference of highly reflective surfaces in high-resolution imaging can be significantly suppressed, enhancing the clarity of fine structures; and / or the contrast of the surface texture of the target object can be effectively improved, reducing reflected light interference. It can also improve deep contour detection capabilities, and / or provide more reliable input for 3D modeling, and / or achieve functions such as texture detail enhancement, physical segmentation, and background culling.
[0021] According to at least one embodiment of the 3D modeling system of this disclosure, the processing component is specifically configured to: extract deformation stripe images from each view image; extract alignment stripe images from the deformation stripe images; perform coordinate alignment on the multi-view images using the alignment stripe images as a spatial reference to obtain an aligned image; decode and calculate the phase of the parallel stripes in the aligned image to obtain phase information; generate 3D point cloud data of the target object based on the aligned image and the phase information; and perform meshing processing on the 3D point cloud data to obtain a 3D model of the target object.
[0022] According to the technical solution of this embodiment, accurate three-dimensional reconstruction of the target object can be achieved, and a high-quality three-dimensional model can be generated.
[0023] According to at least one embodiment of the 3D modeling system of this disclosure, the step of extracting the alignment stripe image from the deformation stripe image includes: performing background removal processing and reflection suppression processing on the deformation stripe image to obtain a processed image; and inputting the processed image into a deep learning model to obtain the alignment stripe image.
[0024] According to the technical solution of this embodiment, the stability and robustness of stripe positioning in complex environments can be significantly improved, ensuring that the 3D modeling system can still operate with high quality under multiple material and lighting conditions.
[0025] According to at least one embodiment of the 3D modeling system disclosed herein, the projection component includes: a light source module for providing light required for projection; a grating including parallel stripes and aligned stripes in a stripe pattern; and a projection module for projecting the stripe pattern of the grating onto a target object to be modeled. Optionally, the projection component further includes one or more of the following: a frequency control module, a phase modulation module, a light path control module, a cooling module, a motion scanning module, an ambient light suppression module, and a synchronization control module. The frequency control module is used to control the spacing of the parallel stripes generated by the grating according to the properties of the target object. The phase modulation module is used to control the phase of the stripes generated by the grating. The light path control module is used to control the path of the light provided by the light source module. The cooling module is used to cool and dissipate heat from the light source module and the projection module. The motion scanning module is used to control the positions of the light source module and the projection module, and to scan and stitch the projected pattern by region. The ambient light suppression module is used to suppress ambient light interference. The synchronization control module is used to control the time synchronization between the projection module and the image acquisition component.
[0026] According to the technical solution of this embodiment, a high-brightness and high-contrast display effect can be achieved. It can also dynamically adjust the spatial frequency of the projected stripes to adapt to different object textures and reflection characteristics, thereby improving decoding resolution and robustness. Attached Figure Description
[0027] The accompanying drawings illustrate exemplary embodiments of the present disclosure and, together with the description thereof, serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.
[0028] Figure 1 This is a flowchart of a three-dimensional modeling method according to one embodiment of the present disclosure.
[0029] Figure 2 yes Figure 1 The flowchart shows the model reconstruction method in the 3D modeling method.
[0030] Figure 3 This is a schematic structural block diagram of a three-dimensional modeling system according to one embodiment of the present disclosure.
[0031] Figure 4 yes Figure 3 The diagram shows a grating in a 3D modeling system.
[0032] Figure 5 yes Figure 3 The diagram shows a schematic structural block diagram of the image acquisition component in the 3D modeling system.
[0033] Figure 6 yes Figure 3 The schematic structural frame of the projection component in the 3D modeling system shown. Figure 1 .
[0034] Figure 7 yes Figure 3 The schematic structural frame of the projection component in the 3D modeling system shown. Figure 2 .
[0035] Figure 8 This is a schematic structural block diagram of an electronic device equipped with a three-dimensional modeling system according to one embodiment of the present disclosure. Detailed Implementation
[0036] The present disclosure will now be described in further detail with reference to the accompanying drawings and examples. It should be understood that the specific examples described herein are for illustrative purposes only and are not intended to limit the scope of the disclosure. Furthermore, it should be noted that, for ease of description, only the parts relevant to the present disclosure are shown in the accompanying drawings.
[0037] It should be noted that, where there is no conflict, the embodiments and features described in this disclosure can be combined with each other. The technical solutions of this disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0038] Taking a 3D modeling project for a precision part as an example, this project uses a configuration of two monochrome cameras and one color camera, requiring centering and tilt pixel offsets to be controlled within 3 pixels. During the assembly and adjustment process, technicians first install the two monochrome cameras and one color camera into the designated positions on a dedicated fixture and connect them to the imaging test equipment. Subsequently, the modulation transfer function (MTF) of the cameras is initially calibrated, and the lens parameters of the cameras are adjusted through the control interface of the dedicated fixture to ensure that the imaging clarity of the cameras at different frequencies meets the basic standard. After completing the MTF calibration, the technicians began centering adjustments. First, using a specialized tool with a horizontal adjustment knob, they carefully fine-tuned the horizontal position of the black-and-white cameras. Each adjustment was followed by activating an imaging test device to observe the centering deviation of the captured images. After nearly two hours of repeated fine-tuning, the horizontal centering deviations of the two black-and-white cameras stabilized at 2.5 pixels and 2.6 pixels, respectively. Next, the technicians adjusted the vertical centering. Through the continuous coordination of the vertical adjustment knob and the imaging test device, they spent over an hour controlling the vertical centering deviations to 2.7 pixels and 2.8 pixels, with the overall centering deviations within acceptable ranges.
[0039] Next, the technicians adjusted the tilt angle using a specialized tooling's angle adjustment component, slowly rotating one of the monochrome cameras in an attempt to achieve greater precision. However, due to the high sensitivity of the specialized tooling's interface and the correlation between the various parameters, after the tilt angle was finely adjusted, the imaging test equipment showed that the centering deviation of the monochrome camera suddenly increased from 2.8 pixels to 4.2 pixels, exceeding the allowable range of 3 pixels.
[0040] The technicians had to restart the entire assembly and adjustment process. They recalibrated the MTF, readjusted the horizontal and vertical alignment, and then carefully adjusted the tilt angle. However, during subsequent adjustments, due to the difficulty in precisely controlling the fine-tuning scale of the specialized tooling, two similar deviations occurred that exceeded the acceptable range. The assembly and adjustment task, originally expected to be completed in 8 hours, ultimately took 26 hours to complete after three reworks. This assembly and adjustment not only severely delayed the 3D modeling progress but also significantly increased labor costs due to prolonged manual operation and equipment running. The equipment also suffered wear and tear due to frequent adjustments, resulting in the camera component assembly and adjustment cost increasing by nearly 40% compared to expectations.
[0041] To address this, the present disclosure proposes the following technical solution, which solves the problem that manual assembly and adjustment is not only cumbersome in terms of operation steps, but also difficult and time-consuming due to the extremely high requirements for centering and tilting adjustment, which seriously affects the efficiency of 3D modeling.
[0042] To facilitate description and make the technical solutions of this disclosure easier to understand, the terminology of this disclosure will be explained before describing the technical solutions of this disclosure.
[0043] Blue light cameras are industrial cameras with high sensitivity to the blue wavelength (approximately 450nm).
[0044] The green light camera is an industrial camera with high sensitivity to the green light band (approximately 520-550nm).
[0045] A color camera is an industrial camera capable of acquiring data across the entire red, green, and blue wavelength range.
[0046] Figure 1 A schematic diagram illustrating the overall flow of a three-dimensional modeling method according to one embodiment of this disclosure is shown. Figure 1 The illustrated 3D modeling method M100 includes steps S110 to S130. This 3D modeling method can be executed by an electronic device such as a server.
[0047] Step S110: Project the stripe pattern of the grating onto the target object to be modeled.
[0048] In some embodiments of this disclosure, step S110 may employ a projection component to project the stripe pattern of the grating onto the target object to be modeled. The stripe pattern of the grating may include parallel stripes and alignment stripes, with the alignment stripes coated with a visible light anti-reflection film. By coating the alignment stripes with a visible light anti-reflection film, laser light of any color can pass through, thereby enabling all image acquisition structures to acquire the image corresponding to the alignment stripes.
[0049] Step S120: Acquire a multi-view image with deformed stripe image and target object image.
[0050] In some embodiments of this disclosure, step S120 may employ multiple image acquisition structures to acquire images of the target object from multiple perspectives, thereby obtaining a multi-view image. The deformation stripe image in step S120 is formed by projecting a stripe pattern onto the target object.
[0051] Step S130: Using the image of the stripes aligned in the deformed stripe image as a spatial reference, reconstruct the three-dimensional model of the target object based on the multi-view image.
[0052] In some embodiments of this disclosure, step S130 can use the image of the alignment stripes as a spatial reference for reconstruction to calibrate or standardize the multi-view image, thereby improving the accuracy and stability of the three-dimensional reconstruction.
[0053] The 3D modeling method disclosed herein uses the image of the alignment stripes as a reference benchmark for spatial reconstruction, allowing for rapid image localization and fusion based on the relative positions of the alignment stripes during the reconstruction process, thereby improving the accuracy of 3D modeling. Furthermore, the above process does not entirely rely on physical assembly, effectively reducing the precision dependence of centering and tilt adjustments, and improving assembly efficiency and the robustness of 3D modeling. This 3D modeling method solves the problem in existing technologies where manual assembly is not only cumbersome but also time-consuming due to the extremely high precision requirements for centering and tilt adjustments, severely impacting the efficiency of 3D modeling.
[0054] Regarding step S130, in some embodiments of this disclosure, it may include, for example...Figure 2 Steps S131 to S136 are shown.
[0055] Step S131: Extract the deformation stripe image from each view image.
[0056] In some embodiments of this disclosure, step S131 may use image processing algorithms, background modeling methods, deep learning methods, etc., to extract deformation stripe images from each view image respectively.
[0057] Step S132: Extract the image of the aligned stripes from the deformed stripe image.
[0058] In some embodiments of this disclosure, step S132 may employ methods such as directional filtering, edge detection, and deep learning to extract the image of aligned stripes from the deformed stripe image.
[0059] Step S133: Using the image with aligned stripes as a spatial reference, coordinate alignment is performed on the multi-view image to obtain the aligned image.
[0060] In some embodiments of this disclosure, step S133 may use image registration algorithms (such as perspective transformation, calibration, etc.) to perform coordinate alignment on the multi-view images. Specifically, step S133 may select one of the multi-view images as a reference image (reference coordinate system), then obtain the transformation matrix of the alignment stripe images in other images in the multi-view images other than the reference image relative to the alignment stripe images in the reference image, and finally use the transformation matrix to perform coordinate alignment on the multi-view images.
[0061] Step S134: Decode and calculate the phase of the parallel stripes in the aligned image to obtain phase information.
[0062] In some embodiments of this disclosure, step S134 can decode and calculate the phase of the parallel stripes in the aligned image using a phase decoding algorithm (such as Fourier transform, trigonometric function, etc.).
[0063] Step S135: Generate 3D point cloud data of the target object based on the aligned image and phase information.
[0064] In some embodiments of this disclosure, step S135 can convert phase information into three-dimensional coordinate points using a three-dimensional reconstruction algorithm to form three-dimensional point cloud data.
[0065] Step S136: Mesh the 3D point cloud data to obtain a 3D model of the target object.
[0066] In some embodiments of this disclosure, step S136 may use a triangulation algorithm (such as Delaunary triangulation) to perform meshing processing on the three-dimensional point cloud data, and transform it into a visualized three-dimensional surface model of the target object.
[0067] The above steps enable accurate 3D reconstruction of the target object, ultimately generating a high-quality 3D model.
[0068] Figure 3 A schematic diagram of the overall structure of a three-dimensional modeling system according to one embodiment of this disclosure is shown. Figure 3 The 3D modeling system shown includes a projection component 1010 equipped with a grating, an image acquisition component 1020, and a processing component 1030.
[0069] The projection component 1010 is used to project the stripe pattern of the grating onto the target object to be modeled; the stripe pattern of the grating includes parallel stripes and aligned stripes, and the aligned stripes are coated with a visible light anti-reflection film.
[0070] In some embodiments of this disclosure, the projection component 1010 typically houses a light source (such as a laser, LED, etc.) to provide stable illumination. After passing through a grating, the light forms a structured light stripe pattern corresponding to parallel and aligned stripes. This structured light stripe pattern can be focused and projected onto the surface of a target object via the projection component. The stripe pattern projected onto the target object's surface is typically deformed by the object's three-dimensional topography, and these deformations reflect the geometric information of the target object.
[0071] The image acquisition component 1020 is used to acquire multi-view images with deformed stripe images and target object images. The deformed stripe images are formed by projecting stripe patterns onto the target object.
[0072] In some embodiments of this disclosure, the image acquisition component 1020 can acquire images of the target object from different angles using multiple high-precision cameras. Since the multi-view images contain deformation stripe images, and the degree of deformation is directly related to the depth information of the target object's surface, the multi-view images contain the three-dimensional geometric information of the target object. The image acquisition component can use multiple industrial cameras (typically two monochrome cameras and one color camera) to acquire multi-view images containing deformation stripe images and images of the target object from different angles.
[0073] Processing component 1030 is used to reconstruct a three-dimensional model of a target object from a multi-view image, using the image of the stripes aligned in the deformed stripe image as a spatial reference.
[0074] In some embodiments of this disclosure, the processing component 1030 uses the image of the alignment stripes as a spatial reference for image reconstruction to calibrate or standardize the multi-view images acquired by the image acquisition component 1020, thereby improving the accuracy and stability of 3D reconstruction. The alignment stripes of the grating can be designed as geometric alignment marks. These alignment stripes do not participate in triangulation calculations; their function is to serve as a spatial reference (i.e., a spatial reference point or coordinate origin) in the stripe pattern for operations such as pixel-space alignment, viewpoint calibration, and reconstruction constraints during the reconstruction process.
[0075] In some embodiments of this disclosure, the alignment stripes are patterns generated by a grating and projected onto the surface of the target object, allowing multiple visible light bands (such as blue and green light) to pass through simultaneously. These alignment stripes possess high spectral transparency, enabling clear acquisition by different types of cameras (such as two monochrome cameras and one color camera), and also avoiding alignment errors caused by differences in color channels. This 3D modeling system utilizes alignment stripes to provide a unified spatial reference, allowing for rapid image alignment during image processing by calculating relative offsets. This reduces the precision requirements for alignment and tilt adjustment during the assembly phase of the image acquisition components, minimizing error accumulation. Furthermore, because the alignment stripes are coated with a visible light anti-reflection film, they possess advantages such as strong spectral compatibility, clear geometric features, and high image contrast. This allows for accurate capture even on complex backgrounds or surfaces with weak textures. Therefore, in practical applications, even if the stripe pattern projected onto the target object's surface cannot be fully resolved due to occlusion, reflection, or surface deformation, the alignment stripes can still serve as stable fusion anchor points, improving the robustness of 3D modeling.
[0076] The alignment stripes are typically located in the core region of the grating, possessing a clear geometric center or intersection. They serve as a spatial reference for image reconstruction and fusion, facilitating clear identification by multiple cameras simultaneously. These alignment stripes are usually geometrically unique, meaning their pattern is unique within the grating's stripe pattern. They can be symmetrical (e.g., centrally symmetric or axially symmetric) or asymmetrical. They typically exhibit shape distortion resistance, meaning their pattern should remain recognizable even under tilt or distortion. Furthermore, they possess consistent visibility across cameras, meaning images of the alignment stripes can be acquired from any angle. To improve the accuracy of 3D modeling, the alignment stripes should coexist with parallel stripes, minimizing interference with their extraction. These characteristics enable consistent recognition results across different cameras and facilitate image fusion, position calibration, and 3D reconstruction, significantly improving the 3D modeling system's tolerance to alignment errors and the registration accuracy of processing components.
[0077] The alignment stripes can be circular, square, L-shaped, T-shaped, star-shaped, etc. Among them, the circular stripe possesses complete symmetry, a unique center point, and strong resistance to rotational transformations, making it suitable for sub-pixel level precise positioning. The square stripe has clear boundaries and prominent corner features, making it suitable for edge detection and rectangle fitting, and beneficial for pose estimation. The L-shaped stripe contains a prominent corner point, which can be used to quickly extract edge and orientation information, occupying a small area. The T-shaped stripe has both horizontal and vertical structures, possesses directional features, and facilitates the separation of image principal axis features. The star-shaped stripe has multi-directional rays, rich feature information, and good robustness.
[0078] Specifically, to significantly improve the accuracy of 3D reconstruction and reduce debugging difficulty, the alignment stripes can be crosshair alignment stripes, with the distance between the center of the crosshair alignment stripes and the center of the grating being less than a distance threshold. This distance threshold is usually preset. It can be a pixel-level threshold, directly in image coordinate pixels, such as ±3 px, to ensure the intersection of the crosshair alignment stripes is within the sub-pixel positioning error range; or it can be a field-of-view scale threshold, set according to the radius or width of the grating projection onto the image plane (i.e., the plane where the lens in the image acquisition component focuses and images the projected image), such as setting the distance threshold to within 5% of the radius of the grating projection onto the image plane; or it can combine pixel-level and field-of-view scale thresholds, such as setting the distance threshold to the minimum of the pixel-level and field-of-view scale thresholds.
[0079] In some embodiments of this disclosure, a crosshair alignment stripe can be added to the center of the conventional vertical stripe coating etching surface of the grating. This added crosshair alignment stripe is coated with a visible light anti-reflection film, allowing laser light of any color to pass through, thus enabling all monochrome cameras to capture the crosshair alignment stripe. In this case, the grating 5 can be as follows: Figure 4 As shown. The grating 5 has four different stripes, namely stripe one (i.e., blue stripe) 1, stripe two (i.e., green stripe) 2, stripe three (i.e., white stripe) 3 and cross-aligned stripe 4; among them, stripe one (i.e., blue stripe) 1, stripe two (i.e., green stripe) 2 and stripe three (i.e., white stripe) 3 are arranged according to the coding rules to form parallel stripes.
[0080] The projection component magnifies and projects the stripe pattern of grating 5 onto the target object. Multiple cameras in the image acquisition component take pictures of the target object according to a time sequence. Some cameras can only capture view images with stripe 1 (blue stripe 1), stripe 3 (white stripe 3), and crosshair alignment stripe 4, while others can only capture view images with stripe 2 (green stripe 2), stripe 3 (white stripe 3), and crosshair alignment stripe 4. Subsequently, the processing component fuses the multi-view images acquired by each camera. Since each view image contains the crosshair alignment stripe 4, image localization and fusion can be achieved based on the feature points of the crosshair alignment stripe 4 image. Afterwards, the encoding combination can be confirmed based on the encoding table to achieve subsequent 3D reconstruction. Therefore, this 3D modeling system can achieve rapid localization of view images from multiple directions. This localization process provides a foundation for the subsequent reconstruction process, while reducing the running time of 3D modeling and improving 3D modeling efficiency.
[0081] In the process of 3D reconstruction, image information (including texture information, grayscale values, or morphological features) from the 3D reconstructed image needs to be stitched together (texturing) to obtain the texture reconstruction image corresponding to the target object. The aforementioned 3D reconstructed image originates from the projection image of the raster onto the target object. Using the color of the stripes as spatial encoding information is advantageous because color-based spatial encoding is easy to recognize and can improve recognition accuracy. Furthermore, only a single 2D image at a given moment is needed to achieve 3D and texture reconstruction of the target object, improving the reconstruction efficiency and image quality of both. The generation speed is fast, enhancing the efficiency and accuracy of image stitching and texture stitching. The encoding rules for 3D reconstruction are reflected in the arrangement of blue, green, and white stripes. For example, the encoding rule can be preset as blue=1, green=2, white=3. When arranged in the pattern of green-blue-blue-green-white-blue-green-white-blue-green-white-blue-blue-blue-white-blue-green-white-blue-green-blue, the encoding sequence is (2,1,1,2,3,1,2,3,1,2,2,3,1,2,1,2,3,1,2,1,2,3,1,2,3,1,2,1). Each "unique local substring combination" or "striped unit with a unique context" in the encoding sequence can be used as a feature point for localization and recognition. The projected image under this encoding rule can be regarded as an encoded light plane with a known spatial arrangement. Since there is a fixed pixel-level correspondence between the blue and green stripes in the encoded pattern, stripe matching and image fusion alignment of cross-view images can be achieved by identifying the positions of stripes with the same encoding value in the projected images acquired from different camera perspectives, thereby providing accurate geometric constraints for subsequent 3D reconstruction.
[0082] In some embodiments of this disclosure, the parallel stripes may specifically be monochrome stripes (e.g., stripes coated with a pure blue, pure green, or pure white antireflective film). The principle is to use only a single wavelength or narrowband light source in the projection component and to use a corresponding bandpass filter at the image acquisition component end, so that only the stripe of that color is acquired while others are suppressed, thereby forming a clear stripe pattern with high contrast and low background noise.
[0083] Parallel stripes can also be specifically colored stripes (i.e., stripes that include multiple visible light colors, such as a combination of stripes coated with blue, green and red anti-reflective films, etc.). The principle is to project stripe patterns composed of multiple visible light colors through a projection component. Each color stripe carries independent spatial coding information. The image acquisition component uses its respective color channel to capture stripes of different colors. After decoding, multiple sets of geometric information can be obtained in a single frame.
[0084] At this point, the parallel stripes can specifically include stripes coated with blue, green and white antireflective films. Colored stripes coated with blue, green and white antireflective films can carry multiple coded information within the same frame, taking into account both high signal-to-noise ratio and broad spectral compatibility, and can achieve fast, artifact-free and high-precision dynamic 3D reconstruction.
[0085] Regarding the image acquisition component 1020, in some embodiments of this disclosure, it may include, for example... Figure 5 The blue light camera 1021, green light camera 1022, and color camera 1023 are shown.
[0086] Among them, the blue light camera 1021 can be a black and white industrial camera equipped with a blue light narrowband filter, used to receive and analyze the blue light structured light stripe pattern projected by the projection component.
[0087] The green light camera 1022 can be a monochrome industrial camera equipped with a green light narrowband filter, used to receive and analyze the green light structured light stripe pattern projected by the projection component.
[0088] The color camera 1023 can be a monochrome industrial camera without a color filter or a wide-bandwidth white light filter, used to simultaneously acquire color surface information of the target object during projection.
[0089] By combining the three types of cameras mentioned above, high-precision geometric acquisition, good material adaptability, and realistic texture reproduction can be achieved simultaneously in 3D modeling, thereby improving the overall modeling quality and visual effects.
[0090] Specifically, the blue narrowband filter and / or green narrowband filter can be specifically tunable bandpass filters to enable the blue light camera and / or green light camera to have selective band response capabilities, improving the flexibility, accuracy, and intelligence of structured light image acquisition. It can also reduce the number of hardware components in the image acquisition assembly, increasing its compactness.
[0091] In some embodiments of this disclosure, the blue light camera and / or green light camera may be equipped with a polarizer. A polarizer can be placed in front of the lens of the blue light camera and / or green light camera, and the polarization direction of the polarizer can be adjusted according to the surface material of the target object, the polarization direction of the light source of the 3D modeling system, etc. The polarizer provided in the blue light camera and / or green light camera can specifically be an adjustable polarizer, such as a liquid crystal adjustable polarizer, a photoelectric polarizer, a motor-driven rotary polarizer, etc., to achieve rapid adjustment of the polarization direction, thereby effectively suppressing reflection interference and enhancing surface details, which has a significant effect on improving image quality and 3D modeling accuracy.
[0092] When a polarizer is installed in the green light camera, a polarizer can also be set for the light source of the 3D modeling system at the same time, and an orthogonal polarization layout can be adopted, thereby significantly suppressing specular reflection, enhancing surface texture and details, and effectively improving 3D modeling and image quality.
[0093] By using polarizers in blue light cameras, specular interference from highly reflective surfaces in high-resolution imaging can be significantly suppressed, enhancing the clarity of fine structures. Similarly, by using polarizers in green light cameras, the contrast of surface textures on target objects can be effectively improved, reducing interference from reflected light.
[0094] In some embodiments of this disclosure, the blue light camera and / or green light camera and / or color camera may be equipped with a near-infrared imaging module. This near-infrared imaging module may specifically be a narrowband infrared filter (e.g., 850±10nm), which may be positioned in front of the lens of the blue light camera and / or green light camera and / or color camera.
[0095] Blue light cameras and / or green light cameras and / or color cameras can employ beam splitting or dual-field-of-view lenses to separate infrared and visible light paths within the same lens system, avoiding multi-camera calibration errors and improving the integration of the 3D modeling system.
[0096] By equipping the blue light camera with a near-infrared imaging module, the insufficient penetration of blue light in transparent / semi-transparent materials can be compensated for, improving the ability to detect deep contours. By equipping the green light camera with a near-infrared imaging module, effective image data can be acquired even in low-light or nighttime environments, on transparent or highly reflective surfaces, and on objects with indistinct textures, thus providing more reliable input for 3D modeling. By equipping the color camera with a near-infrared imaging module, functions such as texture detail enhancement, physical segmentation, and background culling can be achieved.
[0097] In some embodiments of this disclosure, the processing component 1030 is specifically used for: extracting deformation stripe images from each view image; extracting alignment stripe images from the deformation stripe images; using the alignment stripe images as a spatial reference to perform coordinate alignment on the multi-view images to obtain aligned images; decoding and calculating the phase of the parallel stripes in the aligned images to obtain phase information; generating three-dimensional point cloud data of the target object based on the aligned images and phase information; and performing meshing processing on the three-dimensional point cloud data to obtain a three-dimensional model of the target object. Through the above steps, accurate three-dimensional reconstruction of the target object can be achieved, ultimately generating a high-quality three-dimensional model.
[0098] The process of extracting the aligned stripe image from the deformed stripe image can specifically include: performing background removal and reflection suppression processing on the deformed stripe image to obtain a processed image; and inputting the processed image into a deep learning model to obtain the aligned stripe image. Background removal can employ color segmentation, image differencing, foreground segmentation algorithms, etc.; reflection suppression can employ multi-exposure fusion methods, image inpainting methods, etc. The network architecture of the deep learning model can be UNet, ResNet+FPN, GAN-based, etc.
[0099] By removing backgrounds and reflections through background removal and reflection suppression, and combining this with deep learning models for image detection, the stability and robustness of stripe localization in complex environments can be significantly improved, ensuring that the 3D modeling system can still operate at high quality under multiple material and lighting conditions.
[0100] Coordinate alignment can be achieved using feature point matching methods, including: detecting feature points (such as prominent corner points, edge points, or texture points) in the surface image of the target object acquired by the image acquisition component using scale-invariant feature transformation algorithms or accelerated file feature algorithms; representing the feature points as descriptor vectors and finding the most similar point pairs (i.e., matched point pairs) in different images using brute-force matching methods or approximate nearest neighbor algorithms; calculating the geometric transformation relationship between the two images based on the matched point pairs; and performing coordinate alignment based on the geometric transformation relationship. Feature point matching can automatically find corresponding points between images and perform coordinate alignment accordingly, significantly improving the robustness and flexibility of image registration in 3D modeling systems.
[0101] During decoding and phase calculation, denoising algorithms can be used to improve the quality of the phase map, and phase retrieval algorithms can be used to eliminate artifacts and errors, thereby improving modeling accuracy and surface quality. In the process of meshing 3D point cloud data, optimization methods such as outlier removal, noise suppression and smoothing, filling sparse regions in the point cloud, and point cloud alignment optimization can be used to reduce reconstruction errors, remove invalid points, and thus improve the quality of the meshed input.
[0102] The process of meshing 3D point cloud data may include: estimating the normal of each point in the 3D point cloud data using principal component analysis or neighborhood fitting; constructing a gradient field based on the points and their normals in the 3D point cloud data; solving for the scalar field that makes the gradient field closest to the true boundary; and extracting isosurfaces from the scalar field to obtain the 3D model of the target object.
[0103] Regarding the projection component 1010, in some embodiments of this disclosure, it may include, for example... Figure 6 The light source module 1011, grating 1012 and projection module 1013 are shown.
[0104] The light source module 1011 is used to provide the light required for projection; The stripe pattern includes a grating 1012 with parallel stripes and aligned stripes; The projection module 1013 is used to project the stripe pattern of the grating onto the target object to be modeled.
[0105] The projection component can focus and project a clear image based on the light source module 1011, the grating 1012 and the projection module 1013, achieving a display effect with high brightness and high contrast.
[0106] In some embodiments of this disclosure, the projection component 1010 may also include one or more of the following: a frequency control module 1014, a phase modulation module 1015, an optical path control module 1016, a cooling module 1017, a motion scanning module 1018, an ambient light suppression module 1019, and a synchronization control module 1041.
[0107] Among them, the frequency control module is used to control the spacing of the parallel stripes generated by the grating according to the properties of the target object; A phase modulation module is used to control the phase of the stripes generated by the grating; The optical path control module is used to control the path of the light provided by the light source module; The cooling module is used to cool and dissipate heat from the light source module and the projection module. The motion scanning module is used to control the position of the light source module and the projection module, and to scan and stitch the projected pattern by region; Ambient light suppression module, used to suppress ambient light interference; The synchronization control module is used to control the time synchronization between the projection module and the image acquisition component.
[0108] When the projection assembly 1010 further includes a frequency control module 1014, a phase modulation module 1015, an optical path control module 1016, a cooling module 1017, a motion scanning module 1018, an ambient light suppression module 1019, and a synchronization control module 1041, the structure of the projection assembly 1010 is as follows:Figure 7 As shown. When the projection component 1010 also includes the aforementioned modules, the structure of the projection component 1010 is the same as... Figure 7 The similarity shown.
[0109] The projection component 1010, through its frequency control module 1014, can dynamically adjust the spatial frequency of the projected stripes to adapt to different object textures and reflection characteristics, thereby improving decoding resolution and robustness. Through its phase modulation module 1015, the projection component 1010 can control the phase change of the stripe pattern, supporting multi-step phase shifting technology to acquire high-precision phase information and achieve sub-pixel-level depth reconstruction. Through its optical path control module 1016, the projection component 1010 can achieve precise projection direction adjustment, beam shaping, and pattern optimization. Through its cooling module 1017, the projection component 1010 can maintain stable operating temperatures for the power supply, drive circuits, and other structures, improving pattern stability, device lifespan, and imaging consistency. Through its motion scanning module 1018, the projection component 1010 can reduce system costs and expand the measurement range. Through its ambient light suppression module 1019, the projection component 1010 can effectively suppress ambient light interference, improving pattern contrast and imaging signal-to-noise ratio. Through its synchronization control module 1041, the projection component 1010 can achieve full-time synchronization of pattern acquisition and motion trajectory.
[0110] The 3D modeling system disclosed herein can determine the relative position of two target object surface images based on alignment stripes during actual work, thereby achieving rapid positioning and fusion of the two target object surface images, thus improving algorithm accuracy and reducing the difficulty of centering and tilt adjustment.
[0111] like Figure 8 As shown, the hardware architecture of an electronic device / device, including a 3D modeling system, can be implemented using a bus architecture. The bus architecture can include any number of interconnect buses and bridges, depending on the specific application and overall design constraints of the hardware. Bus 1100 connects various circuits including one or more processors 1200, memory 1300, and / or hardware modules. Bus 1100 can also connect various other circuits 1400 such as peripherals, voltage regulators, power management circuits, external antennas, etc. Bus 1100 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, only one connection line is used in this figure, but this does not indicate that there is only one bus or one type of bus.
[0112] For ease of explanation, certain steps of the above method are described in relation to modules. It should be understood that the corresponding module performing one or more steps of the above method may be one or more hardware modules specifically configured to perform the corresponding step, or implemented by a processor configured to perform the corresponding step, or stored in a computer-readable medium for implementation by a processor, or implemented by some combination thereof.
[0113] This disclosure also provides a readable storage medium storing a computer program that, when executed by a processor, performs the functions described above. A "readable storage medium" can be any means capable of containing, storing, communicating, propagating, or transmitting a program for use by or in conjunction with an instruction execution system, apparatus, or device. More specific examples of readable storage media include: an electrical connection with one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable read-only memory (CDROM), etc.
[0114] This disclosure also provides a computer program product, the methods of which can be implemented wholly or partially through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented wholly or partially as a computer program product. A computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed, all or part of the processes or functions of this disclosure are performed.
[0115] Computer programs or instructions can be stored in a readable storage medium or transferred from one readable storage medium to another. For example, a computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. A readable storage medium can be any accessible medium or a data storage device such as a server or data center that integrates one or more accessible media. The accessible medium can be magnetic media, such as floppy disks, hard disks, and magnetic tapes; optical media, such as digital video discs; or semiconductor media, such as solid-state drives. The computer-readable storage medium can be volatile or non-volatile, or it can include both types of storage media.
[0116] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0117] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0118] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0119] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0120] In the description of this specification, the references to terms such as "one embodiment / mode," "some embodiments / modes," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, or characteristic described in connection with that embodiment / mode or example is included in at least one embodiment / mode or example of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment / mode or example. Moreover, the specific features, structures, or characteristics described may be combined in any suitable manner in one or more embodiments / modes or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments / modes or examples described in this specification, as well as the features of different embodiments / modes or examples.
[0121] Those skilled in the art should understand that the above embodiments are merely for illustrating the present disclosure and are not intended to limit the scope of the disclosure. Those skilled in the art can make other changes or modifications based on the above disclosure, and these changes or modifications still fall within the scope of the present disclosure.
Claims
1. A three-dimensional modeling method, characterized in that, include: The stripe pattern of the grating is projected onto the target object to be modeled. The stripe pattern of the grating includes parallel stripes and aligned stripes, and the aligned stripes are coated with a visible light anti-reflection film. Acquire multi-view images containing a deformed stripe image and a target object image, wherein the deformed stripe image is formed by projecting the stripe pattern onto the target object; Using the image of the aligned stripes in the deformed stripe image as a spatial reference, a three-dimensional model of the target object is reconstructed based on the multi-view image.
2. The three-dimensional modeling method as described in claim 1, characterized in that, Using the image of the aligned stripes in the deformed stripe image as a spatial reference, reconstructing a three-dimensional model of the target object based on the multi-view image includes: Extract the deformation stripe image from each view image separately; Extract the image of the aligned stripes from the image of the deformed stripes; Using the image of the alignment stripes as a spatial reference, the multi-view image is coordinate aligned to obtain the aligned image; The parallel stripes in the aligned image are decoded and phase calculated to obtain phase information; The three-dimensional point cloud data of the target object is generated based on the aligned image and the phase information; The three-dimensional point cloud data is processed into a mesh to obtain a three-dimensional model of the target object.
3. A three-dimensional modeling system, characterized in that, include: A projection assembly with a grating is provided, which is used to project the stripe pattern of the grating onto a target object to be modeled; the stripe pattern of the grating includes parallel stripes and aligned stripes, and the aligned stripes are coated with a visible light anti-reflection film. An image acquisition component is used to acquire multi-view images with deformed stripe images and target object images, wherein the deformed stripe images are formed by projecting the stripe pattern onto the target object; A processing component is used to reconstruct a three-dimensional model of the target object based on the multi-view image, using the image of the alignment stripes in the deformed stripe image as a spatial reference.
4. The three-dimensional modeling system as described in claim 3, characterized in that, The alignment stripes include: Cross alignment stripes, wherein the distance between the center of the cross alignment stripes and the center of the grating is less than a distance threshold.
5. The three-dimensional modeling system as described in claim 3 or 4, characterized in that, The parallel stripes are stripes coated with blue, green and white antireflective films.
6. The three-dimensional modeling system as described in claim 3 or 4, characterized in that, The image acquisition component includes: Blu-ray cameras, green-light cameras, and color cameras.
7. The three-dimensional modeling system as described in claim 6, characterized in that, The blue light camera and / or the green light camera are equipped with polarizers; and / or The blue light camera and / or the green light camera and / or the color camera are equipped with a near-infrared imaging module.
8. The three-dimensional modeling system as described in claim 3 or 4, characterized in that, The processing component is specifically used for: Extract the deformation stripe image from each view image separately; Extract the image of the aligned stripes from the image of the deformed stripes; Using the image of the alignment stripes as a spatial reference, the multi-view image is coordinate aligned to obtain the aligned image; The parallel stripes in the aligned image are decoded and phase calculated to obtain phase information; The three-dimensional point cloud data of the target object is generated based on the aligned image and the phase information; The three-dimensional point cloud data is processed into a mesh to obtain a three-dimensional model of the target object.
9. The three-dimensional modeling system as described in claim 8, characterized in that, Extracting the image of the aligned stripes from the deformed stripe image includes: The deformed stripe image is subjected to background removal and reflection suppression processing to obtain the processed image; The processed image is input into a deep learning model to obtain the image of the alignment stripes.
10. The three-dimensional modeling system as described in claim 3 or 4, characterized in that, The projection component includes: The light source module is used to provide the light required for projection; Striped patterns include gratings with parallel stripes and aligned stripes; A projection module is used to project the stripe pattern of the grating onto the target object to be modeled; Optionally, the projection component further includes: One or more of the following: frequency control module, phase modulation module, optical path control module, cooling module, motion scanning module, ambient light suppression module, and synchronization control module; The frequency control module is used to control the spacing of the parallel stripes generated by the grating according to the properties of the target object; The phase modulation module is used to control the phase of the stripes generated by the grating; The optical path control module is used to control the path of the light provided by the light source module; The cooling module is used to cool and dissipate heat from the light source module and the projection module. The motion scanning module is used to control the positions of the light source module and the projection module, and to scan and stitch the projected pattern by region. The ambient light suppression module is used to suppress ambient light interference; The synchronization control module is used to control the time synchronization between the projection module and the image acquisition component.
