Target, system, method and equipment for detecting resolving power of miniature lens module

By designing a resolution detection target and system suitable for micro lens modules, the problems of large errors and insufficient resolution in the prior art are solved, and the accuracy and efficiency of the resolution detection of micro lens modules are achieved.

CN119991824APending Publication Date: 2025-05-13华天慧创科技(西安)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510068197.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The prior art has a large error when detecting the resolution of the micro lens module, and the MTF algorithm requires a higher resolution image. The photosensitive chip size limitation of the micro lens module makes the image resolution low, which cannot meet the algorithm requirements and ensures detection accuracy.

Method used

A miniature lens module analytical detection target and system is designed, including a central pattern and an edge pattern. By collecting the original image for the detection pattern on the target, segmenting and pixel feature processing, identifying the number of lines, summarizing the number of target lines, and characterizing the resolution force.

Benefits of technology

It realizes accurate, simple and efficient detection of the resolution of the micro lens module, has good repeatability, easy operation, no high-precision operation, clear detection results, and is suitable for a variety of scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0005244904530000011
    Figure HDA0005244904530000011
  • Figure HDA0005244904530000012
    Figure HDA0005244904530000012
  • Figure HDA0005244904530000021
    Figure HDA0005244904530000021
Patent Text Reader

Abstract

The invention discloses a micro lens module resolution detection target, system, method and equipment. The method comprises the following steps: acquiring an original image acquired by a to-be-detected lens module aiming at a detection pattern on the target; segmenting the original image to obtain an image block containing a line pair pattern; and performing line identification on each image block, and determining the number of lines in each image block. And summarizing the line number of each image block to obtain the target line number of the collected original image. The method has good repeatability; the operation is simple and convenient, and over-high precision requirements on operators are not required; the standard is clear, and the detection result of the method can be benchmarked with the detection result of the current mainstream optical detection standard; the method is suitable for various scenes, has no requirement and limitation on optical characteristics such as uniformity of analytic force in each direction, image resolution, limited field angle and distortion of the miniature lens, and can be suitable for various miniature lenses.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of miniature lens module resolution detection, and in particular to a miniature lens module resolution detection target, system, method and equipment. Background Art

[0002] With the increasing application of micro lens modules in medical scenarios, the requirements for their imaging performance are also getting higher and higher. However, due to the requirements of the usage scenarios, the size of lens modules is getting smaller and smaller, and the difficulty of manufacturing and testing is getting greater and greater. In practice, the method of line pair pattern target + manual visual judgment represented by USAF1951 has a long history and has been widely used in the optical inspection industry. The evaluation criteria of this method are intuitive and closer to the actual usage scenario, but the operation is cumbersome, the operation accuracy requirements are high, and the evaluation criteria are greatly affected by subjective factors, making quality control difficult to guarantee.

[0003] At present, the customized target + algorithm determination method represented by MTF is widely used in the inspection of camera lenses, mobile phone lenses, etc. This method eliminates the influence of subjective factors and is more suitable for mass production. Among them, the MTF algorithm of the above method assumes that the lens resolution calculation area is relatively stable and there is no anisotropy.

[0004] However, for micro lenses in industries such as medical, their resolution stability is usually difficult to reach the level of camera lenses due to limitations in process and physical size. There may also be large differences in resolution in various directions, resulting in large errors when using the above-mentioned MTF algorithm to analyze and detect micro lenses. In addition, the MTF algorithm requires higher-resolution images to produce more accurate results. However, due to the size limitations of the photosensitive chip of the micro lens module, the corresponding image resolution is low and cannot meet the algorithm requirements to ensure detection accuracy. Summary of the invention

[0005] The purpose of this application is to provide a detection target, detection method and equipment for the resolution of a micro lens module to ensure the detection accuracy of the resolution of the micro lens module.

[0006] To achieve the above objectives, this application provides the following solutions:

[0007] In a first aspect, the present application provides a micro lens module resolution detection target, the detection target comprising:

[0008] A substrate, on which a detection pattern is arranged;

