Metasurface-based highlight elimination method and system

Through the metasurface-based highlight elimination method, tunable metasurface and polarization modulation technology are used to solve the problem of highlight influence on complex metal surfaces and achieve high-precision and efficient three-dimensional measurement, which is suitable for the detection of complex contours such as steam turbine blades.

CN118654600AActive Publication Date: 2024-09-17XI AN JIAOTONG UNIV

Patent Information

Application Number
CN202410691512.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-17
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

Existing highlight elimination methods cannot effectively reduce the impact of highlights when measuring complex metal surfaces, resulting in reduced measurement accuracy and low efficiency, especially on complex contours such as turbine blades. Existing methods such as polarization elimination, adaptive projection, and multiple There are deficiencies in exposure fusion and data repair.

Method used

The highlight elimination method based on metasurface is used to establish the pixel coordinate mapping from the projection end to the imaging end by projecting white images and black images, inverting the angle relationship and polarization state of the highlight area, combined with the interpolation filling of hole projection pixels and the polarization state transition interval. Smooth, use the tunable metasurface to modulate the polarization state of light, generate an adaptive projection fringe pattern, and filter out the highlight reflection component through a polarizer to achieve effective highlight elimination.

Benefits of technology

It improves the integrity and accuracy of measurement data, avoids the reduction of brightness in non-highlight areas and deterioration of stripe quality, achieves high-precision three-dimensional measurement of complex surfaces, and improves measurement efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118654600A
    Figure CN118654600A
Patent Text Reader

Abstract

The invention discloses a super-surface-based highlight elimination method and system, and belongs to the technical field of optical three-dimensional measurement. According to the highlight elimination method disclosed by the invention, the polarization state of the projection light field is actively modulated through the tunable metasurface device, so that the difference of the polarization states of the highlight component and the non-highlight component of the projection light field reflected by the surface of the measured object is maximum; and the specular reflection highlight component is filtered through the polarizing film at the imaging end, and the intensity of the non-highlight component is ensured not to be lost, so that highlight elimination in optical three-dimensional measurement is realized, and the measurement precision is improved. According to the self-adaptive modulation method for the polarization state of the pixel-by-pixel projection light field, highlight elimination is achieved on the premise that the non-highlight component intensity is not weakened, and the problem that high-dynamic-range surface optical three-dimensional measurement precision is lowered or even fails is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of optical three-dimensional measurement, and in particular relates to a hypersurface-based highlight elimination method and system. Background Art

[0002] With the improvement of industrial manufacturing capabilities, products tend to be diversified, complex and intelligent, which also puts higher requirements on product quality and inspection. At present, the main inspection methods of enterprises are still based on measuring tools and three-dimensional coordinate measuring machines. For complex contours, such as turbine blades, the manufacturing cost of special measuring tools is high, which introduces human factors and can only provide qualitative results. Although the three-dimensional coordinate measuring machine has high accuracy, its probe point contact measurement method has low measurement efficiency. Therefore, these methods cannot meet the high-speed and high-precision inspection needs of products. Optical three-dimensional measurement technology has been studied and recognized by more and more scholars and enterprises due to its non-contact inspection characteristics and the advantages of high-speed and high-precision inspection. It has been widely used in medicine, industry, agriculture, transportation and other fields.

[0003] For complex metal surfaces, such as turbine blades, when using optical three-dimensional measurement methods to measure their surface geometric contours, sometimes the influence of highlights makes it impossible to obtain measurement data in the highlight area, affecting the integrity of the measurement and reducing the measurement accuracy. The existing highlight elimination methods mainly include polarization elimination, adaptive projection, multi-exposure fusion and data repair technology. The polarization elimination method analyzes the reflection model, and takes into account that the appearance of the highlight area is mainly caused by the specular reflection component. The polarization characteristics of the specular reflection component are used, and polarization devices such as polarizers are used to eliminate the specular reflection component and retain the diffuse reflection component, thereby reducing or eliminating the influence of the highlight. As shown in the attached figure Figure 3As shown in the figure, the polarization elimination method will also filter out the reflection component in the non-highlight area, causing the camera imaging brightness in the non-highlight area to dim and the stripe quality to deteriorate. At the same time, when the polarizer is at a non-optimal polarization angle, it cannot completely eliminate the specular reflection component in the highlight area, reducing the measurement accuracy. The adaptive projection method establishes a response relationship between the projector's projection intensity and the camera's acquired light intensity, finds the optimal grayscale value corresponding to each pixel of the projector and projects it, thereby reducing or eliminating the impact of the highlight. In some surface areas with strong highlights, the adaptive projection method that simply adjusts the projection brightness cannot effectively reduce or eliminate the impact of the highlight. The multi-exposure fusion method controls the camera to collect multiple rounds of images with different exposures, and selects the image grayscale value under the optimal exposure corresponding to each pixel pixel by pixel, thereby reducing or eliminating the impact of the highlight. Since the multi-exposure fusion method needs to collect multiple rounds of camera images, the measurement efficiency is greatly reduced. The data repair method distinguishes the highlight area from the non-highlight area, obtains the measurement data of the non-highlight area, and repairs and compensates the data of the highlight area based on properties such as data continuity. Due to the nature of data continuity, the data repair method is not applicable when some surface mutation areas and highlight areas are large.

