CN111220127A - Laser focusing measurement method and terminal - Google Patents

Laser focusing measurement method and terminal Download PDF

Info

Publication number
CN111220127A
CN111220127A CN202010062399.1A CN202010062399A CN111220127A CN 111220127 A CN111220127 A CN 111220127A CN 202010062399 A CN202010062399 A CN 202010062399A CN 111220127 A CN111220127 A CN 111220127A
Authority
CN
China
Prior art keywords
holder
coordinate system
rotation angle
pan
target object
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
CN202010062399.1A
Other languages
Chinese (zh)
Other versions
CN111220127B (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.)
Jinqianmao Technology Co ltd
Original Assignee
Jinqianmao 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 Jinqianmao Technology Co ltd filed Critical Jinqianmao Technology Co ltd
Priority to CN202010062399.1A priority Critical patent/CN111220127B/en
Publication of CN111220127A publication Critical patent/CN111220127A/en
Application granted granted Critical
Publication of CN111220127B publication Critical patent/CN111220127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C11/00Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
    • G01C11/02Picture taking arrangements specially adapted for photogrammetry or photographic surveying, e.g. controlling overlapping of pictures
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C11/00Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
    • G01C11/04Interpretation of pictures

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention relates to the technical field of measurement, in particular to a laser focusing measurement method and a terminal. It includes: acquiring a spatial coordinate of a target point preset on a target object to be detected; rotating the holder to enable the target object to be detected to be located in a visible area of a camera arranged on the holder, and determining a focusing plane of the target object to be detected in the current state; shooting an image of the target object to be detected, and calculating a mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder; and obtaining the coordinate value of the target object to be measured on the image, substituting the coordinate value into the mapping relation, and calculating to obtain the measured value of the target object to be measured. The laser focusing measurement method and the terminal provided by the invention can realize the measurement of the target object to be measured at any position in space.

Description

