Image distortion correction method and device, medium and equipment

By positioning the structured light illumination measurement system for the first time and again, and using a ten-parameter calibration model to calibrate the internal parameters of the camera, the image distortion problem was solved and the image quality and measurement accuracy were improved.

CN118552453APending Publication Date: 2024-08-27CHENGDU AIRCRAFT INDUSTRY GROUP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410481198.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The measurement input end of the structured light illumination measurement system is affected by image distortion, which reduces the quality of the collected images and affects the measurement accuracy.

Method used

By initially positioning the object to be measured, the camera's imaging field of view is aligned with the surface of the object to be measured, and then positioning again so that the surface of the object to be measured is within the focal depth range of the camera, and a ten-parameter calibration model is used to determine the internal parameters of the camera. Perform calibration to correct image distortion.

Benefits of technology

Effectively correct the distortion of collected images, improve image quality, and improve measurement accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552453A
    Figure CN118552453A
Patent Text Reader

Abstract

The embodiment of the invention discloses an image distortion correction method and device, a medium and equipment, and relates to the technical field of digital measurement, and the method comprises the steps: carrying out the primary positioning of a to-be-measured object, so as to enable an imaging field of view of a camera of a structured light illumination measurement system to be aligned with the surface of the to-be-measured object; re-positioning the to-be-measured object to enable the surface of the to-be-measured object to be within the focal depth range of the camera; and calibrating the internal parameters of the camera by using the ten-parameter calibration model so as to realize image distortion correction. Firstly, the imaging field of view of the camera is aligned with the surface of the to-be-measured object, the measurement efficiency is improved, then the surface of the to-be-measured object is located in the focal depth range of the camera, clear imaging is ensured, finally, the parameters in the camera are calibrated through the ten-parameter calibration model, the image distortion degree is reduced, and the measurement accuracy is improved. The calibrated camera is used as the input end of the structured light measurement illumination system for image acquisition, so that the distortion of the acquired image can be effectively corrected, and the quality of the acquired image is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of digital measurement technology, and in particular to an image distortion correction method, device, medium and equipment. Background Art

[0002] The structured light illumination measurement system can establish a mapping relationship between the stripes and the actual size of the object by projecting sinusoidal grating stripes and real-time imaging with the camera, thereby restoring the three-dimensional shape of the object. Therefore, the quality of the original image as the measurement input directly determines the final measurement accuracy. However, the input end is currently affected by the distortion of the acquired image, resulting in a decrease in the quality of the original image. Summary of the invention

[0003] The main purpose of the present application is to provide an image distortion correction method, device, medium and equipment, aiming to solve the problem in the prior art that the measurement input end of the structured light illumination measurement system is affected by image distortion, resulting in reduced quality of the collected image.

[0004] To achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows:

[0005] In a first aspect, an embodiment of the present application provides an image distortion correction method, which is applied to a structured light illumination measurement system, comprising the following steps:

[0006] Initially positioning the object to be measured so that the imaging field of view of the camera of the structured light illumination measurement system is aligned with the surface of the object to be measured;

[0007] Reposition the object to be measured so that the surface of the object to be measured is within the focal depth of the camera;

[0008] The ten-parameter calibration model is used to calibrate the intrinsic parameters of the camera to achieve image distortion correction.

[0009] In a possible implementation manner of the first aspect, before initially positioning the object to be measured so that the imaging field of view of a camera of the structured light illumination measurement system is aligned with the surface of the object to be measured, the method further includes:

[0010] Build a structured light illumination measurement system based on light source, lens and camera.

[0011] In a possible implementation manner of the first aspect, the light source is a white light source.

[0012] In a possible implementation of the first aspect, after calibrating the intrinsic parameters of the camera using the ten-parameter calibration model to achieve image distortion correction, the method further includes:

[0013] The sinusoidal grating fringes with a fixed phase difference are cyclically projected onto the surface of the object to be measured;

[0014] The image of the object to be measured under each projection is collected to obtain an image sequence; wherein the image sequence is used for optical measurement post-processing.

[0015] In a possible implementation manner of the first aspect, before cyclically projecting sinusoidal grating fringes with a fixed phase difference onto the surface of the object to be measured, the method further includes:

[0016] Sinusoidal grating fringes with zero phase difference are projected onto the surface of the object to be measured.

[0017] In a possible implementation manner of the first aspect, before cyclically projecting sinusoidal grating fringes with a fixed phase difference onto the surface of the object to be measured, the method further includes:

[0018] Sinusoidal grating patterns with fixed phase difference are generated based on digital micromirror array.

[0019] In a possible implementation manner of the first aspect, before generating sinusoidal grating stripes with a fixed phase difference based on a digital micromirror array, the method further includes:

[0020] The positions of the digital micromirror array and the camera are adjusted so that the digital micromirror array and the camera are in optically conjugate positions.

[0021] In a second aspect, an embodiment of the present application provides an image distortion correction device, which is applied to a structured light illumination measurement system, including:

[0022] The initial positioning module is used to initially position the object to be measured so that the imaging field of the camera of the structured light illumination measurement system is aligned with the surface of the object to be measured;

[0023] A re-positioning module, which is used to re-position the object to be measured so that the surface of the object to be measured is within the focal depth range of the camera;

[0024] Calibration module,The calibration module is used to calibrate the intrinsic parameters of the camera using a ten-parameter calibration model to achieve image distortion correction.

[0025] In a third aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, the image distortion correction method provided in any one of the first aspects above is implemented.

[0026] In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein:

[0027] The memory is used to store computer programs;

[0028] The processor is used to load and execute a computer program so that the electronic device executes the image distortion correction method provided in any one of the first aspects above.

[0029] Compared with the prior art, the beneficial effects of this application are:

[0030] The present application proposes an image distortion correction method, device, medium and equipment, the method comprising: initially positioning the object to be measured so that the imaging field of view of the camera of the structured light illumination measurement system is aligned with the surface of the object to be measured; re-positioning the object to be measured so that the surface of the object to be measured is within the focal depth of the camera; using a ten-parameter calibration model, calibrating the internal parameters of the camera to achieve image distortion correction. The present application first performs an initial positioning of the object to be measured, aligning the imaging field of the camera with the surface of the object to be measured to improve the efficiency of the measurement, and then re-positions the object to be measured so that the surface of the object to be measured is within the focal depth of the camera to ensure clear imaging, and finally uses a ten-parameter calibration model to calibrate the internal parameters of the camera to reduce the degree of image distortion, and uses the calibrated camera as the input end of the structured light measurement illumination system to perform image acquisition, which can effectively correct the distortion of the acquired image and improve the quality of the acquired image. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of the structure of an electronic device of a hardware operating environment involved in an embodiment of the present application;

[0032] Figure 2 A schematic diagram of a flow chart of an image distortion correction method provided in an embodiment of the present application;

[0033] Figure 3 A schematic diagram of the structure of the structured light illumination measurement system in the method provided in an embodiment of the present application;

[0034] Figure 4 A schematic diagram of a module of an image distortion correction device provided in an embodiment of the present application;

[0035] Markings in the figure: 101-processor, 102-communication bus, 103-network interface, 104-user interface, 105-memory, 1-digital micromirror array, 2-first lens, 3-camera imaging system, 4-second lens, 5-beam splitter, 6-microscope lens, 7-displacement stage. DETAILED DESCRIPTION

[0036] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0037] The main solutions of the embodiments of the present application are: to initially position the object to be measured so that the imaging field of view of the camera of the structured light illumination measurement system is aligned with the surface of the object to be measured; to reposition the object to be measured so that the surface of the object to be measured is within the focal depth of the camera; and to calibrate the intrinsic parameters of the camera using a ten-parameter calibration model to achieve image distortion correction.