[0004] In view of the above problems, it is necessary to study a highlight elimination method that can improve or solve the above problems. Summary of the invention

[0005] The purpose of the present invention is to improve or solve the above-mentioned shortcomings. The present invention proposes a method and system for eliminating highlights based on a metasurface, which combines the characteristic that the tunable metasurface can adaptively control the light field information, and based on polarization elimination and adaptive projection technology, effectively reduces or eliminates the influence of highlights, thereby improving the integrity of the measurement data and the measurement accuracy.

[0006] In order to achieve the above purpose, the following steps are included:

[0007] In a first aspect, the present invention provides a method for eliminating highlights based on a metasurface, comprising the following steps:

[0008] Project white and black images onto the object to be measured, obtain the contour of the imaging saturation area and the maximum projection brightness value, project the low-brightness fringe pattern under the maximum projection brightness onto the surface of the object to be measured for imaging, and establish the pixel coordinate mapping between the projection end and the imaging end;

[0009] According to the pixel coordinate mapping relationship between the projection end and the imaging end, the contour pixels of the saturated area of ​​the camera image plane are inverted to the area that needs to be modulated on the projection end image plane, and then the angle relationship between the projection end and the imaging end of the highlight area and the polarization state of the corresponding projection light are inverted according to the position of the highlight area in the measured object;

[0010] The hole projection pixel points in the highlight area of ​​the projection end that do not have a projection-camera mapping relationship are counted, and the projection polarization states of the neighboring pixels of the hole projection pixel points are interpolated and filled; a polarization state transition interval is added between the saturated area and the unsaturated area of ​​the image plane of the projection end, and the polarization state of the projected light of the pixels in the polarization state transition interval is smoothed to determine the optimal projection polarization state distribution of the entire light field;

[0011] Through the results of highlight detection and polarization state inversion at the projection end, the polarization state of the light emitted by the tunable metasurface at the projection end is controlled so that it changes adaptively with the changes of the measured surface and the measurement viewing angle.

[0012] After the polarization state of the projected light field is adjusted pixel by pixel, an adaptive projection fringe pattern is generated and projected onto the surface of the object to be measured. At the imaging end, the light transmission direction of the polarizer is adjusted to filter out the highlight reflection component, and then the three-dimensional point cloud data of the object to be measured is calculated through the fringe imaging diagram after filtering out the highlights.

[0013] As a further improvement of the present invention, the method of projecting a white image and a black image onto the object to be measured, obtaining the contour of the imaging saturation area and the maximum projection brightness value, projecting the low-brightness fringe image under the maximum projection brightness onto the surface of the object to be measured for imaging, and establishing a pixel coordinate mapping from the projection end to the imaging end includes:

[0014] White and black images are projected onto the surface of the object to be measured, and the pixel coordinates of the saturated area outline in the camera imaging are found according to the highlight grayscale threshold. A projection-imaging grayscale mapping model is established based on the above-mentioned projected white and black images, and the maximum unsaturated imaging grayscale, i.e., the highlight grayscale threshold, is used as input to obtain the maximum projection brightness value of the projector according to the mapping model. Finally, the low-brightness fringe pattern under the maximum projection brightness is projected onto the surface of the object to be measured for imaging, and the pixel coordinate mapping between the projection end and the imaging end is established according to the phase information of the fringe pattern or the speckle information of the speckle pattern.

[0015] As a further improvement of the present invention, the method of inverting the angular relationship between the projection end and the imaging end of the highlight area and the polarization state of the corresponding projection light according to the position of the highlight area in the measured object includes:

[0016] According to the spatial posture relationship among the projection end, the imaging end and the object, the angle between the projected light and the reflected light in the highlight area of ​​the measured object is calculated; then, based on the projection light source area and divergence angle, the surface contour, reflectivity, roughness, processing texture of the measured object and the correlation between the projection and imaging spatial postures, combined with the Fresnel reflection model of the dielectric surface and the projection and imaging angle, the change in the polarization state of the light after reflection from the surface is calculated; and then, by maximizing the difference in polarization state between the highlight reflected light after reflection from the surface of the measured object and the reflected light in the non-highlight area, the polarization state of the projected light in the highlight area is reversely calculated.

[0017] As a further improvement of the present invention, the interpolation filling of the projection polarization states of the pixels in the neighborhood of the hole projection pixel point includes:

[0018] The polarization state of the hole projection pixel points without projection-camera mapping relationship in the highlight area of ​​the projection end is interpolated and filled. That is, based on the surface continuity, the polarization state of the hole pixel at the projection end is interpolated by the polarization mean of the pixels in its eight neighborhoods to determine the polarization state of the pixel projection light.

[0019] As a further improvement of the present invention, a polarization state transition interval is added between the saturated area and the unsaturated area of ​​the image plane at the projection end, and the polarization state of the projected light of the pixels in the polarization state transition interval is smoothed to determine the optimal projection polarization state distribution of the entire light field, including:

[0020] A polarization state transition interval is added between the projection saturated area and the unsaturated area, and the saturated area of ​​the projection end image plane is expanded to generate a transition zone. In the transition interval, the polarization state of the projection light in the non-highlight area is smoothly transitioned to the polarization state in the highlight area, and finally the optimal projection polarization state distribution of the entire projection light field is determined.

[0021] As a further improvement of the present invention, the polarization state of the light emitted from the tunable metasurface at the projection end is controlled by the result of high light detection and polarization state inversion at the projection end, so that it changes adaptively with the change of the measured surface and the measurement viewing angle, including:

[0022] The polarization state of the projected light is modulated by a tunable metasurface device. The flexible light field modulation capability of the tunable metasurface is utilized to control the meta-atoms of the tunable metasurface, so that the polarization state of each outgoing light beam after the incident light passes through the tunable metasurface changes accordingly with the changes in the measured surface, projection and imaging viewing angles. That is, the polarization state of the projected light corresponding to the highlight area is actively adjusted by the tunable metasurface to elliptically polarized light, which is then transformed into linearly polarized light after being reflected from the surface of the measured object, and has the greatest difference from the linearly polarized light of other non-highlight components.

[0023] As a further improvement of the present invention, the transmission direction of the polarizer is adjusted at the imaging end to filter out the high light reflection component, and then the three-dimensional point cloud data of the object to be measured is calculated by the fringe imaging diagram after the high light is filtered out, including:

[0024] Projection fringes are generated based on the polarization state distribution of the projected light field, and the high light reflection component is filtered out by adjusting the light transmission direction of the polarizer at the imaging end; projection fringes are generated by a planar array programmable light source, and variable polarization state projection fringes with a preset projection light field polarization state distribution are formed after passing through a tunable metasurface device; they are projected onto the surface of the object to be measured, and the high light reflection component is filtered out by adjusting the light transmission direction of the polarizer at the imaging end; and then, the three-dimensional point cloud data of the object to be measured is calculated through the stripe imaging diagram after filtering out the highlights.

[0025] In a second aspect, the present invention provides a hyper-surface-based highlight elimination system, comprising:

[0026] Establish a module for projecting white and black images onto the object to be measured, obtain the contour of the imaging saturation area and the maximum projection brightness value, project the low-brightness fringe pattern under the maximum projection brightness onto the surface of the object to be measured for imaging, and establish a pixel coordinate mapping between the projection end and the imaging end;

[0027] An inversion module is used to invert the contour pixels of the saturated area of ​​the camera image plane into the area to be modulated on the image plane of the projection end according to the pixel coordinate mapping relationship between the projection end and the imaging end, and then invert the angular relationship between the projection end and the imaging end of the highlight area and the polarization state of the corresponding projection light according to the position of the highlight area in the measured object;

[0028] A determination module is used to count the hole projection pixels in the highlight area of ​​the projection end for which no projection-camera mapping relationship is established, and interpolate and fill the holes in combination with the projection polarization states of the neighboring pixels of the hole projection pixels; a polarization state transition interval is added between the saturated area and the unsaturated area of ​​the image plane of the projection end, and the polarization state of the projected light of the pixels in the polarization state transition interval is smoothed to determine the optimal projection polarization state distribution of the entire light field;

[0029] A control module is used to control the polarization state of the light emitted from the tunable metasurface at the projection end through high light detection and polarization state inversion results at the projection end, so that it changes adaptively with the changes of the measured surface and the measurement viewing angle;

[0030] The solution module is used to generate an adaptive projection fringe pattern after adjusting the polarization state of the projected light field pixel by pixel, and project it onto the surface of the object to be measured. At the imaging end, the transmission direction of the polarizer is adjusted to filter out the highlight reflection component, and then the fringe imaging pattern after filtering out the highlight is used to calculate the three-dimensional point cloud data of the object to be measured.

[0031] In a third aspect, the present invention provides a high light elimination device based on a metasurface, comprising: a planar array programmable light source, a tunable metasurface device, a camera, a polarizer, and a data processing terminal;