[0009] The detection pattern includes a central pattern and an edge pattern, the central pattern includes a group of line pair patterns, the edge pattern includes multiple groups of line pair patterns, and each group of line pair patterns includes multiple lines of equal width and equal spacing;

[0010] The central pattern is used to detect the central resolution of the lens module lens, and the edge image is used to detect whether the edge resolution of the micro lens module lens meets the standard.

[0011] Optionally, the micro-lens module resolution detection target provided by the present application, the detection pattern also includes an auxiliary pattern, the auxiliary pattern includes an auxiliary axis and an auxiliary edge line, the auxiliary axis is a straight line passing through the center pattern, the auxiliary edge line is a circle passing through the edge pattern, the auxiliary pattern is used to align the target with the lens module, and the auxiliary edge line is used to determine the distance from the lens of the lens module to the target.

[0012] Optionally, in the micro-lens module resolution detection target provided in the present application, the line pair patterns in the center image and the edge image include 4 groups of line patterns, each group of line patterns includes 6 lines, and the width and spacing of the lines in the center image and the edge patterns are different.

[0013] In a second aspect, the present application provides a micro lens module resolution detection system, comprising the micro lens module resolution detection target and a lens module to be detected as described in the first aspect.

[0014] In a third aspect, the present application provides a method for detecting the resolution of a micro lens module, the detection method being used in the micro lens module resolution detection system as described in the second aspect, the method comprising:

[0015] Acquire an original image captured by the lens module to be detected for the detection pattern on the target, wherein the original image includes a plurality of line pair patterns in the detection pattern;

[0016] Slicing the original image to obtain image blocks including line pair patterns;

[0017] Perform pixel recognition processing on each image block to determine the number of lines in each image block;

[0018] The number of lines of each image block is fused to obtain the target number of lines of the collected original image, wherein the target number of lines represents the recognition result of multiple line pair patterns of the detection pattern, and is used to characterize the resolution of the lens module to be detected.

[0019] Optionally, in the method for detecting the resolution of a micro lens module provided in the present application, the step of performing pixel recognition processing on each image block to determine the number of lines in each image block includes:

[0020] determining the orientation of the line pair pattern in each image block;

[0021] According to the direction of the line pair pattern in each image block, each image block is sampled line by line to obtain a sampling result, wherein the sampling result represents a brightness change trend of the image block;

[0022] The number of lines of the line pair pattern in each image block is determined according to the sampling result.

[0023] Optionally, in the method for detecting the resolution of a micro lens module provided by the present application, the determining the direction of the line pair pattern in each image block comprises:

[0024] Calculate the gradient information of each pixel in each image block;

[0025] The direction of the line pair pattern in each image block is determined according to the gradient information of each pixel point.

[0026] Optionally, in the method for detecting the resolution of a micro lens module provided by the present application, the step of determining the direction of a line pair pattern in each image block according to the gradient information of each pixel point comprises:

[0027] According to the gradient information of each pixel in the image block, the gradient direction of each pixel is classified;

[0028] The average value of the gradient direction corresponding to the category with the largest number of pixels is calculated, and the average value is used as the direction of the line pair pattern in the image block.

[0029] Optionally, the method for detecting the resolution of a micro lens module provided in the present application, after acquiring the original image, further comprises:

[0030] Grayscale processing is performed on the original image to obtain a grayscale image corresponding to the original image.

[0031] In a fourth aspect, the present application provides a processing device, characterized in that the processing device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the micro-lens module resolution detection method as described in the third aspect.