Laser focusing measurement method and terminal
The application is a divisional application taking patent application with application number of 201910109939.4, application date of 2019, 1 and 31 as the parent, and named as 'a focusing measurement method and terminal'.
Technical Field
The invention relates to the technical field of measurement, in particular to a laser focusing measurement method and a terminal.
Background
Image measurement is applied to various fields. The monocular vision system is simple in structure and convenient to apply, and can only measure the target on a single calibrated physical plane in the image on the premise of not depending on a known standard substance. However, in an actual application scenario, since the target object to be measured is located at any position in space, even not located on any physical plane, the monocular vision system described above cannot measure the target object to be measured.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the invention provides a laser focusing measurement method and a laser focusing measurement terminal, which can realize the measurement of a target object to be measured at any position in space.
In order to solve the technical problem, the invention provides a laser focusing measurement method, which comprises the following steps:
s1: acquiring a spatial coordinate of a target point preset on a target object to be detected;
s2: rotating the holder to enable the target object to be detected to be located in a visible area of a camera arranged on the holder, and determining a focusing plane of the target object to be detected in the current state;
s3: shooting an image of the target object to be detected, and calculating a mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder;
s4: and obtaining the coordinate value of the target object to be measured on the image, substituting the coordinate value into the mapping relation, and calculating to obtain the measured value of the target object to be measured.
The invention also provides a focusing measurement terminal, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the following steps:
s1: acquiring a spatial coordinate of a target point preset on a target object to be detected;
s2: rotating the holder to enable the target object to be detected to be located in a visible area of a camera arranged on the holder, and determining a focusing plane of the target object to be detected in the current state;
s3: shooting an image of the target object to be detected, and calculating a mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder;
s4: and obtaining the coordinate value of the target object to be measured on the image, substituting the coordinate value into the mapping relation, and calculating to obtain the measured value of the target object to be measured.
The invention has the beneficial effects that:
the invention provides a laser focusing measurement method and a terminal, which are used for acquiring the space coordinate of a target point on a target object to be measured; rotating the holder to enable the target object to be detected to be located in a visible area of a camera on the holder, and determining a focusing plane of the target object to be detected; and shooting the image of the target object to be measured, and calculating the mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder, so as to calculate and obtain the measured value of the target object to be measured. The invention determines the focusing plane through the method, calculates the mapping relation between the image of the target object to be measured and the focusing plane, and maps the image of the target object to be measured onto the focusing plane according to the mapping relation, thereby realizing the measurement of the target object to be measured at any position in space.
Drawings
FIG. 1 is a schematic diagram of the main steps of a laser focus measuring method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a focus measurement terminal according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a coordinate system according to one embodiment of the present invention;
FIG. 4 is a schematic diagram of a coordinate system according to a second embodiment of the present invention;
FIG. 5 is a schematic diagram of a coordinate system according to a third embodiment of the present invention;
description of reference numerals:
1. a memory; 2. a processor.
Detailed Description
In order to explain technical contents, objects and effects of the present invention in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
The most key concept of the invention is as follows: acquiring the space coordinate of a target point on a target object to be detected; rotating the holder to enable the target object to be detected to be located in a visible area of a camera on the holder, and determining a focusing plane of the target object to be detected; and shooting the image of the target object to be measured, and calculating the mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder, so as to calculate and obtain the measured value of the target object to be measured.
Referring to fig. 1, the present invention provides a laser focus measuring method, which includes the following steps:
s1: acquiring a spatial coordinate of a target point preset on a target object to be detected;
s2: rotating the holder to enable the target object to be detected to be located in a visible area of a camera arranged on the holder, and determining a focusing plane of the target object to be detected in the current state;
s3: shooting an image of the target object to be detected, and calculating a mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder;
s4: and obtaining the coordinate value of the target object to be measured on the image, substituting the coordinate value into the mapping relation, and calculating to obtain the measured value of the target object to be measured.
As can be seen from the above description, the laser focusing measurement method provided by the present invention obtains the spatial coordinates of the target point on the target object to be measured; rotating the holder to enable the target object to be detected to be located in a visible area of a camera on the holder, and determining a focusing plane of the target object to be detected; and shooting the image of the target object to be measured, and calculating the mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder, so as to calculate and obtain the measured value of the target object to be measured. The invention determines the focusing plane through the method, calculates the mapping relation between the image of the target object to be measured and the focusing plane, and maps the image of the target object to be measured onto the focusing plane according to the mapping relation, thereby realizing the measurement of the target object to be measured at any position in space.
Further, the S1 specifically includes:
rotating the holder to enable a laser arranged on the holder to aim at the target point, and recording the rotation angle of the holder to obtain a first holder rotation angle;
the laser device is used for ranging the target point to obtain a laser distance;
and calculating to obtain the space coordinate of the target point according to the laser distance and the first holder rotation angle.
From the above description, the method can quickly and accurately calculate the spatial coordinates of the target point, and improve the efficiency of the focus measurement.
Further, the S2 specifically includes:
rotating the holder to enable the target object to be detected to be located in a visual area of a camera arranged on the holder, and recording the rotation angle of the holder to obtain a second holder rotation angle;
and determining the focusing plane of the target object to be detected in the current state according to the space coordinates of the target point and the rotation angle of the second holder.
From the above description, it can be known that, by the above method, the focal plane of the target object to be measured at any spatial position can be determined, so as to determine the mapping relationship between the shot image and the focal plane, thereby implementing the measurement of the target object to be measured at any spatial position.
Further, the S3 specifically includes:
and shooting an image of the target object to be detected through the camera, and calculating a mapping relation between the image and the focusing plane according to the internal parameters of the camera, the space coordinates of the target point, the first holder rotating angle and the second holder rotating angle.
From the above description, it can be known that, by the above method, the mapping relationship between the calculated image and the focal plane can be determined quickly and accurately, so as to ensure the measurement of the target object to be measured at any position in space.
Further, the S1 specifically includes:
rotating the holder to enable a laser arranged on the holder to aim at a first preset target point on a target object to be detected, and recording the rotation angle of the holder to obtain a third holder rotation angle; the laser device is used for ranging the first target point to obtain a first laser distance; calculating to obtain a first space coordinate of the target point according to the first laser distance and the rotation angle of the third holder;
rotating the holder to enable a laser arranged on the holder to aim at a second target point preset on the target object to be detected, and recording the rotation angle of the holder to obtain a fourth holder rotation angle; the laser device is used for ranging the second target point to obtain a second laser distance; calculating to obtain a second space coordinate of the target point according to the second laser distance and the fourth holder rotation angle;
the S2 specifically includes:
rotating the holder to enable the target object to be detected to be located in a visual area of a camera arranged on the holder, and recording the rotation angle of the holder to obtain a fifth rotation angle of the holder; determining a focusing plane of the target object to be detected in the current state according to the first space coordinate, the second space coordinate and the fifth holder rotation angle;
the S3 specifically includes:
and shooting the image of the target object to be detected through the camera, and calculating the mapping relation between the image and the focusing plane according to the internal parameters of the camera, the first space coordinate, the second space coordinate, the third pan-tilt rotation angle, the fourth pan-tilt rotation angle and the fifth pan-tilt rotation angle.
From the above description, it can be known that, by the above method, the measurement of the target object to be measured at any position in space can be realized, and the measurement accuracy can be ensured.
Referring to fig. 2, the present invention further provides a focus measurement terminal, which includes a memory 1, a processor 2, and a computer program stored in the memory 1 and operable on the processor 2, wherein the processor 2 implements the following steps when executing the computer program:
s1: acquiring a spatial coordinate of a target point preset on a target object to be detected;
s2: rotating the holder to enable the target object to be detected to be located in a visible area of a camera arranged on the holder, and determining a focusing plane of the target object to be detected in the current state;
s3: shooting an image of the target object to be detected, and calculating a mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder;
s4: and obtaining the coordinate value of the target object to be measured on the image, substituting the coordinate value into the mapping relation, and calculating to obtain the measured value of the target object to be measured.
As can be seen from the above description, the focusing measurement terminal provided by the present invention obtains the spatial coordinates of the target point on the target object to be measured; rotating the holder to enable the target object to be detected to be located in a visible area of a camera on the holder, and determining a focusing plane of the target object to be detected; and shooting the image of the target object to be measured, and calculating the mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder, so as to calculate and obtain the measured value of the target object to be measured. The invention determines the focusing plane through the method, calculates the mapping relation between the image of the target object to be measured and the focusing plane, and maps the image of the target object to be measured onto the focusing plane according to the mapping relation, thereby realizing the measurement of the target object to be measured at any position in space.
Further, in the focus measurement terminal, the S1 is specifically:
rotating the holder to enable a laser arranged on the holder to aim at the target point, and recording the rotation angle of the holder to obtain a first holder rotation angle;
the laser device is used for ranging the target point to obtain a laser distance;
and calculating to obtain the space coordinate of the target point according to the laser distance and the first holder rotation angle.
From the above description, the terminal can quickly and accurately calculate the spatial coordinates of the target point, and the efficiency of the focus measurement is improved.
Further, in the focus measurement terminal, the S2 is specifically:
rotating the holder to enable the target object to be detected to be located in a visual area of a camera arranged on the holder, and recording the rotation angle of the holder to obtain a second holder rotation angle;
and determining the focusing plane of the target object to be detected in the current state according to the space coordinates of the target point and the rotation angle of the second holder.
From the above description, it can be known that, through the above terminal, the focal plane of the target object to be measured at any spatial position can be determined, so as to determine the mapping relationship between the shot image and the focal plane, thereby implementing the measurement of the target object to be measured at any spatial position.
Further, in the focus measurement terminal, the S3 is specifically:
and shooting an image of the target object to be detected through the camera, and calculating a mapping relation between the image and the focusing plane according to the internal parameters of the camera, the space coordinates of the target point, the first holder rotating angle and the second holder rotating angle.
From the above description, it can be known that the mapping relationship between the calculated image and the focal plane can be determined quickly and accurately by the terminal, so as to ensure the measurement of the target object to be measured at any position in space.
Further, in the focus measurement terminal, the S1 is specifically:
rotating the holder to enable a laser arranged on the holder to aim at a first preset target point on a target object to be detected, and recording the rotation angle of the holder to obtain a third holder rotation angle; the laser device is used for ranging the first target point to obtain a first laser distance; calculating to obtain a first space coordinate of the target point according to the first laser distance and the rotation angle of the third holder;
rotating the holder to enable a laser arranged on the holder to aim at a second target point preset on the target object to be detected, and recording the rotation angle of the holder to obtain a fourth holder rotation angle; the laser device is used for ranging the second target point to obtain a second laser distance; calculating to obtain a second space coordinate of the target point according to the second laser distance and the fourth holder rotation angle;
the S2 specifically includes:
rotating the holder to enable the target object to be detected to be located in a visual area of a camera arranged on the holder, and recording the rotation angle of the holder to obtain a fifth rotation angle of the holder; determining a focusing plane of the target object to be detected in the current state according to the first space coordinate, the second space coordinate and the fifth holder rotation angle;
the S3 specifically includes:
and shooting the image of the target object to be detected through the camera, and calculating the mapping relation between the image and the focusing plane according to the internal parameters of the camera, the first space coordinate, the second space coordinate, the third pan-tilt rotation angle, the fourth pan-tilt rotation angle and the fifth pan-tilt rotation angle.
From the above description, it can be known that, through the terminal, the measurement of the target object to be measured at any position in space can be realized, and the measurement accuracy can be ensured.
Referring to fig. 1 and fig. 3, a first embodiment of the present invention is:
the invention provides a laser focusing measurement method, which comprises the following steps:
s1: acquiring a spatial coordinate of a target point preset on a target object to be detected;
wherein, the S1 specifically is:
the cloud platform is provided with a camera and a laser, the cloud platform is a two-axis rotating cloud platform, can rotate around the horizontal direction (namely rotate around a preset second rotating shaft of the cloud platform), and can rotate around the vertical direction (namely rotate around a preset first rotating shaft of the cloud platform), the cloud platform is rotated firstly, so that the cloud platform is at the initial position (the rotating angles of the horizontal direction and the vertical direction are both 0 degree), and under the current state, the direction of a laser beam of the laser is ZOThe direction of a first rotating shaft of the tripod head rotating around the vertical direction is XOThe direction of a second rotating shaft of the tripod head rotating around the horizontal direction is YOAxis, establishing an initial coordinate system O-XOYOZOO is the origin of coordinates;
rotating the holder to make a laser arranged on the holder aim at the target point A, and recording the rotation angle of the holder to obtain a first holder rotation angle, wherein the first rotation angle comprises an angle α of the holder rotating around the vertical direction (a first rotation axis)aand the angle beta of rotation of the head about the horizontal direction (second axis of rotation)a
The laser device is used for ranging the target point to obtain the laser distance
Figure BDA0002374916580000071
Calculating to obtain the coordinate system O-X of the target point A according to the laser distance and the first holder rotation angleoYoZoCoordinates of lower
Figure BDA0002374916580000081
Wherein the content of the first and second substances,
Figure BDA0002374916580000082
s2: rotating the holder to enable the target object to be detected to be located in a visible area of a camera arranged on the holder, and determining a focusing plane of the target object to be detected in the current state;
wherein, the S2 specifically is:
rotating the holder to enable the holder to be at an initial position;
rotating the holder to enable the target object to be detected to be located in a visual area of a camera arranged on the holder, and recording the rotation angle of the holder to obtain a second holder rotation angle, wherein the second holder rotation angle comprises an angle alpha of the holder rotating around the first rotation axiseand the angle beta of the rotation of the pan-tilt around the second rotation axise
The direction of the first rotating shaft of the holder is X in the current stateeThe direction of the second rotating shaft of the tripod head is YeAxis, direction of laser beam of laser being ZeAxes, establishing a coordinate system Oe-XeYeZe(ii) a According to A in a coordinate system XoYoZoCoordinates of lower
Figure BDA0002374916580000083
And the rotation angle of the second holder is calculated to obtain the point A at XeYeZeCoordinates of lower
Figure BDA0002374916580000084
Wherein the content of the first and second substances,
Figure BDA0002374916580000085
taking focus point A as OwOrigin point to be parallel to XoAxis as XwAxis to be parallel to ZoWith axis as ZwShaft of fromwXwZwForm a focal plane pi, YwPerpendicular to the focal plane pi, establishing a coordinate system Ow-XwYwZw(ii) a Obtaining a coordinate system Ow-XwYwZwAnd Oe-XeYeZeThe conversion relationship between:
Figure BDA0002374916580000086
wherein
Figure BDA0002374916580000087
Figure BDA0002374916580000088
S3: shooting an image of the target object to be detected, and calculating a mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder;
wherein, the S3 specifically is:
shooting an image of the target object to be detected through the camera, and establishing an image coordinate system, wherein the image coordinate system takes a point at the leftmost upper corner of the image as an origin, the horizontal right direction is a u axis, the vertical downward direction is a v axis, and the established coordinate system is a uv coordinate system;
obtaining a coordinate system uv and a coordinate system O according to the internal parameter K of the camerae-XeYeZeThe mapping relationship between:
Figure BDA0002374916580000091
due to Y on the focal plane piw0, the coordinate system uv and the coordinate system O can be obtainedw-XwYwZwThe mapping relation is as follows:
Figure BDA0002374916580000092
wherein, the
Figure BDA0002374916580000093
Is the intrinsic matrix of the camera (u)0,v0) Is the projection position of the optical center of the camera on the CCD imaging plane, f is the focal length of the camera, dxAnd dyWhich are the physical dimensions of each pixel of the CCD in the horizontal and vertical directions, respectively. The gamma is a preset scaling factor, and when the gamma is 1, the obtained measurement size and the obtained scaling factor areThe sizes of the target objects to be detected are the same; when gamma is 2, the obtained measurement size is twice of the size of the target object to be measured; when gamma is 3, the obtained measurement size is three times of the size of the target object to be measured; when γ is 0.5, the measured size obtained is 0.5 times the size of the target object to be measured
S4: obtaining coordinate values of the target object to be measured on the image, substituting the coordinate values into the mapping relation, and calculating to obtain a measured value of the target object to be measured;
wherein, the S4 specifically is:
selecting image coordinates of the object to be measured on the image, and obtaining the coordinate systems uv and O in step S3w-XwYwZwThe mapping relation between the two is converted into a coordinate system Ow-XwYwZwAnd (5) measuring the target object to be measured by using the coordinates.
Referring to fig. 1 and fig. 4, a second embodiment of the present invention is:
the invention provides a laser focusing measurement method, which comprises the following steps:
s1: acquiring a spatial coordinate of a target point preset on a target object to be detected;
wherein, the S1 specifically is:
the holder is provided with a camera and a laser, the holder is a two-axis rotating holder, can rotate around the horizontal direction and can rotate around the vertical direction, the holder is rotated firstly to enable the holder to be at the initial position (the rotation angles of the horizontal direction and the vertical direction are both 0 degree), and under the current state, the direction of a laser beam of the laser is ZOThe direction of a first rotating shaft of the tripod head rotating around the vertical direction is XOThe direction of a second rotating shaft of the tripod head rotating around the horizontal direction is YOAxis, establishing an initial coordinate system O-XOYOZOO is the origin of coordinates;
rotating the holder to enable a laser device arranged on the holder to aim at a preset first target point A, and recording the rotation angle of the holder to obtain a third holder rotation angle, wherein the third rotation angle comprises the rotation angle of the holder around the holderangle α of rotation in vertical direction (first axis of rotation)aand the angle beta of rotation of the head about the horizontal direction (second axis of rotation)a
The laser device is used for ranging the target point to obtain the laser distance
Figure BDA0002374916580000101
Calculating to obtain the coordinate system X of the first target point A according to the laser distance and the rotation angle of the third holderoYoZoCoordinates of lower
Figure BDA0002374916580000102
Wherein the content of the first and second substances,
Figure BDA0002374916580000103
rotating the holder to enable the holder to be at an initial position;
rotating the holder to make the laser device on the holder aim at the preset second target point B, and recording the rotation angle of the holder to obtain a fourth holder rotation angle, wherein the fourth rotation angle comprises the angle alpha of the holder rotating around the vertical direction (the first rotation axis)band the angle beta of rotation of the head about the horizontal direction (second axis of rotation)b
The second target point B is measured through the laser to obtain the laser distance
Figure BDA0002374916580000104
Calculating to obtain the sitting system O-X of the second target point B according to the laser distance and the fourth holder rotation angleoYoZoCoordinates of lower
Figure BDA0002374916580000105
Wherein the content of the first and second substances,
Figure BDA0002374916580000106
s2: rotating the holder to enable the target object to be detected to be located in a visible area of a camera arranged on the holder, and determining a focusing plane of the target object to be detected in the current state;
wherein, the S2 specifically is:
rotating the holder to enable the holder to be at an initial position;
rotating the holder to enable the target object to be detected to be located in a visual area of a camera arranged on the holder, and recording the rotation angle of the holder to obtain a fifth holder rotation angle, wherein the fifth holder rotation angle comprises an angle alpha of the holder rotating around the first rotation axiseand the angle beta of the rotation of the pan-tilt around the second rotation axise
The direction of the first rotating shaft of the holder is X in the current stateeThe direction of the second rotating shaft of the tripod head is YeAxis, direction of laser beam of laser being ZeAxes, establishing a coordinate system Oe-XeYeZe(ii) a According to A in a coordinate system XoYoZoCoordinates of lower
Figure BDA0002374916580000111
And the fifth rotational angle of the pan-tilt, and the point A is calculated and obtained at XeYeZeCoordinates of lower
Figure BDA0002374916580000112
Wherein the content of the first and second substances,
Figure BDA0002374916580000113
according to B in a coordinate system XoYoZoCoordinates of lower
Figure BDA0002374916580000114
And the fifth rotational angle of the pan-tilt, and the point B is obtained by calculation at the point XeYeZeCoordinates of lower
Figure BDA0002374916580000115
Wherein the content of the first and second substances,
Figure BDA0002374916580000116
connecting A, B to obtain a straight line AB; passing through point A or point B to obtain a parallel to YeA straight line L of the axis; the line AB and the line L form a focusing plane Pi to obtain ZeIntersection O of axis and focal plane πw(ii) a With OwAs an origin, to be parallel to YeAxial direction of YwDirection, Z iswPerpendicular to the focal plane π, according to YwAnd ZwDetermination of XwDirection, thereby establishing a coordinate system Ow-XwYwZw(ii) a Obtaining a coordinate system Ow-XwYwZwAnd Oe-XeYeZeThe conversion relationship between:
Figure BDA0002374916580000117
wherein
Figure BDA0002374916580000118
Figure BDA0002374916580000119
S3: shooting an image of the target object to be detected, and calculating a mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder;
wherein, the S3 specifically is:
shooting an image of the target object to be detected through the camera, and establishing an image coordinate system, wherein the image coordinate system takes a point at the leftmost upper corner of the image as an origin, the horizontal right direction is a u axis, the vertical downward direction is a v axis, and the established coordinate system is a uv coordinate system;
obtaining a coordinate system uv and a coordinate system O according to the internal parameter K of the camerae-XeYeZeThe mapping relationship between:
Figure BDA0002374916580000121
due to Z on the focusing plane piw0, the coordinate system uv and the coordinate system O can be obtainedw-XwYwZwThe mapping relation is as follows:
Figure BDA0002374916580000122
wherein, the
Figure BDA0002374916580000123
Is the intrinsic matrix of the camera (u)0,v0) Is the projection position of the optical center of the camera on the CCD imaging plane, f is the focal length of the camera, dxAnd dyWhich are the physical dimensions of each pixel of the CCD in the horizontal and vertical directions, respectively. When the gamma is equal to 1, the obtained measurement size is the same as the size of the target object to be measured; when gamma is 2, the obtained measurement size is twice of the size of the target object to be measured; when gamma is 3, the obtained measurement size is three times of the size of the target object to be measured; when γ is 0.5, the measured size obtained is 0.5 times the size of the target object to be measured
S4: obtaining coordinate values of the target object to be measured on the image, substituting the coordinate values into the mapping relation, and calculating to obtain a measured value of the target object to be measured;
wherein, the S4 specifically is:
selecting image coordinates of the object to be measured on the image, and obtaining the coordinate systems uv and O in step S3w-XwYwZwThe mapping relation between the two is converted into a coordinate system Ow-XwYwZwAnd (5) measuring the target object to be measured by using the coordinates.
Referring to fig. 1 and 5, a third embodiment of the present invention is:
the invention provides a laser focusing measurement method, which comprises the following steps:
s1: acquiring a spatial coordinate of a target point preset on a target object to be detected;
wherein, the S1 specifically is:
the holder is provided with a camera and a laser, the holder is a two-axis rotating holder, can rotate around the horizontal direction and can rotate around the vertical direction, the holder is rotated firstly to enable the holder to be at the initial position (the rotation angles of the horizontal direction and the vertical direction are both 0 degree), and under the current state, the direction of a laser beam of the laser is ZOThe direction of a first rotating shaft of the tripod head rotating around the vertical direction is XOThe direction of a second rotating shaft of the tripod head rotating around the horizontal direction is YOAxis, establishing an initial coordinate system O-XOYOZOO is the origin of coordinates;
rotating the holder to enable a laser arranged on the holder to aim at a preset first target point A, and recording the rotation angle of the holder to obtain a sixth holder rotation angle, wherein the sixth rotation angle comprises an angle alpha of the holder rotating around the vertical direction (a first rotation axis)aand the angle beta of rotation of the head about the horizontal direction (second axis of rotation)a
The laser device is used for ranging the target point to obtain the laser distance
Figure BDA0002374916580000131
Calculating to obtain the coordinate system X of the first target point A according to the laser distance and the rotation angle of the sixth pan-tiltoYoZoCoordinates of lower
Figure BDA0002374916580000132
Wherein the content of the first and second substances,
Figure BDA0002374916580000133
rotating the holder to enable the holder to be at an initial position;
rotating the holder to enable the laser device arranged on the holder to be aligned with a preset second target point B, and recording the rotation angle of the holder to obtain a seventh rotation angle of the holder, wherein the seventh rotation angle isincluding the angle α of rotation of the head about the vertical (first axis of rotation)band the angle beta of rotation of the head about the horizontal direction (second axis of rotation)b
The second target point B is measured through the laser to obtain the laser distance
Figure BDA0002374916580000134
Calculating to obtain the sitting system O-X of the second target point B according to the laser distance and the seventh pan-tilt rotation angleoYoZoCoordinates of lower
Figure BDA0002374916580000135
Wherein the content of the first and second substances,
Figure BDA0002374916580000136
rotating the holder to enable the holder to be at an initial position;
rotating the holder to enable the laser device arranged on the holder to aim at a preset third target point C, and recording the rotation angle of the holder to obtain an eighth holder rotation angle, wherein the eighth rotation angle comprises an angle alpha of the holder rotating around the vertical direction (the first rotation axis)cand the angle beta of rotation of the head about the horizontal direction (second axis of rotation)c
The third target point C is subjected to distance measurement through the laser to obtain the laser distance
Figure BDA0002374916580000141
Calculating to obtain the sitting system O-X of the third target point C according to the laser distance and the eighth pan-tilt rotation angleoYoZoCoordinates of lower
Figure BDA0002374916580000142
Wherein the content of the first and second substances,
Figure BDA0002374916580000143
s2: rotating the holder to enable the target object to be detected to be located in a visible area of a camera arranged on the holder, and determining a focusing plane of the target object to be detected in the current state;
wherein, the S2 specifically is:
rotating the holder to enable the holder to be at an initial position;
rotating the holder to enable the target object to be detected to be located in a visual area of a camera arranged on the holder, and recording the rotation angle of the holder to obtain a ninth holder rotation angle, wherein the ninth holder rotation angle comprises an angle alpha of the holder rotating around the first rotation axiseand the angle beta of the rotation of the pan-tilt around the second rotation axise(ii) a The rotating angles of the holder are all rotating angles relative to the holder in an initial state;
the direction of the first rotating shaft of the holder is X in the current stateeThe direction of the second rotating shaft of the tripod head is YeAxis, direction of laser beam of laser being ZeAxes, establishing a coordinate system Oe-XeYeZe(ii) a According to A in a coordinate system XoYoZoCoordinates of lower
Figure BDA0002374916580000144
And the ninth pan-tilt rotation angle, and the point A is obtained by calculation at the point XeYeZeCoordinates of lower
Figure BDA0002374916580000145
Wherein the content of the first and second substances,
Figure BDA0002374916580000146
according to B in a coordinate system XoYoZoCoordinates of lower
Figure BDA0002374916580000147
And the ninth pan-tilt rotation angle, and the point B is obtained by calculation at the point XeYeZeCoordinates of lower
Figure BDA0002374916580000148
Wherein the content of the first and second substances,
Figure BDA0002374916580000149
according to C in a coordinate system XoYoZoCoordinates of lower
Figure BDA0002374916580000151
And the ninth pan-tilt rotation angle, and the C point is obtained by calculation at XeYeZeCoordinates of lower
Figure BDA0002374916580000152
Wherein the content of the first and second substances,
Figure BDA0002374916580000153
the three points A, B, C form a focusing plane pi, and Z is obtainedeIntersection O of axis and focal plane πw(ii) a With OwTo the origin, let ZwPerpendicular to the focal plane pi, and a direction perpendicular to the predetermined intersection line on the focal plane pi is YwDirection, said intersection line being the focal plane pi and the plane OeXeZeCross line of (a) according to YwAnd ZwDetermination of XwThereby establishing a coordinate system Ow-XwYwZw(ii) a Obtaining a coordinate system Ow-XwYwZwAnd Oe-XeYeZeThe conversion relationship between:
Figure BDA0002374916580000154
wherein
Figure BDA0002374916580000155
Figure BDA0002374916580000156
Omega is YwAxis and plane OeXeZeThe complementary angle of the included angle is formed,
Figure BDA0002374916580000159
for focusing on plane pi and plane OeXeZeCross line of Z andethe included angle of the axes;
s3: shooting an image of the target object to be detected, and calculating a mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder;
wherein, the S3 specifically is:
shooting an image of the target object to be detected through the camera, and establishing an image coordinate system, wherein the image coordinate system takes a point at the leftmost upper corner of the image as an origin, the horizontal right direction is a u axis, the vertical downward direction is a v axis, and the established coordinate system is a uv coordinate system;
obtaining a coordinate system uv and a coordinate system O according to the internal parameter K of the camerae-XeYeZeThe mapping relationship between:
Figure BDA0002374916580000157
due to Z on the focusing plane piw0, the coordinate system uv and the coordinate system O can be obtainedw-XwYwZwThe mapping relation is as follows:
Figure BDA0002374916580000158
wherein, the
Figure BDA0002374916580000161
Is the intrinsic matrix of the camera (u)0,v0) Is the projection position of the optical center of the camera on the CCD imaging plane, f is the focal length of the camera, dxAnd dyWhich are the physical dimensions of each pixel of the CCD in the horizontal and vertical directions, respectively. When the gamma is equal to 1, the obtained measurement size is the same as the size of the target object to be measured; when gamma is 2, getThe measured dimension is twice of the dimension of the target object to be measured; when gamma is 3, the obtained measurement size is three times of the size of the target object to be measured; when γ is 0.5, the measured size obtained is 0.5 times the size of the target object to be measured
S4: obtaining coordinate values of the target object to be measured on the image, substituting the coordinate values into the mapping relation, and calculating to obtain a measured value of the target object to be measured;
wherein, the S4 specifically is:
selecting image coordinates of the object to be measured on the image, and obtaining the coordinate systems uv and O in step S3w-XwYwZwThe mapping relation between the two is converted into a coordinate system Ow-XwYwZwAnd (5) measuring the target object to be measured by using the coordinates.
Referring to fig. 2, a fourth embodiment of the present invention is:
the invention provides a focusing measurement terminal, which comprises a memory 1, a processor 2 and a computer program which is stored on the memory 1 and can run on the processor 2, wherein the processor 2 realizes all the steps in the first embodiment when executing the computer program.
The fifth embodiment of the invention is as follows:
the invention provides a focusing measurement terminal, which comprises a memory 1, a processor 2 and a computer program which is stored on the memory 1 and can run on the processor 2, wherein all the steps in the second embodiment are realized when the processor 2 executes the computer program.
The sixth embodiment of the invention is as follows:
the invention provides a focusing measurement terminal, which comprises a memory 1, a processor 2 and a computer program which is stored on the memory 1 and can run on the processor 2, wherein all the steps in the third embodiment are realized when the processor 2 executes the computer program.
In summary, the laser focus measuring method and the terminal provided by the invention obtain the spatial coordinates of the target point on the target object to be measured; rotating the holder to enable the target object to be detected to be located in a visible area of a camera on the holder, and determining a focusing plane of the target object to be detected; and shooting the image of the target object to be measured, and calculating the mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder, so as to calculate and obtain the measured value of the target object to be measured. The invention determines the focusing plane through the method, calculates the mapping relation between the image of the target object to be measured and the focusing plane, and maps the image of the target object to be measured onto the focusing plane according to the mapping relation, thereby realizing the measurement of the target object to be measured at any position in space.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (8)