[0032] The tunable metasurface device is arranged in front of the array programmable light source to perform pixel-by-pixel modulation of the polarization information of the projected light field; the polarizer is arranged in front of the camera to filter out the highlight component reflected by the surface of the object being measured; the data processing terminal is used for controlling each device, calculating the polarization state of the projected light field, and processing and analyzing the measurement data, and the data processing terminal executes the highlight elimination method based on the metasurface.

[0033] Compared with the existing highlight elimination method, the present invention adaptively controls the light field information of the projection end through a tunable metasurface, so that the polarization directions of the mirror reflection components of the projection light in the highlight area and the non-highlight area after being reflected by the surface of the object to be measured are perpendicular, and the difference is maximized, so that the polarizer in front of the camera end eliminates the mirror reflection component in the highlight area and retains the reflection component in the non-highlight area, thereby eliminating the influence of the highlight, while avoiding the influence of reduced brightness in the non-highlight area and reduced fringe contrast, thereby improving measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 Schematic diagram of the measurement system of the present invention.

[0035] Figure 2 Schematic diagram of projection-imaging and polarization state inversion.

[0036] Figure 3 Schematic diagram of the polarization camera acquisition for steam turbine blades. DETAILED DESCRIPTION

[0037] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0038] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0039] The terms "first", "second", "third", "fourth", etc. in the specification of the present application and the above-mentioned drawings, if present, are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0040] It should be understood that in the present application, "at least one item" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of A, B or C can mean: A, B, C, "A and B", "A and C", "B and C", or "A and B and C", where A, B, C can be single or multiple.

[0041] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0042] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0043] The first object of the present invention is to provide a method for eliminating highlights based on a metasurface, comprising the following steps:

[0044] Step 1: Project a white image and a black image onto the object to be measured to obtain the maximum projection brightness value, and obtain the imaging saturation area contour based on the highlight grayscale threshold, project the low-brightness fringe pattern (or available speckle pattern) under the maximum projection brightness onto the surface of the object to be measured for imaging, and establish a pixel coordinate mapping from the projection end to the imaging end based on the phase information of the fringe pattern or the speckle information of the speckle pattern.

[0045] Step 2: Based on the pixel coordinate mapping relationship between the projection end and the imaging end, the contour pixels of the saturated area of ​​the camera image plane are inverted to obtain the area that needs to be modulated on the projection end image plane, and then the angular relationship between the projection end and the imaging end of the highlight area and the polarization state of the corresponding projected light are inverted according to the position of the highlight area in the object being measured.

[0046] Step three, count the hole projection pixel points in the highlight area of ​​the projection end that do not have a projection-camera mapping relationship, and interpolate and fill them in combination with the projection polarization states of their neighboring pixels; add a polarization state transition interval between the saturated area and the unsaturated area of ​​the image plane on the projection end, and smooth the polarization state of the projected light of the pixels in the transition area, and finally determine the optimal projection polarization state distribution of the entire light field.

[0047] Step 4: Through the results of highlight detection and polarization state inversion at the projection end, the polarization state of the light emitted by each "meta-atom" of the tunable metasurface at the projection end is controlled, so that it can adaptively change with the changes of the measured surface and the measurement viewing angle, that is, the reflected light projected to the highlight reflection area becomes perpendicular to the polarization direction of the light in the non-highlight area after being reflected by the metal surface.

[0048] Step 5: After the polarization state of the projected light field is adjusted pixel by pixel, an adaptive projection fringe pattern (or projection speckle pattern) is generated and projected onto the surface of the object to be measured. At the imaging end, the transmission direction of the polarizer is adjusted to filter out the highlight reflection component. Then, the fringe imaging pattern (or speckle imaging pattern) after filtering out the highlights is combined with the system calibration parameters to calculate the three-dimensional point cloud data of the object to be measured.

[0049] The present invention actively modulates the polarization state of the projected light field through a tunable metasurface device, so that the polarization state difference between the highlight component and the non-highlight component of the projected light field after reflection from the surface of the measured object is maximized, and then the specular reflection highlight component is filtered out through the polarizer at the imaging end and the intensity of the non-highlight component is ensured not to be lost, thereby achieving highlight elimination in optical three-dimensional measurement and improving measurement accuracy. The pixel-by-pixel projected light field polarization state adaptive modulation method of the present invention achieves highlight elimination without weakening the intensity of the non-highlight component, effectively solving the problem of reduced accuracy or even failure of optical three-dimensional measurement of surfaces with a high dynamic range.

[0050] The principles of each step in the process are analyzed as follows:

[0051] Initial settings for projection and imaging: By projecting white and black images onto the object, the contour of the imaging saturation area and the maximum projection brightness value can be determined. This is to determine the optimal working parameters of the projection and imaging system.

[0052] By projecting a low-brightness fringe pattern at maximum projection brightness onto the surface of the object to be measured, the pixel coordinate mapping relationship between the projection end and the imaging end can be established, which is the basis for subsequent 3D measurement.

[0053] Processing of highlight areas: Based on the pixel coordinate mapping relationship, the area on the projection side image plane that needs to be modulated and the angle relationship between the highlight area at the projection side and the imaging side can be inverted. The highlight area usually causes imaging distortion due to excessive surface reflection. By inverting the angle relationship and polarization state of the highlight area, the polarization state of the projection light can be adjusted in a targeted manner to reduce the impact of the highlight.

[0054] Interpolation filling of hole pixels: In the highlight area of ​​the projection end, there may be hole projection pixels without a projection-camera mapping relationship. These holes will cause missing 3D data. By interpolating the projected polarization state of the neighboring pixels of the hole projection pixel point, the polarization state of the hole area can be estimated, thereby completing the 3D data.

[0055] Smooth transition of polarization state: Adding a polarization state transition interval between the saturated area and the unsaturated area of ​​the projection end image plane can ensure the smooth transition of the projected light field and avoid imaging distortion caused by sudden changes in polarization state. By smoothing the polarization state of the projected light of the pixels in the polarization state transition interval, the optimal projection polarization state distribution of the entire light field can be determined.

[0056] Adaptive projection and imaging: Based on the results of highlight detection and polarization state inversion at the projection end, the polarization state of the light emitted by the tunable metasurface at the projection end is controlled. This allows the projected light field to change adaptively with the changes in the measured surface and the measurement angle, reducing the impact of highlight reflection. After the polarization state of the projected light field is adjusted pixel by pixel, an adaptive projection fringe pattern is generated and projected onto the surface of the object being measured. At the imaging end, by adjusting the light transmission direction of the polarizer, the highlight reflection component can be filtered out to obtain a more accurate fringe imaging pattern.

[0057] Calculation of 3D point cloud data: By filtering out the fringe image after highlight removal, the 3D point cloud data of the object being measured can be calculated. This data can be used for subsequent applications such as surface reconstruction and dimension measurement.

[0058] The key to the whole process is to establish accurate pixel coordinate mapping through projection and imaging technology, and to reduce the influence of high light reflection by adjusting the polarization state of the projected light. This enables the system to achieve high-precision three-dimensional measurement of complex curved objects.

[0059] The measuring elements of the system of the present invention are mainly composed of a planar array programmable light source, a tunable metasurface device, a camera, a polarizer and a data processing terminal; the tunable metasurface device is arranged in front of the planar array programmable light source to perform pixel-by-pixel modulation of the polarization information of the projected light field; the polarizer is arranged in front of the camera to filter out the high light component reflected by the surface of the object to be measured; the data processing terminal is used for controlling each device, calculating the polarization state of the projected light field, and processing and analyzing the measurement data.

[0060] The present invention will be further described below in conjunction with the accompanying drawings.

[0061] The present invention comprises the following steps:

[0062] Step 1: First, a white image and a black image are projected onto the surface of the object to be measured, and the pixel coordinates of the saturated area contour in the camera imaging are found according to the highlight grayscale threshold (250); at the same time, a projection-imaging grayscale mapping model is established based on the above-mentioned projected white image and black image, and the maximum unsaturated imaging grayscale, that is, the highlight grayscale threshold (250) is used as input, and the maximum projection brightness value of the projector is obtained according to the mapping model; finally, a low-brightness fringe pattern (or available speckle pattern) under the maximum projection brightness is projected onto the surface of the object to be measured for imaging, and a pixel coordinate mapping between the projection end and the imaging end is established according to the phase information of the fringe pattern or the speckle information of the speckle pattern. Considering the inconsistency of the scales of the camera image coordinates and the projector image coordinates, the pixel coordinates need to be normalized or interpolated when establishing the pixel coordinate mapping.

[0063] Step 2: First, Figure 2 As shown, according to the pixel coordinate mapping relationship between the projection end and the imaging end, the pixel coordinates of the area to be modulated on the image surface of the projection end are inverted through the pixel coordinates of the contour of the saturated area of ​​the camera image surface; secondly; according to the spatial posture relationship among the projection end, the imaging end and the object, the angle between the projected light and the reflected light in the highlight area of ​​the measured object is calculated, and then according to the projection light source area and divergence angle, the surface contour, reflectivity, roughness, processing texture of the measured object, and the projection and imaging spatial posture and other related relationships, combined with the Fresnel reflection model of the dielectric surface and the projection and imaging angle, the change in the polarization state of the light after reflection from the surface is calculated, and then the polarization state of the projected light in the highlight area is reversely deduced by maximizing the difference in polarization state between the highlight reflected light after being reflected from the surface of the measured object and the reflected light in the non-highlight area.

[0064] Step three, first, count the hole projection pixels in the highlight area of ​​the projection end that do not have a projection-camera mapping relationship, and based on surface continuity, use the interpolation method to interpolate and fill the projection polarization state of the hole projection pixels using the polarization mean of the pixels in its eight neighborhoods; secondly, add a polarization state transition interval between the saturated area and the unsaturated area of ​​the image plane on the projection end, and smooth the polarization state of the projected light of the pixels in the transition area, and finally determine the optimal projection polarization state distribution of the entire light field.

[0065] Step four, first, through the results of highlight detection and polarization state inversion at the projection end, the flexible light field modulation capability of the tunable metasurface is utilized to control the "meta-atoms" of the tunable metasurface, so that the polarization state of each outgoing light beam after the incident light passes through the tunable metasurface changes accordingly with the changes in the measured surface, projection and imaging viewing angle. That is, the polarization state of the projected light corresponding to the highlight area is actively adjusted by the tunable metasurface to elliptically polarized light, which is then transformed into linearly polarized light after reflection from the surface of the measured object, so that the polarization direction of the reflected light projected onto the highlight reflection area is perpendicular to the polarization direction of the light in the non-highlight area, thereby maximizing the difference with the linear polarized light of other non-highlight components.

[0066] Step five, first, based on the circular array and the guide rail, the calibration parameters of the system are solved; secondly, after the polarization state of the projected light field is adjusted pixel by pixel, an adaptive projection fringe pattern (or projection speckle pattern) is generated and projected onto the surface of the object to be measured, and the transmission direction of the polarizer is adjusted at the imaging end to filter out the mirror reflection component of the highlight area and retain the reflection component of the non-highlight area; finally, the fringe imaging image (or speckle imaging image) after filtering out the highlights is combined with the system calibration parameters to solve the measurement point cloud data of the surface of the object to be measured.

[0067] The present invention is applied to the field of obtaining three-dimensional geometric profile information such as industrial production measurement, and is particularly suitable for measuring high dynamic range surfaces with local high reflectivity.

[0068] The present invention can be applied to the measurement of high dynamic range surfaces with local high reflectivity, and provides a new way of high-precision measurement for the geometric morphology detection of reflective surfaces represented by metal processing parts and smooth ceramic parts in industrial detection; the measurement cost is controllable, and there is no need to spray diffuse reflection powder before measurement or increase the measurement angle and exposure times, so the measurement time cost is low. It has broad application prospects and considerable economic benefits.

[0069] The pixel-by-pixel projected light field polarization state adaptive modulation method of the present invention realizes highlight elimination without weakening the intensity of non-highlight components, and effectively solves the problem of reduced accuracy or even failure of optical three-dimensional measurement of surfaces with high dynamic range.

[0070] The second object of the present invention is to provide a hypersurface-based highlight elimination system, comprising:

[0071] Establish a module for projecting white and black images onto the object to be measured, obtain the contour of the imaging saturation area and the maximum projection brightness value, project the low-brightness fringe pattern under the maximum projection brightness onto the surface of the object to be measured for imaging, and establish a pixel coordinate mapping between the projection end and the imaging end;

[0072] An inversion module is used to invert the contour pixels of the saturated area of ​​the camera image plane into the area to be modulated on the image plane of the projection end according to the pixel coordinate mapping relationship between the projection end and the imaging end, and then invert the angular relationship between the projection end and the imaging end of the highlight area and the polarization state of the corresponding projection light according to the position of the highlight area in the measured object;

[0073] A determination module is used to count the hole projection pixels in the highlight area of ​​the projection end for which no projection-camera mapping relationship is established, and interpolate and fill the holes in combination with the projection polarization states of the neighboring pixels of the hole projection pixels; a polarization state transition interval is added between the saturated area and the unsaturated area of ​​the image plane of the projection end, and the polarization state of the projected light of the pixels in the polarization state transition interval is smoothed to determine the optimal projection polarization state distribution of the entire light field;

[0074] A control module is used to control the polarization state of the light emitted from the tunable metasurface at the projection end through high light detection and polarization state inversion results at the projection end, so that it changes adaptively with the changes of the measured surface and the measurement viewing angle;

[0075] The solution module is used to generate an adaptive projection fringe pattern after adjusting the polarization state of the projected light field pixel by pixel, and project it onto the surface of the object to be measured. At the imaging end, the transmission direction of the polarizer is adjusted to filter out the highlight reflection component, and then the fringe imaging pattern after filtering out the highlight is used to calculate the three-dimensional point cloud data of the object to be measured.

[0076] The third object of the present invention is to provide a high light elimination device based on a metasurface, comprising: a planar array programmable light source, a tunable metasurface device, a camera, a polarizer, and a data processing terminal;

[0077] The tunable metasurface device is arranged in front of the array programmable light source to perform pixel-by-pixel modulation of the polarization information of the projected light field; the polarizer is arranged in front of the camera to filter out the highlight component reflected by the surface of the object being measured; the data processing terminal is used for controlling each device, calculating the polarization state of the projected light field, and processing and analyzing the measurement data, and the data processing terminal executes the highlight elimination method based on the metasurface.

