A lens quality detection device and its detection method
By using the grid between the display and the imaging device to generate molar patterns, capturing the image of the lens to be inspected and detecting its consistency and standard matching, the problems of complex and cost of existing lens quality detection methods are solved, and simple and efficient lens quality detection is achieved.
Patent Information
- Application Number
- CN202311479574.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-08
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2043-11-08
AI Technical Summary
The existing lens quality detection methods are complex, requiring the preparation of normal images and complementary distortion images, and the detection device is large in size and high in cost.
Molar patterns are generated by staggering the grids between the display and the imaging device, and the image of the lens to be inspected is captured and uploaded to the image processor to detect the consistency of molar patterns between the microlenses in the lens and the matching with the standards.
The inspection process is simplified, the complexity of equipment and processes is reduced, manpower and operating time is saved, and the practicality and accuracy of inspection is improved.
Smart Images

Figure CN117517346B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lens quality detection, and in particular to a lens quality detection device and a detection method thereof. Background Art
[0002] With the popularity of electronic devices, the number of myopic people has increased, and more and more attention has been paid to the prevention and control of myopia. Microlens frame glasses, as an emerging product for the prevention and control of myopia, are experiencing a rapidly growing market demand. Therefore, quality inspection of microlens frame glasses has become an important issue.
[0003] At present, the means of detecting the consistency of lenses is to set a distorted image under the lens. After passing through the lens, the distortion of the distorted image can be corrected to form a normal image. Another normal image is placed above the lens and is made in advance so that the light and dark positions of the patterns in the two normal images are complementary. In this way, the image processor can analyze whether the lens meets the standards based on whether there are spots in the captured image.
[0004] The problem is that this method not only requires the preparation of a normal image, but also requires the preparation in advance of a distorted image that is complementary to the normal image and consistent with the lens being tested. Since there are many types of lenses to be tested and the distorted image needs to be obtained in advance each time, this method is complicated and difficult, and the detection device is large in size and high in cost. Summary of the invention
[0005] The present invention provides a lens quality detection device and a detection method thereof. The lens quality detection device detects the consistency of a lens to be detected through a natural moiré phenomenon to solve the problem of complexity of the lens quality detection device and the method.
[0006] According to one aspect of the present invention, there is provided a lens quality detection device, comprising:
[0007] A moiré generating component, the moiré generating component comprising a display and an imaging device, wherein a display plane of the display and an imaging plane of the imaging device are parallel to each other, a display pixel grid of the display plane and an imaging pixel grid of the imaging plane are rotated and staggered by a preset angle, and the preset angle is greater than 0° and less than 90°;
[0008] The lens to be inspected is located between the display and the imaging device, the optical axis of the lens is parallel to a first direction, the first direction is a direction in which the display plane is perpendicular to the imaging plane, and the lens to be inspected includes at least one ring of microlenses;
[0009] An image processor, which is connected to the imaging device. When the display is in the display state, the imaging device captures an image of the lens to be inspected as an actual moiré image and uploads it to the image processor. The image processor is used to detect whether the moiré patterns between at least one ring of the microlenses in the lens to be inspected are consistent based on the actual moiré image, and / or to detect whether the lens to be inspected is consistent with the standard product based on the actual moiré image and the standard moiré image.
[0010] Optionally, the lens quality detection device further includes: a carrying component, which includes a support panel and a carrying part located in the support panel. The shape of the carrying part matches the shape of the lens to be inspected and can expose the display plane for carrying and accommodating the lens to be inspected.
[0011] Optionally, the lens quality detection device further includes: a conveying component, which is connected to the carrying component and is used to convey and move the carrying component.
[0012] Optionally, the lens quality detection device further includes: a leveling component, which includes: a controller and a leveling mechanism;
[0013] The controller is respectively connected to the image processor and the leveling mechanism, and is used to control the leveling mechanism to level according to the moiré pattern distribution in the initial image obtained by the image processor before the lens to be inspected is placed.
[0014] Wherein, the leveling mechanism is fixedly connected to the imaging device and / or the display.
[0015] Optionally, the display is one of LED, LCD, OLED or micro-LED.
[0016] Optionally, the imaging device is one of a digital camera, a linear scanning camera or a scanner.
[0017] According to another aspect of the present invention, there is provided a lens quality detection method, which includes:
[0018] Obtaining an image of the lens to be inspected as an actual moiré image based on the lens quality detection device;
[0019] Detecting whether the moiré patterns between at least one ring of the microlenses in the lens to be inspected are consistent based on the actual moiré image, and / or detecting whether the lens to be inspected is consistent with the standard product based on the actual moiré image and the standard moiré image.
[0020] Optionally, the detecting whether the moiré patterns between at least one ring of the microlenses in the lens to be inspected are consistent based on the actual moiré image includes:
[0021] If the directions and spacings of the moirés between the micro-lenses in each ring are the same, the diopter parameters of the micro-lenses in each ring are consistent; otherwise, the diopter parameters of the micro-lenses in each ring are inconsistent.
[0022] Optionally, detecting whether the lens to be inspected is consistent with the standard product based on the actual moiré image and the standard moiré image includes:
[0023] If the directions and spacings of the moirés in the actual moiré image are the same as those in the standard moiré image, the lens to be inspected is consistent with the standard product; otherwise, the lens to be inspected is inconsistent with the standard product.
[0024] Optionally, obtaining the image of the lens to be inspected as the actual moiré image based on the lens quality detection device includes:
[0025] At least when the first monochromatic light is displayed on the display, obtain the first actual moiré image; when the second monochromatic light is displayed on the display, obtain the second actual moiré image;
[0026] After correcting the directions and spacings of the moirés in the same micro-lens of the lens to be inspected based on the first actual moiré image and the second actual moiré image, use it as the actual moiré image, and the wavelengths of the first monochromatic light and the second monochromatic light are different.
[0027] The lens quality detection device provided by the embodiment of the present invention includes: a moiré generation component, which includes a display and an imaging device. The display plane of the display and the imaging plane of the imaging device are parallel to each other. The display pixel grid on the display plane and the imaging pixel grid on the imaging plane are rotated and staggered by a preset angle, and the preset angle is greater than 0° and less than 90°. Among them, the lens to be detected is located between the display and the imaging device, and the optical axis of the lens is parallel to the first direction, where the first direction is the direction in which the display plane vertically points to the imaging plane. The lens to be detected includes at least one ring of microlenses; an image processor, which is connected to the imaging device. When the display is in the display state, the imaging device captures the image of the lens to be detected as an actual moiré image and uploads it to the image processor. The image processor is used to detect whether the moiré between at least one ring of microlenses in the lens to be detected is consistent based on the actual moiré image, and / or detect whether the lens to be detected is consistent with the standard product based on the actual moiré image and the standard moiré image. This device generates moiré by staggering the grids between the display and the imaging device, and places the lens to be detected between the two. The imaging device can capture the image of the lens to be detected carrying moiré and then transmit it to the image processor. By comparing and analyzing this image, the situation of the lens to be detected can be obtained. This device is simple, does not require complex equipment and processes to detect the consistency of the lens to be detected, can save manpower and operation time, and can perform quality detection on any lens to be detected through the moiré generated by the display and the imaging device, improving the practicability of the device.
[0028] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0030] Figure 1 is a kind of microlens frame mirror of the prior art;
[0031] Figure 2 is a schematic structural diagram of a lens quality detection device provided by an embodiment of the present invention;
[0032] Figure 3 is a schematic structural diagram of another lens quality detection device provided by an embodiment of the present invention;
[0033] Figure 4 It is a flowchart of a lens quality detection method provided by an embodiment of the present invention;
[0034] Figure 5 It is a schematic diagram of the detection state of a lens to be detected provided by an embodiment of the present invention;
[0035] Figure 6 It is another schematic diagram of the detection state of a lens to be detected provided by an embodiment of the present invention;
[0036] Figure 7 It is a flowchart of another lens quality detection method provided by an embodiment of the present invention.
[0037] Description of the drawings: 101 - display; 102 - lens to be detected; 103 - imaging device; 104 - image processor; 105 - carrying component; 1051 - support panel; 1052 - carrying part; 106 - conveying component; 1061 - conveyor belt; 1062 - roller; 1063 - gap; 107 - leveling component; 1071 - controller; 1072 - leveling mechanism. Detailed implementation manners
[0038] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present invention described here can be implemented in an order different from those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0040] Figure 1 It is a kind of microlens frame mirror in the prior art, Figure 2 It is a schematic structural diagram of a lens quality detection device provided by an embodiment of the present invention. As Figure 1 and Figure 2 shown, the lens quality detection device includes:
[0041] Moiré pattern generating component. The moiré pattern generating component includes a display 101 and an imaging device 103. The display plane of the display 101 and the imaging plane of the imaging device 103 are parallel to each other. The display pixel grid on the display plane and the imaging pixel grid on the imaging plane are rotated and offset by a preset angle. The preset angle is greater than 0° and less than 90°.
[0042] Wherein, the lens to be inspected 102 is located between the display 101 and the imaging device 103. The optical axis of the lens is parallel to the first direction. The first direction is the direction in which the display plane vertically points to the imaging plane. The lens to be inspected 102 includes at least one ring of microlenses.
[0043] Image processor 104. The image processor 104 is connected to the imaging device 103. When the display 101 is in the display state, the imaging device 103 captures an image of the lens to be inspected 102 as an actual moiré pattern image and uploads it to the image processor 104. The image processor 104 is used to detect whether the moiré patterns between at least one ring of microlenses in the lens to be inspected 102 are consistent based on the actual moiré pattern image, and / or to detect whether the lens to be inspected 102 is consistent with the standard product based on the actual moiré pattern image and the standard moiré pattern image.
[0044] It should be noted that, as Figure 1 shown, the lens to be inspected 102 is a lens for slowing down the deepening of myopia by distributing at least one ring of microlenses on the lens. Light enters the eye through multiple microlenses in the lens and is refracted in front of the retina to form myopic defocus, so as to achieve the effect of myopia prevention and control.
[0045] Wherein, moiré pattern refers to a new striped pattern generated due to incomplete matching when two grids at different angles overlap. In the embodiment of the present invention, the grids of the display 101 and the grids of the imaging device 103 are rotated and offset by a preset angle to analyze the generated moiré pattern. As Figure 2 shown, the display 101 emits light in a grid pattern, and its pixel points form a dot matrix grid. The higher the resolution of the display 101, the higher the precision. It forms a certain angle with the pixel point grid of the imaging device 103. When the lens to be inspected 102 is placed between the two grids, since the diopter of the lens will change the moiré pattern, the direction and period of the moiré pattern will change measurably. Among them, the actual moiré pattern image is an image of the lens to be inspected 102 with moiré patterns captured by the imaging device 103 when the lens to be inspected 102 is between the display 101 and the imaging device 103; the standard moiré pattern image is an image of the standard lens with moiré patterns captured by the imaging device 103 when the standard lens is between the display 101 and the imaging device 103. As Figure 2As shown, the optical axis of the lens is parallel to the first direction Y-axis, and the first direction Y-axis is the direction in which the display plane vertically points to the imaging plane.
[0046] Specifically, as Figure 2 shown, the imaging device 103 receives the actual moiré pattern image and transmits it to the image processor 104 for quality analysis of the lens 102 to be inspected. By detecting the moiré pattern direction and / or the change in period, the parameters of the lens can be calculated to determine the quality of the lens 102 to be inspected. There are three quality inspection methods. The first quality inspection method is that in the received actual moiré pattern image, due to the existence of multiple microlenses in the lens 102 to be inspected, the obtained actual moiré pattern image will show multiple moiré pattern images with regular directions and periods. Each microlens corresponds to a moiré pattern image, and the microlenses are distributed in a ring shape, and the corresponding moiré pattern images are also distributed in a ring shape. The moiré pattern image presented by a certain ring of microlenses in the lens 102 to be inspected can be compared to analyze whether their directions and arrangement spacings are consistent. If they are consistent, it proves that the diopter parameters of each microlens in each ring are consistent. The second quality inspection method is to compare the standard moiré pattern image presented by the standard lens with the moiré pattern image presented by the lens 102 to be inspected, and analyze whether their directions and arrangement spacings are consistent. If they are consistent, it proves that the diopter parameters of the lens 102 to be inspected and the standard lens are consistent, meeting the quality requirements of the lens 102 to be inspected. The third quality inspection method is that the first quality inspection method can be used to detect whether the lens 102 to be inspected is consistent itself first, and then the consistent lens 102 to be inspected is used with the second quality inspection method to detect whether the lens 102 to be inspected and the standard lens are consistent. In this way, it can be analyzed whether there is a unified error in the manufacturing process of the ring-shaped microlenses (such as the former is consistent and the latter is inconsistent), or only individual errors exist (the former is inconsistent), so that the process parameters of the lens 102 to be inspected can be adjusted. And if the results obtained twice are both consistent, it can be determined that the quality of the lens 102 to be inspected is qualified, and this detection result is more accurate.
[0047] Exemplarily, for the first quality inspection method, in the image processor 104, the orientation angles of the moiré pattern images corresponding to each microlens are marked. For example, in a ring, there are n microlenses, and the corresponding moiré pattern orientation angles are: a1, a2,... a n , and the average value of its orientation angle is: a, and the standard deviation is calculated for it. According to the classification of the quality of the lens 102 to be inspected, different standard deviation ranges can be set. For example: 0 ≤ A ≤ i, it is a first-class product; i < A ≤ j, it is a qualified product, A > j, it is an unqualified product. The specific determination levels and standards can be set according to the actual situation. Similarly, for its arrangement spacing, it is marked. For example, in a ring, there are n microlenses, and the average arrangement spacings of the moiré patterns in each microlens are b1, b2,... b n, the average arrangement pitch of moiré fringes among its n microlenses is: b, and the standard deviation is calculated for it, According to the grading of the quality of the lens to be inspected 102, different ranges of standard deviation can be set. For example, 0 ≤ B ≤ m is for excellent products; m < B ≤ r is for qualified products, and B > r is for unqualified products. The specific judgment grades and standards can be set according to the actual situation. For the second quality inspection method, the orientation angle of the standard moiré fringe image obtained is P, and the arrangement pitch is Q. Then, the average orientation angle of the actual moiré fringe image is calculated as p, and the average arrangement pitch is q. If 0 ≤ ∣P - p∣ ≤ k, it is an excellent product; k < ∣P - p∣ ≤ g is a qualified product; ∣P - p∣ > g is an unqualified product. The specific judgment grades and standards can be set according to the actual situation. It can be understood that for the third quality inspection method, both of the above two methods are calculated and compared. If both meet the range of excellent products, it is an excellent product; if one meets the excellent product and one meets the qualified product, it is a qualified product; in other cases, it is an unqualified product.
[0048] The values of k / g / m / r / i / j mentioned above can be specifically set according to the type of the lens to be inspected.
[0049] The lens quality inspection device provided by the embodiment of the present invention includes: a moiré fringe generating component, which includes a display and an imaging device. The display plane of the display and the imaging plane of the imaging device are parallel to each other. The display pixel grid on the display plane and the imaging pixel grid on the imaging plane are rotated and staggered by a preset angle, and the preset angle is greater than 0° and less than 90°; wherein, the lens to be inspected is located between the display and the imaging device, and the optical axis of the lens is parallel to the first direction, and the first direction is the direction in which the display plane vertically points to the imaging plane. The lens to be inspected includes at least one ring of microlenses; an image processor, which is connected to the imaging device. When the display is in the display state, the imaging device captures the image of the lens to be inspected as the actual moiré fringe image and uploads it to the image processor. The image processor is used to detect whether the moiré fringes among at least one ring of microlenses in the lens to be inspected are consistent based on the actual moiré fringe image, and / or to detect whether the lens to be inspected is consistent with the standard product based on the actual moiré fringe image and the standard moiré fringe image. This device generates moiré fringes by staggering the grids between the display and the imaging device, and places the lens to be inspected between the two. The imaging device can capture the image of the lens to be inspected carrying moiré fringes and then transmit it to the image processor. By comparing and analyzing this image, the situation of the lens to be inspected can be obtained. This device is simple, does not require complex equipment and processes to detect the consistency of the lens to be inspected, can save manpower and operation time, and can perform quality inspection on any lens to be inspected through the moiré fringes generated by the display and the imaging device, improving the practicability of the device.
[0050] Figure 3The structural schematic diagram of another lens quality detection device provided by an embodiment of the present invention is as follows. Figure 3 As shown, the lens quality detection device further includes: a carrying component 105. The carrying component 105 includes a support panel 1051 and a carrying portion 1052 located in the support panel 1051. The shape of the carrying portion 1052 matches the shape of the lens to be detected 102 and can expose the display plane for carrying and accommodating the lens to be detected 102.
[0051] Specifically, as Figure 3 shown, the carrying portion 1052 located at the center of the support panel 1051 is a hollow structure for placing the lens to be detected 102. The diameter of the carrying portion 1052 is D, and the diameter of the lens to be detected 102 is d. The relationship between D and d is D ≤ d to ensure that the lens to be detected 102 does not slip and can be stably placed on the carrying component 105. The carrying component 105 positions the lens to be detected 102 to ensure that the lens to be detected 102 is stably fixed between the display 101 and the imaging device 103 during the detection process, obtaining a stable actual moiré image, making the quality detection result of the lens to be detected 102 more accurate.
[0052] Continuing to refer to Figure 3 , the lens quality detection device further includes: a conveying component 106. The conveying component 106 is connected to the carrying component 105 and is used to convey and move the carrying component 105.
[0053] Specifically, the conveying component 106 includes a conveyor belt 1061, a roller 1062, and a motor (not shown in the figure). The conveyor belt 1061 is used in combination with the carrying component 105 to drive the carrying component 105 to stay between the display 101 and the imaging device 103 in sequence, that is, to convey the lens to be detected 102 to stay between the display 101 and the imaging device 103 in sequence for quality detection of the lens to be detected 102. It should be noted that the shape of the conveyor belt 1061 is constructed according to the shape of the carrying component 105, that is, holes with the same shape as the carrying component 105 are provided at certain intervals on the conveyor belt 1061 for placing the carrying component 105.
[0054] In the embodiments of the present invention, through the arrangement of the conveyor belt 1061 and the bearing assembly 105, the conveying length of each start of the conveyor belt 1061 is determined by the placement distance of the bearing assembly 105 on the conveyor belt 1061, and the residence time of the conveyor belt 1061 is set according to the detection time required for the lens to be inspected 102, so as to ensure that when the imaging device 103 detects the actual moiré pattern image of the lens to be inspected 102 below the conveyor belt 1061, the bearing assemblies 105 above and below the conveyor belt 1061 are in the same position. Or in other examples, the imaging device 103 can be arranged in the gap 1063 in the middle of the conveyor belt to ensure that the imaging device 103 can detect the actual moiré pattern image of the lens to be inspected 102 below the lens to be inspected. This lens quality detection device realizes an automated detection process, and further realizes a fast, efficient and large-scale applicable lens quality detection method, which can be applied to the continuous detection of the lens to be inspected 102 on the production line, improve the productivity, and contribute to the mass production and application promotion of micro-lens glasses.
[0055] Further, continuing to refer to Figure 3 , the lens quality detection device further includes: a leveling assembly 107, and the leveling assembly 107 includes: a controller 1071 and a leveling mechanism 1072;
[0056] The controller 1071 is respectively connected to the image processor 104 and the leveling mechanism 1072, and is used to control the leveling mechanism 1072 to level according to the moiré pattern distribution in the initial image obtained by the image processor 104 before the lens to be inspected 102 is placed.
[0057] Wherein, the leveling mechanism 1072 is fixedly connected to the imaging device 103 and / or the display 101.
[0058] Specifically, if the imaging device 103 and the display 101 are not placed in parallel, the presented actual moiré pattern will have an arc, which has a certain impact on the quality detection of the lens to be inspected 102. Therefore, it is necessary to observe the lens to be inspected 102 on the premise that the imaging device 103 and the display 101 are parallel. The controller 1071 stores the moiré pattern image in the initial image obtained by the image processor 104, that is, the moiré pattern image obtained when the lens to be inspected 102 is not placed, and determines whether the imaging device 103 and the display 101 are parallel according to the moiré pattern distribution in this image. If the moiré pattern is a parallel stripe in the same direction, it proves that the two are parallel. If it is detected that the two are not parallel, the controller 1071 controls the leveling mechanism 1072 to level the imaging device 103 and / or the display 101. This leveling assembly 107 can prevent the imaging device 103 and the display 101 from affecting the quality detection of the lens to be inspected 102 and ensure the accuracy of the results.
[0059] Exemplarily, there can be the following three leveling methods: The first one: The imaging device 103 is fixedly installed, and electric control telescopic rods are installed at the four corners of the display 101. The controller 1071 can receive the initial image in real time. At the same time, it controls the leveling mechanism 1072 to adjust the telescopic rods corresponding to the lower part of the display 101, thereby changing the moiré pattern, which is transmitted to the controller 1071, and then controls the leveling of the leveling mechanism 1072 until the moiré pattern in the initial image received by the controller 1071 shows parallel stripes in the same direction, proving that the imaging device 103 and the display 101 are parallel, and the leveling operation ends; The second one: The display 101 is fixedly installed, and the imaging device 103 is regulated and controlled; The third one: Dual regulation and control are performed on the display 101 and the imaging device 103 to make the two parallel.
[0060] Optionally, the display 101 is one of LED, LCD, OLED or micro-LED.
[0061] Among them, the display 101 can be connected to the controller 1071, and the controller 1071 can control the display 101 to be turned on or off, further improving the automation and intelligence of the detection device.
[0062] Exemplarily, LED is a display method that controls semiconductor light-emitting diodes and is used to display various information such as text, graphics, images, animations, market quotations, videos, and video signals. Micro-LED is a display where each pixel emits light by itself. LCD is a flat and ultra-thin display device, which consists of a certain number of color or black-and-white pixels and is placed in front of a light source or a reflector. OLED belongs to a current-type organic light-emitting device, and it is a phenomenon of light emission caused by the injection and recombination of carriers. The light emission intensity is proportional to the injected current. Under the action of an electric field, the holes generated at the anode and the electrons generated at the cathode of the OLED will move, and are respectively injected into the hole transport layer and the electron transport layer, and migrate to the light-emitting layer. When the two meet in the light-emitting layer, energy excitons are generated, which can excite the light-emitting molecules to finally generate visible light, enabling high-resolution display, and the resolution of the display 101 directly affects the detection accuracy of the quality of the lens 102 to be detected.
[0063] Optionally, the imaging device 103 is one of a digital camera, a linear scanning camera or a scanner.
[0064] Among them, the imaging device 103 can be connected to the controller 1071, and the controller 1071 can control the imaging device 103 to be turned on or off (such as the control of image acquisition), further improving the automation and intelligence of the detection device.
[0065] Exemplarily, the digital camera can be a color camera. The scanner can be a scanner with a galvanometer. The imaging device 103 selects a linear scanning camera, which can process its image line by line, or process a planar array image composed of multiple lines. Additionally, the line array camera is very suitable for measurement occasions, thanks to the high resolution of the sensor, which can accurately measure to the micron level. This type of camera is generally only used in two cases: First, the measured field of view is a slender strip, mostly used for problems detected on drums. Second, a very large field of view or extremely high precision is required. In this lens quality detection device, it is precisely necessary to observe the slender moiré pattern and have extremely high precision, which improves the accuracy and credibility of the detection result of the quality of the lens 102 to be inspected.
[0066] For the lens quality detection device provided in the above embodiment, the embodiment of the present invention also provides a corresponding lens quality detection method. Figure 4 is a flowchart of a lens quality detection method provided by an embodiment of the present invention. Refer to Figure 3 and Figure 4 , and this detection method includes:
[0067] S110. Obtain the image of the lens to be inspected as the actual moiré pattern image based on the lens quality detection device.
[0068] Specifically, the moiré pattern corresponding to the initial image is generated by the grid of the display 101 and the imaging device 103. Place the lens 102 to be inspected between the display 101 and the imaging device 103. The diopter of the lens affects the direction and period of the moiré pattern in the initial image, and the image obtained at this time is the actual moiré pattern image.
[0069] S120. Detect whether the moiré patterns between at least one ring of microlenses in the lens to be inspected are consistent based on the actual moiré pattern image, and / or detect whether the lens to be inspected is consistent with the standard product based on the actual moiré pattern image and the standard moiré pattern image.
[0070] Specifically, as Figure 2 shown, the imaging device 103 receives the actual moiré pattern image and transmits it to the image processor 104 for quality analysis of the lens 102 to be inspected. By detecting the actual moiré pattern, the parameters of the lens can be calculated to judge the quality of the lens 102 to be inspected. There are three quality detection methods: The first quality detection method: In the received actual moiré pattern image, due to the presence of multiple microlenses 1021 in the lens 102 to be inspected (as Figure 5 shown), the obtained actual moiré pattern image will show multiple moiré pattern images with regular directions and periods. Each microlens corresponds to a moiré pattern image, and the microlenses are distributed in a ring shape. The moiré pattern images presented by a certain ring or multiple rings of microlenses in the lens 102 to be inspected can be compared. If they are consistent, it proves that the lens 102 to be inspected has consistency (as Figure 5as shown in the figure), it meets the quality requirements of the lens 102 to be inspected; if not, it proves that the micro-lens parameters in the lens 102 to be inspected are inconsistent (such as Figure 6 as shown). Figure 5 and Figure 6 are only for illustration and do not specifically limit the embodiments of the present invention. The second quality inspection method: Compare the standard moiré pattern image presented by the standard lens with the actual moiré pattern image presented by the lens 102 to be inspected. If they are consistent, it proves that the lens 102 to be inspected has consistency and meets the quality requirements of the lens 102 to be inspected; among them, the standard moiré pattern image is similar to the example in Figure 5 , and the direction and spacing of the moiré patterns in the standard moiré pattern image may deviate from or be consistent with the example in Figure 5 . The third quality inspection method: First, the first quality inspection method can be used to detect whether the lens 102 to be inspected is consistent itself, and then the consistent lens 102 to be inspected is further inspected by the second quality inspection method to detect whether the lens 102 to be inspected is consistent with the standard lens. In this way, it can be analyzed whether there is a unified error in the manufacturing process of the annular micro-lenses (for example, the former is consistent and the latter is inconsistent), or only individual errors exist (the former is inconsistent), so that the process parameters of the lens 102 to be inspected can be adjusted. And if the results obtained twice are both consistent, it can be determined that the quality of the lens 102 to be inspected is qualified, and the inspection result is more accurate.
[0071] The lens quality inspection method provided by the embodiments of the present invention detects and classifies the quality of the lens to be tested by obtaining the actual moiré pattern image and detecting whether the moiré patterns between at least one ring of micro-lenses in the lens to be inspected are consistent, and / or detecting whether the lens to be inspected is consistent with the standard product based on the actual moiré pattern image and the standard moiré pattern image. This lens inspection method detects the quality of the lens to be inspected by analyzing the actual moiré pattern image affected by the lens to be inspected, and can detect the consistency of the lens to be inspected without complex equipment and processes. Moreover, it can save manpower and operation time, and the moiré patterns generated by the display and imaging device can be used to inspect the quality of any lens to be inspected, improving the practicability of the device.
[0072] Further, the above step of detecting whether the moiré patterns between at least one ring of micro-lenses in the lens to be inspected are consistent based on the actual moiré pattern image includes:
[0073] If the directions and spacings of the moiré patterns between the micro-lenses in each ring are the same, the diopter parameters of the micro-lenses in each ring are consistent; otherwise, the diopter parameters of the micro-lenses in each ring are inconsistent.
[0074] Specifically, the quality of the lens to be inspected is judged by detecting the actual moiré pattern. In the first quality inspection method, for the actual moiré pattern image, the direction and pitch of the moiré pattern corresponding to at least one ring of microlenses are compared and analyzed. If both the direction and pitch are the same, it proves that the diopter parameters of each microlens in this ring are consistent, and the quality inspection of the lens to be inspected is passed; if there is any inconsistency in the direction and pitch, the quality inspection of the lens to be inspected fails.
[0075] Based on the above embodiments, detecting whether the lens to be inspected is consistent with the standard product based on the actual moiré pattern image and the standard moiré pattern image includes:
[0076] If the direction and pitch of the moiré pattern in the actual moiré pattern image are the same as those in the standard moiré pattern image, the lens to be inspected is consistent with the standard product; otherwise, the lens to be inspected is inconsistent with the standard product.
[0077] Specifically, the quality of the lens to be inspected is judged by detecting the actual moiré pattern. In the second quality inspection method, the standard moiré pattern image presented by the standard lens is compared with the actual moiré pattern image presented by the lens to be inspected. The direction and pitch of the standard moiré pattern image and the actual moiré pattern image are compared and analyzed. If both the direction and pitch are the same, it proves that the diopter parameters of the standard lens and the lens to be inspected are consistent, and the quality inspection of the lens to be inspected is passed; if there is any inconsistency in the direction and pitch, the quality inspection of the lens to be inspected fails.
[0078] In this example, multiple standard moiré pattern images can also be pre-stored in the processor, and the lenses to be inspected with consistent diopter parameters for each microlens in each ring and consistent with the standard product are classified, for example, classified based on the correspondence between the diopter parameters and the standard moiré pattern.
[0079] Based on the above embodiments, step S110 of obtaining the image of the lens to be inspected as the actual moiré pattern image by the lens quality inspection device is refined. Figure 7 It is a flowchart of another lens quality inspection method provided by the embodiments of the present invention. As Figure 7 shown, this lens quality inspection method includes:
[0080] S210. Obtain a first actual moiré pattern image when at least the first monochromatic light is displayed on the display; obtain a second actual moiré pattern image when the second monochromatic light is displayed on the display.
[0081] Among them, the first actual moiré pattern is the actual moiré pattern image obtained when the first monochromatic light is displayed on the display and the lens to be inspected is located between the display and the imaging device; the second actual moiré pattern is the actual moiré pattern image obtained when the second monochromatic light is displayed on the display and the lens to be inspected is located between the display and the imaging device.
[0082] Exemplarily, the display selects red light as the first monochromatic light. At this time, the lens to be inspected presents a first actual moiré pattern image. The display selects green light as the second monochromatic light. At this time, the lens to be inspected presents a second actual moiré pattern image.
[0083] S220. After correcting the direction and pitch of the moiré fringes in the same microlens in the lens to be inspected based on the first actual moiré pattern image and the second actual moiré pattern image, it is used as the actual moiré pattern image. The wavelengths of the first monochromatic light and the second monochromatic light are different.
[0084] Specifically, due to the illumination of the lens to be inspected with different colors of light, the microlens of the lens to be inspected will cause different changes in the direction and pitch of the moiré fringes. Therefore, by averaging the moiré fringes obtained with two different wavelengths of light and then detecting the lens quality, misjudgment can be prevented and the detection quality of the lens to be inspected can be ensured. Among them, the monochromatic light is not limited to red light and green light.
[0085] S230. Based on the actual moiré pattern image, it is detected whether the moiré fringes between at least one ring of microlenses in the lens to be inspected are consistent, and / or, based on the actual moiré pattern image and the standard moiré pattern image, it is detected whether the lens to be inspected is consistent with the standard product.
[0086] In the embodiment of the present invention, by using two different wavelengths of light through the display to detect different actual moiré pattern images, the consistency of the parameters between the lenses is ensured, and the detection accuracy of the lens to be inspected is improved.
[0087] The above specific embodiments do not constitute a limitation to the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub - combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A lens quality detection device, characterized in that, Comprising: A moiré pattern generating component, which includes a display and an imaging device. The display plane of the display and the imaging plane of the imaging device are parallel to each other. There is a preset angle of rotation and stagger between the display pixel grid on the display plane and the imaging pixel grid on the imaging plane, and the preset angle is greater than 0° and less than 90°; Wherein, the lens to be inspected is located between the display and the imaging device. The optical axis of the lens is parallel to the first direction, and the first direction is the direction in which the display plane vertically points to the imaging plane. The lens to be inspected includes at least one ring of microlenses; An image processor, which is connected to the imaging device. When the display is in the display state, the imaging device captures an image of the lens to be inspected as an actual moiré pattern image and uploads it to the image processor. The image processor is used to detect whether the moiré pattern images presented by at least one ring of the microlenses in the lens to be inspected are consistent based on the actual moiré pattern image, and / or to detect whether the lens to be inspected is consistent with the standard product based on the actual moiré pattern image and the standard moiré pattern image.
2. The lens quality detection device according to claim 1, wherein, Further comprising: A carrying component, which includes a support panel and a carrying part located in the support panel. The shape of the carrying part matches the shape of the lens to be inspected and can expose the display plane for carrying and accommodating the lens to be inspected.
3. The lens quality detection device according to claim 2, characterized in that, Further comprising: A conveying component, which is connected to the carrying component for conveying and moving the carrying component.
4. The lens quality detection device according to claim 1, characterized in that, Further comprising: A leveling component, which includes a controller and a leveling mechanism; The controller is respectively connected to the image processor and the leveling mechanism, and is used to control the leveling mechanism to level according to the moiré pattern distribution in the initial image obtained by the image processor before the lens to be inspected is placed; Wherein, the leveling mechanism is fixedly connected to the imaging device and / or the display.
5. The lens quality detection device according to claim 1, characterized in that The display is one of LED, LCD, OLED or micro-LED.
6. The lens quality detection device according to claim 1, characterized in that, The imaging device is one of a digital camera, a linear scanning camera or a scanner.
7. A method for detecting the quality of a lens, characterized in that, Implemented based on the lens quality detection device according to any one of claims 1-6, the detection method includes the following steps: Obtaining an image of the lens to be inspected as an actual moiré pattern image based on the lens quality detection device; Detecting whether the moiré pattern images presented by at least one ring of the microlenses in the lens to be inspected are consistent based on the actual moiré pattern image, and / or detecting whether the lens to be inspected is consistent with the standard product based on the actual moiré pattern image and the standard moiré pattern image.
8. The lens quality inspection method according to claim 7, characterized in that, The detecting whether the moiré pattern images presented by at least one ring of the microlenses in the lens to be inspected are consistent based on the actual moiré pattern image includes: If the directions and spacings of the moiré pattern images presented by the microlenses in each ring are the same, the diopter parameters of the microlenses in each ring are consistent; otherwise, the diopter parameters of the microlenses in each ring are inconsistent.
9. The lens quality inspection method according to claim 7, characterized in that, Detecting whether the lens to be inspected is consistent with the standard product based on the actual moiré pattern image and the standard moiré pattern image includes: If the moiré fringes in the actual moiré image are the same in both direction and pitch as those in the standard moiré image, then the lens to be inspected is consistent with the standard product; otherwise, the lens to be inspected is inconsistent with the standard product.
10. The lens quality detection method according to claim 7, characterized in that Obtaining the image of the lens to be inspected as the actual moiré image based on the lens quality inspection device includes: Obtaining a first actual moiré fringe image at least when a first monochromatic light is displayed on the display; obtaining a second actual moiré fringe image when a second monochromatic light is displayed on the display; After correcting the direction and pitch of the moiré fringes in the same microlens of the lens to be inspected based on the first actual moiré fringe image and the second actual moiré fringe image, the result is used as the actual moiré image, where the wavelengths of the first monochromatic light and the second monochromatic light are different.
Citation Information
Patent Citations
Lens online classifying and sorting device
CN103736672A
Novel lens focus detects device
CN207007470U