[0038] At present, high-precision devices are widely used in precision machining, aerospace, quantum communication, biomedicine and other fields. High-precision devices refer to functional devices with geometric dimensions in the micrometer or even nanometer range. They play an irreplaceable role in the development of the national economy and national defense science and technology, and are of great significance to promoting social and economic development. The related precision technologies derived from high-precision devices are representatives of modern industrial cutting-edge technologies, and their related technical levels have become an important indicator for measuring national science and technology and industrial development. The surface features of high-precision structures, such as size and morphology, have a decisive influence on the physical and chemical properties of high-precision devices. For example, the surface reflectivity of optical devices is greatly affected by their surface morphology. Therefore, high-precision measurement technology has become a frontier and hot topic for domestic and foreign scholars.

[0039] The high-precision three-dimensional measurement method based on structured light illumination does not have the problems of phase ambiguity and phase loss in the interferometric measurement method. It has a wide range of applicable scenarios, belongs to surface measurement, and has high measurement efficiency. Therefore, it is considered to be a very promising measurement method. The structured light measurement system actively projects sinusoidal grating stripes onto the surface of the object to be measured, and controls the camera system for real-time imaging. It further establishes a mapping relationship between the stripe modulation and the object height information through a high-precision modulation analysis algorithm to achieve three-dimensional morphology recovery. Therefore, the quality of the original image as the measurement input directly determines the modulation demodulation accuracy and the final three-dimensional measurement accuracy. At present, the structured light measurement system usually uses industrial cameras as the image acquisition system. The distortion of the original image leads to reduced image quality, which greatly limits the measurement accuracy of the structured light measurement system.

[0040] To this end, the present application provides a solution, which first performs an initial positioning of the object to be measured so that the camera's imaging field of view is aligned with the surface of the object to be measured to improve the measurement efficiency, and then performs a re-positioning so that the surface of the object to be measured is within the focal depth of the camera to ensure clear imaging. Finally, a ten-parameter calibration model is used to calibrate the internal parameters of the camera to reduce the degree of image distortion. The calibrated camera is used as the input end of the structured light measurement illumination system for image acquisition, which can effectively correct the distortion of the acquired image and improve the quality of the acquired image.

[0041] Refer to the attached Figure 1 , attached Figure 1This is a schematic diagram of the structure of an electronic device of the hardware operating environment involved in the embodiment of the present application. The electronic device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 104 may also include a standard wired interface and a wireless interface. The network interface 103 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 105 may optionally be a storage device independent of the aforementioned processor 101. The memory 105 may be a high-speed random access memory (RAM) memory, or it may be a stable non-volatile memory (NVM), such as at least one disk storage; the processor 101 may be a general-purpose processor, including a central processing unit, a network processor, etc., or it may be a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.

[0042] Those skilled in the art will appreciate that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0043] As attached Figure 1 As shown, the memory 105 as a storage medium may include an operating system, a network communication module, a user interface module and an image distortion correction device.

[0044] In the attached Figure 1 In the electronic device shown, the network interface 103 is mainly used for data communication with a network server; the user interface 104 is mainly used for data interaction with a user; the processor 101 and the memory 105 in the present application can be set in the electronic device, and the electronic device calls the image distortion correction device stored in the memory 105 through the processor 101, and executes the image distortion correction method provided in the embodiment of the present application.

[0045] Refer to the attached Figure 2 Based on the hardware device of the aforementioned embodiment, the embodiment of the present application provides an image distortion correction method, which is applied to a structured light illumination measurement system, and includes the following steps:

[0046] S10: Initially positioning the object to be measured so that the imaging field of view of the camera of the structured light illumination measurement system is aligned with the surface of the object to be measured.

[0047] In the specific implementation process, the object to be measured is a high-precision device that needs to be measured in high-precision three-dimensional form, such as an optical device used in aerospace. Structured light is a system structure composed of a projector and a camera. After the projector projects specific light information onto the surface of the object and the background, the camera collects the information and calculates the position and depth of the object based on the changes in the light signal caused by the object, thereby restoring the entire three-dimensional space. The measurement system established on this basis is called a structured light illumination measurement system. Figure 3 , which is a schematic diagram of the structure of a structured light illumination measurement system under an implementation mode, includes a digital micromirror array 1, a lens, a camera imaging system 3, i.e., a camera, a beam splitter 5, and a microscope lens 6.