[0078] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for eliminating highlights based on a metasurface, characterized in that: The following steps are involved: Project white and black images onto the object to be measured, obtain the contour of the imaging saturation area and the maximum projection brightness value, project the low-brightness fringe pattern under the maximum projection brightness onto the surface of the object to be measured for imaging, and establish the pixel coordinate mapping between the projection end and the imaging end; According to the pixel coordinate mapping relationship between the projection end and the imaging end, the contour pixels of the saturated area of ​​the camera image plane are inverted to the area that needs to be modulated on the projection end image plane, and then the angle relationship between the projection end and the imaging end of the highlight area and the polarization state of the corresponding projection light are inverted according to the position of the highlight area in the measured object; The hole projection pixel points in the highlight area of ​​the projection end that do not have a projection-camera mapping relationship are counted, and the projection polarization states of the neighboring pixels of the hole projection pixel points are interpolated and filled; a polarization state transition interval is added between the saturated area and the unsaturated area of ​​the image plane of the projection end, and the polarization state of the projected light of the pixels in the polarization state transition interval is smoothed to determine the optimal projection polarization state distribution of the entire light field; Through the results of highlight detection and polarization state inversion at the projection end, the polarization state of the light emitted by the tunable metasurface at the projection end is controlled so that it changes adaptively with the changes of the measured surface and the measurement viewing angle. After the polarization state of the projected light field is adjusted pixel by pixel, an adaptive projection fringe pattern is generated and projected onto the surface of the object to be measured. At the imaging end, the light transmission direction of the polarizer is adjusted to filter out the highlight reflection component, and then the three-dimensional point cloud data of the object to be measured is calculated through the fringe imaging diagram after filtering out the highlights.

2. The method for eliminating highlights based on a metasurface according to claim 1, characterized in that: The method of projecting a white image and a black image onto the object to be measured, obtaining the contour of the imaging saturation area and the maximum projection brightness value, projecting the low-brightness fringe image under the maximum projection brightness onto the surface of the object to be measured for imaging, and establishing a pixel coordinate mapping between the projection end and the imaging end includes: White and black images are projected onto the surface of the object to be measured, and the pixel coordinates of the saturated area outline in the camera imaging are found according to the highlight grayscale threshold. A projection-imaging grayscale mapping model is established based on the above-mentioned projected white and black images, and the maximum unsaturated imaging grayscale, i.e., the highlight grayscale threshold, is used as input to obtain the maximum projection brightness value of the projector according to the mapping model. Finally, the low-brightness fringe pattern under the maximum projection brightness is projected onto the surface of the object to be measured for imaging, and the pixel coordinate mapping between the projection end and the imaging end is established according to the phase information of the fringe pattern or the speckle information of the speckle pattern.

3. The method for eliminating highlights based on a super surface according to claim 1, characterized in that: The method of inverting the angle relationship between the projection end and the imaging end of the highlight area and the polarization state of the corresponding projection light according to the position of the highlight area in the measured object includes: According to the spatial posture relationship among the projection end, the imaging end and the object, the angle between the projected light and the reflected light in the highlight area of ​​the measured object is calculated; then, based on the projection light source area and divergence angle, the surface contour, reflectivity, roughness, processing texture of the measured object and the correlation between the projection and imaging spatial postures, combined with the Fresnel reflection model of the dielectric surface and the projection and imaging angle, the change in the polarization state of the light after reflection from the surface is calculated; and then, by maximizing the difference in polarization state between the highlight reflected light after reflection from the surface of the measured object and the reflected light in the non-highlight area, the polarization state of the projected light in the highlight area is reversely calculated.

4. The method for removing highlights based on a super surface according to claim 1, characterized in that: The interpolation filling in combination with the projection polarization states of the pixels in the neighborhood of the hole projection pixel point includes: The polarization state of the hole projection pixel points without projection-camera mapping relationship in the highlight area of ​​the projection end is interpolated and filled. That is, based on the surface continuity, the polarization state of the hole pixel at the projection end is interpolated by the polarization mean of the pixels in its eight neighborhoods to determine the polarization state of the pixel projection light.

5. The method for eliminating highlights based on a metasurface according to claim 1, characterized in that: The method further comprises: adding a polarization state transition interval between a saturated area and a non-saturated area of ​​the image plane at the projection end, smoothing the polarization state of the projected light of the pixels in the polarization state transition interval, and determining the optimal projection polarization state distribution of the entire light field, including: A polarization state transition interval is added between the projection saturated area and the unsaturated area, and the saturated area of ​​the projection end image plane is expanded to generate a transition zone. In the transition interval, the polarization state of the projection light in the non-highlight area is smoothly transitioned to the polarization state in the highlight area, and finally the optimal projection polarization state distribution of the entire projection light field is determined.