1. A laser focus measurement method, comprising the steps of:
s1: acquiring a spatial coordinate of a target point preset on a target object to be detected;
s2: rotating the holder to enable the target object to be detected to be located in a visible area of a camera arranged on the holder, and determining a focusing plane of the target object to be detected in the current state;
s3: shooting an image of the target object to be detected, and calculating a mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder;
s4: obtaining coordinate values of the target object to be measured on the image, substituting the coordinate values into the mapping relation, and calculating to obtain a measured value of the target object to be measured;
the S1 specifically includes:
rotating the holder to enable a laser arranged on the holder to aim at a first preset target point on a target object to be detected, and recording the rotation angle of the holder to obtain a sixth holder rotation angle; ranging the first target point by the laser,obtaining a first laser distance
Figure FDA0002374916570000011
Calculating to obtain a first space coordinate of the first target point according to the first laser distance and the sixth pan-tilt rotation angle
Figure FDA0002374916570000012
Rotating the holder to enable a laser arranged on the holder to aim at a second target point preset on the target object to be detected, and recording the rotation angle of the holder to obtain a seventh holder rotation angle; the laser device is used for ranging the second target point to obtain a second laser distance
Figure FDA0002374916570000013
Calculating to obtain a second space coordinate of the second target point according to the second laser distance and the seventh pan-tilt rotation angle
Figure FDA0002374916570000014
Rotating the holder to enable a laser arranged on the holder to aim at a third target point preset on the target object to be detected, and recording the rotation angle of the holder to obtain an eighth holder rotation angle; the third target point is subjected to distance measurement through the laser to obtain a third laser distance
Figure FDA0002374916570000015
Calculating to obtain a third space coordinate of the third target point according to the third laser distance and the eighth pan-tilt rotation angle
Figure FDA0002374916570000016
The cradle head is a two-axis rotating cradle head and comprises a first rotating shaft rotating around the vertical direction and a second rotating shaft rotating around the horizontal direction;
when the cradle head is at the initial position, the cradle head is in the horizontal direction and the vertical directionThe rotation angles of the directions are all 0 degree, and the direction of the laser beam of the laser when the holder is at the initial position is taken as Z0The axis takes the direction of a first rotating axis of the cradle head rotating around the vertical direction when the cradle head is at the initial position as X0The axis of the second rotation axis selected by the pan/tilt head around the horizontal direction when the pan/tilt head is at the initial position is taken as Y0Axis, the first, second and third spatial coordinates being at the X0Axis, Y0Axis and Z0Shaft-established O-X0Y0Z0Determined in a coordinate system;
the S2 specifically includes:
rotating the holder to enable the target object to be detected to be located in a visual area of a camera arranged on the holder, and recording the rotation angle of the holder to obtain a ninth holder rotation angle;
the direction of the first rotating shaft of the holder is X in the current stateeThe direction of the second rotating shaft of the tripod head is YeAxis, direction of laser beam of laser being ZeEstablishing a coordinate system Oe-XeYeZe
Calculating the coordinate system O of the first target point according to the first space coordinate and the ninth pan-tilt rotation anglee-XeYeZeCoordinates of lower
Figure FDA0002374916570000021
Calculating the coordinate system O of the second target point according to the second space coordinate and the ninth pan-tilt rotation anglee-XeYeZeCoordinates of lower
Figure FDA0002374916570000022
Calculating the third target point in the coordinate system O according to the third space coordinate and the ninth pan-tilt rotation anglee-XeYeZeCoordinates of lower
Figure FDA0002374916570000023
The first space coordinate, the second space coordinate and the third space coordinate form a focusing plane pi, and the first space coordinate, the second space coordinate and the third space coordinate are not collinear;
determination of ZeIntersection O of axis and focal plane πwWith OwTo the origin, let ZwPerpendicular to the focal plane pi, and a direction perpendicular to the predetermined intersection line on the focal plane pi is YwDirection, said intersection line being the focal plane pi and the plane OeXeZeCross line of (a) according to YwAnd ZwDetermination of XwThereby establishing a coordinate system Ow-XwYwZwTo obtain a coordinate system Ow-XwYwZwAnd Oe-XeYeZeThe conversion relationship between them;
the S3 specifically includes:
shooting an image of the target object to be detected through the camera, and establishing an image coordinate system, wherein the image coordinate system takes a point at the leftmost upper corner of the image as an origin, the horizontal right direction is a u axis, the vertical downward direction is a v axis, and the established coordinate system is a uv coordinate system;
obtaining a coordinate system uv and a coordinate system O according to the internal parameter K of the camerae-XeYeZeThe mapping relationship between the two;
according to said coordinate system Ow-XwYwZwAnd Oe-XeYeZeAnd the coordinate system uv and the coordinate system Oe-XeYeZeObtaining a coordinate system uv and a coordinate system O by the mapping relation between the twow-XwYwZwThe mapping relationship of (2).
2. the laser focusing measuring method according to claim 1, wherein the sixth pan-tilt rotation angle comprises an angle α of pan-tilt rotation around the vertical directionaand the angle β of the rotation of the pan-tilt around the horizontal directionaSaid
Figure FDA0002374916570000031
Comprises the following steps:
Figure FDA0002374916570000032
the seventh pan/tilt rotation angle comprises an angle alpha of rotation of the pan/tilt around the vertical directionband the angle β of the rotation of the pan-tilt around the horizontal directionbSaid
Figure FDA0002374916570000033
Comprises the following steps:
Figure FDA0002374916570000034
the eighth rotation angle comprises an angle α of rotation of the holder around the vertical directioncand the angle β of the rotation of the pan-tilt around the horizontal directioncSaid
Figure FDA0002374916570000035
Comprises the following steps:
Figure FDA0002374916570000036
3. the laser focus measurement method of claim 1, wherein the ninth pan-tilt rotation angle comprises an angle α of pan-tilt rotation about the first rotation axiseand the angle beta of the rotation of the pan-tilt around the second rotation axise
Figure FDA0002374916570000037
Comprises the following steps:
Figure FDA0002374916570000038
Figure FDA0002374916570000039
comprises the following steps:
Figure FDA00023749165700000310
Figure FDA00023749165700000311
comprises the following steps:
Figure FDA00023749165700000312
4. the laser focus measurement method of claim 1, wherein the coordinate system O is a coordinate system of a laser focus measurement systemw-XwYwZwAnd Oe-XeYeZeThe conversion relationship between the two is as follows:
Figure FDA0002374916570000041
wherein
Figure FDA0002374916570000042
Figure FDA0002374916570000043
Omega is YwAxis and plane OeXeZeThe complementary angle of the included angle is formed,
Figure FDA0002374916570000044
for focusing on plane pi and plane OeXeZeCross line of Z andethe included angle of the axes;
the coordinate system uv and the coordinate system Oe-XeYeZeThe mapping relationship between:
Figure FDA0002374916570000045
due to Z on the focusing plane piw0, the coordinate system uv and the coordinate system O can be obtainedw-XwYwZwThe mapping relation is as follows:
Figure FDA0002374916570000046
the above-mentioned
Figure FDA0002374916570000047
Is the intrinsic matrix of the camera (u)0,v0) Is the projection position of the optical center of the camera on the CCD imaging plane, f is the focal length of the camera, dxAnd dyThe physical size of each pixel of the CCD in the horizontal direction and the vertical direction is respectively, and the gamma is a preset scaling factor.
5. A laser focus measurement terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of:
s1: acquiring a spatial coordinate of a target point preset on a target object to be detected;
s2: rotating the holder to enable the target object to be detected to be located in a visible area of a camera arranged on the holder, and determining a focusing plane of the target object to be detected in the current state;
s3: shooting an image of the target object to be detected, and calculating a mapping relation between the image and the focusing plane according to the space coordinate of the target point and the rotation angle of the holder;
s4: obtaining coordinate values of the target object to be measured on the image, substituting the coordinate values into the mapping relation, and calculating to obtain a measured value of the target object to be measured;
the S1 specifically includes:
rotating the head so that the laser is arranged on the headAiming at a first target point preset on a target object to be detected, and recording the rotation angle of the holder to obtain a sixth holder rotation angle; the laser device is used for ranging the first target point to obtain a first laser distance; calculating to obtain a first space coordinate of the first target point according to the first laser distance and the sixth pan-tilt rotation angle
Figure FDA0002374916570000051
Rotating the holder to enable a laser arranged on the holder to aim at a second target point preset on the target object to be detected, and recording the rotation angle of the holder to obtain a seventh holder rotation angle; the laser device is used for ranging the second target point to obtain a second laser distance; calculating to obtain a second space coordinate of the second target point according to the second laser distance and the seventh pan-tilt rotation angle
Figure FDA0002374916570000052
Rotating the holder to enable a laser arranged on the holder to aim at a third target point preset on the target object to be detected, and recording the rotation angle of the holder to obtain an eighth holder rotation angle; the third target point is subjected to distance measurement through the laser to obtain a third laser distance; calculating to obtain a third space coordinate of the third target point according to the third laser distance and the eighth pan-tilt rotation angle
Figure FDA0002374916570000053
The cradle head is a two-axis rotating cradle head and comprises a first rotating shaft rotating around the vertical direction and a second rotating shaft rotating around the horizontal direction;
when the holder is at the initial position, the rotation angles of the holder in the horizontal direction and the vertical direction are both 0 degree, and the direction of the laser beam of the laser is taken as Z when the holder is at the initial position0The axis takes the direction of a first rotating axis of the cradle head rotating around the vertical direction when the cradle head is at the initial position as X0The axis of the second rotation axis selected by the pan/tilt head around the horizontal direction when the pan/tilt head is at the initial position is taken as Y0Axis, the first, second and third spatial coordinates being at the X0Axis, Y0Axis and Z0Shaft-established O-X0Y0Z0Determined in a coordinate system;
the S2 specifically includes:
rotating the holder to enable the target object to be detected to be located in a visual area of a camera arranged on the holder, and recording the rotation angle of the holder to obtain a ninth holder rotation angle;
the direction of the first rotating shaft of the holder is X in the current stateeThe direction of the second rotating shaft of the tripod head is YeAxis, direction of laser beam of laser being ZeEstablishing a coordinate system Oe-XeYeZe
Calculating the coordinate system O of the first target point according to the first space coordinate and the ninth pan-tilt rotation anglee-XeYeZeCoordinates of lower
Figure FDA0002374916570000061
Calculating the coordinate system O of the second target point according to the second space coordinate and the ninth pan-tilt rotation anglee-XeYeZeCoordinates of lower
Figure FDA0002374916570000062
Calculating the third target point in the coordinate system O according to the third space coordinate and the ninth pan-tilt rotation anglee-XeYeZeCoordinates of lower
Figure FDA0002374916570000063
The first space coordinate, the second space coordinate and the third space coordinate form a focusing plane pi, and the first space coordinate, the second space coordinate and the third space coordinate are not collinear;
determination of ZeIntersection O of axis and focal plane πwWith OwTo the origin, let ZwPerpendicular to the focal plane pi, and a direction perpendicular to the predetermined intersection line on the focal plane pi is YwDirection, said intersection line being the focal plane pi and the plane OeXeZeCross line of (a) according to YwAnd ZwDetermination of XwThereby establishing a coordinate system Ow-XwYwZwTo obtain a coordinate system Ow-XwYwZwAnd Oe-XeYeZeThe conversion relationship between them;
the S3 specifically includes:
shooting an image of the target object to be detected through the camera, and establishing an image coordinate system, wherein the image coordinate system takes a point at the leftmost upper corner of the image as an origin, the horizontal right direction is a u axis, the vertical downward direction is a v axis, and the established coordinate system is a uv coordinate system;
obtaining a coordinate system uv and a coordinate system O according to the internal parameter K of the camerae-XeYeZeThe mapping relationship between the two;
according to said coordinate system Ow-XwYwZwAnd Oe-XeYeZeAnd the coordinate system uv and the coordinate system Oe-XeYeZeObtaining a coordinate system uv and a coordinate system O by the mapping relation between the twow-XwYwZwThe mapping relationship of (2).
6. the laser focusing measurement terminal of claim 5, wherein the sixth pan-tilt rotation angle comprises an angle α of pan-tilt rotation around the vertical directionaand the angle β of the rotation of the pan-tilt around the horizontal directionaSaid
Figure FDA0002374916570000064
Comprises the following steps:
Figure FDA0002374916570000065
the seventh pan/tilt rotation angle comprises an angle alpha of rotation of the pan/tilt around the vertical directionband the angle β of the rotation of the pan-tilt around the horizontal directionbSaid
Figure FDA0002374916570000066
Comprises the following steps:
Figure FDA0002374916570000071
the eighth rotation angle comprises an angle α of rotation of the holder around the vertical directioncand the angle β of the rotation of the pan-tilt around the horizontal directioncSaid
Figure FDA0002374916570000072
Comprises the following steps:
Figure FDA0002374916570000073
7. the laser focusing measurement terminal of claim 5, wherein the ninth pan-tilt rotation angle comprises an angle α of pan-tilt rotation around the first rotation axiseand the angle beta of the rotation of the pan-tilt around the second rotation axise
Figure FDA0002374916570000074
Comprises the following steps:
Figure FDA0002374916570000075
Figure FDA0002374916570000076
comprises the following steps:
Figure FDA0002374916570000077
Figure FDA0002374916570000078
comprises the following steps:
Figure FDA0002374916570000079
8. laser focus measurement terminal according to claim 5, wherein said coordinate system O isw-XwYwZwAnd Oe-XeYeZeThe conversion relationship between the two is as follows:
Figure FDA00023749165700000710
wherein
Figure FDA00023749165700000711
Figure FDA0002374916570000081
Omega is YwAxis and plane OeXeZeThe complementary angle of the included angle is formed,
Figure FDA0002374916570000082
for focusing on plane pi and plane OeXeZeCross line of Z andethe included angle of the axes;
the coordinate system uv and the coordinate system Oe-XeYeZeThe mapping relationship between:
Figure FDA0002374916570000083
due to Z on the focusing plane piw0, the coordinate system uv and the coordinate system O can be obtainedw-XwYwZwThe mapping relation is as follows:
Figure FDA0002374916570000084
the above-mentioned
Figure FDA0002374916570000085
Is the intrinsic matrix of the camera (u)0,v0) Is the projection position of the optical center of the camera on the CCD imaging plane, f is the focal length of the camera, dxAnd dyThe physical size of each pixel of the CCD in the horizontal direction and the vertical direction is respectively, and the gamma is a preset scaling factor.
CN202010062399.1A 2019-01-31 2019-01-31 Laser focusing measurement method and terminal Active CN111220127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010062399.1A CN111220127B (en) 2019-01-31 2019-01-31 Laser focusing measurement method and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010062399.1A CN111220127B (en) 2019-01-31 2019-01-31 Laser focusing measurement method and terminal
CN201910109939.4A CN109855603B (en) 2019-01-31 2019-01-31 Focus measurement method and terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910109939.4A Division CN109855603B (en) 2019-01-31 2019-01-31 Focus measurement method and terminal

Publications (2)

Publication Number Publication Date
CN111220127A true CN111220127A (en) 2020-06-02
CN111220127B CN111220127B (en) 2022-07-26

Family

ID=66897722

Family Applications (5)

Application Number Title Priority Date Filing Date
CN202010064114.8A Active CN111220129B (en) 2019-01-31 2019-01-31 Focusing measurement method with rotating holder and terminal
CN202010064115.2A Active CN111220130B (en) 2019-01-31 2019-01-31 Focusing measurement method and terminal capable of measuring object at any position in space
CN202010062399.1A Active CN111220127B (en) 2019-01-31 2019-01-31 Laser focusing measurement method and terminal
CN202010062400.0A Active CN111220128B (en) 2019-01-31 2019-01-31 Monocular focusing measuring method and terminal
CN201910109939.4A Active CN109855603B (en) 2019-01-31 2019-01-31 Focus measurement method and terminal

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN202010064114.8A Active CN111220129B (en) 2019-01-31 2019-01-31 Focusing measurement method with rotating holder and terminal
CN202010064115.2A Active CN111220130B (en) 2019-01-31 2019-01-31 Focusing measurement method and terminal capable of measuring object at any position in space

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN202010062400.0A Active CN111220128B (en) 2019-01-31 2019-01-31 Monocular focusing measuring method and terminal
CN201910109939.4A Active CN109855603B (en) 2019-01-31 2019-01-31 Focus measurement method and terminal