[0048] The imaging field of view is used to describe the imaging range on the object and image plane of the imaging optical system. Aligning the camera's imaging field of view with the surface of the object to be measured enables the camera to capture the object to be measured during subsequent calibration and measurement, thereby improving measurement efficiency. The object to be measured can be further adjusted to be in the middle of the field of view to improve imaging quality.

[0049] S20: repositioning the object to be measured so that the surface of the object to be measured is within the focal depth range of the camera.

[0050] In the specific implementation process, the initial positioning is to adjust the relative position of the object to be measured and the camera based on the field of view, and the secondary positioning is to adjust based on the imaging quality. The depth of focus refers to the distance of the object point behind the lens along the axis of the imager at which a clearer image can be obtained. By adjusting the surface of the object to be measured to be within the focal depth of the camera, the clarity of the image can be ensured.

[0051] S30: calibrating the intrinsic parameters of the camera using a ten-parameter calibration model to achieve image distortion correction.

[0052] In the specific implementation process, camera calibration refers to the process of establishing a camera imaging model in order to determine the relationship between the three-dimensional geometric position of a point on the surface of a spatial object and its corresponding point in the image during the digital image correlation process. These geometric model parameters are the camera parameters. The principal point coordinates, focal length, radial distortion, tangential distortion, and distortion in the image plane are solved as a whole. There are a total of ten parameters, so it is called a ten-parameter calibration model. The ten-parameter calibration model is used to calibrate the camera's internal parameters, accurately correct the imaging point coordinates, reduce the degree of camera imaging distortion, and improve the imaging quality of the calibrated camera.

[0053] Calibrate the internal parameters of the camera to reduce the degree of camera imaging distortion, ensure high-quality imaging of the surface of the object to be measured, and the imaging quality of the sinusoidal grating fringes when post-processing is required. The imaging model of the camera can be expressed as:

[0054]

[0055] Among them, (x, y) is the image point coordinates, (x0, y0) is the image principal point coordinates, f is the camera focal length, (X, Y, Z) is the corresponding object point coordinates, (X s ,Y s ,Z s ) is the coordinate of the camera station, (a i ,b i ,c i )(i=1,2,3) are the elements of the rotation matrix, and (Δx,Δy) are the image point deviations caused by camera distortion. The error can be solved by listing the equations according to multiple landmark points, and then the image point coordinates can be compensated.

[0056] In this embodiment, the object to be measured is first positioned for the first time, so that the imaging field of the camera is aligned with the surface of the object to be measured to improve the measurement efficiency, and then it is positioned again so that the surface of the object to be measured is within the focal depth of the camera to ensure clear imaging. Finally, the ten-parameter calibration model is used to calibrate the internal parameters of the camera to reduce the degree of image distortion. The calibrated camera is used as the input end of the structured light measurement illumination system for image acquisition, which can effectively correct the distortion of the acquired image and improve the quality of the acquired image.

[0057] In one embodiment, before initially positioning the object to be measured so that the imaging field of view of the camera of the structured light illumination measurement system is aligned with the surface of the object to be measured, the method further includes:

[0058] Build a structured light illumination measurement system based on light source, lens and camera.

[0059] In the specific implementation process, the structural diagram of the structured light illumination measurement system is shown in the attached figure. Figure 3As shown, the hardware required for construction mainly includes a light source, a lens and a camera. The lens is used to gather light, including a first lens 2 and a second lens 4. The camera, that is, a camera imaging system 3, is used to collect images. The light source can use a white light source, so that the illumination measurement system can reduce the error introduced by interference fringes. In other embodiments, the structured light illumination measurement system can also include a mobile stage 7, a digital micromirror array 1, a spectroscope 5, and a microscope lens 6. The microscope lens 6 is used to magnify the area to be measured, and the mobile stage 7 is used to carry the object to be measured for movement and adjustment to achieve re-positioning. The spectroscope 5 is used for splitting light. Use the calibrated camera for real-time imaging, cyclic projection and cyclic acquisition of images, store the collected imaging pictures in a computer, and perform optical measurement post-processing, that is: use a ten-parameter calibration model to calibrate the internal parameters of the camera to achieve image distortion correction. The method also includes:

[0060] The sinusoidal grating fringes with a fixed phase difference are cyclically projected onto the surface of the object to be measured;

[0061] The image of the object to be measured under each projection is collected to obtain an image sequence; wherein the image sequence is used for optical measurement post-processing.

[0062] The digital micromirror array (DMD) is used to generate a sinusoidal grating phase-shifted fringe pattern for projection, that is, before cyclically projecting sinusoidal grating fringes with a fixed phase difference onto the surface of the object to be measured, the method further includes:

[0063] Sinusoidal grating patterns with fixed phase difference are generated based on digital micromirror array.

[0064] In the post-processing of optical measurement, such as subsequent data processing and analysis, experimental research, or restoration of three-dimensional morphology, the digital micromirror array 1 generates a set of four full-cycle sinusoidal grating phase-shifted fringe patterns with a phase difference of π / 2. Before cyclic projection, the sinusoidal grating fringe pattern with an initial phase difference of 0 is first projected onto the surface of the object to be measured, that is, before cyclically projecting the sinusoidal grating fringes with a fixed phase difference onto the surface of the object to be measured, the method further includes:

[0065] Project sinusoidal grating fringes with zero phase difference onto the surface of the object to be measured.

[0066] After the initial projection, the calibrated camera is used for real-time imaging. The sinusoidal grating fringe pattern with a phase difference of π / 2 is cyclically projected and cyclically collected. The intensity distribution of the sinusoidal grating fringe I(x, y; z) can be expressed as:

[0067]

[0068] Among them, I0 represents the background light intensity, M(x, y; z) is the modulation information containing the depth information of the object to be measured, f0 represents the normalized frequency of the projection grating, and φ0 represents the phase information.

[0069] In one embodiment, before generating sinusoidal grating stripes with a fixed phase difference based on a digital micromirror array, the method further includes:

[0070] The positions of the digital micromirror array and the camera are adjusted so that the digital micromirror array and the camera are in optically conjugate positions.

[0071] In the specific implementation process, in order to improve the imaging quality and achieve synchronous clarity or blurriness of the projected sinusoidal grating stripes and the surface of the object to be measured, when the digital micromirror array 1 is introduced, the position of the digital micromirror array 1 and the camera also needs to be adjusted during the construction of the structured light illumination measurement system to ensure that they are in an optically conjugate position. Specifically, it is necessary to ensure that the distance from the DMD target surface to the first lens 2 and the distance from the camera target surface to the second lens 4 are equal.

[0072] Refer to the attached Figure 4 Based on the same inventive concept as in the above-mentioned embodiment, the embodiment of the present application further provides an image distortion correction device, which is applied to a structured light illumination measurement system, comprising:

[0073] The initial positioning module is used to initially position the object to be measured so that the imaging field of the camera of the structured light illumination measurement system is aligned with the surface of the object to be measured;

[0074] A re-positioning module, which is used to re-position the object to be measured so that the surface of the object to be measured is within the focal depth range of the camera;

[0075] Calibration module,The calibration module is used to calibrate the intrinsic parameters of the camera using a ten-parameter calibration model to achieve image distortion correction.

[0076] Those skilled in the art should understand that the division of the various modules in the embodiment is only a division of logical functions, and can be fully or partially integrated into one or more actual carriers in actual application, and these modules can be all implemented in the form of software called by the processing unit, or all implemented in the form of hardware, or implemented in the form of a combination of software and hardware. It should be noted that the modules in the image distortion correction device in this embodiment correspond one-to-one to the steps in the image distortion correction method in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned image distortion correction method, which will not be repeated here.

[0077] Based on the same inventive concept as in the aforementioned embodiment, an embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, an image distortion correction method as provided in the embodiment of the present application is implemented.

[0078] Based on the same inventive concept as in the above-mentioned embodiment, an embodiment of the present application further provides an electronic device, including a processor and a memory, wherein:

[0079] The memory is used to store computer programs;