6. The method for removing highlights based on a super surface according to claim 1, characterized in that: The method controls the polarization state of the light emitted from the tunable metasurface at the projection end through the high light detection and the polarization state inversion result at the projection end, so that the polarization state of the light emitted from the tunable metasurface at the projection end is adaptively changed with the change of the measured surface and the measurement viewing angle, including: The polarization state of the projected light is modulated by a tunable metasurface device. The flexible light field modulation capability of the tunable metasurface is utilized to control the meta-atoms of the tunable metasurface, so that the polarization state of each outgoing light beam after the incident light passes through the tunable metasurface changes accordingly with the changes in the measured surface, projection and imaging viewing angles. That is, the polarization state of the projected light corresponding to the highlight area is actively adjusted by the tunable metasurface to elliptically polarized light, which is then transformed into linearly polarized light after being reflected from the surface of the measured object, and has the greatest difference from the linearly polarized light of other non-highlight components.

7. The method for eliminating highlights based on a super surface according to claim 1, characterized in that: The method of adjusting the light transmission direction of the polarizer at the imaging end to filter out the high light reflection component and then calculating the three-dimensional point cloud data of the object to be measured by the fringe imaging diagram after filtering out the high light includes: Projection fringes are generated based on the polarization state distribution of the projected light field, and the high light reflection component is filtered out by adjusting the light transmission direction of the polarizer at the imaging end; projection fringes are generated by a planar array programmable light source, and variable polarization state projection fringes with a preset projection light field polarization state distribution are formed after passing through a tunable metasurface device; they are projected onto the surface of the object to be measured, and the high light reflection component is filtered out by adjusting the light transmission direction of the polarizer at the imaging end; and then, the three-dimensional point cloud data of the object to be measured is calculated through the stripe imaging diagram after filtering out the highlights.

8. A hyper-surface-based highlight elimination system, characterized in that: include: Establish a module for projecting white and black images onto the object to be measured, obtain the contour of the imaging saturation area and the maximum projection brightness value, project the low-brightness fringe pattern under the maximum projection brightness onto the surface of the object to be measured for imaging, and establish a pixel coordinate mapping between the projection end and the imaging end; An inversion module is used to invert the contour pixels of the saturated area of ​​the camera image plane into the area to be modulated on the image plane of the projection end according to the pixel coordinate mapping relationship between the projection end and the imaging end, and then invert the angular relationship between the projection end and the imaging end of the highlight area and the polarization state of the corresponding projection light according to the position of the highlight area in the measured object; A determination module is used to count the hole projection pixels in the highlight area of ​​the projection end for which no projection-camera mapping relationship is established, and interpolate and fill the holes in combination with the projection polarization states of the neighboring pixels of the hole projection pixels; a polarization state transition interval is added between the saturated area and the unsaturated area of ​​the image plane of the projection end, and the polarization state of the projected light of the pixels in the polarization state transition interval is smoothed to determine the optimal projection polarization state distribution of the entire light field; A control module is used to control the polarization state of the light emitted from the tunable metasurface at the projection end through high light detection and polarization state inversion results at the projection end, so that it changes adaptively with the changes of the measured surface and the measurement viewing angle; The solution module is used to generate an adaptive projection fringe pattern after adjusting the polarization state of the projected light field pixel by pixel, and project it onto the surface of the object to be measured. At the imaging end, the transmission direction of the polarizer is adjusted to filter out the highlight reflection component, and then the fringe imaging pattern after filtering out the highlight is used to calculate the three-dimensional point cloud data of the object to be measured.

9. A highlight elimination device based on a metasurface, characterized in that: include: Array programmable light sources, tunable metasurface devices, cameras, polarizers, and data processing terminals; The tunable metasurface device is arranged in front of the array programmable light source to modulate the polarization information of the projected light field pixel by pixel; The polarizer is arranged in front of the camera to filter out the highlight component reflected by the surface of the object being measured; the data processing terminal is used for controlling each device, solving the polarization state of the projected light field, and processing and analyzing the measurement data, and the data processing terminal executes the highlight elimination method based on the metasurface as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Non-contact nondestructive measurement system and method for surface type of highlight object

    CN111578864A

  • Accurate high-reflection removing method based on light field iteration

    CN112419185A

  • Method for removing highlight on surface of high-reflectivity object based on polarization principle

    CN113554575A

  • High reflective surface three-dimensional reconstruction method and device based on polarization structured light camera

    CN115876124A

  • Self-adaptive projection highlight elimination method and system based on pre-projection phase shift graph multiplexing

    CN118089592A

Cited By

  • Optical detection method and equipment for fruit defects

    CN119715602A

  • Optical detection method and device for fruit defects

    CN119715602B