[0032] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0033] The present application provides a target, system, method and device for detecting the resolution of a micro-lens module. When the resolution of a lens module to be detected is detected by the constructed micro-lens resolution detection system, the lens module to be detected collects the detection pattern on the target designed in the system to obtain the original image collected by the lens module to be detected for the detection pattern on the target, and then the collected original image is segmented to extract image blocks containing each line pair pattern in the detection pattern, and then pixel feature processing is performed on each extracted image block to identify the number of lines in each image block, and finally the number of lines in each image block is summarized to obtain all line data included in the original image, that is, the target line data amount, and finally accurate, simple and efficient calculation of the resolution of the lens module to be detected is achieved. That is, the detection of the resolution of the micro lens module in this application can directly and accurately determine whether the resolution of the micro lens module meets the standard, and has good repeatability; it is easy to operate and does not require excessive precision from the operator; the standard is clear, and the detection results of this method can be compared with the detection results of the current mainstream optical detection standards; it is adaptable to a variety of scenarios, and this method has no requirements or restrictions on the uniformity of the resolution of the micro lens in all directions, image resolution, limited field of view angle, distortion and other optical properties, and can be applied to various micro lenses. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 A schematic diagram of the structure of a resolution detection target of a micro lens module in some embodiments of the present application;

[0036] Figure 2 A schematic diagram of the structure of a resolution detection system for a micro-lens module according to some embodiments of the present application;

[0037] Figure 3 A schematic diagram of a flow chart of a method for detecting the resolution of a micro-lens module according to some embodiments of the present application;

[0038] Figure 4 A schematic diagram of a flow chart of a method for detecting the resolution of a micro-lens module according to other embodiments of the present application;

[0039] Figure 5 A schematic diagram of a flow chart of a method for detecting the resolution of a micro-lens module according to some further embodiments of the present application;

[0040] Figure 6A schematic diagram of the structure of a device for detecting the resolution of a micro-lens module in some embodiments of the present application;

[0041] Figure 7 A schematic diagram of the structure of a processing device provided for some embodiments of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0043] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0044] It is understandable that as miniature lens modules are increasingly used in medical scenarios, the requirements for their imaging performance are becoming higher and higher. In addition, due to the requirements of the usage scenarios, the size of lens modules is getting smaller and smaller, and the difficulty of manufacturing and testing is also increasing.

[0045] In the present application, in order to overcome the problem of the micro lens module resolution detection method of the MTF detection method in the related art when used for a micro lens module, namely, due to the stability of the micro lens and the resolution limitation of the image, the MTF detection method has low detection accuracy. By designing a target and a detection method suitable for the micro lens module resolution detection scenario, it is possible to adapt to the increasingly high accuracy requirements and the increasingly miniaturized lens modules, thereby ensuring the detection accuracy and efficiency.

[0046] In order to better understand the micro-lens module resolution detection target, detection method and equipment provided in the present application, they are described in detail below with reference to the accompanying drawings.

[0047] Figure 1 FIG. 1 is a schematic diagram of a structure of a micro lens module resolution detection target provided by some embodiments of the present application. Figure 1 As shown, the detection targets specifically include:

[0048] A substrate is provided with a detection pattern.

[0049] The detection pattern includes a central pattern and an edge pattern. The central pattern includes a group of line pair patterns, and the edge pattern includes multiple groups of line pair patterns. Each group of line pair patterns includes multiple lines with equal width and equal spacing.

[0050] The central field of view is used to detect the central resolution of the lens in the micro lens module, and the edge field of view is used to detect whether the edge resolution of the lens in the micro lens module meets the standard.

[0051] Specifically, the micro-lens module resolution detection target provided in the embodiment of the present application can design a detection pattern on a substrate, such as a glass or PVC substrate.

[0052] Combination Figure 2 As shown, the detection pattern may include a central pattern and an edge pattern, corresponding to the central field of view and the edge field of view on the target.

[0053] One set of line pair patterns may be designed in the center pattern, and multiple sets of line pair patterns may be designed in the edge pattern, wherein each set of line pair patterns may include multiple black lines of equal width and equal distance.

[0054] In practice, in some embodiments of the present application, the line pair patterns in the center pattern and the edge pattern may adopt different standards respectively to detect whether the resolution of the center and edge of the lens meets the standards.

[0055] For example, each set of line pair patterns consists of six black lines of equal width and equal distance in each direction in four directions. The line width is specified from the mainstream resolution detection standard according to the resolution requirements of the lens. The line length is 11 times the line width, and the spacing is equal to the line width.

[0056] That is, the line pair specification is the specification used for the line pair, which is divided into two parts, namely the details of the resolution standard used, and the actual line width (in microns).

[0057] For example, the adopted standard may be (USAF1951, A1) and the like.

[0058] like Figure 1 As shown, the specifications of the center pattern are 3-3 (49, 69) in (USAF1951, A1); the specifications of the line pair pattern in the edge pattern are 2-5 (78-75) in (USAF1951, A1).

[0059] It can be understood that the embodiments of the present application do not limit the standards of specific ground line pair patterns.

[0060] Optionally, in some embodiments of the present application, in order to improve detection efficiency, the detection pattern may further include an auxiliary pattern, and the auxiliary pattern may include an axis line and an edge line.

[0061] Among them, the axis auxiliary axis is a straight line passing through the center pattern, the auxiliary edge line is a circle passing through the edge pattern, the auxiliary pattern is used to align the target with the lens module, and the auxiliary edge line is used to determine the distance from the lens of the lens module to the target.

[0062] For example, Figure 1 As shown in the figure, the auxiliary pattern includes straight lines in four directions and arcs around the target. The straight lines in the four directions are used to facilitate the alignment of the target and the lens module in the image, and the arcs around the target are used to control the distance from the lens to the target. For a square lens, the arcs around the target should be tangent to the four sides of the square at the test distance. For a rectangular lens, the arcs around the target should be tangent to the two short sides.

[0063] It can be understood that by applying the above-mentioned resolution detection target to the resolution detection of the micro lens module, that is, Figure 2 As shown, in some embodiments of the present application, a micro lens module resolution detection system can also be provided.

[0064] like Figure 2 As shown, the system may specifically include a lens module to be detected, and the resolution detection target provided by the above embodiments.

[0065] In actual use, the test module is aligned with the test target, and the position of the lens module is adjusted so that the auxiliary arc of the test target is tangent to the short side of the imaging screen of the lens module.

[0066] Then, by processing the collected images, that is, executing a detection algorithm on the number of lines therein, the resolution level of the lens can be judged according to the recognition of the line pair pattern in each area, and finally the resolution of the lens module can be detected.

[0067] That is, in some embodiments of the present application, the detection system constructed by the resolution targets designed in the above embodiments can realize accurate and efficient detection of the resolution of the lens in the lens module to be detected.

[0068] In actual operation, the target can first be customized according to the optical parameters of the lens module, the distance to be measured and the resolution target, so that the line pair patterns in the center and edge fields of view reach the resolution target, and the arc of the target periphery is inscribed with the short side of the imaging screen at the distance to be measured.

[0069] Then, the lens module is aimed at the target, keeping the image plane parallel to the target. The distance and position are adjusted until the arc is tangent to the short side of the lens image, a photo is taken, and an algorithm is used to analyze the line pair pattern in the image.

[0070] Finally, the resolution level of the lens can be determined based on the recognition of line pair patterns at different positions.

[0071] It can be understood that if the image is clear, the number of black lines in the recognized line pair pattern should be the same as the real object. If the image is blurred or has double images in the center or edge field of view, one or more of the four line pair patterns in each area will recognize a number of black lines that does not match the real object. According to the specific resolution requirements of the lens module, different standards can be formulated to determine whether the lens module meets the standards.

[0072] In order to better understand the resolution detection provided in the embodiments of the present application, the specific detection algorithm is described in detail below through a flow chart.

[0073] Figure 3 The figure is a flow chart of a method for detecting the resolution of a micro lens module provided in an embodiment of the present application. The method can be executed by a processing device, which can be an electronic device such as a computer with data processing capabilities.

[0074] The method may specifically include the following steps:

[0075] S110, obtaining an original image captured by the lens module to be inspected with respect to the inspection pattern on the target, wherein the original image includes a plurality of line pair patterns in the inspection pattern.

[0076] S120, segmenting the original image to obtain image blocks containing line pair patterns.

[0077] S130, performing line recognition on each image block to determine the number of lines in each image block.

[0078] S140, summing up the number of lines of each image block to obtain the target number of lines of the collected original image, wherein the target number of lines represents the recognition result of multiple line pair patterns of the detection pattern, and is used to indicate whether the resolution of the lens module to be detected meets the standard.

[0079] Specifically, in some embodiments of the present application, when the resolution of the lens module to be detected is detected, the following Figure 2 When performing resolution testing on the target in the resolution establishment system shown, the lens module to be tested can be started first and various parameters can be configured.

[0080] For example, in practice, the target can first be customized according to the optical parameters of the lens module, the distance to be measured and the resolution target, so that the line pair patterns in the center and edge fields of view reach the resolution target, and the arc of the target periphery is inscribed with the short side of the imaging screen at the distance to be measured.

[0081] Then, the lens module is aimed at the target, keeping the image plane parallel to the target. The distance and position are adjusted until the arc is tangent to the short side of the lens image, a photo is taken, and an algorithm is used to analyze the line pair pattern in the image.

[0082] Then, the resolution level of the lens is determined based on the recognition of line pair patterns at different positions. If the image is clear, the number of black lines in the recognized line pair pattern should be the same as the actual object. If the image is blurred or has double images in the center or edge field of view, one or more of the four line pair patterns in each area will recognize a number of black lines that does not match the actual object. Different standards can be formulated based on the specific resolution requirements of the lens module.

[0083] Furthermore, after the detection system is built and the parameters are configured, the lens module to be detected can collect the detection image of the object, that is, the target, to obtain the original image. The collected original image can then be transmitted to the processing device.

[0084] The processing device may be a host computer, that is, a computer device with data processing function.

[0085] Furthermore, after acquiring the collected data of the detection pattern of the module to be detected for the target, that is, the original image data, the processing device can perform pixel feature recognition processing on the original image to identify the included line pair pattern.

[0086] That is, the original image can be firstly segmented, that is, all image blocks containing line pair patterns can be extracted by using image segmentation method, and then each image block is taken as the analysis object, the line images included therein are identified, and the number of lines contained in each image block is obtained.

[0087] Finally, the number of lines determined by each image block is fused and counted, and finally the target number of lines of the original image collected by the lens module to be detected is obtained. The target number of lines can represent the recognition result of the lens module to be detected for multiple line pair patterns on the detection pattern, that is, it can be used to characterize whether the resolution of the lens module to be detected meets the standard.

[0088] For example, Figure 1 The target shown is specified according to the requirements of the usage scenario. If 5 lines in each group of line pair patterns in the center pattern are identified, and 4 lines in each group of line pair patterns in the edge pattern are identified, it means that the lens module to be tested meets the standard, otherwise, it does not meet the standard.

[0089] It can be understood that in the embodiment of the present application, when the resolution of the lens module to be detected is detected by the constructed micro-lens resolution detection system, the lens module to be detected collects the detection pattern on the designed target in the system to obtain the original image collected by the lens module to be detected for the detection pattern on the target, and then the collected original image is segmented to extract image blocks containing each line pair pattern in the detection pattern, and then pixel feature processing is performed on each extracted image block to identify the number of lines in each image block, and finally the number of lines in each image block is summarized to obtain all line data included in the original image, that is, the target line data amount, and finally the accurate, simple and efficient calculation of the resolution of the lens module to be detected is achieved. That is, the detection of the resolution of the micro lens module in this application can directly and accurately determine whether the resolution of the micro lens module meets the standard, has good repeatability, and does not require excessively high requirements on the uniformity of the resolution of the lens in all directions and the image resolution; it is easy to operate and does not require excessively high precision for the operators; the standard is clear, and the detection results of this method can be compared with the detection results of the current mainstream optical detection standards; it is adaptable to a variety of scenarios, and this method has no restrictions on the optical properties of the micro lens such as the field of view angle and distortion, and can act on most micro lenses.

[0090] Optionally, in some embodiments of the present application, in order to analyze the original image, before segmenting the original image, Figure 4 As shown, the method may also include:

[0091] S111, grayscale processing is performed on the original image to obtain a grayscale image after grayscale processing.

[0092] Specifically, the raw image captured by the micro lens module, that is, the original image, is converted into a grayscale image.

[0093] It is understandable that, since there will be a mosaic effect when Bayer coding is decoded, this step needs to select a conversion algorithm that can avoid this mosaic effect, or complete the color space conversion in a non-interpolation manner.

[0094] Optionally, in some embodiments of the present application, when pixel feature processing is performed on each image block including the line pair pattern to determine the number of lines in each image block, such as Figure 5 As shown, the following steps may be specifically included:

[0095] S131, determining the direction of the first pattern in each image block.

[0096] S133, sampling each image block row by row according to the direction of the line pair pattern in each image block to obtain a sampling result, which represents a change trend of the brightness feature of the image block.

[0097] S134: Determine the number of lines of the line pair pattern in each image block according to the sampling result.

[0098] Specifically, combined Figure 4 As shown in FIG. 1 , after the segmentation is completed, the direction of the line pair pattern in each image block can be determined, and then the image block is sampled line by line along the direction of the line pair pattern in a direction perpendicular to the line pair pattern, such as in a direction perpendicular to the black line, to obtain the sampling result. Then, for each line of sampling results, the change trend of its brightness is analyzed, and according to the brightness change, it is determined that this line of sampling is most likely to be composed of several black lines, so as to determine the number of lines in each image block as the recognition result of each line pair pattern in each image block.

[0099] Then, all recognition results of each line pair pattern in each image block, that is, the sampling results, are summarized, and the sampling results of each row in each image block are counted. The number of lines obtained, that is, the target number of lines, is used as the result of this test to indicate whether the resolution of the lens module to be tested meets the standard.

[0100] For example, if the ratio of the highest number of black lines in the recognition result of the image block at the edge position exceeds a threshold, it is considered to be the number of lines of the line pair pattern, otherwise it is considered that the line pair pattern has no reading, that is, it does not meet the standard.

[0101] It can be understood that, in practice, a resolution target can be set according to needs, that is, a line number threshold can be set.

[0102] For example, according to Figure 1 For the target structure shown, a center threshold and an edge threshold can be set. For example, the center threshold can be set to 5 and the edge threshold can be set to 4.

[0103] Then, in the detection result, if the recognition result of the image block at the center position is greater than or equal to 5, that is, 5 or 6 lines can be identified in the image block at the center position; and the recognition result of the image block corresponding to the edge position is greater than or equal to 4, that is, 4 or more lines can be identified in the image block at the edge position, then it means that the resolution of the lens module to be detected meets the standard, that is, the lens module to be detected meets the standard.

[0104] Otherwise, it may indicate that the lens module to be tested does not meet the standards.

[0105] Optionally, in some embodiments of the present application, determining the direction of the line pair pattern in the image block may specifically include the following steps:

[0106] S01, calculating the gradient information of each image block.

[0107] S02: Determine the direction of the line pair pattern in each image block according to the gradient information of each image block.

[0108] Specifically, when determining the direction of the line pair pattern in each image block, the gradient information of each pixel point in each image block may be calculated first, that is, the gradient of each pixel point in each image block may be calculated.

[0109] It can be understood that the gradient of each pixel in the image is the partial derivative of the binary function of the image.

[0110] Furthermore, after the gradient information of each pixel point of each image block is determined, the direction of the line pair pattern in each image block can be determined according to the gradient information.

[0111] This can be achieved through the following steps:

[0112] S001, classifying the gradient direction of each pixel point according to the gradient information of each pixel point in the image block.

[0113] S002, calculating the average value of the gradient direction corresponding to the direction category with the largest number of pixels, and using the average value as the direction of the line pair pattern in the image block.

[0114] Specifically, taking an image block as an example, the specific process of determining the pattern direction is explained. That is, for a certain image block, the gradient direction of each pixel in the image block can be calculated first, and then these directions can be classified, such as into four BINs of 0 degrees, 45 degrees, 90 degrees, and 135 degrees, that is, direction categories.