[0080] The processor is used to load and execute a computer program so that the electronic device executes the image distortion correction method provided in the embodiment of the present application.

[0081] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0082] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0083] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0084] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0085] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0086] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0087] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0088] In summary, the present application provides an image distortion correction method, device, medium and equipment, the method comprising: initially positioning the object to be measured so that the imaging field of view of the camera of the structured light illumination measurement system is aligned with the surface of the object to be measured; re-positioning the object to be measured so that the surface of the object to be measured is within the focal depth of the camera; using a ten-parameter calibration model, calibrating the internal parameters of the camera to achieve image distortion correction. The present application first performs an initial positioning of the object to be measured, aligning the imaging field of the camera with the surface of the object to be measured to improve the efficiency of the measurement, and then re-positions the object to be measured so that the surface of the object to be measured is within the focal depth of the camera to ensure clear imaging, and finally uses a ten-parameter calibration model to calibrate the internal parameters of the camera to reduce the degree of image distortion, and uses the calibrated camera as the input end of the structured light measurement illumination system for image acquisition, which can effectively correct the distortion of the acquired image and improve the quality of the acquired image.

[0089] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A method for correcting image distortion, characterized in that: Applied to structured light illumination measurement system, including the following steps: Performing initial positioning of the object to be measured so that the imaging field of view of the camera of the structured light illumination measurement system is aligned with the surface of the object to be measured; Repositioning the object to be measured so that the surface of the object to be measured is within the focal depth range of the camera; The ten-parameter calibration model is used to calibrate the intrinsic parameters of the camera to achieve image distortion correction.

2. The image distortion correction method according to claim 1, characterized in that: Before initially positioning the object to be measured so that the imaging field of view of the camera of the structured light illumination measurement system is aligned with the surface of the object to be measured, the method further includes: Based on the light source, the lens and the camera, the structured light illumination measurement system is built.

3. The image distortion correction method according to claim 2, characterized in that: The light source is a white light source.

4. The image distortion correction method according to claim 1, characterized in that: After calibrating the intrinsic parameters of the camera using the ten-parameter calibration model to achieve image distortion correction, the method further includes: Circularly projecting sinusoidal grating fringes with a fixed phase difference onto the surface of the object to be measured; The image of the object to be measured is collected in each projection to obtain an image sequence; wherein the image sequence is used for optical measurement post-processing.

5. The image distortion correction method according to claim 4, characterized in that: Before cyclically projecting sinusoidal grating fringes with a fixed phase difference onto the surface of the object to be measured, the method further comprises: The sinusoidal grating fringes with zero phase difference are projected onto the surface of the object to be measured.

6. The image distortion correction method according to claim 4, characterized in that: Before cyclically projecting sinusoidal grating fringes with a fixed phase difference onto the surface of the object to be measured, the method further comprises: The sinusoidal grating stripes with a fixed phase difference are generated based on a digital micromirror array.

7. The image distortion correction method according to claim 6, characterized in that: Before generating the sinusoidal grating stripes with a fixed phase difference based on a digital micromirror array, the method further comprises: The positions of the digital micromirror array and the camera are adjusted so that the digital micromirror array and the camera are in optically conjugate positions.

8. An image distortion correction device, characterized in that: Applicable to structured light illumination measurement systems, including: An initial positioning module, the initial positioning module is used to perform initial positioning on the object to be measured so that the imaging field of view of the camera of the structured light illumination measurement system is aligned with the surface of the object to be measured; A re-positioning module, the re-positioning module is used to re-position the object to be measured so that the surface of the object to be measured is within the focal depth range of the camera; A calibration module is used to calibrate the intrinsic parameters of the camera using a ten-parameter calibration model to achieve image distortion correction.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is loaded and executed by a processor, the image distortion correction method according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: comprising a processor and a memory, wherein: The memory is used to store computer programs; The processor is used to load and execute the computer program so that the electronic device performs the image distortion correction method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Light microscope imaging method and system based on DMD structure

    CN101655601A

  • Three-dimensional outline measuring method based on Structured Illumination Microscopy

    CN108332684A

  • Data fusion method based on structured light

    CN114067056A