Analytic power test graphic card, analytical power test method, electronic equipment and storage medium
By designing a resolution test chart that includes a central focus area and four regions, the problem of low efficiency in resolution testing in existing technologies is solved, achieving high efficiency, accuracy, and simplified operation in camera resolution testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-10-30
- Publication Date
- 2026-05-01
AI Technical Summary
Existing resolution test charts are inefficient when testing camera resolution, requiring multiple adjustments to the test position, which increases testing complexity and labor costs.
Design a resolution test chart including a central focus area and four regions divided by two perpendicularly intersecting center lines. Each region is equipped with vertical and horizontal resolution bars. The resolution of the center and corner areas can be tested with a single shot, which meets the image size ratio of the camera and simplifies the operation process.
It improves the efficiency and accuracy of resolution testing, reduces labor costs, enables simultaneous testing of resolution in the center and corner areas, and reduces testing complexity.
Smart Images

Figure CN121967666A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of testing technology, and in particular to a resolution test chart, a resolution test method, an electronic device, and a storage medium. Background Technology
[0002] Nowadays, more and more electronic devices are equipped with cameras, which can conveniently help users record their daily work and life. Resolution is an important indicator of the camera performance of electronic devices and a significant factor affecting image quality. Therefore, resolution testing is typically conducted on cameras during the pre-launch testing phase of electronic devices.
[0003] Camera resolution is generally tested using resolution test charts (hereinafter referred to as "standard charts") manufactured in accordance with the ISO-12233:2000 standard. Standard charts typically include three types of test patterns to implement three resolution testing methods. The TV Line test is one of these methods and is widely used for camera resolution testing. The wedge-shaped line in the standard chart is the test pattern used in the TV Line test; the wedge-shaped line can also be called a resolution bar.
[0004] Currently, using standard charts to test camera resolution is not convenient enough. It usually requires multiple adjustments to the test position to complete the resolution test, resulting in poor testing efficiency. Summary of the Invention
[0005] This application provides a resolution test chart, a resolution test method, an electronic device, and a storage medium, which can improve test efficiency.
[0006] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:
[0007] Firstly, this application provides a resolution test chart for a camera, comprising a central focusing area, a first region, a second region, a third region, and a fourth region. The central focusing area is located at the very center of the resolution test chart and is used for focusing. The first region, the second region, the third region, and the fourth region are defined by a first center line and a second center line of the central focusing area; the first center line and the second center line intersect perpendicularly, and the intersection point is the center point of the central focusing area. The first center line can be a vertical center line of the central focusing area, and the second center line can be a horizontal center line of the central focusing area.
[0008] Each of the first, second, third, and fourth regions includes at least one first resolution bar; the direction of the first resolution bar is parallel to the first center line. The first resolution bar can be a vertical resolution bar, used to test the camera's resolution in the vertical direction.
[0009] In addition, the resolution test chart also includes two second resolution bars; the two second resolution bars are distributed on both sides of the central focus area, and the center line of each of the two second resolution bars coincides with the second center line. The second resolution bars can be horizontal resolution bars.
[0010] In the above scheme, the four regions divided by the two perpendicularly intersecting center lines of the central focus area are equivalent to the four regions surrounding the central focus area: top, bottom, left, and right. Therefore, this resolution test chart is equivalent to setting vertical resolution bars in all four regions (top, bottom, left, and right) within the central area surrounding the central focus area, and setting horizontal resolution bars on the center line of the central focus area. This eliminates the need to invert the camera or the chart; instead, it allows for simultaneous testing of both horizontal and vertical resolution in the central area with a single shot, reducing testing complexity and significantly improving testing efficiency. Furthermore, it saves on labor costs. It should be understood that because both horizontal and vertical resolution in the central area can be tested simultaneously with a single shot, a consistent evaluation of the four corners can be achieved in a single capture.
[0011] In one possible implementation of the first aspect, the size ratio of the resolution test chart matches the size ratio of the image captured by the camera. The image size ratio is the size ratio of the image directly acquired by the camera, not the size ratio of the image indirectly obtained after post-processing. For example, the size ratio of the resolution test chart matches the size ratio of the original RAW image captured by the camera. The resolution test chart is a rectangular chart including four sides. The resolution test chart also includes four third resolution bars, which are set in the corner areas of the resolution test chart and used to test the camera's resolution in the vertical and horizontal directions of the corner areas. Specifically, the third resolution bars are cross-shaped resolution bars; the distance between each third resolution bar and the first side of its corresponding two adjacent sides is less than a first threshold, and the distance between each third resolution bar and the second side of its corresponding two adjacent sides is less than a second threshold; different third resolution bars correspond to different adjacent sides.
[0012] In the above embodiments, since the size ratio of the resolution test chart matches the size ratio of the image captured by the camera, the resolution of the central and corner areas can be tested in a single shot. Specifically, the entire content of the resolution test chart can be captured in one shot, allowing for the detection of the vertical and horizontal resolution of the central area based on the first and second resolution bars in the entire resolution test chart captured in a single shot, and the detection of the resolution at the corner positions based on the third resolution bar in the resolution test chart. This eliminates the need for multiple shots, greatly improving testing efficiency.
[0013] In one possible implementation of the first aspect, each of the first, second, third, and fourth regions includes a plurality of first analytical force bars; the plurality of first analytical force bars correspond to different line pair density intervals.
[0014] In the above scheme, multiple first resolving force bars corresponding to different line pair density ranges are included in the same area, enabling a wider range of resolving force detection for electronic devices within that area, thus improving the accuracy of resolving force testing. Furthermore, a wider range of resolving force detection for electronic devices within that area can be performed without requiring multiple adjustments to the test position, thereby improving testing efficiency.
[0015] In one possible implementation of the first aspect, the first region, the second region, the third region, and the fourth region are all located within a 0.6 field of view.
[0016] In the above scheme, the 0.6 field of view is generally the central area of the image captured by the camera. First resolution bars (i.e., vertical resolution bars) are set within the first, second, third, and fourth regions of the 0.6 field of view, allowing for a sufficiently accurate test of the resolution in the vertical direction of the central region. Furthermore, compared to other methods, the 0.6 field of view allows for a more convenient and efficient determination of the positional range of the first, second, third, and fourth regions.
[0017] In one possible implementation of the first aspect, the first region, the second region, the third region, and the fourth region all include a fourth resolving power bar; the first region and the third region are opposite to each other; the second region and the fourth region are opposite to each other; the direction of the fourth resolving power bar included in the first region and the third region is parallel to a first straight line; the first straight line passes through the center point of the central focusing area and passes through the first region and the third region; the direction of the fourth resolving power bar included in the second region and the fourth region is parallel to a second straight line; the second straight line passes through the center point of the central focusing area and passes through the second region and the fourth region.
[0018] In the above scheme, diagonal resolution bars are essentially set up in four areas (up, down, left, and right) within the central area surrounding the central focus zone. This allows for testing the camera's diagonal resolution in all directions around the central area with a single shot, without needing to invert the resolution test chart or adjust the camera's position, significantly improving testing efficiency. Furthermore, a single shot can achieve a consistent assessment of resolution in all four diagonal directions.
[0019] In one possible implementation of the first aspect, either the first straight line or the second straight line forms an acute angle of 45 degrees with either the first center line or the second center line.
[0020] In the above scheme, when the acute angle between any one of the first straight line and the second straight line and the first center line or the second center line is 45 degrees, the diagonal resolving power bars in the four areas of the central area of the resolving power test chart are all inclined at 45 degrees. Therefore, it is possible to conveniently and accurately test the resolving power of the 45-degree diagonal areas in each direction of the central area.
[0021] In one possible implementation of the first aspect, the resolution test chart further includes two fifth resolution bars; these two fifth resolution bars are distributed on both sides of the central focus area, and the center lines of each of the two fifth resolution bars coincide with the first center line.
[0022] In the above scheme, a set of vertical resolution bars is added to the center line of the central focus area of the resolution test chart. This allows for testing the vertical resolution of the camera in the area closer to the central focus area, overcoming the limitation of traditional standard charts that cannot simultaneously test the vertical and horizontal resolution near the central focus area in a single shot. This significantly improves testing efficiency and accuracy. Furthermore, the resolution of the central area in both the horizontal and vertical center lines of the central focus area can be determined in a single shot, thus facilitating the evaluation of the consistency of horizontal and vertical resolution in the central area.
[0023] In one possible implementation of the first aspect, the resolving force bars in the resolving force test chart satisfy at least one of the following constraints: the first resolving force bar in the resolving force test chart is axially symmetric based on the first center line and / or the second center line; the third resolving force bar in the resolving force test chart is axially symmetric based on the first center line and / or the second center line; the first region and the fourth region are located on the same side of the first center line, and the fourth resolving force bar in the first region and the fourth region is axially symmetric based on the second center line; the second region and the third region are located on the same side of the first center line, and the fourth resolving force bar in the second region and the third region is axially symmetric based on the second center line.
[0024] In the above scheme, while satisfying the aforementioned axisymmetric relationship, the accuracy of the consistency assessment of resolving forces in multiple directions can be guaranteed.
[0025] In one possible implementation of the first aspect, the resolution test chart includes field-of-view markers; the field-of-view markers are located within the area between the center point of the central focus area and the corner point of the resolution test chart.
[0026] In one possible implementation of the first aspect, the field point markers are distributed on the diagonal of the resolution test chart.
[0027] In the above scheme, field-of-view markers were designed into the resolution test chart, thus visually presenting the field-of-view position and facilitating quick and easy determination of the field-of-view position corresponding to the resolution bars. Furthermore, this provides significant assistance for subsequent analyses.
[0028] Secondly, this application provides a resolution testing method for a camera resolution test chart based on any one of the first aspects. The method is applied to an electronic device and includes: acquiring a test chart image; the test chart image is an image acquired for the resolution test chart; and determining the resolution test result of the camera obtained based on the test chart image.
[0029] In the above solution, since the position design of the resolution bars in the resolution test chart of any one of the first aspects is more complete and comprehensive, such as being more symmetrical, with the same type of resolution bars in the upper, lower, left, and right areas or on both sides of the central focus area, the resolution test results of the camera can be analyzed in multiple areas with a single shot based on the resolution test chart of any one of the first aspects, thus enabling convenient and efficient acquisition of the camera resolution test results.
[0030] In one possible implementation of the first aspect, determining the resolution test result of the camera based on the test chart image includes: identifying resolution bars in the test chart image; analyzing the resolution of the camera based on the resolution bars to obtain the resolution test result.
[0031] In the above solution, the electronic device can automatically perform resolution analysis based on the test chart image, and obtain the resolution test results conveniently through automation, saving labor costs. Furthermore, based on the symmetrical or near-symmetrical position of the resolution bars in the resolution test chart of any camera mentioned in the first aspect, the electronic device can quickly locate and identify the resolution bars from the test chart image, thereby obtaining the resolution test results more efficiently and improving testing efficiency to a certain extent.
[0032] Thirdly, this application provides an electronic device that includes at least a memory and one or more processors. The memory stores computer instructions, which, when executed by the one or more processors, cause the electronic device to perform any of the methods described in the first aspect above.
[0033] Fourthly, this application provides a chip system applied to an electronic device, the chip system including one or more processors, the processors being configured to invoke computer instructions to cause the electronic device to perform any of the methods described in the first aspect above.
[0034] Fifthly, this application provides a computer storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform any of the methods described in the first aspect.
[0035] Sixthly, this application provides a computer program product that, when run on a computer, causes the computer to perform any of the methods described in the first aspect above. Attached Figure Description
[0036] Figure 1 A schematic diagram of a standard drawing card provided for an embodiment of this application;
[0037] Figure 2 This application provides an example of a scenario for testing resolution using a standard chart. Figure 1 ;
[0038] Figure 3 This application provides an example of a scenario for testing resolution using a standard chart. Figure 2 ;
[0039] Figure 4A simplified diagram illustrating the region division provided in this application embodiment;
[0040] Figure 5 A schematic diagram of the resolution test chart provided in the embodiments of this application. Figure 1 ;
[0041] Figure 6 A schematic diagram of the resolution test chart provided in the embodiments of this application. Figure 2 ;
[0042] Figure 7 This is a schematic diagram illustrating a scenario for testing resolution using a resolution test chart, as provided in an embodiment of this application.
[0043] Figures 8A to 8B A schematic diagram of the field of view point markers in the resolution test chart provided in the embodiments of this application;
[0044] Figure 9 A schematic flowchart illustrating the analytical force testing method provided in this application embodiment;
[0045] Figure 10 This is a hardware structure framework diagram of the electronic device provided in the embodiments of this application. Detailed Implementation
[0046] The technical solutions of the embodiments of this application are described below with reference to the accompanying drawings. In the description of the embodiments of this application, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to limit the application. As used in the specification and appended claims of this application, the singular expressions "a," "the," "the," "the," and "this" are intended to also include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, "at least one" and "one or more" refer to one or more (including two). The term "and / or" is used to describe the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. In the description of the embodiments, unless otherwise stated, "multiple" means two or more.
[0047] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, phrases such as "in one embodiment," "in some embodiments of this application," "in other embodiments," and "in still other embodiments" appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. The term "connection" includes both direct and indirect connections, unless otherwise stated. The terms "first," "second," "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first," "second," "third," etc., may explicitly or implicitly include one or more of that feature.
[0048] In the embodiments of this application, the words "exemplary," "for example," or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary," "for example," or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the words "exemplary," "for example," or "for instance" is intended to present the relevant concepts in a specific manner.
[0049] The solution presented in this application is primarily applied to camera testing scenarios, aiming to improve testing efficiency for camera resolution testing. Specifically, by optimizing the resolution test chart, testing efficiency is improved when testing the resolution of cameras in electronic devices.
[0050] Before formally introducing the solution of this application, the concepts related to the solution of this application will be introduced as follows:
[0051] (1) Field of view: The spatial range that a camera can observe. The field of view is usually expressed in angles and can be called the field of view angle. It should be understood that a 1.0 field of view is the maximum spatial range that a camera can observe.
[0052] (2) Resolution: Resolution, also known as distinguishing power or analytical capability, refers to the ability of a camera (lens) to clearly reproduce or distinguish the minute details of the subject, that is, the ability to distinguish the smallest details. The level of resolution is positively correlated with the quality of the image captured by the camera. For example, the higher the resolution, the better the image quality captured by the camera, and the clearer the details can be maintained even when magnified.
[0053] (3) Method of measuring resolution: refers to the method used to measure resolution, which may include the following method 1 or method 2.
[0054] Method 1: Measure resolution in "line pairs per millimeter" (lp / mm). This means the number of black and white line pairs a camera can distinguish within a unit of millimeter width characterizes its resolution. For example, if a camera can clearly distinguish 2000 black and white line pairs within a unit of millimeter width, it means the camera has the ability to clearly display 2000 black and white line pairs, thus reflecting its resolution.
[0055] Method 2: Measure resolution in pixels. That is, the number of pixels in the horizontal and vertical directions of the image captured by the camera can characterize the camera's resolution.
[0056] (4) Resolution Test Chart: This is a tool specifically designed to test the resolution of a camera, also known as a resolution test chart. The resolution test chart includes a series of specific patterns and lines to simulate details and edge information in real-world scenes, allowing testers to visually observe and evaluate the camera's resolution. By using the camera to capture images of the resolution test chart and observing and analyzing the sharpness, detail reproduction, and contrast of the captured images, the camera's resolution can be quantitatively assessed.
[0057] Generally, a resolution test chart is created by following prescribed testing standards, such as ISO-12233:2000. ISO-12233:2000 is a standard used to test the resolution or resolving power of a camera. Figure 1 This illustrates a resolution test chart (also referred to as a "standard chart") manufactured in accordance with the ISO-12233:2000 standard.
[0058] Please see Figure 1 Standard chart 100 has a 16:9 aspect ratio and includes three types of test patterns, labeled 101, 102, and 103. Pattern 101 is a black and white beveled pattern used for SFR (Spatial Frequency Response) testing; pattern 102 is a frequency line used for MTF (Modulation Transfer Function) testing; and pattern 103 is a wedge line used for TVline testing. It should be understood that standard chart 100 includes multiple wedge lines, not just pattern 103. Figure 1 Each wedge line is not marked individually.
[0059] (5) Wedge lines: These are patterns composed of a series of lines that gradually become thinner or wider, and are typically used to test the resolution and sharpness of an image. The lines of a wedge line have a clear contrast between them, making them easy for the visual system to recognize and resolve. Wedge lines can also be called "resolution bars".
[0060] In TVline testing, wedge lines are used as the test pattern, typically designed as pairs of alternating black and white lines (also called "line pairs"), whose width and spacing gradually decrease with increasing distance. Therefore, the resolution or resolving power of a display device or imaging system is evaluated by observing and analyzing the sharpness of the wedge lines in the image. Specifically, resolving power can be quantified using the unit "line pairs / mm" as described in Method 1 above. For example, the more line pairs a camera can resolve, and the smaller the width of each line it can distinguish, the better its resolving power or ability. As the lines become thinner, the number of lines the camera can recognize and resolve gradually decreases, thus reflecting the system's resolution performance.
[0061] Because wedge lines are easy to identify (e.g., easily observed with the naked eye or easily identified using software) and simple to test, TVline testing is a relatively intuitive method for testing resolution and is widely used for camera resolution testing. For example, some devices (such as mobile phones) typically use wedge lines from standard charts to test camera resolution. However, using standard charts currently suffers from poor testing efficiency, usually requiring testers to repeatedly adjust the position—for example, adjusting the position of the standard chart or the camera's shooting position multiple times—to complete the camera resolution test.
[0062] To make it easier to understand, let's take testing the resolution of a mobile phone's camera as an example, combined with... Figure 2 and Figure 3 The problems existing in the standard chart are illustrated.
[0063] like Figure 2 As shown, 201 indicates a standard image card fixed to the wall, with a 16:9 aspect ratio. When testing the resolution of the camera on phone 202 using this standard image card, the tester needs to capture an image of 201 using the phone 202's camera. Because the image captured by the phone 202's camera has a 4:3 aspect ratio, which differs from the 16:9 aspect ratio of the standard image card, a complete image of the standard image card cannot be obtained in a single shot; only image 203 is obtained. Clearly, image 203 is only a portion of 201; that is, image 203 only contains a portion of the resolution bars and does not possess all the resolution bars necessary to test the camera's resolution. Figure 1The cross-shaped resolution bar is located at the corner. Therefore, image 203 cannot comprehensively test the camera's resolution. Thus, it is necessary to adjust the position of the standard image card or the position of the phone 202, and take multiple shots of the standard image card to test the resolution at the camera's corner. This process is cumbersome and inefficient.
[0064] In addition, from Figure 2 As indicated by 201, the resolution bar set in the central area of the standard image card can only test the resolution of a localized area. For a more complete and comprehensive test of the camera's resolution, the standard image card or the phone (202) needs to be inverted to retake the image. For example... Figure 3 As shown, 204 illustrates the standard image card after 201 has been inverted by 180 degrees. After inverting the standard image card, the camera of the mobile phone 202 can capture an image of 204, generating image 205. Therefore, the same problem of cumbersome testing operations and low testing efficiency still exists.
[0065] Based on this, and to address the aforementioned problems, this application proposes a novel resolution test chart. This chart includes a central focus area and four regions divided by two perpendicularly intersecting center lines from the central focus area. The central focus area consists of two concentric circles of different frequencies used to assist focusing. The center line of the central focus area is a straight line passing through its center point. There can be multiple center lines for the central focus area; any two perpendicularly intersecting center lines can be used to divide the four regions. The intersection of these two perpendicularly intersecting center lines is the center point of the central focus area.
[0066] These two perpendicularly intersecting center lines can be designated as the first center line and the second center line, respectively. The four regions divided by the first and second center lines can be designated as region one, region two, region three, and region four. Each of these four regions includes a first resolution bar, also known as a vertical resolution bar, used to detect the camera's resolution capability in the vertical direction (i.e., to detect the camera's resolution for vertical images). The direction of the first resolution bar in all four regions is parallel to the first center line.
[0067] Specifically, the first, second, third, and fourth regions are located in the central area of the resolution test chart. For example, please refer to... Figure 4 A simple illustration of the four divided areas is provided. It should be noted that... Figure 4 This is not a complete resolution test chart; it is only used as an example to illustrate how to divide the area into four regions based on two mutually perpendicular center lines of the central focus area.
[0068] like Figure 4As shown, the two mutually perpendicular center lines of the central focus area 401 are the vertical center line Lv and the horizontal center line Lh. Lv and Lh can then divide the area into four regions: the first region, the second region, the third region, and the fourth region. These four regions are located within the central region 402. The central region 402 is the area in the middle of the resolution test chart, close to the central focus area. The resolution bar within the central region 402 is used to test the camera's resolution at the center of the image. The central region 402 can be a region within a preset range, as described below. The horizontal center line Lh of the central focus area 500 refers to the horizontal center line of the central focus area. The vertical center line Lv refers to the vertical center line of the central focus area. Each of the four divided regions includes the first resolution bar. Figure 4 The first analytical force bar is not shown in the diagram; please refer to [link / reference needed]. Figure 5 or Figure 6 The illustration is shown in the image.
[0069] It should be understood that images captured by a camera are generally two-dimensional images. The coordinate system of this image has a horizontal axis and a vertical axis. The horizontal axis is generally established with the bottom of the image as the coordinate axis, and the vertical axis is a coordinate axis perpendicular to the horizontal axis, generally located on the left side of the image. The intersection of the horizontal and vertical axes forms the two-dimensional rectangular coordinate system of the image. Therefore, in the embodiments of this application, the vertical direction is the vertical axis direction of the two-dimensional coordinate system of the image captured by the camera, and the horizontal direction is the horizontal axis direction of the two-dimensional coordinate system of the image captured by the camera.
[0070] The first center line is not limited to a vertical center line, and the second center line is not limited to a horizontal center line; they can be any two mutually perpendicular center lines within the central focus area. If the first and second center lines are not vertical and horizontal center lines, the camera angle can be adjusted during shooting to ensure that the direction (or extension direction) of the first center line in the captured image always aligns with the vertical direction in the image, and that the direction of the second center line in the image always aligns with the horizontal direction in the image. This still achieves the purpose of testing the camera's resolution in both the horizontal and vertical directions.
[0071] In addition, the resolution test chart includes two second resolution bars, also known as horizontal resolution bars, used to detect the camera's resolution capability in the horizontal direction (i.e., the camera's resolution capability for horizontal images). These two second resolution bars are distributed on either side of the central focus area, and the center lines of each of these two second resolution bars coincide with the second center line. That is, the center line of each second resolution bar passes through the center point of the central focus area and coincides with the second center line of the central focus area.
[0072] To facilitate understanding of the first and second analytical force bars, we will now combine... Figure 5 Provide a illustrative illustration. Figure 5 The illustration shows resolution test charts from some embodiments of this application. It should be understood that these are only used herein. Figure 5 The first and second resolving force bars shown are illustrative examples and should not be construed as limiting the resolving force test charts in the embodiments of this application. For example, the resolving force test charts in some embodiments of this application may be more... Figure 5 The number of analytical force bars shown may be more or less.
[0073] Please see Figure 5 The horizontal center line Lh and vertical center line Lv of the central focus area 500 divide the force resolution test chart into four regions (region one, region two, region three, and region four). 5031, 5032, 5033, and 5034 represent the first force resolution bars (i.e., vertical force resolution bars) in each of the four regions. 5021 and 5022 indicate the second force resolution bars (i.e., horizontal force resolution bars). Figure 5 It can be seen that the center lines of the second resolving force bar 5021 and the second resolving force bar 5022 pass through the central focusing area 500, that is, the center lines of the second resolving force bar 5021 and the second resolving force bar 5022 coincide with the horizontal center line Lh of the central focusing area 500.
[0074] It should be noted that, Figure 5 The regions marked 5031, 5032, 5033, and 5034 each contain two vertical force bars, but this does not mean that every region must have two vertical force bars. Information regarding the vertical force bars in each region can be found in the relevant descriptions below.
[0075] It should be understood that the four regions divided by the two perpendicularly intersecting center lines of the central focus area are equivalent to the four regions surrounding the central focus area: top, bottom, left, and right. Therefore, the new resolution test chart is equivalent to setting vertical resolution bars in all four regions (top, bottom, left, and right) within the central area surrounding the central focus area, and setting horizontal resolution bars on the center line of the central focus area. This eliminates the need to invert the camera or the chart; instead, it allows for simultaneous testing of both horizontal and vertical resolution in the central area with a single shot, significantly improving testing efficiency.
[0076] In some embodiments of this application, the aspect ratio of the resolution test chart matches the aspect ratio of the image captured by the camera. For example, the aspect ratio of the resolution test chart is 4:3, and the aspect ratio of the image captured by the camera is also 4:3. The resolution test chart is a rectangular chart including four sides. In this embodiment, the resolution test chart also includes four third resolution bars. These third resolution bars are cross-shaped and are located in the corner areas of the resolution test chart to test the camera's resolution in the vertical and horizontal directions at the corner areas. It should be understood that the corner areas are farther from the central focusing area than the central area.
[0077] In the above embodiments, since the size ratio of the resolution test chart matches the size ratio of the image captured by the camera, the entire content of the resolution test chart can be captured in one shot. Thus, the resolution in the vertical and horizontal directions of the central area can be detected based on the first and second resolution bars in the entire resolution test chart captured in one shot, and the resolution at the corner positions can be detected based on the third resolution bar in the resolution test chart. Multiple shots are not required, which greatly improves the testing efficiency.
[0078] For example, the third resolving force bar in the resolving force test chart is axially symmetric based on the first center line and / or the second center line.
[0079] The above description states that the third analytical force bar is located in the corner area of the analytical force test chart. The following text will provide a more detailed description of the position of the third analytical force bar in the analytical force test chart.
[0080] As mentioned above, the resolving force test chart is a rectangular chart with four sides. Therefore, each side has two adjacent sides, and the four sides form four sets of adjacent sides. Each set of adjacent sides forms a right angle in the rectangular chart. The four third resolving force bars correspond one-to-one with the four sets of adjacent sides; that is, one third resolving force bar corresponds to one set of adjacent sides, and different third resolving force bars correspond to different sets of adjacent sides. Each set of adjacent sides consists of two adjacent sides. The third resolving force bar and its corresponding adjacent side satisfy a proximity condition. It should be understood that a third resolving force bar that satisfies this proximity condition is equivalent to being located in the corner area of the resolving force test chart.
[0081] Please see Figure 5 The resolution test chart is a rectangular chart, including four side lines 1 to 4. There are four pairs of adjacent side lines: side line 1 and side line 4 are one pair of adjacent side lines, side line 1 and side line 2 are one pair of adjacent side lines, side line 2 and side line 3 are one pair of adjacent side lines, and side line 3 and side line 4 are one pair of adjacent side lines.
[0082] from Figure 5 It can be seen that the resolving force test chart may include a third resolving force bar 5011 in the upper left corner region, a third resolving force bar 5012 in the upper right corner region, a third resolving force bar 5013 in the lower right corner region, and a third resolving force bar 5014 in the lower left corner region. Taking the third resolving force bar 5014 as an example, the third resolving force bar 5014 and one of the adjacent edge lines, such as edge line 1 and edge line 4, satisfy the condition of being close in distance.
[0083] like Figure 5 As shown, the four third resolving force bars of the resolving force test chart, namely third resolving force bars 5011, 5012, 5013, and 5014, are evenly distributed in the four corner areas of the resolved test chart. Therefore, these four third resolving force bars are axially symmetrical about the horizontal center line Lh of the central focusing area 500, and also axially symmetrical about the vertical center line Lv of the central focusing area 500.
[0084] In some embodiments of this application, the proximity condition may include any one of the following conditions A or B.
[0085] Condition A:
[0086] Condition A may include: the distance between the third analytical force strip and the first edge of its corresponding two adjacent edges is less than a first threshold, and the distance between it and the second edge of its corresponding two adjacent edges is less than a second threshold. The first and second thresholds may be the same or different. It should be understood that the two adjacent edges corresponding to the third analytical force strip are denoted as a set of adjacent edges.
[0087] It should be noted that since the third analytical force bar is a cross-shaped analytical force bar, the distance between the third analytical force bar and one of the two adjacent edge lines refers to the perpendicular distance from the position of the third analytical force bar closest to the edge line to the edge line.
[0088] Please continue reading. Figure 5 Taking the third analytical force bar 5014 as an example, the third analytical force bar 5014 and the adjacent edge lines 1 and 4 satisfy the proximity condition. Specifically, the position of the third analytical force bar 5014 closest to edge line 1 is the leftmost position, and the distance between this leftmost position and edge line 1 is d1. The position of the third analytical force bar 5014 closest to edge line 4 is the bottommost position, and the distance between this bottommost position and edge line 4 is d2. If the proximity condition is condition A, then d1 is less than the first threshold and d2 is less than the second threshold. The third analytical force bar 5014 that satisfies condition A is located in the lower left corner region.
[0089] Condition B:
[0090] Condition B may include: the distance between the third analytical force bar and the first of the two adjacent edge lines is equal to the third threshold, and the distance between the third analytical force bar and the second of the two adjacent edge lines is equal to the fourth threshold. The third threshold and the fourth threshold may be the same or different.
[0091] Similarly Figure 5 Taking the third analytical force bar 5014 as an example, if the proximity condition is condition B, then d1 equals the third threshold and d2 equals the fourth threshold. For example, the third threshold could be 23.12 mm and the fourth threshold could be 72.00 mm. The third analytical force bar 5014 that satisfies condition B is located in the lower left corner region.
[0092] As mentioned above, the first and second center lines divide the resolution test chart into four regions: the first region, the second region, the third region, and the fourth region. The following sections will provide a more detailed description of these four regions. Specifically, we will gradually introduce: the number of first resolution bars in each of the four regions, the relationship between the line pair density intervals corresponding to the first resolution bars, and the location range of these four regions on the resolution test chart.
[0093] In some embodiments of this application, the number of first analytical force bars included in these four regions can be classified into any one of the following cases: Case 1, Case 2, or Case 3.
[0094] Scenario 1:
[0095] In Case 1, each of the four regions—the first region, the second region, the third region, and the fourth region—includes one first analytical force bar.
[0096] Specifically, when each of the four regions (first, second, third, and fourth) includes one first resolution bar, the line pair density range of the first resolution bar in each of these four regions can be different or the same, without limitation. For example, the line pair density range of the first resolution bar in the first and fourth regions can be [100, 2000] LW / PH, representing that the first resolution bar has a testing range of [100, 2000] LW / PH. The line pair density range of the first resolution bar in the second and third regions can be [1200, 4000] LW / PH, representing that the first resolution bar has a testing range of [1200, 4000] LW / PH.
[0097] Scenario 2:
[0098] In Case 2, each of the four regions—Region 1, Region 2, Region 3, and Region 4—includes multiple first-resolution force bars. "Multiple" means two or more.
[0099] In some examples, under case 2, the number of first resolving force bars included in these four regions can be the same. For example, each of the first, second, third, and fourth regions can include 2, 3, or even more first resolving force bars. Figure 5 For example, Figure 5 Each region marked with 5031, 5032, 5033, and 5034 has two vertical force bars.
[0100] In other examples, under case 2, the number of first resolving force bars included in these four regions can also differ. For example, the first and fourth regions may have two first resolving force bars, while the second and third regions may have three.
[0101] The following section will introduce the relationship between the line pair density intervals corresponding to the multiple first analytical force bars included in any one of the first, second, third, and fourth regions under case 2.
[0102] Specifically, for any region containing multiple first analytical force bars (any one of the first, second, third, and fourth regions), the multiple first analytical force bars in that region correspond to different line pair density intervals. For example, taking the first region containing multiple first analytical force bars as an example, please refer to [link to relevant documentation]. Figure 5 Assume that the two first analytical force bars in 5031 are located within the first region, and the line pair density intervals corresponding to these two first analytical force bars are different. For example... Figure 5 As shown, the line pair density range corresponding to one of the first analytical force bars in 5031 is [100, 2000] LW / PH, while the line pair density range corresponding to the other first analytical force bar in 5031 is [1200, 4000] LW / PH. It should be noted that... Figure 5 The actual line density is obtained by multiplying the scale value of each analytical force bar mark by 100. Figure 5 For the sake of brevity, the values obtained by dividing by 100 are used to mark the scale of each analytical force bar.
[0103] In this way, multiple first-resolution bars corresponding to different line pair density ranges within the same area can be used to detect the resolution of electronic devices within that area over a wider range, improving the accuracy of resolution testing. Furthermore, a wider range of resolution tests can be performed on electronic devices within that area without requiring repeated adjustments to the test position, thus improving testing efficiency.
[0104] It should be understood that it is not limited to the four regions of the first region, the second region, the third region and the fourth region all including multiple first analytical force bars or only one first analytical force bar. Therefore, the following situation 3 also exists.
[0105] In some embodiments, the first resolving force bar in the resolving force test chart is axially symmetric based on the first center line and / or the second center line.
[0106] Specifically, when each of the first, second, third, and fourth regions includes the same number of first resolving force strips, the first resolving force strips in the four regions can be axially symmetric based on the first centerline or based on the second centerline. Figure 5 For example, each of the four regions includes two first-resolution force bars, specifically as shown in 5031, 5032, 5033, and 5034. From Figure 5 It can be seen that the first resolving force bars in 5031 and 5032 are axially symmetric to the first resolving force bars in 5033 and 5034 based on the horizontal center line Lh of the central focusing area 500. Furthermore, the first resolving force bars in 5031 and 5033 are axially symmetric to the first resolving force bars in 5032 and 5034 based on the vertical center line Lv of the central focusing area 500. It should be understood that the same number of first resolving force bars included in each region can also be one, three, etc., and this is not limited.
[0107] Scenario 3:
[0108] In scenario 3, some regions of the first, second, third, and fourth regions may include only one first resolving force bar, while others may include multiple first resolving force bars; there is no limitation on this. For example, the first and fourth regions may have one first resolving force bar, while the second and third regions may have multiple first resolving force bars, such as two first resolving force bars.
[0109] It should be noted that, in case 3, for a region containing multiple first resolution bars, each of the multiple first resolution bars within a region can also correspond to different line pair density intervals, as described in case 2 above. Similarly, for a region containing only one first resolution bar, the line pair density intervals corresponding to the first resolution bar in different regions can also be different, as described in case 1 above. Further details will not be elaborated here.
[0110] Furthermore, in case 3, the same condition can be met: the first resolving force bar in the resolving force test chart is axially symmetric based on the first center line and / or the second center line.
[0111] For example, Figure 5In the diagram, 5031 indicates the first resolving power bar in the first region, 5032 indicates the first resolving power bar in the second region, 5033 indicates the first resolving power bar in the third region, and 5034 indicates the first resolving power bar in the fourth region. If the number of first resolving power bars in the first region (5031) and the fourth region (5034) is the first number (e.g., 1), and the line pair density range is the same, and the number of first resolving power bars in the second region (5032) and the third region (5033) is the second number (e.g., 2), and the line pair density range is the same, then the first resolving power bars in the first region (5031) and the second region (5032), as well as the first resolving power bars in the fourth region (5034) and the third region (5033) can be axially symmetrical based on the horizontal center line Lh of the central focus area.
[0112] The following text will describe the location range of the four regions—the first region, the second region, the third region, and the fourth region—on the resolution test chart.
[0113] Specifically, the distances between the four regions (first, second, third, and fourth) and the central focusing area meet the preset second constraint condition, ensuring that the first, second, third, and fourth regions are always located in the central area of the resolution test chart. This allows the first resolution test chart in the first, second, third, and fourth regions to accurately and effectively test or detect the camera's resolution capability in the central area.
[0114] In some embodiments of this application, the aforementioned preset second constraint may include at least one of condition 1 or condition 2.
[0115] Condition 1: The first, second, third and fourth regions are all within the preset field of view.
[0116] It should be understood that condition 1 constrains the range of the four regions—the first, second, third, and fourth regions—in the resolution test chart from the perspective or dimension of the field of view.
[0117] The preset field of view can be 0.6. It should be understood that the preset field of view can also be other fields of view, and is not limited to only 0.6.
[0118] As mentioned above, a 1.0 field of view is the maximum spatial range that the camera can observe. On a resolution test chart, this range is defined by the area centered on the center point of the central focus area, with the distance from that center point to any corner or vertex of the resolution test chart as its radius. The center point of the central focus area represents the 0 field of view, while the corners or vertices of the resolution test chart correspond to the 1.0 field of view. For ease of description, the distance from the center point of the central focus area to any corner or vertex of the resolution test chart is denoted as distance 1. Therefore, the range of the aforementioned preset field of view is defined by the center point of the central focus area, with distance 2 as its radius. Distance 2 is distance 1 multiplied by a preset scaling factor corresponding to this preset field of view, which is less than 1.
[0119] Taking a preset field of view of 0.6 as an example, 0.6 is a preset scaling factor. Within the 0.6 field of view, the area is defined by a radius of 0.6 times the distance 1 (i.e., 0.6 times the distance from the center point of the central focus area to any vertex of the resolution test chart). The inventors of this application have discovered that the 0.6 field of view is generally the central region of the image captured by the camera. By setting first resolution bars (i.e., vertical resolution bars) within the first, second, third, and fourth regions of the 0.6 field of view, the resolution of the central region in the vertical direction can be tested sufficiently and accurately. Moreover, compared to other methods, the 0.6 field of view allows for a more convenient and efficient determination of the positional range of the first, second, third, and fourth regions.
[0120] In other embodiments, the position range of the four regions—the first, second, third, and fourth regions—on the resolution test chart may not be constrained from the field of view. For example, the four regions can be constrained according to condition 2.
[0121] Condition 2: The distance between the position furthest from the central focus area (i.e., the position furthest from the central focus area) in any region and the center point of the central focus area meets the preset distance range.
[0122] Specifically, for any one of the first, second, third, and fourth regions, the distance between the location farthest from the central focus area in that region and the center point of the central focus area meets a preset distance range. Condition 2 can also achieve the purpose of constraining these four regions to be in the central region of the resolution test chart.
[0123] It should be understood that, in addition to conditions 1 and 2 mentioned above, other conditions can be used to constrain the positions of the four regions: the first region, the second region, the third region, and the fourth region. This application does not limit this.
[0124] In some embodiments of this application, the first region, the second region, the third region, and the fourth region all include a fourth resolution bar. This fourth resolution bar can also be called a diagonal resolution bar, used to test the camera's resolution in the diagonal direction of the central region.
[0125] The first region and the third region are opposite each other; therefore, the first region and the third region are relative regions. Similarly, the second region and the fourth region are opposite each other; therefore, the second region and the fourth region are relative regions. It should be noted that the direction or tilt angle of the fourth analytical force strips within the four regions (first region, second region, third region, and fourth region) differs. However, the direction or tilt angle of the fourth analytical force strips in the relative regions is consistent.
[0126] Specifically, the direction of the fourth resolving power strips included in the first region and the third region is parallel to the first straight line; the first straight line passes through the center point of the central focusing area and passes through the first region and the third region. The direction of the fourth resolving power strips included in the second region and the fourth region is parallel to the second straight line; the second straight line passes through the center point of the central focusing area and passes through the second region and the fourth region.
[0127] In the above embodiment, it is equivalent to setting diagonal resolution bars in four areas (up, down, left, and right) within the central area surrounding the central focus area. This allows for testing the camera's diagonal resolution in each direction of the central area with a single shot, without needing to invert the resolution test chart or adjust the camera's position, thus greatly improving testing efficiency.
[0128] In some embodiments of this application, the acute angle between either the first straight line or the second straight line and the first center line or the second center line is 45 degrees. In this case, the acute angle between the center line of the fourth resolving force strip in the first region and the third region and the first center line or the second center line is also 45 degrees, and the acute angle between the center line of the fourth resolving force strip in the second region and the first center line or the second center line is also 45 degrees. However, since the fourth resolving force strip in the first region and the third region is parallel to the first straight line, and the fourth resolving force strip in the second region and the fourth region is parallel to the second straight line, and the extension directions of the first straight line and the second straight line are different, the orientation of the fourth resolving force strip in the first region and the third region is still different from that in the second region and the fourth region.
[0129] It should be understood that the first and second center lines intersect perpendicularly at the center point of the central focusing area, dividing the area into four regions: the first region, the second region, the third region, and the fourth region. Therefore, the angle between the first and third regions is 90 degrees. If the acute angle between either the first or second line and the first or second center line is 45 degrees, then the first line is the bisector of the 90-degree angle between the first and second center lines in the first and third regions, and the second line is the bisector of the 90-degree angle between the first and second center lines in the second and fourth regions.
[0130] More specifically, if the center line of the fourth analytical force strip in the first region and the third region coincides with the first straight line, then when the acute angle between the first straight line and the first center line or the second center line is 45 degrees, the fourth analytical force strip in the first region and the third region is located on the bisector of the 90-degree angle between the first center line and the second center line corresponding to the first region and the third region.
[0131] Similarly, if the center line of the fourth analytical force bar in the second and fourth regions coincides with the second straight line, then when the acute angle between the second straight line and the first or second center line is 45 degrees, the fourth analytical force bar in the second and fourth regions is located on the bisector of the 90-degree angle between the first and second center lines in the second and fourth regions.
[0132] For details, please refer to [link / reference]. Figure 5 , Figure 5 In the first region, 5041 represents the fourth resolving force bar (i.e., the diagonal resolving force bar); in the second region, 5042 represents the fourth resolving force bar (i.e., the diagonal resolving force bar); in the third region, 5043 represents the fourth resolving force bar (i.e., the diagonal resolving force bar); and in the fourth region, 5044 represents the fourth resolving force bar (i.e., the diagonal resolving force bar). Figure 5 As can be seen, 5041, 5042, 5043, and 5044 are all resolution bars tilted at 45 degrees, thus enabling the testing of the resolution in the upper left, upper right, lower left, and diagonally opposite areas of the central region. Furthermore, it eliminates the need to invert the resolution test chart or adjust the camera position, significantly improving testing efficiency.
[0133] In some embodiments of this application, the first region and the fourth region are located on one side of the first center line, and the fourth resolving force bars in the first region and the fourth region are axially symmetric based on the second center line; the second region and the third region are located on the other side of the first center line, and the fourth resolving force bars in the second region and the third region are axially symmetric based on the second center line. Figure 5 For example, the regions corresponding to 5041 and 5044 are located on one side of the vertical center line, and 5041 and 5044 are axially symmetric based on the horizontal center line. Similarly, the regions corresponding to 5042 and 5043 are located on the other side of the vertical center line, and 5042 and 5043 are axially symmetric based on the horizontal center line.
[0134] In some embodiments, the number of fourth resolving bars included in each of the first, second, third, and fourth regions can be one or more. It should be understood that when each region includes one fourth resolving bar, the line pair density intervals corresponding to the fourth resolving bars in different regions can be the same or different, as detailed in the above description regarding each region including one first resolving bar. When each region includes multiple fourth resolving bars, the line pair density intervals corresponding to the multiple fourth resolving bars can be different, as detailed in the above description regarding the differences in line pair density intervals for multiple first resolving bars, which will not be repeated here.
[0135] In some embodiments of this application, the resolution test chart further includes two fifth resolution bars; the two fifth resolution bars are distributed on both sides of the central focusing area, and the center lines of the two fifth resolution bars coincide with the first center line.
[0136] The fifth resolution bar can be a vertical resolution bar, but it differs from the first resolution bar in its location. Specifically, the center line of the fifth resolution bar coincides with the first center line of the central focus area. However, the first, second, third, and fourth regions are all areas outside the central focus area in the resolution test chart, and the first resolution bar is located in these regions respectively. Therefore, the fifth resolution bar is closer to the central focus area than the first. In fact, the fifth resolution bar is mainly used to test the vertical resolution of the camera in the area closer to the central focus area, while the first resolution bar is used to test the vertical resolution of the camera in the central area, which is slightly farther away. By setting a fifth resolution bar in the resolution test chart, the limitation of traditional standard charts in simultaneously testing the vertical and horizontal resolution near the central focus area in a single shot can be overcome, greatly improving testing efficiency and accuracy.
[0137] For details, please refer to [link / reference]. Figure 6 , Figure 6 Compared to Figure 5 In addition, a pair of vertical resolving force bars, 5051 and 5052, are added to the resolving force test chart. From... Figure 6It can be seen that 5051 and 5052 are located above and below the central focus area 500, respectively. The center lines of 5051 and 5052 coincide with the vertical center line Lv of the central focus area 500; in other words, the center lines of 5051 and 5052 are the same as the vertical center line Lv of the central focus area 500. It should be noted that... Figure 6 For illustrative purposes, some dashed lines, labels, and markers have been added to the resolution test chart. These added dashed lines, labels, and markers are not part of the resolution test chart itself. For example, the first center line and the second center line do not exist in the resolution test chart. Similarly, the first straight line, the second straight line, etc., mentioned in the embodiments of this application also do not exist in the resolution test chart; these concepts are only used to help describe the position of the resolution bars in the resolution test chart.
[0138] For a resolution test chart without additional auxiliary markers, please refer to [link / reference]. Figure 7 701 in the example. Figure 7 As shown, mobile phone 702 can capture a resolution test chart 701 and generate image 703. From Figure 7 As can be seen, image 703 fully presents the content of image 701, eliminating the need for multiple shots with position adjustments. Furthermore, because the resolution bars in the resolution test chart 701 are symmetrically distributed across both the central and peripheral areas, the resolution bar setup is more comprehensive, enabling testing of the resolution in various regions or positions. A single shot can provide a relatively complete test of the camera's resolution without needing to invert the resolution test chart, significantly improving testing efficiency.
[0139] In some embodiments of this application, the resolution test chart includes field-of-view markers; the field-of-view markers are located within the area between the center point of the central focus area and the corner point of the resolution test chart.
[0140] The field of view marker is used to indicate the location of the field of view. For example, 0.6F is used to indicate a 0.6 field of view.
[0141] It should be understood that traditional resolution test charts do not include markings for the field of view position; they only provide patterns for resolution testing. However, in testing camera resolution or other scenarios, the field of view position is typically used. For example, it may be necessary to perform related calculations and analyses using the field of view position. Clearly, traditional resolution test charts provide limited information and are not convenient enough.
[0142] Based on this, the inventors of this application provide a novel resolving power test chart, which incorporates field-of-view markers to visually represent the field of view positions, facilitating quick and easy determination of the field-of-view positions corresponding to the resolving power bars. Furthermore, it significantly assists in subsequent analyses.
[0143] In some embodiments of this application, the field point markers are distributed on the diagonal of the resolution test chart.
[0144] Specifically, multiple field-of-view markers, such as 0.4F, 0.6F, 0.8F, and 0.9F, have been added to the resolution test chart. However, due to image compression and other reasons, each field-of-view marker cannot be clearly shown in the accompanying drawings. To facilitate understanding of the field-of-view markers, the following is a summary... Figure 8A and Figure 8B Enlarged illustrations of some field-of-view markers.
[0145] Please see Figure 8A The illustration shows a complete resolution test chart in some embodiments. Figure 8A The 507 in the text indicates the area to be enlarged. Figure 8B This is a clearer view obtained by zooming in on region 507. Figure 8B The field of view marker 5061 is 0.4F, representing a 0.4 field of view, and the field of view marker 5062 is 0.6F, representing a 0.6 field of view.
[0146] It should be noted that the field of view markers on the resolution test chart are not limited to the few listed above. They can be added to or removed from the listed field of view markers without limitation.
[0147] like Figure 9 As shown, in some embodiments of this application, a resolution testing method based on the aforementioned novel resolution test chart is provided. This method is applied to an electronic device, which is a detection device or a testing device, for detecting the resolution of the camera of the device under test. The method specifically includes the following steps:
[0148] S91: Obtain the test chart image.
[0149] The test chart image is an image captured by the camera of the device under test (DUT) onto the resolution test chart. The DUT can be an electronic device with a camera, such as a mobile phone, camera, tablet, PC (Personal Computer), or smart screen.
[0150] like Figure 9As shown, taking a mobile phone as an example, after the phone is placed on a fixed bracket, it can respond to the operator's commands and control its camera to capture the resolution test chart in this embodiment, generating an image. This generated image can be called the test chart image. The mobile phone can then transmit the generated test chart image to an electronic device.
[0151] In some examples, the mobile phone can establish a wired or wireless connection with the electronic device, thereby importing the generated test pattern image into the electronic device via a data cable or transmitting it to the electronic device wirelessly. In other examples, the mobile phone can also upload the test pattern image to the cloud, and the electronic device can download the test pattern image from the cloud. This application does not limit the method of acquiring the test pattern image.
[0152] S92: Determine the resolution test results of the camera based on the test chart image.
[0153] In some embodiments of this application, after acquiring the test chart image, the electronic device can display the test chart image on a screen. The displayed test chart image is for observation by the tester. The electronic device can respond to the operations input by the tester during observation and control the display of the test chart image accordingly. For example, the electronic device can respond to zooming in or out operations on the test chart image. Based on the tester's operations, the electronic device can determine the camera's resolution test result obtained from the test chart image. For example, since the resolution bars on the resolution test chart provided in this application embodiment are relatively intuitive, the tester can directly observe the clarity of the resolution bars in the test chart image to determine the camera's resolution. The electronic device can then acquire information that characterizes the camera's resolution, directly or indirectly input by the tester, and record it as the camera's resolution test result.
[0154] For example, an electronic device provides a testing tool that displays a test chart image. This testing tool includes operation inputs, such as zoom in or zoom out inputs, for testers to operate on in order to observe the clarity of the resolution bars in the test chart image. The testing tool may also provide a recording input, through which the electronic device can respond to a tester's trigger operation and acquire the camera resolution test results input by the tester.
[0155] In some other embodiments of this application, determining the resolution test result of the camera based on the test chart image includes: identifying resolution bars in the test chart image; analyzing the resolution of the camera based on the resolution bars to obtain the resolution test result.
[0156] In this embodiment, after acquiring the test chart image, the electronic device can automatically analyze the camera's resolution based on the test chart image through image recognition processing. Specifically, the electronic device can identify the regions corresponding to the resolution bars in the test chart image. Further, for each identified region, feature analysis is performed on the resolution bars within that region to obtain the camera's resolution in that region. After analyzing the resolution bars in each region, the camera's resolution test result can be obtained.
[0157] In some embodiments, the electronic device can locate and identify the regions corresponding to the resolving force bars in the test chart image based on the distribution characteristics of the resolving force bars. Furthermore, since the resolving force bars in the test chart are often symmetrical, the electronic device can locate and identify the regions corresponding to the resolving force bars only within a portion of the test chart image. Then, using the already located regions, the electronic device can quickly locate and identify the regions corresponding to the resolving force bars from another portion of the test chart image, based on the symmetrical relationship. This further improves the efficiency of resolving force testing during the test analysis phase.
[0158] For example, the aforementioned electronic devices can be terminal devices, such as mobile phones, tablets, desktop computers, laptops, handheld computers, notebook computers, desktop computers, ultra-mobile personal computers (UMPCs), netbooks, as well as cellular phones, personal digital assistants (PDAs), augmented reality (AR) / virtual reality (VR) devices, and other terminal devices. Electronic devices can also be servers. This application does not impose special limitations on the specific form of the electronic devices. Electronic devices may have a display screen, for example, a desktop computer with a display screen. Electronic devices may also not have a display screen. For example, an electronic device may be a server or a device that only performs automatic analysis and does not have a display screen.
[0159] Figure 10 This is a structural block diagram of an electronic device provided in an embodiment of this application. The structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include... Figure 10 It may contain more or fewer components, or combine some components, or separate some components, or arrange the components differently. The components shown in the diagram may be implemented in hardware, software, or a combination of software and hardware.
[0160] like Figure 10As shown, the electronic device may include a processor 1010, a memory 1020, and a communication module 1030. The processor 1010 can be used to read and execute computer-readable instructions. Optionally, the processor 1010 may also include a controller, an arithmetic logic unit (ALU), and registers. The controller is primarily responsible for instruction decoding and issuing control signals for the operations corresponding to the instructions. The ALU is primarily responsible for storing register operands and intermediate operation results temporarily stored during instruction execution. Registers are high-speed storage components with limited storage capacity, which can be used to temporarily store instructions, data, and addresses.
[0161] In specific implementations, the hardware architecture of the processor 1010 can be an application-specific integrated circuit (ASIC) architecture, a microprocessor without interlocked piped stages (MIPS) architecture, an ARM (advanced RISC machines) architecture, or a net processor (NP) architecture, etc.
[0162] The memory 1020 is coupled to the processor 1010 and is used to store various software programs and / or multiple sets of instructions. In this embodiment, the resolution testing method of the electronic device can be implemented not only by integrating it into a processor of the electronic device, but also by storing it in the memory of the electronic device as program code. The processor of the electronic device can then call the code stored in the memory of the electronic device to execute the above method.
[0163] In a specific implementation, the memory 1020 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 1020 may store an operating system, such as uCOS, VxWorks, RTLinux, or other embedded operating systems.
[0164] The communication module 1030 can be used to establish a communication connection between an electronic device and other communication terminals via a network, and to send and receive data via the network. For example, the electronic device can establish a connection with a mobile phone through the communication module 1030 to receive test pattern images transmitted by the mobile phone.
[0165] This application also provides a chip system applied to an electronic device. The chip system includes one or more processors, which are used to invoke computer instructions to cause the electronic device to perform the functions or steps described in the above method embodiments.
[0166] This application also provides a computer-readable storage medium including computer instructions that, when executed on the electronic device, cause the electronic device to perform the various functions or steps described in the method embodiments.
[0167] This application also provides a computer program product that, when run on a computer, causes the computer to perform the functions or steps described in the above method embodiments.
[0168] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0169] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0170] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0171] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0172] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0173] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A resolution test chart for a camera, characterized in that, The resolution test chart includes a central focus area, a first area, a second area, a third area, and a fourth area; the first area, the second area, the third area, and the fourth area are divided by a first center line and a second center line of the central focus area; the first center line and the second center line intersect perpendicularly, and the intersection point is the center point of the central focus area; Each of the first region, the second region, the third region, and the fourth region includes at least one first analytical force strip; the direction of the first analytical force strip is parallel to the first center line. The resolution test chart also includes two second resolution bars; the two second resolution bars are distributed on both sides of the central focus area, and the center line of each of the two second resolution bars coincides with the second center line.
2. The analytical force test chart according to claim 1, characterized in that, The resolution test chart is proportionally sized to the image captured by the camera; the resolution test chart is a rectangular chart with four sides. The resolution test chart also includes four third resolution bars; The third analytical force bar is a cross-shaped analytical force bar; the distance between each third analytical force bar and the first edge of the two adjacent edge lines is less than a first threshold, and the distance between each third analytical force bar and the second edge of the two adjacent edge lines is less than a second threshold; the two adjacent edge lines corresponding to different third analytical force bars are different.
3. The analytical force test chart according to claim 1 or 2, characterized in that, Each of the first, second, third, and fourth regions includes multiple first analytical force bars; the multiple first analytical force bars correspond to different line pair density intervals.
4. The analytical force test chart according to any one of claims 1-3, characterized in that, The first region, the second region, the third region, and the fourth region are all located within a 0.6 field of view.
5. The analytical force test chart according to any one of claims 1-4, characterized in that, The first region, the second region, the third region, and the fourth region all include a fourth resolving force bar; the first region and the third region are opposite to each other; the second region and the fourth region are opposite to each other; The direction of the fourth resolving force strip included in the first region and the third region is parallel to the first straight line; the first straight line passes through the center point of the central focusing area and passes through the first region and the third region; The direction of the fourth resolving force strip included in the second region and the fourth region is parallel to the second straight line; the second straight line passes through the center point of the central focusing area and passes through the second region and the fourth region.
6. The analytical force test chart according to claim 5, characterized in that, The acute angle between either the first straight line or the second straight line and the first center line or the second center line is 45 degrees.
7. The analytical force test chart according to claim 5 or 6, characterized in that, The resolving force bars in the resolving force test chart satisfy at least one of the following constraints: The first analytical force bar in the analytical force test chart is axially symmetrical based on the first center line and / or the second center line; The third analytical force bar in the analytical force test chart is axially symmetrical based on the first center line and / or the second center line; The first region and the fourth region are located on the same side of the first center line, and the fourth analytical force strips in the first region and the fourth region are axially symmetric based on the second center line; The second region and the third region are located on the same side of the first center line, and the fourth analytical force strips in the second region and the third region are axially symmetric based on the second center line.
8. The analytical force test chart according to any one of claims 1-7, characterized in that, The resolution test chart also includes two fifth resolution bars; the two fifth resolution bars are distributed on both sides of the central focus area, and the center lines of the two fifth resolution bars coincide with the first center line.
9. The analytical force test chart according to any one of claims 1-8, characterized in that, The resolution test chart includes field-of-view point markers; the field-of-view point markers are located within the area between the center point of the central focus area and the corner point of the resolution test chart.
10. The analytical force test chart according to claim 9, characterized in that, The field-of-view markers are distributed on the diagonal of the resolution test chart.
11. A method for testing the resolution of a camera based on a resolution test chart according to any one of claims 1-10, characterized in that, The method is applied to an electronic device, and the method includes: Acquire test chart images; the test chart images are images acquired for the resolution test chart. Determine the resolution test results of the camera based on the test chart image.
12. The method according to claim 11, characterized in that, The determination of the camera's resolution test result based on the test chart image includes: Identify the resolving force bars in the test chart image; The resolution of the camera is analyzed based on the resolution bar to obtain the resolution test results.
13. An electronic device, characterized in that, The electronic device includes at least a memory and one or more processors; the memory is used to store computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 11-12.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 11-12.
15. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 11-12.