CN109470450B - Method and device for evaluating parallelism of optical axes of double-camera lens group and computer medium - Google Patents

Method and device for evaluating parallelism of optical axes of double-camera lens group and computer medium Download PDF

Info

Publication number
CN109470450B
CN109470450B CN201811205133.7A CN201811205133A CN109470450B CN 109470450 B CN109470450 B CN 109470450B CN 201811205133 A CN201811205133 A CN 201811205133A CN 109470450 B CN109470450 B CN 109470450B
Authority
CN
China
Prior art keywords
lens group
point
calibration
distance
optical axis
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.)
Active
Application number
CN201811205133.7A
Other languages
Chinese (zh)
Other versions
CN109470450A (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.)
Zhejiang Sunny Optics Co Ltd
Original Assignee
Zhejiang Sunny Optics 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 Zhejiang Sunny Optics Co Ltd filed Critical Zhejiang Sunny Optics Co Ltd
Priority to CN201811205133.7A priority Critical patent/CN109470450B/en
Publication of CN109470450A publication Critical patent/CN109470450A/en
Application granted granted Critical
Publication of CN109470450B publication Critical patent/CN109470450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a method and a device for evaluating the parallelism of optical axes of double-camera lens groups and a computer medium. Wherein, the method comprises the following steps: imaging a first calibration point in the calibration image by using a first lens group in the double-shooting lens group to obtain a first characteristic point, and imaging a second calibration point in the calibration image by using a second lens group to obtain a second characteristic point to adjust the angle of the double-shooting lens group or the calibration image; imaging the second calibration point by using the first lens group to obtain a third characteristic point, and imaging the first calibration point by using the second lens group to obtain a fourth characteristic point; merging the first imaging and the second imaging into a reference image; the parallelism between the first optical axis of the first lens group and the second optical axis of the second lens group is determined based on the reference image. The invention solves the technical problem that the parallelism of the optical axes of the double-shooting lens group can not be accurately evaluated in the related technology.

Description

Method and device for evaluating parallelism of optical axes of double-camera lens group and computer medium
Technical Field
The invention relates to the field of optical lens imaging, in particular to a method and a device for evaluating the parallelism of optical axes of a double-camera lens group and a computer medium.
Background
In recent years, with the development of science and technology, portable electronic products such as mobile phones and tablet computers have been increasingly popular, and therefore, demands for camera lenses suitable for portable electronic products in the market have been increasing. As portable electronic products tend to be miniaturized and light and thin, the total length of the lens is limited, thereby increasing the design difficulty of the lens. Meanwhile, with the improvement of performance and the reduction of size of elements such as a common photosensitive element CCD (Charge-Coupled Device) or CMOS (Complementary Metal-Oxide Semiconductor), higher requirements are put forward for high imaging quality and miniaturization of a lens used in cooperation therewith.
At present, a double-shooting module formed by providing two lens groups is applied to a portable electronic product, so that the requirements of part of the double-shooting module can be met, and the functions of optical zooming, wide-angle assistance, depth-of-field assistance, 3D imaging, augmented reality and the like which are difficult to realize by other single-shooting modules are realized. However, due to the higher complexity resulting from the use of two lens groups, new problems may arise in manufacturing, evaluation, and application. For example, when the optical axes of the two lens groups are not parallel to each other, the imaging quality is not a problem, and the parallelism of the optical axes of the lens groups of each bi-camera module needs to be evaluated to ensure that the optical axes of the two lens groups do not generate an excessive included angle to affect the user experience.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for evaluating parallelism of optical axes of a pair of photographing lens groups, and a computer medium, so as to at least solve the technical problem in the related art that parallelism of optical axes of the pair of photographing lens groups cannot be accurately evaluated.
According to an aspect of the embodiments of the present invention, there is provided a method for evaluating parallelism of optical axes of a pair of photographing lens groups, including: imaging a first calibration point in a calibration image by using a first lens group in a double-shooting lens group to obtain a first characteristic point, and imaging a second calibration point in the calibration image by using a second lens group in the double-shooting lens group to obtain a second characteristic point, wherein the first calibration point and the second calibration point are in central symmetry with respect to a central point of the calibration image; adjusting the angle of the double-camera lens group or the calibration image; imaging the second calibration point by using the first lens group to obtain a third characteristic point, and imaging the first calibration point by using the second lens group to obtain a fourth characteristic point; merging a first imaging and a second imaging into a reference image, wherein the first imaging comprises the first feature point and the second feature point, and the second imaging comprises the third feature point and the fourth feature point; determining a parallelism between a first optical axis of the first lens group and a second optical axis of the second lens group from the reference image.
Further, adjusting an angle of the bi-camera lens group or the calibration image includes: adjusting the double-camera lens group or the calibration image from a first angle to a second angle; wherein the first angle is 180 degrees different from the second angle.
Further, the combination of the first angle and the second angle comprises one of: 90 and 270 degrees, 180 and 360 degrees.
Further, determining the parallelism between the first lens group and the second lens group from the reference image comprises: acquiring a first distance between the first characteristic point and the fourth characteristic point in the reference image; acquiring a second distance between a second characteristic point and the third characteristic point in the reference image; and determining the parallelism of the first optical axis and the second optical axis according to the first distance and the second distance.
Further, determining the parallelism between the first lens group and the second lens group according to the first distance and the second distance comprises: judging whether the difference value between the first distance and the second distance is larger than a preset difference value threshold value or not; if the difference is smaller than or equal to the preset difference threshold, determining that the parallelism between the first optical axis and the second optical axis is qualified; otherwise, determining that the parallelism between the first optical axis and the second optical axis is not qualified.
Further, determining the parallelism between the first lens group and the second lens group according to the first distance and the second distance comprises: judging whether at least one of the first distance and the second distance is larger than a preset distance threshold value; if the first distance and the second distance are both smaller than the preset distance threshold, determining that the parallelism of the first optical axis and the second optical axis is qualified; otherwise, determining that the parallelism of the first optical axis and the second optical axis is unqualified.
Further, still include: the first calibration point is a center point of a first calibration image in the calibration images; and the second calibration point is a center point of a second calibration image in the calibration images; wherein the distinguishing features of the first calibration image and the second calibration image comprise at least one of: color, size, shape.
Further, still include: the double-camera lens group is perpendicular to the calibration image.
According to another aspect of the embodiments of the present invention, there is also provided an optical axis parallelism evaluating apparatus of a double-taking lens group, including: the first imaging unit is used for imaging a first calibration point in a calibration image by using a first lens group in a double-shooting lens group to obtain a first characteristic point and imaging a second calibration point in the calibration image by using a second lens group in the double-shooting lens group to obtain a second characteristic point, wherein the first calibration point and the second calibration point are in central symmetry with respect to a central point of the calibration image; an adjusting unit for adjusting the angle of the double-camera lens group or the calibration image; the second imaging unit is used for imaging the second calibration point by using the first lens group to obtain a third characteristic point and imaging the first calibration point by using the second lens group to obtain a fourth characteristic point; a merging unit, configured to merge a first imaging and a second imaging into a reference image, where the first imaging includes the first feature point and the second feature point, and the second imaging includes the third feature point and the fourth feature point; a determination unit for determining a parallelism between a first optical axis of the first lens group and a second optical axis of the second lens group from the reference image.
Further, the adjusting unit includes: the adjusting module is used for adjusting the double-camera lens group or the calibration image from a first angle to a second angle; wherein the first angle is 180 degrees different from the second angle.
Further, the determining unit includes: a first obtaining module, configured to obtain a first distance between the first feature point and the fourth feature point in the reference image; the second obtaining module is used for obtaining a second distance between a second characteristic point and the third characteristic point in the reference image; and the determining module is used for determining the parallelism of the first optical axis and the second optical axis according to the first distance and the second distance.
Further, the determining module includes: the first judgment submodule is used for judging whether the difference value between the first distance and the second distance is larger than a preset difference value threshold value or not; the first determining submodule is used for determining that the parallelism between the first optical axis and the second optical axis is qualified if the difference is smaller than or equal to the preset difference threshold; and the second determining submodule is used for determining that the parallelism between the first optical axis and the second optical axis is unqualified if the difference is larger than the preset difference threshold.
Further, the determining module includes: the second judgment submodule is used for judging whether at least one of the first distance and the second distance is larger than a preset distance threshold value or not; a third determining submodule, configured to determine that the parallelism of the first optical axis and the second optical axis is qualified if both the first distance and the second distance are smaller than the preset distance threshold; and the fourth determining submodule is used for determining that the parallelism of the first optical axis and the second optical axis is unqualified if at least one of the first distance and the second distance is greater than the preset distance threshold.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein the program executes the method for evaluating the parallelism of the optical axes of the double-lens group as described above when running
According to another aspect of the embodiments of the present invention, there is also provided a processor for executing a program, wherein the program executes the method for evaluating the parallelism of the optical axes of the double-lens group as described above when running
In the embodiment of the invention, the first calibration point and the second calibration point in the calibration image are respectively imaged by the first lens group and the second lens group in the double-shooting lens group at different angles, the parallelism of the optical axes of the first lens group and the second lens group is determined according to the reference image by combining the first imaging and the second imaging into the reference image, so that the purpose of evaluating the parallelism of the optical axes of the double-shooting lens groups is achieved, the technical effect of evaluating the parallelism of the optical axes of the double-shooting lens groups is realized, and the technical problem that the parallelism of the optical axes of the double-shooting lens groups cannot be accurately evaluated in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic flow chart of an alternative optical axis parallelism evaluating method for a double-lens group according to an embodiment of the invention;
FIG. 2 is a schematic illustration of an alternative standard image according to an embodiment of the present invention;
FIG. 3 is a schematic illustration of an alternative reference image according to an embodiment of the invention;
FIG. 4a is a schematic illustration of yet another alternative standard image according to an embodiment of the present invention;
FIG. 4b is a schematic illustration of yet another alternative standard image according to an embodiment of the present invention;
FIG. 4c is a schematic illustration of yet another alternative standard image according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an alternative optical axis parallelism evaluating apparatus for a double-lens group according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Before the embodiments of the present invention are introduced, the application scenarios in the embodiments are described, and the method for evaluating the parallelism of the optical axes of the dual-lens group in the embodiments is mainly applied to the dual-lens group, wherein the dual-lens group is composed of two groups of photographing lenses, i.e., a first lens group and a second lens group, the specification parameters of the two groups of photographing lenses are the same, and the positions of the first lens group and the second lens group are fixed. In practical application scenarios, the first optical axis of the first lens group and the second optical axis of the second lens group need to be set to be parallel or an included angle formed by the first optical axis and the second optical axis needs to be smaller than a certain threshold. During the assembly process of the double-shooting lens group, the optical axis parallelism of the double-shooting lens group needs to be calibrated.
According to an embodiment of the present invention, there is provided a method for evaluating parallelism of optical axes of a pair of photographing lens groups, as shown in fig. 1, the method including:
s102, imaging a first calibration point in the calibration image by using a first lens group in the double-shooting lens group to obtain a first characteristic point, and imaging a second calibration point in the calibration image by using a second lens group in the double-shooting lens group to obtain a second characteristic point, wherein the first calibration point and the second calibration point are in central symmetry with respect to a central point of the calibration image;
s104, adjusting the angle of the double-camera lens group or the calibration image;
s106, imaging the second calibration point by using the first lens group to obtain a third characteristic point, and imaging the first calibration point by using the second lens group to obtain a fourth characteristic point;
s108, combining the first imaging and the second imaging into a reference image, wherein the first imaging comprises a first characteristic point and a second characteristic point, and the second imaging comprises a third characteristic point and a fourth characteristic point;
s110, determining a parallelism between the first optical axis of the first lens group and the second optical axis of the second lens group according to the reference image.
It should be noted that the calibration image is an image for calibrating the optical axis parallelism of the double-lens group, the calibration image includes a first calibration point and a second calibration point, and the first calibration point and the second calibration point are symmetrical with respect to the center of the calibration image. The distance between the first calibration point and the second calibration point should correspond to the distance between the first lens group and the second lens group in the double-taking lens group, so that the double-taking lens group can image the first calibration point or the second calibration point. As shown in fig. 2, the calibration image 201 is composed of a first calibration point a and a second calibration point B, wherein the first standard point and the second standard point B are symmetric with respect to a center point O of the calibration image 201.
In a preferred embodiment, the first calibration point and the second calibration point are inconvenient to recognize, and the first calibration point may be set as a center point of the first calibration image and the second calibration point may be set as a center point of the second calibration image. The first calibration image and the second calibration image are separated by setting different distinguishing features, such as shape, color, size or logo.
It should be noted that, in this embodiment, the first lens group images the first calibration point to obtain the first feature point, and in fact, what the first lens group images the first calibration point is a group of images, that is, a first feature image corresponding to the first feature point, however, the first feature image only includes the first feature point, and for convenience of description, in this embodiment, the first feature image is described as the first feature point.
In this embodiment, the angle of the bi-camera lens group or the calibration image needs to be adjusted, for example, the standard image or the bi-camera lens group is rotated in a plane relative to a connection line between the first calibration point and the second calibration point of the original image by a common set such as a rotation stage, so that the first lens group and the second lens group in the bi-camera lens group respectively image the first calibration point and the second calibration point.
In this embodiment, a first imaging and a second imaging obtained by imaging the first calibration point and the second calibration point respectively by the first lens group and the second lens group in the double-taking lens group are combined to obtain a reference image, and under an ideal state (i.e. the optical axes of the first lens group and the second lens group are parallel), and an adjustment angle is 180 degrees, a first distance between the first characteristic point and the fourth characteristic point and a second distance between the second characteristic point and the third characteristic point in the reference image are equal and both 0, and are in an overlapped state.
It should be noted that, with the embodiment of the present invention, a first calibration point in the calibration image is imaged by a first lens group in the bi-camera lens group to obtain a first feature point, and a second calibration point in the calibration image is imaged by a second lens group in the bi-camera lens group to obtain a second feature point, where the first calibration point and the second calibration point are symmetric with respect to a center point of the calibration image; adjusting the angle of the double-camera lens group or the calibration image; imaging the second calibration point by using the first lens group to obtain a third characteristic point, and imaging the first calibration point by using the second lens group to obtain a fourth characteristic point; merging the first imaging and the second imaging into a reference image, wherein the first imaging comprises a first characteristic point and a second characteristic point, and the second imaging comprises a third characteristic point and a fourth characteristic point; the parallelism between the first optical axis of the first lens group and the second optical axis of the second lens group is determined based on the reference image. The purpose of evaluating the parallelism of the optical axes of the double-shooting lens group is achieved, and the technical effect of evaluating the parallelism accuracy of the optical axes of the double-shooting lens group is achieved.
Optionally, in this embodiment, the adjusting the angle of the bi-camera lens group or the calibration image includes but is not limited to: adjusting the double-camera lens group or the calibration image from a first angle to a second angle; wherein the first angle and the second angle differ by 180 degrees. It should be noted that the first angle may be any value, and the difference between the first angle and the second angle may be set according to an actual application scenario. In a preferred embodiment, the first angle and the second angle differ by 180 degrees. The above is merely an example, and no limitation is imposed on the present embodiment. It should be noted that, in this embodiment, before the bi-lens group images the standard image, a connecting line between the bi-lens groups or a connecting line between the first standard point and the second standard point is an initial connecting line position, and the first angle and the second angle are determined relative to the initial connecting line.
Preferably, in the present embodiment, the combination of the first angle and the second angle includes one of: the first angle is 90 degrees and the second angle is 270 degrees, the first angle is 180 degrees and the second angle is 360 degrees.
Optionally, in the present embodiment, the determining the parallelism between the first lens group and the second lens group according to the reference image includes, but is not limited to: acquiring a first distance between a first characteristic point and a fourth characteristic point in a reference image; acquiring a second distance between the second characteristic point and the third characteristic point in the reference image; and determining the parallelism of the first optical axis and the second optical axis according to the first distance and the second distance.
Specifically, taking fig. 3 as an example for explanation, fig. 3 is a reference diagram synthesized after imaging the first standard point and the second standard point by the telephoto lens group, where N1 is the first feature point, N2 is the second feature point, M1 is the fourth feature point, and M2 is the third feature point. Acquiring a first distance d between the first characteristic point N1 and the third characteristic point M21And acquiring a second distance d between the second feature point N2 and the third feature point M22According to the first distance d1A second distance d from2To determine a first optical axis andparallelism between the second optical axes.
Optionally, in this embodiment, the determining the parallelism between the first lens group and the second lens group according to the first distance and the second distance includes but is not limited to: judging whether the difference value between the first distance and the second distance is larger than a preset difference value threshold value or not; if the difference is smaller than or equal to a preset difference threshold value, determining that the parallelism between the first optical axis and the second optical axis is qualified; otherwise, determining that the parallelism between the first optical axis and the second optical axis is not qualified. Specifically, the first distance d is determined by taking the example shown in fig. 3 as an example1A second distance d from2If the difference value delta d is smaller than or equal to the preset difference value threshold, determining that the parallelism between the first optical axis and the second optical axis is qualified; otherwise, determining that the parallelism between the first optical axis and the second optical axis is not qualified.
It should be noted that, in the above embodiment, whether the difference between the first distance and the second distance is greater than the preset difference threshold is determined, wherein if the first distance and the second distance are close to 0, it is determined that the first optical axis and the second optical axis of the first lens group and the second lens group are parallel to the main optical axis of the double-taking lens group. In an actual application scene, the parallelism between the first optical axis and the second optical axis of the double-shooting lens group is adjusted, and then the parallelism of the first optical axis and the second optical axis relative to the main optical axis of the double-shooting lens group is adjusted.
Optionally, in this embodiment, the determining the parallelism between the first lens group and the second lens group according to the first distance and the second distance includes but is not limited to: judging whether at least one of the first distance and the second distance is larger than a preset distance threshold value; if the first distance and the second distance are both smaller than a preset distance threshold, determining that the parallelism of the first optical axis and the second optical axis is qualified; otherwise, determining that the parallelism of the first optical axis and the second optical axis is unqualified. Specifically, the first distance d is determined by taking the example shown in fig. 3 as an example1A second distance d from2If the first distance d is larger than the preset distance threshold value1A second distance d from2Both smaller than a predetermined distance, determining that the first optical axis and the second optical axis are parallelAnd (5) the degree is qualified. Otherwise, determining that the parallelism of the first optical axis and the second optical axis is unqualified.
It should be noted that, in the above embodiment, whether the respective optical axes of the first lens group and the second lens group are parallel is determined by determining whether at least one of the first distance and the second distance is greater than a preset distance threshold, and determining whether the optical axes of the two lens groups have a difference of pitch angles according to a relative difference between standard point images in the reference image.
Optionally, in this embodiment, the method further includes: the first calibration point is the center point of the first calibration image in the calibration image; and the second calibration point is a central point of the second calibration image in the calibration image; wherein the distinguishing features of the first calibration image and the second calibration image comprise at least one of: color, size, shape. Specifically, in an actual application scenario, it is difficult to recognize the position between the first standard point and the second standard point only by naked eyes, and for convenience of distinguishing, the first calibration image and the second calibration image are set on the calibration image, where the first calibration point is a central point of the first calibration image and the second calibration point is a central point of the second calibration image. For ease of distinction, different distinguishing features may be provided for the first calibration image and the second calibration image. For example, as shown in fig. 4a, the first standard image S is different in color from the second standard image T; the first standard image S and the second standard image T in fig. 4b are different in size; in fig. 4c, the first standard image S and the second standard image T are different in color, and in the above figures, a is a first standard point and B is a second standard point. Further, a mark such as a character may be added to distinguish the first standard image from the second standard image. It should be noted that the image sizes of the first standard image and the second standard image should match the size of the lens group of the double-lens group, for example, 3 × 3 or 5 × 5 pixel size.
Optionally, in this embodiment, the method further includes: the double-camera lens group is perpendicular to the calibration image. Specifically, the double-shooting lens group vertically images a calibration image, wherein the main optical axis of the double-shooting lens group is perpendicular to the standard image.
According to the embodiment of the invention, the first calibration point and the second calibration point in the calibration image are respectively imaged by the first lens group and the second lens group in the double-shooting lens group at different angles, the first imaging and the second imaging are combined into the reference image, and then the parallelism of the optical axes of the first lens group and the second lens group is determined according to the reference image, so that the purpose of evaluating the parallelism of the optical axes of the double-shooting lens groups is achieved, the technical effect of evaluating the parallelism of the optical axes of the double-shooting lens groups is realized, and the technical problem that the parallelism of the optical axes of the double-shooting lens groups cannot be accurately evaluated in the related technology is solved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
According to an embodiment of the present invention, there is also provided an optical axis parallelism evaluating apparatus for a telephoto lens group for implementing the optical axis parallelism evaluating method of the telephoto lens group, as shown in fig. 5, the apparatus including:
1) a first imaging unit 501, configured to image a first calibration point in a calibration image by using a first lens group in a bi-camera lens group to obtain a first feature point, and image a second calibration point in the calibration image by using a second lens group in the bi-camera lens group to obtain a second feature point, where the first calibration point and the second calibration point are symmetric with respect to a center point of the calibration image;
2) an adjusting unit 502, configured to adjust an angle of the dual-lens group or the calibration image;
3) a second imaging unit 503, configured to image the second calibration point by using the first lens group to obtain a third feature point, and image the first calibration point by using the second lens group to obtain a fourth feature point;
4) a merging unit 504, configured to merge a first imaging and a second imaging into a reference image, where the first imaging includes the first feature point and the second feature point, and the second imaging includes the third feature point and the fourth feature point;
5) a determining unit 505 for determining a parallelism between a first optical axis of the first lens group and a second optical axis of the second lens group from the reference image.
Optionally, in this embodiment, the adjusting unit 502 includes:
1) the adjusting module is used for adjusting the double-camera lens group or the calibration image from a first angle to a second angle; wherein the first angle is 180 degrees different from the second angle.
Optionally, in this embodiment, the determining unit 505 includes:
1) a first obtaining module, configured to obtain a first distance between the first feature point and the fourth feature point in the reference image; and the number of the first and second groups,
2) the second obtaining module is used for obtaining a second distance between a second characteristic point and the third characteristic point in the reference image;
3) and the determining module is used for determining the parallelism of the first optical axis and the second optical axis according to the first distance and the second distance.
Optionally, in this embodiment, the determining module includes:
1) the first judgment submodule is used for judging whether the difference value between the first distance and the second distance is larger than a preset difference value threshold value or not;
2) the first determining submodule is used for determining that the parallelism between the first optical axis and the second optical axis is qualified if the difference is smaller than or equal to the preset difference threshold;
3) and the second determining submodule is used for determining that the parallelism between the first optical axis and the second optical axis is unqualified if the difference is larger than the preset difference threshold.
Optionally, in this embodiment, the determining module includes:
1) the second judgment submodule is used for judging whether at least one of the first distance and the second distance is larger than a preset distance threshold value or not;
2) a third determining submodule, configured to determine that the parallelism of the first optical axis and the second optical axis is qualified if both the first distance and the second distance are smaller than the preset distance threshold;
3) and the fourth determining submodule is used for determining that the parallelism of the first optical axis and the second optical axis is unqualified if at least one of the first distance and the second distance is greater than the preset distance threshold.
Optionally, the specific example in this embodiment may refer to the example described in embodiment 1 above, and this embodiment is not described again here.
Example 3
The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the storage medium includes a stored program, wherein the program is executed to execute the optical axis parallelism evaluating method of the double-lens group as described above.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
s1, imaging a first calibration point in a calibration image by using a first lens group in a double-shooting lens group to obtain a first characteristic point, and imaging a second calibration point in the calibration image by using a second lens group in the double-shooting lens group to obtain a second characteristic point, wherein the first calibration point and the second calibration point are in central symmetry with respect to a central point of the calibration image; (ii) a
S2, adjusting the angle of the double-camera lens group or the calibration image;
s3, imaging the second calibration point by using the first lens group to obtain a third characteristic point, and imaging the first calibration point by using the second lens group to obtain a fourth characteristic point;
s4, merging a first image and a second image into a reference image, wherein the first image includes the first feature point and the second feature point, and the second image includes the third feature point and the fourth feature point;
s5, determining a parallelism between the first optical axis of the first lens group and the second optical axis of the second lens group from the reference image.
Optionally, the specific example in this embodiment may refer to the example described in embodiment 1 above, and this embodiment is not described again here.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Example 4
The embodiment of the invention also provides a processor. Optionally, in this embodiment, the processor is configured to execute a program, wherein the program executes the method for evaluating the parallelism of the optical axes of the two-shot lens group as described above.
Optionally, in this embodiment, the processor is configured as program code for performing the following steps:
s1, imaging a first calibration point in a calibration image by using a first lens group in a double-shooting lens group to obtain a first characteristic point, and imaging a second calibration point in the calibration image by using a second lens group in the double-shooting lens group to obtain a second characteristic point, wherein the first calibration point and the second calibration point are in central symmetry with respect to a central point of the calibration image; (ii) a
S2, adjusting the angle of the double-camera lens group or the calibration image;
s3, imaging the second calibration point by using the first lens group to obtain a third characteristic point, and imaging the first calibration point by using the second lens group to obtain a fourth characteristic point;
s4, merging a first image and a second image into a reference image, wherein the first image includes the first feature point and the second feature point, and the second image includes the third feature point and the fourth feature point;
s5, determining a parallelism between the first optical axis of the first lens group and the second optical axis of the second lens group from the reference image.
Optionally, the storage medium is further configured to store program codes for executing the steps included in the method in embodiment 1, which is not described in detail in this embodiment.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (16)

1. A method for evaluating the parallelism of the optical axes of a double-shooting lens group is characterized by comprising the following steps:
imaging a first calibration point in a calibration image by using a first lens group in a double-shooting lens group to obtain a first characteristic point, and imaging a second calibration point in the calibration image by using a second lens group in the double-shooting lens group to obtain a second characteristic point, wherein the first calibration point and the second calibration point are in central symmetry with respect to a central point of the calibration image;
adjusting the angle of the double-camera lens group or the calibration image;
imaging the second calibration point by using the first lens group to obtain a third characteristic point, and imaging the first calibration point by using the second lens group to obtain a fourth characteristic point;
merging a first imaging and a second imaging into a reference image, wherein the first imaging comprises the first feature point and the second feature point, and the second imaging comprises the third feature point and the fourth feature point;
determining a parallelism between a first optical axis of the first lens group and a second optical axis of the second lens group from the reference image;
wherein determining the parallelism between the first lens group and the second lens group from the reference image comprises:
acquiring a first distance between the first characteristic point and the fourth characteristic point in the reference image; and the number of the first and second groups,
acquiring a second distance between a second characteristic point and the third characteristic point in the reference image;
and determining the parallelism of the first optical axis and the second optical axis according to the first distance and the second distance.
2. The method of claim 1, wherein adjusting the angle of the bi-camera lens group or the calibration image comprises:
adjusting the double-camera lens group or the calibration image from a first angle to a second angle;
wherein the first angle is 180 degrees different from the second angle.
3. The method of claim 2, wherein the combination of the first angle and the second angle comprises one of:
90 and 270 degrees, 180 and 360 degrees.
4. The method of claim 1 wherein determining the parallelism between the first lens group and the second lens group as a function of the first distance and the second distance comprises:
judging whether the difference value between the first distance and the second distance is larger than a preset difference value threshold value or not;
if the difference is smaller than or equal to the preset difference threshold, determining that the parallelism between the first optical axis and the second optical axis is qualified;
otherwise, determining that the parallelism between the first optical axis and the second optical axis is not qualified.
5. The method of claim 1 wherein determining the parallelism between the first lens group and the second lens group as a function of the first distance and the second distance comprises:
judging whether at least one of the first distance and the second distance is larger than a preset distance threshold value;
if the first distance and the second distance are both smaller than the preset distance threshold, determining that the parallelism of the first optical axis and the second optical axis is qualified;
otherwise, determining that the parallelism of the first optical axis and the second optical axis is unqualified.
6. The method of claim 1, further comprising:
the first calibration point is a center point of a first calibration image in the calibration images; and the number of the first and second groups,
the second calibration point is a center point of a second calibration image in the calibration images;
wherein the distinguishing features of the first calibration image and the second calibration image comprise at least one of:
color, size, shape.
7. The method of claim 1, further comprising: the double-camera lens group is perpendicular to the calibration image.
8. An optical axis parallelism evaluating apparatus of a double-taking lens group, comprising:
the first imaging unit is used for imaging a first calibration point in a calibration image by using a first lens group in a double-shooting lens group to obtain a first characteristic point and imaging a second calibration point in the calibration image by using a second lens group in the double-shooting lens group to obtain a second characteristic point, wherein the first calibration point and the second calibration point are in central symmetry with respect to a central point of the calibration image;
an adjusting unit for adjusting the angle of the double-camera lens group or the calibration image;
the second imaging unit is used for imaging the second calibration point by using the first lens group to obtain a third characteristic point and imaging the first calibration point by using the second lens group to obtain a fourth characteristic point;
a merging unit, configured to merge a first imaging and a second imaging into a reference image, where the first imaging includes the first feature point and the second feature point, and the second imaging includes the third feature point and the fourth feature point;
a determination unit for determining a parallelism between a first optical axis of the first lens group and a second optical axis of the second lens group from the reference image;
wherein the determination unit includes:
a first obtaining module, configured to obtain a first distance between the first feature point and the fourth feature point in the reference image; and the number of the first and second groups,
the second obtaining module is used for obtaining a second distance between a second characteristic point and the third characteristic point in the reference image;
and the determining module is used for determining the parallelism of the first optical axis and the second optical axis according to the first distance and the second distance.
9. The apparatus of claim 8, wherein the adjusting unit comprises:
the adjusting module is used for adjusting the double-camera lens group or the calibration image from a first angle to a second angle;
wherein the first angle is 180 degrees different from the second angle.
10. The apparatus of claim 9, wherein the combination of the first angle and the second angle comprises one of:
90 and 270 degrees, 180 and 360 degrees.
11. The apparatus of claim 8, wherein the determining module comprises:
the first judgment submodule is used for judging whether the difference value between the first distance and the second distance is larger than a preset difference value threshold value or not;
the first determining submodule is used for determining that the parallelism between the first optical axis and the second optical axis is qualified if the difference is smaller than or equal to the preset difference threshold;
and the second determining submodule is used for determining that the parallelism between the first optical axis and the second optical axis is unqualified if the difference is larger than the preset difference threshold.
12. The apparatus of claim 8, wherein the determining module comprises:
the second judgment submodule is used for judging whether at least one of the first distance and the second distance is larger than a preset distance threshold value or not;
a third determining submodule, configured to determine that the parallelism of the first optical axis and the second optical axis is qualified if both the first distance and the second distance are smaller than the preset distance threshold;
and the fourth determining submodule is used for determining that the parallelism of the first optical axis and the second optical axis is unqualified if at least one of the first distance and the second distance is greater than the preset distance threshold.
13. The apparatus of claim 8, further comprising:
the first calibration point is a center point of a first calibration image in the calibration images; and the number of the first and second groups,
the second calibration point is a center point of a second calibration image in the calibration images;
wherein the distinguishing features of the first calibration image and the second calibration image comprise at least one of:
color, size, shape.
14. The apparatus of claim 8, further comprising: the double-camera lens group is perpendicular to the calibration image.
15. A storage medium characterized by comprising a stored program, wherein the program executes, when running, the method of evaluating parallelism of optical axes of the group of bi-camera lenses of any one of claims 1 to 7.
16. A processor, characterized in that the processor is configured to execute a program, wherein the program executes the method for evaluating parallelism of optical axes of the group of bi-camera lenses according to any one of claims 1 to 7.
CN201811205133.7A 2018-10-16 2018-10-16 Method and device for evaluating parallelism of optical axes of double-camera lens group and computer medium Active CN109470450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811205133.7A CN109470450B (en) 2018-10-16 2018-10-16 Method and device for evaluating parallelism of optical axes of double-camera lens group and computer medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811205133.7A CN109470450B (en) 2018-10-16 2018-10-16 Method and device for evaluating parallelism of optical axes of double-camera lens group and computer medium

Publications (2)

Publication Number Publication Date
CN109470450A CN109470450A (en) 2019-03-15
CN109470450B true CN109470450B (en) 2020-07-31

Family

ID=65664594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811205133.7A Active CN109470450B (en) 2018-10-16 2018-10-16 Method and device for evaluating parallelism of optical axes of double-camera lens group and computer medium

Country Status (1)

Country Link
CN (1) CN109470450B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000221106A (en) * 1999-02-02 2000-08-11 Totoku Electric Co Ltd Fiber parallelism measuring method for two-core parallel optical fiber ferrule
FR2888341A1 (en) * 2005-07-08 2007-01-12 Commissariat Energie Atomique Optical beam switching device for e.g. optical beam routing device, has position correction device conserving parallelism of deflected optical beams and rendering beams to be coplanar in plane secant with optical axis
CN101308012A (en) * 2008-05-29 2008-11-19 上海交通大学 Double monocular white light three-dimensional measuring systems calibration method
CN101464143A (en) * 2009-01-15 2009-06-24 中国人民解放军92854部队军械修理厂 Method and equipment for digitized detection of double-plain shaft parallelism of optical instrument
JP2011180044A (en) * 2010-03-02 2011-09-15 Iwasaki Electric Co Ltd Device for measurement of beam parallelism
CN103512558A (en) * 2013-10-08 2014-01-15 北京理工大学 Binocular video pose measuring method for conical target and target patterns
CN105823416A (en) * 2016-03-04 2016-08-03 大族激光科技产业集团股份有限公司 Method for measuring object through multiple cameras and device thereof
CN106060399A (en) * 2016-07-01 2016-10-26 信利光电股份有限公司 Automatic AA method and device for double cameras
CN106612390A (en) * 2015-10-23 2017-05-03 宁波舜宇光电信息有限公司 Camera module with two imaging modules and optical axis parallelism adjustment method
CN106773514A (en) * 2016-12-21 2017-05-31 信利光电股份有限公司 A kind of parallel adjusting method of camera module optical axis and system
CN106959082A (en) * 2017-04-27 2017-07-18 中国科学院长春光学精密机械与物理研究所 A kind of many optical axis systematic optical axis Parallel testing method and system
CN108088382A (en) * 2017-08-11 2018-05-29 深圳慎始科技有限公司 A kind of directional light shaft type folding wedge three-dimensional image forming apparatus

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08179189A (en) * 1994-12-21 1996-07-12 Kyocera Corp Movable body slide device for back driving type camera
KR101032175B1 (en) * 2008-08-11 2011-05-02 삼성전기주식회사 Stage device and control method for the same
CN102818543B (en) * 2012-08-20 2014-12-03 北京理工大学 Target free multi-optical axis parallelism detection system based on digital image
CN103363927B (en) * 2013-08-02 2015-10-28 中国人民解放军总装备部军械技术研究所 The arbitrary axis of platform electro-optical equipment is apart from multi-light axis consistency pick-up unit and method
CN205545555U (en) * 2016-03-03 2016-08-31 南昌欧菲光电技术有限公司 Imaging module and electron device
CN107063640B (en) * 2016-12-23 2019-09-13 歌尔科技有限公司 A kind of backrest-type twin-lens light axis consistency test fixture and its test method
CN106993122A (en) * 2017-04-07 2017-07-28 信利光电股份有限公司 Dual camera module and dual camera module preparation method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000221106A (en) * 1999-02-02 2000-08-11 Totoku Electric Co Ltd Fiber parallelism measuring method for two-core parallel optical fiber ferrule
FR2888341A1 (en) * 2005-07-08 2007-01-12 Commissariat Energie Atomique Optical beam switching device for e.g. optical beam routing device, has position correction device conserving parallelism of deflected optical beams and rendering beams to be coplanar in plane secant with optical axis
CN101308012A (en) * 2008-05-29 2008-11-19 上海交通大学 Double monocular white light three-dimensional measuring systems calibration method
CN101464143A (en) * 2009-01-15 2009-06-24 中国人民解放军92854部队军械修理厂 Method and equipment for digitized detection of double-plain shaft parallelism of optical instrument
JP2011180044A (en) * 2010-03-02 2011-09-15 Iwasaki Electric Co Ltd Device for measurement of beam parallelism
CN103512558A (en) * 2013-10-08 2014-01-15 北京理工大学 Binocular video pose measuring method for conical target and target patterns
CN106612390A (en) * 2015-10-23 2017-05-03 宁波舜宇光电信息有限公司 Camera module with two imaging modules and optical axis parallelism adjustment method
CN105823416A (en) * 2016-03-04 2016-08-03 大族激光科技产业集团股份有限公司 Method for measuring object through multiple cameras and device thereof
CN106060399A (en) * 2016-07-01 2016-10-26 信利光电股份有限公司 Automatic AA method and device for double cameras
CN106773514A (en) * 2016-12-21 2017-05-31 信利光电股份有限公司 A kind of parallel adjusting method of camera module optical axis and system
CN106959082A (en) * 2017-04-27 2017-07-18 中国科学院长春光学精密机械与物理研究所 A kind of many optical axis systematic optical axis Parallel testing method and system
CN108088382A (en) * 2017-08-11 2018-05-29 深圳慎始科技有限公司 A kind of directional light shaft type folding wedge three-dimensional image forming apparatus

Also Published As

Publication number Publication date
CN109470450A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN111510618B (en) Zooming method and electronic equipment applying same
CN104363379B (en) The method and terminal taken pictures using different focal camera
KR102010712B1 (en) Distortion Correction Method and Terminal
CN109409147B (en) Bar code recognition method and device
CN110675458B (en) Method and device for calibrating camera and storage medium
KR102229811B1 (en) Filming method and terminal for terminal
CN107704798B (en) Image blurring method and device, computer readable storage medium and computer device
CN111131688B (en) Image processing method and device and mobile terminal
US20220343520A1 (en) Image Processing Method and Image Processing Apparatus, and Electronic Device Using Same
CN104221370A (en) Image processing device, imaging device, and image processing method
CN108600644B (en) Photographing method and device and wearable device
CN109785390A (en) A kind of method and apparatus for image flame detection
CN111385461B (en) Panoramic shooting method and device, camera and mobile terminal
CN113992850A (en) ISP-based image processing method and device, storage medium and camera equipment
CN109785225B (en) Method and device for correcting image
CN109257540B (en) Photographing correction method of multi-photographing lens group and photographing device
CN112422942B (en) White balance synchronization method, lens module and electronic equipment
JP7387872B2 (en) Calibration parameter acquisition method, device, processor and electronic equipment
CN109470450B (en) Method and device for evaluating parallelism of optical axes of double-camera lens group and computer medium
CN109788199B (en) Focusing method suitable for terminal with double cameras
WO2021208630A1 (en) Calibration method, calibration apparatus and electronic device using same
CN107256137B (en) Picture processing method and device
CN109922331B (en) Image processing method and device
CN115514895B (en) Image anti-shake method, apparatus, electronic device, and computer-readable storage medium
EP4358019A1 (en) Image processing method, electronic device, and computer readable storage medium

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