Country Status (1)

Country Link
CN (5) CN111220129B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113027075A (en) * 2021-03-10 2021-06-25 成都昊图新创科技有限公司 Line marking device and line marking method

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111114814B (en) * 2020-01-16 2022-04-08 四川川测研地科技有限公司 Self-adaptive focusing holder for linear engineering object based on unmanned aerial vehicle
CN111811794B (en) * 2020-06-18 2022-05-20 浙江大华技术股份有限公司 Cloud deck self-checking method and device, computing equipment and storage medium
CN111867214B (en) * 2020-07-28 2023-05-05 广东艾罗照明科技股份有限公司 Light irradiation angle control system, method and device
CN114688996B (en) * 2020-12-31 2023-11-03 北京华航无线电测量研究所 Method for measuring rotation precision angle of turntable
CN113124819B (en) * 2021-06-17 2021-09-10 中国空气动力研究与发展中心低速空气动力研究所 Monocular distance measuring method based on plane mirror
CN113737798B (en) * 2021-08-09 2023-03-14 中交第三航务工程局有限公司 Piling positioning and height measuring system for piling ship
CN115143930B (en) * 2022-06-27 2024-05-24 徐州徐工挖掘机械有限公司 Monocular camera ranging method, monocular camera ranging system and excavator

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102445183A (en) * 2011-10-09 2012-05-09 福建汇川数码技术科技有限公司 Apparatus of ranging laser point of remote ranging system and positioning method based on paralleling of laser and camera
CN107101580A (en) * 2017-05-18 2017-08-29 陈坤龙 A kind of image measuring method based on laser, system and device
CN109147027A (en) * 2018-08-31 2019-01-04 金钱猫科技股份有限公司 Monocular image three-dimensional rebuilding method, system and device based on reference planes

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100506533B1 (en) * 2003-01-11 2005-08-05 삼성전자주식회사 Mobile robot and autonomic traveling system and method thereof
CN101839692B (en) * 2010-05-27 2012-09-05 西安交通大学 Method for measuring three-dimensional position and stance of object with single camera
US9335415B2 (en) * 2012-10-31 2016-05-10 The Boeing Company Modulated laser range finder and method
MY184651A (en) * 2014-01-20 2021-04-14 Pillay Venkateshwara A system for mapping and tracking ground targets
CN106441278A (en) * 2016-09-29 2017-02-22 长沙开元仪器股份有限公司 Unmanned aerial vehicle indoor positioning system and method
CN109100382B (en) * 2018-07-27 2021-05-28 北京矿冶科技集团有限公司 BPMA (Business Process management) zone focusing measurement method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102445183A (en) * 2011-10-09 2012-05-09 福建汇川数码技术科技有限公司 Apparatus of ranging laser point of remote ranging system and positioning method based on paralleling of laser and camera
CN107101580A (en) * 2017-05-18 2017-08-29 陈坤龙 A kind of image measuring method based on laser, system and device
CN108827147A (en) * 2017-05-18 2018-11-16 金钱猫科技股份有限公司 A kind of image measuring method and system based on Fast Calibration
CN109147027A (en) * 2018-08-31 2019-01-04 金钱猫科技股份有限公司 Monocular image three-dimensional rebuilding method, system and device based on reference planes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
晁志超 等: "单目摄像机-激光测距传感器位姿测量系统", 《光学学报》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113027075A (en) * 2021-03-10 2021-06-25 成都昊图新创科技有限公司 Line marking device and line marking method

Also Published As

Publication number Publication date
CN111220128A (en) 2020-06-02
CN109855603B (en) 2019-12-13
CN111220130B (en) 2022-09-13
CN111220128B (en) 2022-10-25
CN111220127B (en) 2022-07-26
CN109855603A (en) 2019-06-07
CN111220130A (en) 2020-06-02
CN111220129B (en) 2022-10-25
CN111220129A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN109855603B (en) Focus measurement method and terminal
CN110057295B (en) Monocular vision plane distance measuring method without image control
CN108844456B (en) Rapid image measuring method and system
JP4224260B2 (en) Calibration apparatus, method, result diagnosis apparatus, and calibration chart
US20150116691A1 (en) Indoor surveying apparatus and method
JP2004037270A (en) Data measuring device, method and program for calibration, computer readable recording medium and image data processing device
CN111210468A (en) Image depth information acquisition method and device
CN102661717A (en) Monocular vision measuring method for iron tower
JP2004163292A (en) Survey system and electronic storage medium
CN109272555B (en) External parameter obtaining and calibrating method for RGB-D camera
CN108489423B (en) Method and system for measuring horizontal inclination angle of product surface
CN106643567B (en) A kind of method of calibration and system of lane shift system producing line scaling board
CN104807405B (en) Three-dimensional coordinate measurement method based on light ray angle calibration
GB2515178A (en) Improvements in and relating to imaging of the eye
CN109945840B (en) Three-dimensional image shooting method and system
TW565736B (en) Method for determining the optical parameters of a camera
CN111754584A (en) Remote large-field-of-view camera parameter calibration system and method
CN105333818B (en) 3d space measuring method based on monocular-camera
CN105809685A (en) Single-concentric circle image-based camera calibration method
CN114663486A (en) Building height measurement method and system based on binocular vision
CN112762829B (en) Target coordinate measuring method and system based on linkage deflection type active vision system
CN113034615B (en) Equipment calibration method and related device for multi-source data fusion
CN108769459A (en) Multiple spot laser Full-automatic oblique angle shot based on image procossing corrects system
CN111707446B (en) Method and system for adjusting alignment of light spot center and detector receiving surface center
CN115018923A (en) Method and system for detecting panoramic annular lens parameters

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