[0115] Furthermore, the average value of the gradient direction corresponding to the direction category with the largest number of pixels can be calculated, that is, the BIN with the largest number can be selected, and then the average value is calculated using the gradient direction of the pixels in the BIN, and the average value is the direction of the line pair pattern.

[0116] Optionally, in some embodiments of the present application, in order to improve the detection accuracy, after the original image is segmented and each image block including the pattern is extracted, and before the gradient information of each image block is calculated, the method may further include:

[0117] S0001, the gradient information appropriately expands the image block outward to obtain the expanded image block.

[0118] Specifically, in order to ensure that the boundary of the image block can completely wrap the line pair pattern, after the gradient information of each image block is determined, the image block can be appropriately expanded outward using the gradient information so that each analysis object can include all line pattern information in the original image.

[0119] It can be understood that when processing the original image, the above algorithm can be applied to each image block in the image in practice, so as to calculate the number of black lines of all line pair patterns in the entire image.

[0120] It can be understood that the resolution detection method provided in the embodiment of the present application is accurate and stable. Specifically, the method can directly and accurately distinguish the resolution of the micro lens module, and the result must have good repeatability, that is, the method is applied to the same micro lens module multiple times, and the judgment result is always the same.

[0121] The operation should be simple. Specifically, the method should not require the operator to have too high precision, and the steps should be as simple as possible. At the same time, a single test should not take too much time.

[0122] The standard is clear. Specifically, the test results of this method should be comparable to the test results of the current mainstream optical test standards (such as USAF1951 standard, A1 standard, etc.).

[0123] Adaptable to various scenarios. Specifically, the method should not have any restrictions on the optical properties of the micro-lens, such as the field of view angle and distortion, and can be applied to most micro-lenses.

[0124] On the other hand, the present application also provides a lens module resolution detection device, such as Figure 6 As shown, the detection device comprises:

[0125] An acquisition module 210 is used to acquire an original image collected by the lens module to be detected for the detection pattern on the target, wherein the original image includes a plurality of line pair patterns in the detection pattern;

[0126] A segmentation module 220, configured to segment the original image to obtain image blocks including line pair patterns;

[0127] The processing module 230 is used to perform pixel recognition processing on each image block to determine the number of lines in each image block;

[0128] The summarizing module 240 is used to summarize the number of lines in each image block to obtain the target number of lines in the collected original image, where the target number of lines represents the recognition result of multiple line pair patterns of the detection pattern, and is used to characterize the resolution of the lens module to be detected.

[0129] Optionally, in the lens module resolution detection device provided in the embodiment of the present application, the processing module is specifically used for:

[0130] determining the orientation of the line pair pattern in each image block;

[0131] According to the direction of the line pair pattern in each image block, each image block is sampled line by line to obtain a sampling result, wherein the sampling result represents a brightness change trend of the image block;

[0132] The number of lines of the line pair pattern in each image block is determined according to the sampling result.

[0133] Optionally, in the lens module resolution detection device provided in some embodiments of the present application, the processing module is specifically used for:

[0134] Calculate the gradient information of each pixel in each image block;

[0135] The direction of the line pair pattern in each image block is determined according to the gradient information of each pixel point.

[0136] Optionally, in the lens module resolution detection device provided in some embodiments of the present application, the processing module is specifically used for:

[0137] According to the gradient information of each pixel in the image block, the gradient direction of each pixel is classified;

[0138] The average value of the gradient direction corresponding to the category with the largest number of pixels is calculated, and the average value is used as the direction of the line pair pattern in the image block.

[0139] Optionally, in the lens module resolution detection device provided in some embodiments of the present application, after acquiring the original image, the method further includes:

[0140] The grayscale processing module 250 is used to perform grayscale processing on the original image to obtain a grayscale image corresponding to the original image.

[0141] In an exemplary embodiment, a processing device is provided, namely a radar monitoring device. The processing device may be a server or a terminal, and its internal structure diagram may be as follows: Figure 7 As shown. The processing device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the processing device is used to provide computing and control capabilities. The memory of the processing device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the processing device is used to store video tag processing data. The input / output interface of the processing device is used to exchange information between the processor and an external device. The communication interface of the processing device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for detecting the resolution of a micro lens module is implemented.

[0142] Those skilled in the art will understand that Figure 7The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the processing device to which the scheme of the present application is applied. The specific processing device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0143] In an exemplary embodiment, a processing device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0144] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0145] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0146] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0147] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0148] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a processing device, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.

[0149] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0150] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A micro lens module resolution detection target, characterized in that: The detection targets include: A substrate, on which a detection pattern is arranged; The detection pattern includes a central pattern and an edge pattern, the central pattern includes a group of line pair patterns, the edge pattern includes multiple groups of line pair patterns, and each group of line pair patterns includes multiple lines of equal width and equal spacing; The central pattern is used to detect the central resolution of the lens module lens, and the edge image is used to detect the edge resolution of the micro lens module lens.

2. The micro-lens module resolution detection target according to claim 1, characterized in that: The detection pattern also includes an auxiliary pattern, which includes an auxiliary axis and an auxiliary edge line. The auxiliary axis is a straight line passing through the center pattern, and the auxiliary edge line is a circle passing through the edge pattern. The auxiliary pattern is used to align the target with the lens module, and the auxiliary edge line is used to determine the distance from the lens of the lens module to the target.

3. The micro-lens module resolution detection target according to claim 1, characterized in that: The line pair patterns in the central image and the edge image include 4 groups of line patterns, each group of line patterns includes 6 lines, and the widths and spacings of the lines in the central image and the edge patterns are different.

4. A micro lens module resolution detection system, comprising the micro lens module resolution detection target as described in any one of claims 1 to 3 and a lens module to be detected.

5. A method for detecting the resolution of a micro lens module, characterized in that: The detection method is used in the micro-lens module resolution detection system according to claim 4, and the method comprises: Acquire an original image captured by the lens module to be detected for the detection pattern on the target, wherein the original image includes a plurality of line pair patterns in the detection pattern; Slicing the original image to obtain image blocks including line pair patterns; Perform pixel recognition processing on each image block to determine the number of lines in each image block; The number of lines of each image block is summarized to obtain the target number of lines of the collected original image, wherein the target number of lines represents the recognition result of multiple line pair patterns of the detection pattern, and is used to characterize whether the resolution of the lens module to be detected meets the standard.

6. The method for detecting the resolution of a micro lens module according to claim 5, characterized in that: The performing pixel recognition processing on each image block to determine the number of lines in each image block comprises: determining the orientation of the line pair pattern in each image block; According to the direction of the line pair pattern in each image block, each image block is sampled line by line to obtain a sampling result, wherein the sampling result represents a brightness change trend of the image block; The number of lines of the line pair pattern in each image block is determined according to the sampling result.

7. The method for detecting the resolution of a micro lens module according to claim 6, characterized in that: Determining the direction of the line pair pattern in each image block includes: Calculate the gradient information of each pixel in each image block; The direction of the line pair pattern in each image block is determined according to the gradient information of each pixel point.

8. The method for detecting the resolution of a micro-lens module according to claim 7, characterized in that: Determining the direction of the line pair pattern in each image block according to the gradient information of each pixel point includes: According to the gradient information of each pixel point in the image block, the gradient direction of each pixel point is classified to obtain multiple direction categories; The average value of the gradient direction corresponding to the direction category with the largest number of pixels is calculated, and the average value is used as the direction of the line pair pattern in the image block.

9. The method for detecting the resolution of a micro lens module according to claim 5, characterized in that: After acquiring the original image, the method further includes: Grayscale processing is performed on the original image to obtain a grayscale image corresponding to the original image.

10. A processing device, characterized in that: The processing device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the micro-lens module resolution detection method as described in any one of claims 5-9.