CN113542729A - Camera analysis force acquisition method and device, intelligent terminal and storage medium - Google Patents

Camera analysis force acquisition method and device, intelligent terminal and storage medium Download PDF

Info

Publication number
CN113542729A
CN113542729A CN202110719118.XA CN202110719118A CN113542729A CN 113542729 A CN113542729 A CN 113542729A CN 202110719118 A CN202110719118 A CN 202110719118A CN 113542729 A CN113542729 A CN 113542729A
Authority
CN
China
Prior art keywords
test
camera
target
distance
acquiring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110719118.XA
Other languages
Chinese (zh)
Other versions
CN113542729B (en
Inventor
谢培强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Cloud Internet Corp Technology Co Ltd
Original Assignee
Huizhou TCL Cloud Internet Corp Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Cloud Internet Corp Technology Co Ltd filed Critical Huizhou TCL Cloud Internet Corp Technology Co Ltd
Priority to CN202110719118.XA priority Critical patent/CN113542729B/en
Publication of CN113542729A publication Critical patent/CN113542729A/en
Application granted granted Critical
Publication of CN113542729B publication Critical patent/CN113542729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a camera analytic force acquisition method, a camera analytic force acquisition device, an intelligent terminal and a storage medium, wherein the camera analytic force acquisition method comprises the following steps: acquiring a focusing distance of a camera to be detected; acquiring a target test graphic card, and performing analysis force test on the camera to be tested through the target test graphic card based on the focusing distance to acquire test data, wherein the target test graphic card is an analysis force test graphic card with any size; acquiring a standard test distance of the target test graphic card, wherein the standard test distance is a shooting distance when a target area of the target test graphic card is filled with a shooting picture of the camera to be tested; and acquiring the analytic force of the camera to be tested based on the test data, the focusing distance and the standard test distance. Compared with the prior art, the scheme of the invention is beneficial to rapidly testing the resolving power of each camera, and the testing cost is reduced.

Description

Camera analysis force acquisition method and device, intelligent terminal and storage medium
Technical Field
The invention relates to the technical field of camera testing, in particular to a camera analysis force obtaining method and device, an intelligent terminal and a storage medium.
Background
With the development of science and technology, cameras (or camera modules) have become devices which are visible everywhere in life, and for example, mobile terminals such as mobile phones used by users are basically provided with cameras. And the user's demands for various performances of the camera are also gradually increased. The resolution of the camera, also called definition or resolution, is an important parameter for representing the performance of the camera, and therefore, the resolution is very important for the resolution test of the camera.
In the prior art, the analysis force test can be performed on the camera through the analysis force test chart. However, in the process of using the analysis force test card to perform the analysis force test on the camera, it is necessary to ensure that the test distance corresponding to the analysis force test card is the same as the focusing distance of the camera. The problem of prior art lies in, to the camera of a certain focusing distance, can only customize the analytic power test graphic card of specific size, to the camera of different focusing distances, need customize the analytic power test graphic card of different sizes respectively, be unfavorable for carrying out the analytic power test to each camera fast, and make the test cost high.
Thus, there is still a need for improvement and development of the prior art.
Disclosure of Invention
The invention mainly aims to provide a camera analysis force obtaining method, a camera analysis force obtaining device, an intelligent terminal and a storage medium, and aims to solve the problems that in the prior art, only an analysis force test chart with a specific size can be customized for a camera with a certain focusing distance, and analysis force test charts with different sizes are required to be customized for cameras with different focusing distances, so that analysis force tests on the cameras are not facilitated rapidly, and the test cost is high.
In order to achieve the above object, a first aspect of the present invention provides a camera analytic force acquisition method, where the method includes:
acquiring a focusing distance of a camera to be detected;
acquiring a target test graphic card, and performing analysis force test on the camera to be tested through the target test graphic card based on the focusing distance to acquire test data, wherein the target test graphic card is an analysis force test graphic card with any size;
acquiring a standard test distance of the target test graphic card, wherein the standard test distance is a shooting distance when a target area of the target test graphic card is filled with a shooting picture of the camera to be tested;
and acquiring the analytic force of the camera to be tested based on the test data, the focusing distance and the standard test distance.
Optionally, the obtaining of the target test card is to perform, based on the focusing distance, an analysis force test on the camera to be tested through the target test card, and obtain test data, including:
acquiring a target test graphic card;
setting the camera to be tested to be vertical to the target test graphic card, wherein the vertical distance between the camera to be tested and the target test graphic card is the focusing distance;
and shooting the target test graphic card through the camera to be tested, and acquiring test data based on the shot image.
Optionally, the obtaining of the standard test distance of the target test card includes:
acquiring the size of a target area of the target test graphic card;
acquiring the field angle of the camera to be detected;
the standard test distance is acquired based on the target area size and the field angle.
Optionally, the target area is a 4:3 area of the target test chart.
Optionally, the obtaining the standard test distance based on the target area size and the field angle includes:
calculating and obtaining the length of the diagonal line of the target area based on the length and the width of the target area;
the standard test distance is equal to a target length divided by a target angle tangent, wherein the target length is one-half of the diagonal length and the target angle tangent is a tangent of the field angle multiplied by one-half.
Optionally, the obtaining the resolving power of the camera to be tested based on the test data, the focusing distance and the standard test distance includes:
dividing the focusing distance by the standard test distance to obtain a value as a similarity equal ratio;
and acquiring the analytic force of the camera to be tested based on the similarity and the equal ratio and the test data.
Optionally, after the obtaining the resolving power of the camera to be tested based on the similarity and the equal ratio and the test data, the method further includes:
and acquiring the resolution grade of the camera based on a preset resolution grade threshold, the test data and the similarity equal ratio.
The second aspect of the present invention provides a camera analytic force acquiring apparatus, wherein the apparatus includes:
the focusing distance acquisition module is used for acquiring the focusing distance of the camera to be detected;
a test data acquisition module, configured to acquire a target test chart, and perform an analysis force test on the camera to be tested through the target test chart based on the focusing distance to acquire test data, where the target test chart is an analysis force test chart of any size;
a standard test distance obtaining module, configured to obtain a standard test distance of the target test card, where the standard test distance is a shooting distance when a target area of the target test card is full of a shooting screen of the camera to be tested;
and the analysis force acquisition module is used for acquiring the analysis force of the camera to be tested based on the test data, the focusing distance and the standard test distance.
A third aspect of the present invention provides an intelligent terminal, where the intelligent terminal includes a memory, a processor, and a camera analysis force acquisition program stored in the memory and executable on the processor, and the camera analysis force acquisition program implements any one of the steps of the camera analysis force acquisition method when executed by the processor.
A fourth aspect of the present invention provides a computer-readable storage medium having a camera analysis force acquisition program stored thereon, where the camera analysis force acquisition program, when executed by a processor, implements any one of the steps of the camera analysis force acquisition method.
From the above, in the scheme of the invention: acquiring a focusing distance of a camera to be detected; acquiring a target test graphic card, and performing analysis force test on the camera to be tested through the target test graphic card based on the focusing distance to acquire test data, wherein the target test graphic card is an analysis force test graphic card with any size; acquiring a standard test distance of the target test graphic card, wherein the standard test distance is a shooting distance when a target area of the target test graphic card is filled with a shooting picture of the camera to be tested; and acquiring the analytic force of the camera to be tested based on the test data, the focusing distance and the standard test distance. Compared with the prior art, the resolution test method and the device have the advantages that the resolution test card with any size can be used for carrying out resolution test on the camera to be tested, and the actual resolution of the camera to be tested is obtained through conversion according to the obtained test data, the focusing distance of the camera and the standard test distance corresponding to the resolution test card. Therefore, for cameras with different focusing distances, analysis force test graphics cards with different sizes do not need to be customized, and the same analysis force test graphics card can be used for carrying out analysis force test on different cameras, so that the analysis force test on each camera is facilitated, and the test cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a camera analytic force acquisition method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a detailed process of step S200 in FIG. 1 according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a detailed process of step S300 in FIG. 1 according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating the detailed process of step S303 in FIG. 3 according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating the step S400 in FIG. 1 according to an embodiment of the present invention;
FIG. 6 is a graph showing the results of an 8M wide angle resolution test using a quasi-focal chart and a 4X ISO12233 chart according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a camera analytic force obtaining apparatus according to an embodiment of the present invention;
fig. 8 is a schematic block diagram of an internal structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when …" or "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted depending on the context to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings of the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
With the development of science and technology, cameras (or camera modules) have become devices which are visible everywhere in life, and for example, mobile terminals such as mobile phones used by users are basically provided with cameras. And the user's demands for various performances of the camera are also gradually increased. The resolution of the camera, also called definition or resolution, is an important parameter for representing the performance of the camera, and therefore, the resolution is very important for the resolution test of the camera.
In the prior art, the analysis force test can be performed on the camera (or the camera module) through the analysis force test chart. For example, the resolution of the camera can be tested using an ISO12233 resolution test chart. The ISO12233 analytic force test chart is a standard sample sheet and can provide auxiliary tests such as vertical analytic force and horizontal analytic force of actual shooting. However, in the process of using the analysis force test card to perform the analysis force test on the camera, it is necessary to ensure that the test distance corresponding to the analysis force test card is the same as the focusing distance of the camera. The focusing requirements of the current step pixel camera modules are different, for example, the 5M wide-angle focusing distance is 40 cm, the 8M wide-angle focusing distance is 70 cm, and the 16M wide-angle focusing distance is 90 cm. The analytic force test chart for the analytic force test needs to be customized according to the focusing distance and the field angle of the camera module, and the customized chart is expensive and has weak sharing performance. When a plurality of camera modules need to be tested, the problems of a plurality of evaluation cards, difficulty in management, resource waste and the like are caused. The problem of prior art lies in, to the camera of a certain focusing distance, can only customize the analytic power test graphic card of specific size, to the camera of different focusing distances, need customize the analytic power test graphic card of different sizes respectively, be unfavorable for carrying out the analytic power test to each camera fast, and make the test cost high.
In order to solve the problems in the prior art, the scheme of the invention obtains the focusing distance of the camera to be detected; acquiring a target test graphic card, and performing analysis force test on the camera to be tested through the target test graphic card based on the focusing distance to acquire test data, wherein the target test graphic card is an analysis force test graphic card with any size; acquiring a standard test distance of the target test graphic card, wherein the standard test distance is a shooting distance when a target area of the target test graphic card is filled with a shooting picture of the camera to be tested; and acquiring the analytic force of the camera to be tested based on the test data, the focusing distance and the standard test distance. Compared with the prior art, the resolution test method and the device have the advantages that the resolution test card with any size can be used for carrying out resolution test on the camera to be tested, and the actual resolution of the camera to be tested is obtained through conversion according to the obtained test data, the focusing distance of the camera and the standard test distance corresponding to the resolution test card. Therefore, for cameras with different focusing distances, analysis force test graphics cards with different sizes do not need to be customized, and the same analysis force test graphics card can be used for carrying out analysis force test on different cameras, so that the analysis force test on each camera is facilitated, and the test cost is reduced.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides a method for acquiring an analytic force of a camera, and specifically, the method includes the following steps:
and S100, acquiring the focusing distance of the camera to be measured.
The camera to be tested is a camera which needs to be subjected to analysis force testing. In this embodiment, an analysis force test on the camera is taken as an example for description, but the solution based on this embodiment may also perform an analysis force test on the camera module, and the specific flow may refer to the flow of the analysis force test on the camera in this embodiment, and is not limited specifically here. The focusing distance is set according to the actual requirement of the camera to be tested, and the camera to be tested can clearly shoot the test chart card at the focusing distance. In the prior art, a test chart card capable of meeting the shooting requirement of a camera to be tested at the focusing distance needs to be customized, so that the focusing distance is obtained and converted based on the focusing distance in the embodiment, the size of the target test chart card is not limited, and the test requirement and the cost can be reduced.
And S200, acquiring a target test graphic card, and performing analysis force test on the camera to be tested through the target test graphic card based on the focusing distance to acquire test data, wherein the target test graphic card is an analysis force test graphic card with any size.
The target test chart is an analytic force test chart for carrying out analytic force test on the camera. In this embodiment, a test chart of any size may be used, so based on the scheme of this embodiment, the same target test chart may be used to perform the analysis force test on different cameras, and it is not necessary to customize target test charts of different sizes for cameras of different focusing distances, and the size of the target test chart is not limited. Specifically, the vertical distance between the camera to be tested and the target test graphic card is controlled to be equal to the focusing distance, so that the camera to be tested can clearly shoot the corresponding target test graphic card to perform the analysis force test, and corresponding test data is obtained.
Step 300, obtaining a standard test distance of the target test chart, wherein the standard test distance is a shooting distance when a target area of the target test chart is filled with a shooting picture of the camera to be tested.
Specifically, in this embodiment, the target area of the target test chart may be a rectangle, and when the corresponding rectangle fills the shooting screen, the longest side in the shooting screen is a diagonal line of the rectangle of the target area. And the camera to be tested is perpendicular to the target test chart for shooting, so that the standard test distance can be obtained by calculation according to the diagonal length of the target area and the field angle of the camera to be tested. Further, in this embodiment, the size of the target test chart satisfies that when shooting is performed at the focusing distance, the camera to be tested can completely shoot the target area into the picture.
And step S400, acquiring the resolving power of the camera to be tested based on the test data, the focusing distance and the standard test distance.
Specifically, the actual resolving power of the camera to be tested may be obtained based on the test data according to a proportional relationship between the focusing distance (i.e., the actual shooting distance) and the standard test distance. Therefore, the analytic force of the camera to be tested is tested by using the non-customized analytic force test graphic card, and the test cost is favorably reduced.
As can be seen from the above, in the camera analytic force acquisition method provided by the embodiment of the present invention, the focusing distance of the camera to be measured is acquired; acquiring a target test graphic card, and performing analysis force test on the camera to be tested through the target test graphic card based on the focusing distance to acquire test data, wherein the target test graphic card is an analysis force test graphic card with any size; acquiring a standard test distance of the target test graphic card, wherein the standard test distance is a shooting distance when a target area of the target test graphic card is filled with a shooting picture of the camera to be tested; and acquiring the analytic force of the camera to be tested based on the test data, the focusing distance and the standard test distance. Compared with the prior art, the resolution test method and the device have the advantages that the resolution test card with any size can be used for carrying out resolution test on the camera to be tested, and the actual resolution of the camera to be tested is obtained through conversion according to the obtained test data, the focusing distance of the camera and the standard test distance corresponding to the resolution test card. Therefore, for cameras with different focusing distances, analysis force test graphics cards with different sizes do not need to be customized, and the same analysis force test graphics card can be used for carrying out analysis force test on different cameras, so that the analysis force test on each camera is facilitated, and the test cost is reduced.
Specifically, the focusing distance of each camera to be measured is different, for example, the 5M wide-angle focusing distance is 40 cm, the 8M wide-angle focusing distance is 70 cm, and the 16M wide-angle focusing distance is 90 cm, and the corresponding focusing distance is obtained according to the specific parameters of the camera to be measured in the actual use process.
Specifically, in this embodiment, as shown in fig. 2, the step S200 includes:
step S201, obtaining a target test chart.
The target test chart is an analytic force test chart for carrying out analytic force test on the camera, and the size of the target test chart is not limited. For example, ISO12233, 4X ISO12233, other sizes or other standards may be used, and no particular limitation is made herein. In this embodiment, the 4X ISO12233 analysis power test chart is taken as an example for explanation, and by the method of this embodiment, it is not required that the size of the target test chart is correspondingly matched with the focusing distance of the camera to be tested, so that the same target test chart can be used to test the cameras to be tested with different focusing distances, and the analysis power evaluation requirements of each stepped pixel camera module are adapted, so that the purchase number of the chart can be reduced, the management of laboratory equipment is facilitated, and the expenditure is saved.
Step S202, the camera to be tested is arranged perpendicular to the target test graphic card, and the vertical distance between the camera to be tested and the target test graphic card is the focusing distance.
Specifically, the focusing distance is directly used as a shooting distance during testing, and a shooting target test chart which can be clearly shot by the camera to be tested is guaranteed.
And step S203, shooting the target test chart through the camera to be tested, and acquiring test data based on the shot image.
Wherein the test data is analysis force test data obtained from an image obtained by photographing. Specifically, corresponding analysis force test data can be obtained according to a reading corresponding to a clear analysis force bar in an image obtained by shooting. For example, if the value corresponding to the clear analysis force bar in the central area of the 4X ISO12233 analysis force test chart in the captured picture is 18, the value is multiplied by 100 to obtain analysis force test data corresponding to the area, specifically 1800 image height/line width, that is 1800 LW/PH. Since the shooting distance used in this embodiment is not the standard distance corresponding to the analysis force test chart, the obtained analysis force test data is not the actual analysis force of the camera to be tested, and further conversion is required to obtain the actual analysis force corresponding to the camera to be tested.
Specifically, in this embodiment, as shown in fig. 3, the step S300 includes:
step S301, obtaining the target area size of the target test chart.
And step S302, acquiring the field angle of the camera to be measured.
Step S303, obtaining the standard test distance based on the target area size and the field angle.
Wherein the target area size is a size of an area for performing an analysis force test in the target test chart. Specifically, different target areas may be set in the target test chart corresponding to different test requirements, and the image aspect ratios of the target areas are different. For example, the 4XISO12233 resolution test chart used in this embodiment is provided with 16:9, 3:2, 4:3, and 1:1 regions. When performing the analytic force test on the camera, it is usually required to make the camera satisfy 4:3 area full screen, and in this embodiment, the 4:3 area in the target test chart is used as the target area. The target area size is the size of the 4:3 area of the 4XISO12233 resolution test chart.
The field angle of the camera to be measured is determined by the optical lens of the camera to be measured. In this embodiment, at the standard test distance, the angle of view is equal to the number of included angles formed by the two end points of the longest edge in the target area and the camera to be tested when the target area is full of screen.
Specifically, in this embodiment, the target area of the target test chart is a rectangular area, the size of the target area of the target test chart includes the length and the width of the target area of the target test chart, as shown in fig. 4, the step S303 includes:
step S3031, calculating and obtaining the diagonal length of the target region based on the length and the width of the target region.
Step S3032, the standard test distance is equal to a target length divided by a target angle tangent value, wherein the target length is one-half of the diagonal length, and the target angle tangent value is a tangent value obtained by multiplying the viewing angle by one-half.
Specifically, the 4:3 area of the 4X ISO12233 analytic force test chart is used in this embodiment. Specifically, in this embodiment, the standard test distance may be calculated based on the following formula (1):
Figure BDA0003135902610000111
where D is the standard test distance, a and b are the length and width of the target area, respectively, and FOV is the field angle of the camera under test, as described aboveIn the formula (1), the unit of FOV is degree, and if the obtained angle of view is a numerical value and is not a unit, the angle of view can be determined
Figure BDA0003135902610000112
Divided by 180 and multiplied by pi, and the tangent value is calculated. As described above
Figure BDA0003135902610000113
Equal to the diagonal length of the target area, the length and width of the 4:3 area of the 4X ISO12233 resolution force test chart are 106 cm and 80 cm, respectively, and a diagonal length of 132.8 cm can be calculated. In this embodiment, an analysis force test is performed on an 8M wide-angle module, the field angle of the wide-angle module (i.e., the camera to be tested) is 98 ° (the FOV may be replaced by an HFOV when the wide-angle module is used), a standard test distance D corresponding to the wide-angle module is about 57 cm according to the formula (1), and a focusing distance of the wide-angle module is 70 cm.
Specifically, in this embodiment, as shown in fig. 5, the step S400 includes:
in step S401, a value obtained by dividing the focusing distance by the standard test distance is set as a similarity equivalence ratio.
Step S402, acquiring the analytic power of the camera to be tested based on the similarity and equivalence ratio and the test data.
In this embodiment, for the 8M wide-angle module to be measured, the focusing distance is 70 cm, the standard test distance is 57 cm, and the similar geometric rate obtained by dividing the focusing distance by the standard test distance is about 1.23. Further, the analysis power of the camera to be tested can be obtained by multiplying the test data by the similarity ratio. Specifically, when a 4X ISO12233 analytic force test chart is used for testing, test data at different positions of the center and four corners of the analytic force test chart needs to be obtained, specifically including horizontal data and vertical data at the left and right sides of the center, and the horizontal data and the vertical data corresponding to the four positions of the four corners respectively. For example, if the horizontal resolution power data obtained by measuring a certain central position is 1500LW/PH, the real horizontal resolution power corresponding to the position can be obtained by multiplying 1.23 by 1845LW/PH, and the real resolution power of the camera to be measured corresponding to the measured data of each position is obtained by calculation. Specifically, in this embodiment, an analytic force level threshold (i.e., a standard value for which the analytic force is qualified, which can be set and adjusted according to actual requirements) of each position may also be preset, and whether the camera (or the camera module) to be measured is qualified is determined according to the analytic force level threshold and the calculated real analytic force. For example, for the 8M wide-angle module to be tested, the resolution level threshold of the center region is 1700LW/PH, the resolution level threshold of the four angle regions is 1200LW/PH, and the resolution is acceptable for the position where the true horizontal resolution is 1845 LW/PH. And respectively comparing the real analytic force corresponding to each measured position with the analytic force grade threshold value of the position, and when the real analytic force is not less than the analytic force grade threshold value of the position, considering that the analytic force of the position is qualified, otherwise, considering that the analytic force of the position is unqualified. If the analytic force of all the positions of the camera (or the camera module) to be tested is qualified, the analytic force of the camera (or the camera module) is considered to be qualified, otherwise, the analytic force is considered to be unqualified.
Specifically, in this embodiment, after the step S400, the method further includes: and acquiring the resolution grade of the camera based on a preset resolution grade threshold, the test data and the similarity equal ratio.
Furthermore, a plurality of analysis force level thresholds can be set for one position, different thresholds are used for different levels, such as first level, second level and third level, the real analysis force of each position is obtained according to the test data of each position and the ratio of similarity and the like, the analysis force level of the camera is determined based on the magnitude relation between the real analysis force of each position and the analysis force level threshold of the position, the specific level and the threshold can be set and adjusted according to actual requirements, and no specific limitation is made herein.
In this embodiment, the explanation is also made based on an analysis force test experiment in a specific application scenario. Specifically, the camera to be tested is an 8M wide angle, the target test graphic card used is a 4X ISO12233 graphic card, the focusing distance of the 8M wide angle is 70 cm, and the field angle (HFOV) is 98 °. The calculated standard test distance (i.e. the shooting distance when the 4:3 area of the 4X ISO12233 chart is full) is about 57 cm, while the focusing distance at the 8M wide angle is 70 cm, so that the analysis force line pair cannot be directly shot, and the calculated equivalence ratio is about 1.23 by conversion with the equivalence ratio. Specifically, in an ideal test environment, that is, in the case of using an 8M wide-angle analysis force test chart of a custom size, the set ideal analysis force level threshold is a Center region 1700LW/PH, a Corner region 1200LW/PH, that is, an ideal analysis force level threshold corresponding to the position of the Center region (that is, a pass standard under ideal experimental conditions) is 1700LW/PH, and an ideal analysis force level threshold corresponding to the position of the four Corner regions is 1200 LW/PH. The ideal analysis force level thresholds are converted according to the similarity ratio, and specifically, the analysis force level thresholds under the experimental conditions (i.e., the qualified standards under the actual experiment) obtained by dividing the ideal analysis force level thresholds by the similarity ratio are respectively corresponding to the Center region 1350LW/PH and the Corner region 950 LW/PH. In this embodiment, 5 experiments are performed by using a customized quasi-focal chart corresponding to an 8M wide angle and a 4X ISO12233 chart, respectively, and the analysis force is tested, and a specific test result is shown in fig. 6. In the figure, Center L and Center R represent the left and right positions of the Center region, UL, BL, BR, UR represent the different positions of the four corners, hori represents the horizontal resolution, and vert represents the vertical resolution, respectively; the quasi-focal map card standard represents an ideal resolution level threshold under conditions where a quasi-focal resolution map card is used; the 4X chart equivalence ratio conversion standard represents an analytic force level threshold obtained by dividing the corresponding ideal analytic force level threshold by the equivalence ratio, i.e., an analytic force passing standard corresponding to a 8M wide angle when measured using a focusing distance of 70 cm. For example, the standard for a quasi-focal card for the Center L and Center R regions is 1700LW/PH, and the 4X card similarity scaling standard is 1700 divided by 1.23 to approximately 1350 LW/PH. As can be seen from fig. 6, when the resolution test is performed according to the scheme provided by the embodiment of the present invention, it can be well determined whether the resolution of the camera is qualified. Further, the reading corresponding to the 4X graphic card may be multiplied by a similar equivalence ratio to obtain an actual resolving power, for example, the resolving power corresponding to the Center L point of the first group of the 4X graphic card test is 1500LW/PH, and the actual resolving power obtained by multiplying by 1.23 is 1845LW/PH, which is very close to 1900LW/PH obtained by the measurement of the quasi-focus graphic card.
Exemplary device
As shown in fig. 7, in correspondence to the camera analysis force obtaining method, an embodiment of the present invention further provides a camera analysis force obtaining apparatus, where the camera analysis force obtaining apparatus includes:
and a focusing distance obtaining module 510, configured to obtain a focusing distance of the camera to be detected.
The camera to be tested is a camera which needs to be subjected to analysis force testing. In this embodiment, an analysis force test on the camera is taken as an example for description, but the solution based on this embodiment may also perform an analysis force test on the camera module, and the specific flow may refer to the flow of the analysis force test on the camera in this embodiment, and is not limited specifically here. The focusing distance is set according to the actual requirement of the camera to be tested, and the camera to be tested can clearly shoot the test chart card at the focusing distance. In the prior art, a test chart card capable of meeting the shooting requirement of a camera to be tested at the focusing distance needs to be customized, so that the focusing distance is obtained and converted based on the focusing distance in the embodiment, the size of the target test chart card is not limited, and the test requirement and the cost can be reduced.
A test data obtaining module 520, configured to obtain a target test chart, and perform an analysis force test on the camera to be tested through the target test chart based on the focusing distance to obtain test data, where the target test chart is an analysis force test chart with any size.
The target test chart is an analytic force test chart for carrying out analytic force test on the camera. In this embodiment, a test chart of any size may be used, so based on the scheme of this embodiment, the same target test chart may be used to perform the analysis force test on different cameras, and it is not necessary to customize target test charts of different sizes for cameras of different focusing distances, and the size of the target test chart is not limited. Specifically, the vertical distance between the camera to be tested and the target test graphic card is controlled to be equal to the focusing distance, so that the camera to be tested can clearly shoot the corresponding target test graphic card to perform the analysis force test, and corresponding test data is obtained.
A standard test distance obtaining module 530, configured to obtain a standard test distance of the target test card, where the standard test distance is a shooting distance when a target area of the target test card is full of a shooting screen of the camera to be tested.
Specifically, in this embodiment, the target area of the target test chart may be a rectangle, and when the corresponding rectangle fills the shooting screen, the longest side in the shooting screen is a diagonal line of the rectangle of the target area. And the camera to be tested is perpendicular to the target test chart for shooting, so that the standard test distance can be obtained by calculation according to the diagonal length of the target area and the field angle of the camera to be tested.
An analysis force obtaining module 540, configured to obtain an analysis force of the camera to be tested based on the test data, the focusing distance, and the standard test distance.
Specifically, the actual resolving power of the camera to be tested may be obtained based on the test data according to a proportional relationship between the focusing distance (i.e., the actual shooting distance) and the standard test distance. Therefore, the analytic force of the camera to be tested is tested by using the non-customized analytic force test graphic card, and the test cost is favorably reduced.
As can be seen from the above, the camera analytic force acquisition apparatus provided in the embodiment of the present invention acquires the focusing distance of the camera to be measured through the focusing distance acquisition module 510; acquiring a target test chart through a test data acquisition module 520, and performing an analytic force test on the camera to be tested through the target test chart based on the focusing distance to acquire test data, wherein the target test chart is an analytic force test chart with any size; acquiring a standard test distance of the target test card by a standard test distance acquisition module 530, wherein the standard test distance is a shooting distance when a target area of the target test card is filled with a shooting picture of the camera to be tested; the analysis force of the camera to be tested is obtained by the analysis force obtaining module 540 based on the test data, the focusing distance and the standard test distance. Compared with the prior art, the resolution test method and the device have the advantages that the resolution test card with any size can be used for carrying out resolution test on the camera to be tested, and the actual resolution of the camera to be tested is obtained through conversion according to the obtained test data, the focusing distance of the camera and the standard test distance corresponding to the resolution test card. Therefore, for cameras with different focusing distances, analysis force test graphics cards with different sizes do not need to be customized, and the same analysis force test graphics card can be used for carrying out analysis force test on different cameras, so that the analysis force test on each camera is facilitated, and the test cost is reduced.
Specifically, the focusing distance of each camera to be measured is different, for example, the 5M wide-angle focusing distance is 40 cm, the 8M wide-angle focusing distance is 70 cm, and the 16M wide-angle focusing distance is 90 cm, and the corresponding focusing distance is obtained according to the specific parameters of the camera to be measured in the actual use process.
Specifically, in this embodiment, the specific functions of each module of the camera analytic force acquisition apparatus may refer to the corresponding descriptions in the camera analytic force acquisition method, and are not described herein again.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a schematic block diagram thereof may be as shown in fig. 8. The intelligent terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein, the processor of the intelligent terminal is used for providing calculation and control capability. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a camera analysis force acquisition program. The internal memory provides an environment for the operation of an operating system and a camera resolution acquisition program in the nonvolatile storage medium. The network interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. The camera analysis force acquisition program realizes the steps of any one of the camera analysis force acquisition methods when executed by the processor. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.
It will be understood by those skilled in the art that the block diagram of fig. 8 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the intelligent terminal to which the solution of the present invention is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have different arrangements of components.
In one embodiment, a smart terminal is provided, where the smart terminal includes a memory, a processor, and a camera resolution obtaining program stored in the memory and executable on the processor, and the camera resolution obtaining program performs the following operation instructions when executed by the processor:
acquiring a focusing distance of a camera to be detected;
acquiring a target test graphic card, and performing analysis force test on the camera to be tested through the target test graphic card based on the focusing distance to acquire test data, wherein the target test graphic card is an analysis force test graphic card with any size;
acquiring a standard test distance of the target test graphic card, wherein the standard test distance is a shooting distance when a target area of the target test graphic card is filled with a shooting picture of the camera to be tested;
and acquiring the analytic force of the camera to be tested based on the test data, the focusing distance and the standard test distance.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the above modules or units is only one logical division, and the actual implementation may be implemented by another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and can implement the steps of the embodiments of the method when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the contents contained in the computer-readable storage medium can be increased or decreased as required by legislation and patent practice in the jurisdiction.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.

Claims (10)

1. A camera analytic force acquisition method, the method comprising:
acquiring a focusing distance of a camera to be detected;
acquiring a target test graphic card, and performing analysis force test on the camera to be tested through the target test graphic card based on the focusing distance to acquire test data, wherein the target test graphic card is an analysis force test graphic card with any size;
acquiring a standard test distance of the target test graphic card, wherein the standard test distance is a shooting distance when a target area of the target test graphic card is filled with a shooting picture of the camera to be tested;
and acquiring the resolving power of the camera to be tested based on the test data, the focusing distance and the standard test distance.
2. The method for acquiring the resolving power of the camera according to claim 1, wherein the acquiring a target test chart, based on the focusing distance, performs the resolving power test on the camera to be tested through the target test chart, and acquires test data, includes:
acquiring a target test graphic card;
setting the camera to be tested to be perpendicular to the target test graphic card, wherein the perpendicular distance between the camera to be tested and the target test graphic card is the focusing distance;
shooting the target test graphic card through the camera to be tested, and acquiring test data based on the shot image.
3. The camera analytic force acquisition method of claim 1, wherein the acquiring a standard test distance of the target test chart comprises:
acquiring the size of a target area of the target test graphic card;
acquiring the field angle of the camera to be detected;
acquiring the standard test distance based on the target area size and the field angle.
4. The camera analytic force acquisition method of claim 1, wherein the target region is a 4:3 region of the target test chart.
5. The camera resolving power acquiring method according to claim 3, wherein the target area of the target test chart is a rectangular area, the target area size of the target test chart includes a length and a width of the target area of the target test chart, and the acquiring the standard test distance based on the target area size and the field angle includes:
calculating and obtaining the diagonal length of the target area based on the length and the width of the target area;
the standard test distance is equal to a target length divided by a target angle tangent value, wherein the target length is one-half of the diagonal length and the target angle tangent value is the tangent value after the field angle is multiplied by one-half.
6. The camera analysis force acquisition method according to claim 1, wherein the acquiring the analysis force of the camera to be tested based on the test data, the focusing distance, and the standard test distance includes:
dividing the focusing distance by the standard test distance to obtain a value as a similarity equal ratio;
and acquiring the analytic force of the camera to be tested based on the similarity equal ratio and the test data.
7. The camera resolution power acquisition method according to claim 6, wherein after said acquiring the resolution power of the camera under test based on the similarity-to-equivalence ratio and the test data, the method further comprises:
and acquiring the resolution grade of the camera based on a preset resolution grade threshold, the test data and the similar equal ratio.
8. A camera resolving force obtaining apparatus, the apparatus comprising:
the focusing distance acquisition module is used for acquiring the focusing distance of the camera to be detected;
the test data acquisition module is used for acquiring a target test graphic card, and performing analysis force test on the camera to be tested through the target test graphic card based on the focusing distance to acquire test data, wherein the target test graphic card is an analysis force test graphic card with any size;
a standard test distance obtaining module, configured to obtain a standard test distance of the target test chart, where the standard test distance is a shooting distance when a target area of the target test chart is full of a shooting screen of the camera to be tested;
and the analysis force acquisition module is used for acquiring the analysis force of the camera to be tested based on the test data, the focusing distance and the standard test distance.
9. An intelligent terminal, characterized in that the intelligent terminal comprises a memory, a processor and a camera resolution obtaining program stored on the memory and operable on the processor, wherein the camera resolution obtaining program, when executed by the processor, implements the steps of the camera resolution obtaining method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having a camera resolution acquisition program stored thereon, which when executed by a processor implements the steps of the camera resolution acquisition method according to any one of claims 1 to 7.
CN202110719118.XA 2021-06-28 2021-06-28 Camera resolution obtaining method and device, intelligent terminal and storage medium Active CN113542729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110719118.XA CN113542729B (en) 2021-06-28 2021-06-28 Camera resolution obtaining method and device, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110719118.XA CN113542729B (en) 2021-06-28 2021-06-28 Camera resolution obtaining method and device, intelligent terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113542729A true CN113542729A (en) 2021-10-22
CN113542729B CN113542729B (en) 2024-03-19

Family

ID=78097016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110719118.XA Active CN113542729B (en) 2021-06-28 2021-06-28 Camera resolution obtaining method and device, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113542729B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107920211A (en) * 2017-12-28 2018-04-17 深圳市金立通信设备有限公司 A kind of photographic method, terminal and computer-readable recording medium
CN108225741A (en) * 2017-12-28 2018-06-29 广东欧珀移动通信有限公司 Method for testing definition, device, storage medium and electronic equipment
CN208488645U (en) * 2018-07-05 2019-02-12 Oppo广东移动通信有限公司 Image header parsing power test pattern
CN109348129A (en) * 2018-11-13 2019-02-15 信利光电股份有限公司 A kind of the clarity detection method and system of cameras with fixed focus
CN110365971A (en) * 2019-07-17 2019-10-22 上海集成电路研发中心有限公司 It is a kind of to be automatically positioned the test macro and method most preferably to focus
CN111757102A (en) * 2020-08-03 2020-10-09 Oppo广东移动通信有限公司 Ultra-micro distance camera definition detection device and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107920211A (en) * 2017-12-28 2018-04-17 深圳市金立通信设备有限公司 A kind of photographic method, terminal and computer-readable recording medium
CN108225741A (en) * 2017-12-28 2018-06-29 广东欧珀移动通信有限公司 Method for testing definition, device, storage medium and electronic equipment
CN208488645U (en) * 2018-07-05 2019-02-12 Oppo广东移动通信有限公司 Image header parsing power test pattern
CN109348129A (en) * 2018-11-13 2019-02-15 信利光电股份有限公司 A kind of the clarity detection method and system of cameras with fixed focus
CN110365971A (en) * 2019-07-17 2019-10-22 上海集成电路研发中心有限公司 It is a kind of to be automatically positioned the test macro and method most preferably to focus
CN111757102A (en) * 2020-08-03 2020-10-09 Oppo广东移动通信有限公司 Ultra-micro distance camera definition detection device and method

Also Published As

Publication number Publication date
CN113542729B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
CN110660066B (en) Training method of network, image processing method, network, terminal equipment and medium
CN109166156B (en) Camera calibration image generation method, mobile terminal and storage medium
CN107918216B (en) Image Mura defect evaluation method and system and readable storage medium
CN113240630B (en) Speckle image quality evaluation method and device, terminal equipment and readable storage medium
CN108074237B (en) Image definition detection method and device, storage medium and electronic equipment
CN107492126B (en) Calibration method, device, system, medium and the equipment of camera central axis
CN108668086B (en) Automatic focusing method and device, storage medium and terminal
CN110345875B (en) Calibration and ranging method, device, electronic equipment and computer readable storage medium
CN112991459B (en) Camera calibration method, device, equipment and storage medium
CN112912932A (en) Calibration method and device of vehicle-mounted camera and terminal equipment
CN111368587A (en) Scene detection method and device, terminal equipment and computer readable storage medium
CN111311671B (en) Workpiece measuring method and device, electronic equipment and storage medium
CN113542729B (en) Camera resolution obtaining method and device, intelligent terminal and storage medium
CN107734324B (en) Method and system for measuring illumination uniformity of flash lamp and terminal equipment
CN111862208A (en) Vehicle positioning method and device based on screen optical communication and server
CN114323585B (en) Method for batch calculation of modulation transfer function, electronic device and storage medium
CN111982468B (en) Method, device and system for measuring field angle and computer storage medium
CN109901716A (en) Sight line point prediction model method for building up, device and sight line point prediction technique
CN110196422B (en) Laser ranging test method and device and mobile terminal
CN111551346B (en) Method, device and system for measuring field angle and computer storage medium
CN112954310A (en) Image quality detection method, device, computer equipment and readable storage medium
CN113781392A (en) Method for detecting adhesive path, electronic device and storage medium
CN113470103A (en) Method and device for determining camera action distance in vehicle-road cooperation and road side equipment
CN113406429A (en) Electronic metering device detection method and device, storage medium and electronic equipment
CN112863408B (en) Screen resolution detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant