WO2018147340A1 - 位置計測システム、作業機械、及び位置計測方法 - Google Patents
位置計測システム、作業機械、及び位置計測方法 Download PDFInfo
- Publication number
- WO2018147340A1 WO2018147340A1 PCT/JP2018/004257 JP2018004257W WO2018147340A1 WO 2018147340 A1 WO2018147340 A1 WO 2018147340A1 JP 2018004257 W JP2018004257 W JP 2018004257W WO 2018147340 A1 WO2018147340 A1 WO 2018147340A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- camera
- image data
- stereo
- data
- parallax
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
- G01B11/245—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures using a plurality of fixed, simultaneously operating transducers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/80—Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
- G06T7/85—Stereo camera calibration
-
- E—FIXED CONSTRUCTIONS
- E02—HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
- E02F—DREDGING; SOIL-SHIFTING
- E02F9/00—Component parts of dredgers or soil-shifting machines, not restricted to one of the kinds covered by groups E02F3/00 - E02F7/00
- E02F9/26—Indicating devices
- E02F9/261—Surveying the work-site to be treated
-
- E—FIXED CONSTRUCTIONS
- E02—HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
- E02F—DREDGING; SOIL-SHIFTING
- E02F9/00—Component parts of dredgers or soil-shifting machines, not restricted to one of the kinds covered by groups E02F3/00 - E02F7/00
- E02F9/20—Drives; Control devices
- E02F9/2025—Particular purposes of control systems not otherwise provided for
-
- E—FIXED CONSTRUCTIONS
- E02—HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
- E02F—DREDGING; SOIL-SHIFTING
- E02F9/00—Component parts of dredgers or soil-shifting machines, not restricted to one of the kinds covered by groups E02F3/00 - E02F7/00
- E02F9/26—Indicating devices
- E02F9/264—Sensors and their calibration for indicating the position of the work tool
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/002—Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C11/00—Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
- G01C11/04—Interpretation of pictures
- G01C11/06—Interpretation of pictures by comparison of two or more pictures of the same area
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C11/00—Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
- G01C11/04—Interpretation of pictures
- G01C11/06—Interpretation of pictures by comparison of two or more pictures of the same area
- G01C11/08—Interpretation of pictures by comparison of two or more pictures of the same area the pictures not being supported in the same relative position as when they were taken
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C3/00—Measuring distances in line of sight; Optical rangefinders
- G01C3/02—Details
- G01C3/06—Use of electric means to obtain final indication
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C3/00—Measuring distances in line of sight; Optical rangefinders
- G01C3/10—Measuring distances in line of sight; Optical rangefinders using a parallactic triangle with variable angles and a base of fixed length in the observation station, e.g. in the instrument
- G01C3/14—Measuring distances in line of sight; Optical rangefinders using a parallactic triangle with variable angles and a base of fixed length in the observation station, e.g. in the instrument with binocular observation at a single point, e.g. stereoscopic type
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/10—Processing, recording or transmission of stereoscopic or multi-view image signals
- H04N13/106—Processing image signals
- H04N13/128—Adjusting depth or disparity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/204—Image signal generators using stereoscopic image cameras
- H04N13/239—Image signal generators using stereoscopic image cameras using two 2D image sensors having a relative position equal to or related to the interocular distance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/204—Image signal generators using stereoscopic image cameras
- H04N13/243—Image signal generators using stereoscopic image cameras using three or more 2D image sensors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/204—Image signal generators using stereoscopic image cameras
- H04N13/246—Calibration of cameras
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N2013/0074—Stereoscopic image analysis
- H04N2013/0081—Depth or disparity estimation from stereoscopic image signals
Definitions
- the present invention relates to a position measurement system, a work machine, and a position measurement method.
- Patent Document 1 In the technical field related to work machines, a hydraulic excavator having a stereo camera as disclosed in Patent Document 1 is known.
- the stereo camera has a first camera and a second camera, and performs three-dimensional measurement based on the principle of triangulation.
- a calibration process for adjusting the relative position between the first camera and the second camera is performed.
- the stereo camera calibration process includes a process of photographing the calibration target with the first camera and the second camera. If the relative position between the first camera and the second camera changes after the calibration process of the stereo camera, it is necessary to recalibrate the stereo camera.
- the calibration target must be photographed every time the recalibration process is performed, the work of the recalibration process becomes complicated, and the work efficiency of the work machine decreases.
- An aspect of the present invention aims to smoothly perform a recalibration process and suppress a decrease in work efficiency.
- the first image data photographed by the first camera of the first stereo camera provided in the work machine and the second image data photographed by the second camera of the first stereo camera are obtained.
- a stereo measurement unit that performs stereo measurement based on the image data acquisition unit, the first image data, the second image data, and the parameters relating to the first camera and the second camera; and
- a first adjustment unit that adjusts the stereo ratio of the first parallax image data measured in stereo by changing at least a part thereof; and a first adjustment unit that is obtained from the first parallax image data by changing at least a part of the parameters.
- a second adjusting unit that adjusts the scale of one three-dimensional data.
- the recalibration process can be performed smoothly, and a reduction in work efficiency can be suppressed.
- FIG. 1 is a perspective view illustrating an example of a work machine according to the first embodiment.
- FIG. 2 is a perspective view illustrating an example of the stereo camera according to the first embodiment.
- FIG. 3 is a diagram schematically illustrating an example of the detection system according to the first embodiment.
- FIG. 4 is a functional block diagram illustrating an example of the position measurement system according to the first embodiment.
- FIG. 5 is a schematic diagram for explaining an example of the stereo measurement method according to the first embodiment.
- FIG. 6 is a diagram schematically illustrating an example of the stereo camera according to the first embodiment.
- FIG. 7 is a diagram schematically illustrating an example of the first image data captured by the first camera and the second image data captured by the second camera according to the first embodiment.
- FIG. 1 is a perspective view illustrating an example of a work machine according to the first embodiment.
- FIG. 2 is a perspective view illustrating an example of the stereo camera according to the first embodiment.
- FIG. 3 is a diagram schematically illustrating an example of
- FIG. 8 is a diagram schematically illustrating an example of the first image data captured by the first camera and the second image data captured by the second camera according to the first embodiment.
- FIG. 9 is a schematic diagram for explaining a relative position between the first camera and the second camera according to the first embodiment.
- FIG. 10 is a diagram schematically illustrating an example of parallax image data when the search has failed according to the first embodiment.
- FIG. 11 is a schematic diagram for explaining an example of stereo ratio adjustment processing by the first adjustment unit according to the first embodiment.
- FIG. 12 is a schematic diagram for explaining an example of a stereo ratio adjustment method by the first adjustment unit according to the first embodiment.
- FIG. 13 is a diagram schematically illustrating an example of parallax image data when the search is successful according to the first embodiment.
- FIG. 14 is a schematic diagram for explaining an example of scale adjustment processing by the second adjustment unit according to the first embodiment.
- FIG. 15 is a flowchart illustrating an example of the position measurement method according to the first embodiment.
- FIG. 16 is a diagram schematically illustrating an example of an imaging target according to the first embodiment.
- FIG. 17 is a diagram schematically illustrating an example of parallax image data generated based on the first image data and the second image data acquired by the first stereo camera according to the first embodiment.
- FIG. 18 is a diagram illustrating an example of first parallax image data and second parallax image data according to the first embodiment.
- FIG. 19 is a schematic diagram for explaining an example of a scale adjustment method by the second adjustment unit according to the first embodiment.
- FIG. 19 is a schematic diagram for explaining an example of a scale adjustment method by the second adjustment unit according to the first embodiment.
- FIG. 20 is a schematic diagram for explaining an example of the position measurement method according to the second embodiment.
- FIG. 21 is a schematic diagram for explaining an example of the position measurement method according to the third embodiment.
- FIG. 22 is a schematic diagram for explaining an example of a scale adjustment method by the second adjustment unit according to the third embodiment.
- FIG. 23 is a diagram schematically illustrating an example of a position measurement system according to the fifth embodiment.
- FIG. 24 is a schematic diagram for explaining an example of the position measurement method according to the sixth embodiment.
- a three-dimensional global coordinate system (Xg, Yg, Zg), a three-dimensional vehicle body coordinate system (Xm, Ym, Zm), and a three-dimensional camera coordinate system (Xs, Ys, Zs) are defined. Then, the positional relationship of each part will be described.
- the global coordinate system is a coordinate system based on the origin fixed on the earth.
- the global coordinate system is a coordinate system defined by GNSS (Global Navigation Satellite System).
- GNSS Global Navigation Satellite System
- GNSS refers to the global navigation satellite system.
- GPS Global Positioning System
- the global coordinate system is defined by the horizontal Xg axis, the horizontal Yg axis orthogonal to the Xg axis, and the Xg axis and the Zg axis orthogonal to the Yg axis.
- the rotation or tilt direction around the Xg axis is taken as the ⁇ Xg direction
- the rotation or tilt direction around the Yg axis is taken as the ⁇ Yg direction
- the rotation or tilt direction around the Zg axis is taken as the ⁇ Zg direction.
- the Zg axis direction is the vertical direction.
- the vehicle body coordinate system includes the Xm axis of the first predetermined surface with reference to the origin defined in the vehicle body of the work machine, the Ym axis of the first predetermined surface orthogonal to the Xm axis, and Zm orthogonal to the Xm axis and the Ym axis. Defined by axis.
- the rotation or tilt direction around the Xm axis is the ⁇ Xm direction
- the rotation or tilt direction around the Ym axis is the ⁇ Ym direction
- the rotation or tilt direction around the Zm axis is the ⁇ Zm direction.
- the Xm-axis direction is the longitudinal direction of the work machine
- the Ym-axis direction is the vehicle width direction of the work machine
- the Zm-axis direction is the vertical direction of the work machine.
- the camera coordinate system includes an Xs axis of a second predetermined surface with respect to an origin defined by the camera, a Ys axis of a second predetermined surface orthogonal to the Xs axis, and a Zs axis orthogonal to the Xs axis and the Ys axis. It is prescribed.
- the rotation or tilt direction around the Xs axis is taken as the ⁇ Xs direction
- the rotation or tilt direction around the Ys axis is taken as the ⁇ Ys direction
- the rotation or tilt direction around the Zs axis is taken as the ⁇ Zs direction.
- the Xs axis direction is the vertical direction of the camera
- the Ys axis direction is the width direction of the camera
- the Zs axis direction is the front-back direction of the camera.
- the Zs-axis direction is parallel to the optical axis of the camera optical system.
- FIG. 1 is a perspective view illustrating an example of a work machine 1 according to the present embodiment.
- the work machine 1 is a hydraulic excavator
- the work machine 1 is appropriately referred to as a hydraulic excavator 1.
- the excavator 1 includes a vehicle body 1 ⁇ / b> B and a work machine 2.
- the vehicle body 1B includes a revolving body 3 and a traveling body 5 that supports the revolving body 3 so as to be able to turn.
- the swivel body 3 has a cab 4.
- a hydraulic pump and an internal combustion engine are arranged on the swing body 3.
- the revolving structure 3 can revolve around the revolving axis Zr.
- the turning axis Zr is parallel to the Zm axis of the vehicle body coordinate system.
- the origin of the vehicle body coordinate system is defined at the center of the swing circle of the revolving structure 3.
- the center of the swing circle is located on the turning axis Zr of the turning body 3.
- the traveling body 5 has crawler tracks 5A and 5B. As the crawler belts 5A and 5B rotate, the excavator 1 travels.
- the Zm axis of the vehicle body coordinate system is orthogonal to the contact surfaces of the crawler belts 5A and 5B.
- the upper side (+ Zm direction) of the vehicle body coordinate system is a direction away from the contact surfaces of the crawler belts 5A and 5B, and the lower side ( ⁇ Zm direction) of the vehicle body coordinate system is the opposite direction to the upper side of the vehicle body coordinate system.
- the work machine 2 is connected to the swivel body 3.
- the vehicle body coordinate system at least a part of the work implement 2 is arranged in front of the revolving structure 3.
- the front (+ Xm direction) of the vehicle body coordinate system is the direction in which the work implement 2 is present with reference to the revolving structure 3, and the rear ( ⁇ Xm direction) of the vehicle body coordinate system is the direction opposite to the front of the vehicle body coordinate system. is there.
- the work implement 2 drives a boom 6 connected to the swing body 3, an arm 7 connected to the boom 6, a bucket 8 connected to the arm 7, a boom cylinder 10 that drives the boom 6, and the arm 7.
- Each of the boom cylinder 10, the arm cylinder 11, and the bucket cylinder 12 is a hydraulic cylinder driven by hydraulic pressure.
- the boom 6 is rotatably connected to the swing body 3 via the boom pin 13.
- the arm 7 is rotatably connected to the tip of the boom 6 via the arm pin 14.
- Bucket 8 is rotatably connected to the tip of arm 7 via bucket pin 15.
- the boom pin 13 includes a rotation axis AX1 of the boom 6 with respect to the revolving structure 3.
- the arm pin 14 includes a rotation axis AX ⁇ b> 2 of the arm 7 with respect to the boom 6.
- the bucket pin 15 includes a rotation axis AX3 of the bucket 8 with respect to the arm 7.
- the rotation axis AX1 of the boom 6, the rotation axis AX2 of the arm 7, and the rotation axis AX3 of the bucket 8 are parallel to the Ym axis of the vehicle body coordinate system.
- FIG. 2 is a perspective view showing an example of the stereo camera 300 according to the present embodiment.
- the excavator 1 includes a stereo camera 300.
- the stereo camera 300 refers to a camera capable of acquiring data in the depth direction of the shooting target SB by simultaneously shooting the shooting target SB from a plurality of different directions.
- the imaging target SB includes a construction target to be constructed at a construction site.
- the construction object includes an excavation object excavated by the work machine 2 of the excavator 1.
- the construction object may be a construction object constructed by a work machine different from the hydraulic excavator 1 or a construction object constructed by an operator.
- a construction object is a concept including a construction object before construction, a construction object during construction, and a construction object after construction.
- the stereo camera 300 is provided on the revolving unit 3. In the present embodiment, the stereo camera 300 is provided inside the cab 4. The stereo camera 300 is disposed, for example, in front of the cab 4 (+ Xm direction) and above (+ Zm direction). The stereo camera 300 images the imaging object SB in front of the excavator 1.
- the stereo camera 300 has a plurality of cameras 30.
- the camera 30 has an optical system and an image sensor.
- the image sensor includes a CCD (Couple Charged Device) image sensor or a CMOS (Complementary Metal Oxide Semiconductor) image sensor.
- the camera 30 includes four cameras 30A, 30B, 30C, and 30D. Note that the stereo camera 300 may not have the four cameras 30, and may have at least a pair of cameras 30.
- the stereo camera 300 is configured by a combination of two cameras 30 among the plurality of cameras 30.
- the stereo camera 300 includes a first stereo camera 301 configured by a combination of cameras 30A and 30B and a second stereo camera 302 configured by a combination of cameras 30C and 30D.
- the cameras 30A and 30C are arranged on the + Ym side (working machine 2 side) from the cameras 30B and 30D.
- the camera 30A and the camera 30B are arranged at an interval in the Ym axis direction.
- the camera 30C and the camera 30D are arranged with an interval in the Ym axis direction.
- the cameras 30A and 30B are arranged on the + Zm side with respect to the cameras 30C and 30D.
- the camera 30A and the camera 30B are disposed at substantially the same position.
- the camera 30C and the camera 30D are disposed at substantially the same position.
- the cameras 30A and 30B face upward (+ Zm direction).
- the cameras 30C and 30D face downward ( ⁇ Zm direction). Further, the cameras 30A and 30C face forward (+ Xm direction).
- the cameras 30B and 30D face slightly to the + Ym side (working machine 2 side) from the front. That is, the cameras 30A and 30C face the front of the revolving unit 3, and the cameras 30B and 30D face the cameras 30A and 30C.
- the cameras 30B and 30D may face the front of the revolving unit 3, and the cameras 30A and 30C may face the cameras 30B and 30D.
- the camera 30 performs stereo shooting of the shooting target SB existing in front of the revolving unit 3.
- the shooting target SB is three-dimensionally measured using the stereo image data from the pair of cameras 30, and the three-dimensional data DG of the shooting target SB is calculated.
- the three-dimensional data DG of the imaging target SB is the three-dimensional data DG of the ground surface that is the surface of the construction target.
- the three-dimensional data DG of the photographing target SB includes three-dimensional shape data of the photographing target SB in the global coordinate system.
- a camera coordinate system is defined for each of the plurality of cameras 30.
- the camera coordinate system is a coordinate system based on the origin fixed to the camera 30.
- the Zs axis of the camera coordinate system coincides with the optical axis of the optical system of the camera 30.
- one camera 30A of the first stereo cameras 301 is appropriately referred to as a first camera 30A
- the other camera 30B is appropriately referred to as a second camera 30B
- one camera 30C of the second stereo camera 302 is appropriately referred to as a third camera 30C
- the other camera 30D is appropriately referred to as a fourth camera 30D.
- the driver's seat 4 ⁇ / b> S and the operation device 35 are arranged in the cab 4.
- the operating device 35 is operated by the driver for operating the work machine 2 and the swing body 3.
- the operating device 35 includes a right operating lever 35R and a left operating lever 35L.
- a driver who has boarded the cab 4 operates the operating device 35 to drive the work implement 2 and to turn the revolving structure 3.
- FIG. 3 is a diagram schematically illustrating an example of the detection system 20 according to the present embodiment.
- the detection system 20 detects a work machine angle detector 22 that detects the angle of the work machine 2, a position detector 23 that detects the position of the revolving body 3, and a posture of the revolving body 3. It has an orientation detector 24 and an orientation detector 25 that detects the orientation of the revolving unit 3.
- the position detector 23 includes a GPS receiver.
- the position detector 23 is provided on the revolving unit 3.
- the position detector 23 detects an absolute position that is the position of the revolving structure 3 defined by the global coordinate system.
- the absolute position of the swing body 3 includes coordinate data in the Xg axis direction, coordinate data in the Yg axis direction, and coordinate data in the Zg axis direction.
- a GPS antenna 21 is provided on the revolving unit 3.
- two GPS antennas 21 are arranged in the Ym-axis direction of the vehicle body coordinate system.
- the GPS antenna 21 receives radio waves from GPS satellites and outputs a signal generated based on the received radio waves to the position detector 23.
- the position detector 23 detects the absolute position, which is the position of the GPS antenna 21 defined by the global coordinate system, based on the signal supplied from the GPS antenna 21.
- the position detector 23 performs an arithmetic process based on at least one of the absolute positions of the two GPS antennas 21 and calculates the absolute position of the revolving structure 3.
- the absolute position of the revolving unit 3 may be the absolute position of one GPS antenna 21, or may be a position between the absolute position of one GPS antenna 21 and the absolute position of the other GPS antenna 21.
- the attitude detector 24 includes an inertial measurement device (IMU: Inertial Measurement Unit).
- the attitude detector 24 is provided on the revolving unit 3.
- the attitude detector 24 calculates the inclination angle of the revolving unit 3 with respect to the horizontal plane (XgYg plane) defined by the global coordinate system.
- the tilt angle of the swing body 3 with respect to the horizontal plane includes the tilt angle of the swing body 3 in the rotation direction around the Ym axis and the tilt angle of the swing body 3 in the rotation direction around the Xm axis.
- the attitude detector 24 detects acceleration and angular velocity acting on the attitude detector 24. By detecting the acceleration and angular velocity acting on the posture detector 24, the acceleration and angular velocity acting on the swing body 3 are detected. Based on the acceleration and angular velocity acting on the revolving structure 3, the posture of the revolving structure 3 is derived.
- the orientation detector 25 calculates the orientation of the revolving unit 3 with respect to the reference orientation defined by the global coordinate system based on the absolute position of one GPS antenna 21 and the absolute position of the other GPS antenna 21.
- the reference orientation is, for example, north.
- the azimuth detector 25 calculates a straight line connecting the absolute position of one GPS antenna 21 and the absolute position of the other GPS antenna 21, and based on the angle formed by the calculated straight line and the reference azimuth, a turning body with respect to the reference azimuth 3 bearings are calculated.
- the azimuth of the swing body 3 with respect to the reference azimuth includes an azimuth angle indicating an angle formed by the reference azimuth and the azimuth of the swing body 3.
- the work implement 2 includes a boom stroke sensor 16 that detects a boom stroke that is disposed in the boom cylinder 10 and indicates the drive amount of the boom cylinder 10, and an arm that is disposed in the arm cylinder 11 and detects an arm stroke that indicates the drive amount of the arm cylinder 11.
- a stroke sensor 17 and a bucket stroke sensor 18 that is disposed in the bucket cylinder 12 and detects a bucket stroke that indicates a driving amount of the bucket cylinder 12 are included.
- the work machine angle detector 22 detects the angle of the boom 6, the angle of the arm 7, and the angle of the bucket 8.
- the work machine angle detector 22 calculates a boom angle indicating the tilt angle of the boom 6 with respect to the Zm axis of the vehicle body coordinate system based on the boom stroke detected by the boom stroke sensor 16.
- the work machine angle detector 22 calculates an arm angle indicating an inclination angle of the arm 7 with respect to the boom 6 based on the arm stroke detected by the arm stroke sensor 17.
- the work machine angle detector 22 calculates a bucket angle indicating an inclination angle of the blade edge 8BT of the bucket 8 with respect to the arm 7 based on the bucket stroke detected by the bucket stroke sensor 18.
- the boom angle, the arm angle, and the bucket angle may be detected by, for example, an angle sensor provided in the work machine 2 without using the stroke sensor.
- FIG. 4 is a functional block diagram illustrating an example of the position measurement system 50 according to the present embodiment.
- the position measurement system 50 is provided in the hydraulic excavator 1.
- the position measurement system 50 includes a stereo camera 300 including a first stereo camera 301 and a second stereo camera 302, a work machine angle detector 22, a position detector 23, an attitude detector 24, an azimuth detector 25, A display device 26 and a control device 100 are provided.
- the control device 100 is provided on the swing body 3 of the excavator 1.
- the display device 26 includes a flat panel display such as a liquid crystal display (LCD: Liquid Crystal Display) or an organic EL display (OELD: Organic Electroluminescence Display).
- LCD Liquid Crystal Display
- OELD Organic Electroluminescence Display
- the control device 100 includes a computer system.
- the control device 100 includes an arithmetic processing device including a processor such as a CPU (Central Processing Unit), a volatile memory such as a RAM (Random Access Memory), and a nonvolatile memory such as a ROM (Read Only Memory).
- a processor such as a CPU (Central Processing Unit)
- a volatile memory such as a RAM (Random Access Memory)
- a nonvolatile memory such as a ROM (Read Only Memory).
- a device and an input / output interface is an input / output interface.
- the control device 100 includes an image data acquisition unit 101, a stereo measurement unit 102, a first adjustment unit 103, a second adjustment unit 104, a position data calculation unit 105, a work implement position data calculation unit 106, and map data.
- a creation unit 107, a display control unit 108, a storage unit 109, and an input / output unit 110 are included.
- the arithmetic processing apparatus includes an image data acquisition unit 101, a stereo measurement unit 102, a first adjustment unit 103, a second adjustment unit 104, a position data calculation unit 105, a work implement position data calculation unit 106, a map data creation unit 107, and a display.
- Each function of the control unit 108 is provided.
- the storage device has the function of the storage unit 109.
- the input / output interface has the function of the input / output unit 110.
- Stereo camera 300, work implement angle detector 22, position detector 23, attitude detector 24, orientation detector 25, and display device 26 are connected to input / output unit 110.
- the display control unit 108, the storage unit 109, the stereo camera 300, the work machine angle detector 22, the position detector 23, the attitude detector 24, the orientation detector 25, and the display device 26 are input / output. Data communication is possible via the unit 110.
- the image data acquisition unit 101 includes first image data MR1 of the shooting target SB shot by the first camera 30A provided on the excavator 1, second image data ML1 of the shooting target SB shot by the second camera 30B, The third image data MR2 of the shooting target SB shot by the third camera 30C and the fourth image data ML2 of the shooting target SB shot by the fourth camera 30D are acquired. That is, the image data acquisition unit 101 acquires stereo image data captured by at least a pair of cameras 30 of the stereo camera 300.
- the storage unit 109 stores a plurality of parameters related to the first camera 30A and the second camera 30B of the first stereo camera 301 and a plurality of parameters related to the third camera 30C and the fourth camera 30D of the second stereo camera 302.
- the parameter can be determined by a predetermined calibration operation.
- the parameters are a plurality of external parameters that define the relative positions of the first camera 30A and the second camera 30B of the first stereo camera 301, and the relative positions of the third camera 30C and the fourth camera 30D of the second stereo camera 302. Including a plurality of external parameters defining
- the external parameters include parameters indicating the relative positions of the pair of cameras 30 of the stereo camera 300 with respect to the six directions of the Xs axis direction, the Ys axis direction, the Zs axis direction, the ⁇ Xs axis direction, the ⁇ Ys axis direction, and the ⁇ Zs axis direction.
- the parameters include internal parameters of the first camera 30A, the second camera 30B, the third camera 30C, and the fourth camera 30D.
- the internal parameter defines unique data of each of the plurality of cameras 30.
- the internal parameters include, for example, the focal length of the optical system of the camera 30 and the amount of positional deviation between the intersection between the optical axis of the optical system of the camera 30 and the imaging surface of the image sensor and the image center of the image sensor.
- the stereo measurement unit 102 performs stereo image processing on the first image data MR1 and the second image data ML1 acquired by the image data acquisition unit 101, and calculates the three-dimensional data DG of the shooting target SB in the camera coordinate system. To do. In addition, the stereo measurement unit 102 performs image processing on the third image data MR2 and the fourth image data ML2 acquired by the image data acquisition unit 101 in a stereo manner, and the three-dimensional data DG of the shooting target SB in the camera coordinate system. Is calculated.
- the stereo measurement unit 102 performs coordinate conversion on the three-dimensional data DG of the shooting target SB in the camera coordinate system, and calculates the three-dimensional data DG of the shooting target SB in the vehicle body coordinate system. In addition, the stereo measurement unit 102 performs coordinate conversion on the three-dimensional data DG of the shooting target SB in the vehicle body coordinate system, and calculates the three-dimensional data DG of the shooting target SB in the global coordinate system.
- the three-dimensional data DG of the shooting target SB includes coordinate data at a plurality of points in the shooting target SB.
- the stereo measurement unit 102 generates parallax image data SG by performing image processing on the two image data MR (MR1, MR2) and ML (ML1, ML2) of the imaging target SB captured by two different cameras 30 in a stereo manner. Then, the three-dimensional data DG is obtained by arithmetic processing.
- the stereo measurement unit 102 is stored in the first image data MR1 acquired by the image data acquisition unit 101, the second image data ML1 acquired by the image data acquisition unit 101, and the storage unit 109. Stereo measurement is performed based on the parameters.
- the stereo measurement unit 102 also includes third image data MR2 acquired by the image data acquisition unit 101, fourth image data ML2 acquired by the image data acquisition unit 101, and parameters stored in the storage unit 109. Based on the above, stereo measurement is performed.
- the first adjustment unit 103 adjusts the stereo ratio by changing at least some of the plurality of parameters stored in the storage unit 109.
- the stereo rate indicates a ratio of pixels in which stereo measurement is successful among a plurality of pixels of the parallax image data SG to be stereo-measured.
- the first adjustment unit 103 is stored in the storage unit 109 so that, for example, when the position of one camera 30 of the stereo camera 300 is shifted and the stereo rate is reduced, the stereo rate is improved. Change the parameter.
- the second adjustment unit 104 adjusts the scale of the three-dimensional data DG generated by the stereo measurement unit 102 by changing at least some of the plurality of parameters stored in the storage unit 109.
- the second adjustment unit 104 changes the parameters stored in the storage unit 109 so that the difference between the reference scale and the scale of the three-dimensional data DG becomes small.
- the position data calculation unit 105 is a camera in the global coordinate system based on the position data of the revolving structure 3, the attitude data of the revolving structure 3, the orientation data of the revolving structure 3, and the position data of the camera 30 in the vehicle body coordinate system. 30 position data are calculated.
- the position data calculation unit 105 acquires the position data of the swing body 3 from the position detector 23, acquires the attitude data of the swing body 3 from the attitude detector 24, and acquires the orientation data of the swing body 3 from the direction detector 25. To do.
- the position data of the revolving structure 3 indicates the absolute position of the revolving structure 3 in the global coordinate system.
- the attitude data of the revolving structure 3 indicates the attitude of the revolving structure 3 in the global coordinate system.
- the orientation data of the revolving structure 3 indicates the orientation of the revolving structure 3 in the global coordinate system.
- the storage unit 109 stores the position data of the camera 30 in the vehicle body coordinate system.
- the position data of the camera 30 in the vehicle body coordinate system is known data derived from design data or specification data of the hydraulic excavator 1 and the camera 30, and is stored in the storage unit 109.
- the position data calculation unit 105 calculates the position of the origin of the vehicle body coordinate system in the global coordinate system based on the position data of the revolving structure 3, the posture data of the revolving structure 3, and the orientation data of the revolving structure 3.
- the position data calculation unit 105 includes the position data of the revolving structure 3, the posture data of the revolving structure 3, the orientation data of the revolving structure 3, and the position data of the camera 30 in the vehicle body coordinate system stored in the storage unit 109. Based on this, position data of the camera 30 in the global coordinate system is calculated.
- the work machine position data calculation unit 106 acquires work machine angle data indicating the angle of the work machine 2 from the work machine angle detector 22.
- the work machine angle data includes a boom angle, an arm angle, and a bucket angle.
- the work machine position data calculation unit 106 is configured to determine the position data of the boom 6 in the vehicle body coordinate system based on the work machine angle data acquired from the work machine angle detector 22 and the work machine data stored in the storage unit 109.
- the position data of the arm 7 and the position data of the bucket 8 are calculated.
- the position data of each of the boom 6, the arm 7, and the bucket 8 includes coordinate data of each of a plurality of parts of the boom 6, a plurality of parts of the arm 7, and a plurality of parts of the bucket 8.
- the work machine position data calculation unit 106 includes position data of the swing body 3, posture data of the swing body 3, orientation data of the swing body 3, work machine angle data, and work stored in the storage unit 109. Based on the machine data, the position data of each of the boom 6, the arm 7 and the bucket 8 in the global coordinate system is calculated.
- the work machine data includes design data or specification data of the work machine 2.
- the design data of the work machine 2 includes 3D CAD data of the work machine 2.
- the work machine data includes at least one of outer shape data of the work machine 2 and dimension data of the work machine 2.
- the work machine data includes a boom length, an arm length, and a bucket length.
- the boom length is a distance between the rotation axis AX1 and the rotation axis AX2.
- the arm length is a distance between the rotation axis AX2 and the rotation axis AX3.
- the bucket length is the distance between the rotation axis AX3 and the cutting edge 8BT of the bucket 8.
- the map data creation unit 107 creates 3D data DG based on the parallax image data SG.
- the three-dimensional data DG includes parallax image data SG, three-dimensional data such as a vehicle body coordinate system, and three-dimensional map data (elevation map data) described later.
- the display control unit 108 causes the display device 26 to display the first image data MR1, the second image data ML1, the third image data MR2, and the fourth image data ML2 acquired by the image data acquisition unit 101. Further, the display control unit 108 causes the display device 26 to display the parallax image data SG generated by the stereo measurement unit 102. The display control unit 108 causes the display device 26 to display the three-dimensional data DG created by the map data creation unit 107.
- FIG. 5 is a schematic diagram for explaining an example of the stereo measurement method according to the present embodiment.
- the image data MR (MR1, MR2) acquired by the image data acquisition unit 101 and the image data ML (ML1, ML2) are subjected to image processing in a stereo manner, and the three-dimensional data DG to be imaged is calculated. It is processing.
- one camera 30 constituting the stereo camera 300 is appropriately referred to as a first camera 30R (30A, 30C), and the other camera 30 is appropriately referred to as a second camera 30L (30B, 30D).
- the image data MR photographed by the first camera 30R (30A, 30C) is appropriately referred to as first image data MR (MR1, MR2), and the second camera 30L (30B, 30D).
- the image data ML photographed in step 2 is appropriately referred to as second image data (ML1, ML2).
- the 3D data DG is calculated by the first camera 30A and the second camera 30B of the first stereo camera 301, and the 3D data DG is calculated by the third camera 30C and the fourth camera 30D of the second stereo camera 302. The method is the same.
- the right camera 30 is the first camera 30R and the left camera 30 is the second camera 30L, but the left camera 30 is the first camera 30R and the right camera 30 is The second camera 30L may be used.
- the position data of the first camera 30R and the position data of the second camera 30L are stored in the storage unit 109.
- the position data of the first camera 30R includes the position of the optical center OR of the first camera 30R and the direction of the optical axis of the optical system of the first camera 30R.
- the position data of the second camera 30L includes the position of the optical center OL of the second camera 30L and the direction of the optical axis of the optical system of the second camera 30L.
- relative position data between the first camera 30R and the second camera 30L is stored in the storage unit 109.
- the relative position data between the first camera 30R and the second camera 30L includes the dimension of the base line BL connecting the optical center OR of the first camera 30R and the optical center OL of the second camera 30L.
- the image of the measurement point P of the imaging target SB existing in the three-dimensional space is projected on each of the projection surface of the first camera 30R and the projection surface of the second camera 30L. Further, the image of the measurement point P and the image of the point EL on the projection surface of the second camera 30L are projected on the projection surface of the first camera 30R, and an epipolar line is defined. Similarly, the image of the measurement point P and the image of the point ER on the projection surface of the first camera 30R are projected on the projection surface of the second camera 30L, and an epipolar line is defined. An epipolar plane is defined by the measurement point P, the point ER, and the point EL.
- the projection surface of the first camera 30R includes the imaging surface of the image sensor of the first camera 30R.
- the projection surface of the second camera 30L includes the imaging surface of the image sensor of the second camera 30L.
- the image data acquisition unit 101 acquires first image data MR photographed by the first camera 30R and second image data ML photographed by the second camera 30L.
- the first image data MR photographed by the first camera 30R and the second image data ML photographed by the second camera 30B are each two-dimensional image data projected on the projection plane.
- the first image data MR and the second image data ML acquired by the image data acquisition unit 101 are output to the stereo measurement unit 102.
- the stereo measurement unit 102 is based on the coordinate data of the image of the measurement point P in the first image data MR defined in the camera coordinate system, the coordinate data of the image of the measurement point P in the second image data ML, and the epipolar plane. Thus, the three-dimensional coordinate data of the measurement point P in the camera coordinate system is calculated.
- the stereo measurement unit 102 calculates the three-dimensional coordinate data of each of the plurality of measurement points P of the shooting target SB based on the first image data MR and the second image data ML. Thereby, the three-dimensional data DG of the photographing target SB is calculated.
- the stereo measurement unit 102 calculates the three-dimensional coordinate data of the plurality of measurement points P in the camera coordinate system by stereo measurement, and then performs coordinate conversion to calculate 3 of the plurality of measurement points P in the vehicle body coordinate system. Dimensional coordinate data and three-dimensional coordinate data of a plurality of measurement points P in the global coordinate system are calculated.
- the stereo measurement unit 102 performs image processing on the first image data MR and the second image data ML in a stereo manner, and calculates three-dimensional data DG of the shooting target SB.
- the stereo measurement unit 102 calculates a distance ZP from the baseline BL of the stereo camera 300 to the measurement point P of the shooting target SB based on the principle of triangulation.
- FIG. 6 is a diagram schematically illustrating an example of the stereo camera 300 according to the present embodiment.
- the first camera 30R and the second camera 30L of the stereo camera 300 can be arranged in a direction parallel to the Ys axis of the camera coordinate system.
- the Ys axis of the camera coordinate system of the first camera 30R and the Ys axis of the camera coordinate system of the second camera 30L are arranged on the same straight line and face the same direction.
- the first camera 30R has an image sensor 31R.
- the origin of the first camera 30R in the camera coordinate system is defined by the optical center OR.
- the optical axis of the optical system of the first camera 30R is parallel to the Zs axis and passes through the optical center OR.
- First image data MR including the imaging target SB is acquired by the first camera 30R.
- the second camera 30L has an image sensor 31L.
- the origin of the second camera 30L in the camera coordinate system is defined by the optical center OL.
- the optical axis of the optical system of the second camera 30L is parallel to the Zs axis and passes through the optical center OL.
- Second image data ML including the imaging target SB is acquired by the second camera 30L.
- a three-dimensional coordinate system (X, Y, Z) having the origin at the optical center OL of the second camera 30L is set.
- the X axis and the Xs axis are substantially parallel.
- the Y axis and the Ys axis are substantially parallel.
- the Z axis and the Zs axis are substantially parallel.
- the projection plane of the first camera 30R defined on the imaging plane of the image sensor 31R and the projection plane of the second camera 30L defined on the imaging plane of the image sensor 31L are arranged in the same plane. .
- the projection surface of the first camera 30R and the projection surface of the second camera 30L are arranged at the same position.
- the first image data MR includes a projection image of the imaging target SB formed on the projection surface of the first camera 30R.
- the second image data ML includes a projection image of the shooting target SB formed on the projection surface of the second camera 30L.
- the dimension of the baseline BL is b.
- the position in the Y-axis direction of the pixel PXr including the measurement point P is YR.
- the position in the Y-axis direction of the pixel PXl including the measurement point P is YL.
- the distance in the Z-axis direction between the projection plane of the second camera 30L and the base line BL is f.
- the distance f is equal to the focal length of the optical system of the second camera 30L.
- the parallax indicating the distance between the projection point of the measurement point P in the first image data MR and the projection point of the measurement point P in the second image data ML is d.
- the parallax d may be a shift amount (unit: pixel) between the pixel PXr including the measurement point P and the pixel PXl including the measurement point P, or the pixel PXr including the measurement point P, the pixel PXl including the measurement point P, and the pixel PXr. It may be a distance to.
- the distance ZP from the baseline BL of the stereo camera 300 to the measurement point P of the shooting target SB is calculated based on the equation (1).
- [Parallax image data] 7 and 8 are diagrams schematically illustrating an example of the first image data MR photographed by the first camera 30R and the second image data ML photographed by the second camera 30L according to the present embodiment.
- the first image is caused by the parallax d indicating the distance between the projection point of the measurement point P in the first image data MR and the projection point of the measurement point P in the second image data ML.
- the position of the measurement point P in the data MR and the position of the measurement point P in the second image data ML are different in the Ys axis direction.
- the parallax d is a deviation in the Ys-axis direction between the projection point (pixel) of the measurement point P in the first image data MR and the projection point (pixel) of the measurement point P in the second image data ML.
- the stereo measurement unit 102 performs image processing on the first image data MR and the second image data ML in a stereo manner, and generates parallax image data SG of the shooting target SB. Specifically, the stereo measurement unit 102 performs a stereo corresponding point search for the first image data MR and the second image data ML.
- the stereo corresponding point search refers to a process of searching for the pixel PXr and the pixel PXl on which the same measurement point P is projected in each of the first image data MR and the second image data ML.
- Stereo measurement unit 102 uses first image data MR as reference image data, and second image data ML as reference image data. As illustrated in FIG. 8, the stereo measurement unit 102 uses the second image data for the pixel PXl including the projection point of the same measurement point P with respect to the pixel PXr of the first image data MR including the projection point of the measurement point P. Search from ML. In the present embodiment, the stereo measurement unit 102 searches for a pixel PMl including the projection point of the measurement point P from among the plurality of pixels PXl existing on the epipolar line of the second image data ML.
- the pixels PXr and PXl used for the stereo correspondence point search may be one pixel of the image sensor or an aggregate of a plurality of pixels.
- the pixel PXr including the projection point of the measurement point P in the first image data MR is appropriately referred to as a target pixel PXr, and includes the projection point of the same measurement point P in the second image data ML.
- the pixel PXl is appropriately referred to as a corresponding pixel PXl.
- a state where the corresponding pixel PXl is successfully searched as a result of searching for the corresponding pixel PXl with respect to the target pixel PXr is appropriately referred to as successful search.
- a state where the search for the corresponding pixel PXl has failed is appropriately referred to as search failure.
- the stereo measurement unit 102 can obtain the parallax d (for example, the number of displaced pixels) based on the distance between the target pixel PXr and the corresponding pixel PXl.
- the dimension b and the focal length f of the baseline BL are known data derived from the design data or specification data of the camera 30 and are stored in the storage unit 109. Therefore, when the search is successful and the parallax d is calculated, the stereo measurement unit 102 determines the distance to the measurement point P based on the dimension b and the focal length f stored in the storage unit 109 and the calculated parallax d.
- the distance ZP can be calculated.
- the stereo measurement unit 102 cannot calculate the parallax d and cannot calculate the distance ZP to the measurement point P.
- the stereo measurement unit 102 When the search is successful, the stereo measurement unit 102 generates the pixel PXs based on the target pixel PXr and the corresponding pixel PXl that have been successfully searched. On the other hand, when the search is unsuccessful, the stereo measurement unit 102 generates the pixel PXs based on the target pixel PXr and the corresponding pixel PXl for which the search has failed.
- the stereo measurement unit 102 performs a stereo corresponding point search for each of the plurality of pixels PXr of the first image data MR. Thereby, a plurality of pixels PXs are generated, and parallax image data SG in which the plurality of pixels PXs are two-dimensionally arranged is generated.
- the parallax image data SG is image data obtained by visualizing the magnitude of parallax in each pixel PXs calculated by the stereo measurement unit 102. For example, each pixel is displayed in gray according to the magnitude of parallax as shown in FIG. This is expressed by shading (displayed white when the parallax is large and black when the parallax is small).
- the parallax image data SG may be expressed in a manner other than light and shade, for example, may be expressed by a color that changes according to the magnitude of the parallax.
- the stereo measurement unit 102 assigns success data indicating successful search to the pixel PXs generated based on the target pixel PXr and the corresponding pixel PXl that have been successfully searched, and based on the target pixel PXr and the corresponding pixel PX1 that have failed to be searched. Failure data indicating that the search has failed may be added to the generated pixel PXs. By adding failure data to the pixel PXs, the pixel PXs is displayed in black, for example.
- the pixel PXs generated based on the target pixel PXr and the corresponding pixel PXl that have been successfully searched is simply referred to as the pixel PXs that has been successfully searched, and is generated based on the target pixel PXr and the corresponding pixel PX1 that have failed to be searched.
- the obtained pixel PXs is simply referred to as a pixel PXs that has failed to be searched.
- the stereo measurement unit 102 can generate a parallax image by expressing each of the plurality of pixels PXs successfully searched based on the parallax d.
- the stereo measurement unit 102 can generate a distance image by expressing each of the plurality of pixels PXs that have been successfully searched based on the distance ZP.
- the distance image may be image data in which the distance ZP from the camera 30 to the target point P is stored in some form in each pixel PXs in the image data, or the target point P from the camera 30 of each pixel PXs. An image that visually expresses the distance ZP to the distance may be used.
- the parallax image data SG includes distance image data.
- the stereo rate refers to, for example, a ratio of pixels PXs in which stereo measurement is successful among a plurality of pixels PXs of the parallax image data SG generated by the stereo measurement unit 102.
- the pixel PXs for which the stereo measurement has succeeded is the pixel PXs generated based on the target pixel PXr and the corresponding pixel PXl which has been successfully searched as a result of searching for the corresponding point PXl as a result of searching for the corresponding pixel PXr.
- the stereo rate STR is expressed by the following equation (2).
- PXA is the total number of pixels PXs of the parallax image data SG.
- PXS is the total number of pixels PXs in which the stereo measurement is successful in the parallax image data SG.
- the pixel PXs excluding the pixel PXs corresponding to the region where no pattern exists from all the pixels PXs of the parallax image data SG may be used as the denominator of the equation (2).
- the stereo rate STR may be the total number of pixels PXs in which the stereo measurement is successful in the parallax image data SG.
- FIG. 9 is a schematic diagram for explaining the relative positions of the first camera 30R and the second camera 30L of the stereo camera 300 according to the present embodiment.
- the first camera 30R and the second camera 30L may be arranged in a direction parallel to the Ys axis, for example.
- a plurality of parameters related to the first camera 30R and the second camera 30L are obtained in advance and stored in the storage unit 109.
- the storage unit 109 stores a plurality of external parameters that define the relative positions of the first camera 30R and the second camera 30L.
- External parameters include parameters ⁇ , ⁇ , ⁇ in the rotation direction of the second camera 30L with respect to the first camera 30R, and parameters Tx, Ty, Tz in the translation direction of the second camera 30L with respect to the first camera 30R.
- the parameter ⁇ indicates the relative angle of the optical axis of the optical system of the second camera 30L in the ⁇ Xs direction with respect to the first camera 30R.
- the parameter ⁇ indicates the relative angle of the optical axis of the optical system of the second camera 30L in the ⁇ Ys direction with respect to the first camera 30R.
- the parameter ⁇ indicates the relative angle of the optical axis of the optical system of the second camera 30L in the ⁇ Zs direction with respect to the first camera 30R.
- the parameter ⁇ is appropriately referred to as a yaw angle ⁇
- the parameter ⁇ is appropriately referred to as a pitch angle ⁇
- the parameter ⁇ is appropriately referred to as a roll angle ⁇ .
- the parameter Tx indicates the relative position of the second camera 30L in the Xs axis direction with respect to the first camera 30R.
- the parameter Ty indicates the relative position of the second camera 30L in the Ys axis direction with respect to the first camera 30R.
- the parameter Tz indicates the relative position of the second camera 30L in the Zs axis direction with respect to the first camera 30R.
- the parameter Tx is appropriately referred to as a shift amount Tx
- the parameter Ty is appropriately referred to as a shift amount Ty
- the parameter Tz is appropriately referred to as a shift amount Tz.
- the storage unit 109 stores the yaw angle ⁇ , pitch angle ⁇ , roll angle ⁇ , shift amount Tx, shift amount Ty, and shift amount Tz as external parameters.
- the relative position between the first camera 30R and the second camera 30L is defined by the following equation (3) including the plurality of external parameters described above.
- (x 1 , y 1 , z 1 ) represents the coordinates of the first camera 30R in the camera coordinate system of the first camera 30R.
- (X 2 , y 2 , z 2 ) indicates the coordinates of the second camera 30L in the camera coordinate system of the second camera 30L.
- Equation (3) is expressed by three rotation matrices defined by the yaw angle ⁇ , the pitch angle ⁇ , and the roll angle ⁇ , and a translation vector defined by the shift amount Tx, the shift amount Ty, and the shift amount Tz. including.
- Expression (3) is a conversion expression for converting the position of the second camera 30L in the camera coordinate system of the second camera 30L into a position in the camera coordinate system of the first camera 30R.
- the relative position between the first camera 30R and the second camera 30L is defined based on the equation (3).
- the first adjustment unit 103 and the second adjustment unit 104 adjust at least one of the yaw angle ⁇ , the pitch angle ⁇ , the roll angle ⁇ , the shift amount Tx, the shift amount Ty, and the shift amount Tz, thereby adjusting the first camera.
- the relative position between the first camera 30R and the second camera 30L can be adjusted.
- the yaw angle ⁇ , the pitch angle ⁇ , the roll angle ⁇ , the shift amount Tx, and the shift amount Ty of the second camera 30L with respect to the first camera 30R are set so that the stereo rate is equal to or greater than the stereo threshold.
- the shift amount Tz are adjusted.
- the stereo threshold is a threshold defined for the stereo ratio. In the following description, adjusting the relative positions of the first camera 30R and the second camera 30L so that the stereo rate is equal to or greater than the stereo threshold is appropriately referred to as external calibration processing.
- the conversion formula including the yaw angle ⁇ , pitch angle ⁇ , roll angle ⁇ , shift amount Tx, shift amount Ty, and shift amount Tz derived in the external calibration process is stored in the storage unit 109 when the excavator 1 is shipped from the factory. Is done.
- the stereo measurement unit 102 uses the parameters stored in the storage unit 109 to perform image processing on the first image data MR and the second image data ML in a stereo manner to generate parallax image data SG.
- the camera 30 may physically move due to external factors such as vibration, impact, or heat. . Due to external factors, for example, the Xs axis direction, Ys axis direction, Zs axis direction, ⁇ Xs direction, ⁇ Ys direction, and ⁇ Zs direction of the other camera 30 with respect to one camera 30 of the first camera 30R and the second camera 30L. There is a possibility that the position in at least one direction is shifted.
- the first camera 30R and the second camera 30L defined by the external parameters stored in the storage unit 109 at the time of factory shipment. There is a difference between the relative position and the actual relative position between the first camera 30R and the second camera 30L after the camera 30 has moved. In that case, even if the corresponding points are searched for by stereo measurement for the first image data MR and the second image data ML, there is a high possibility that the search will fail. As a result, the stereo rate is reduced, and it is difficult to accurately perform stereo measurement of the shooting target SB.
- the first adjustment unit 103 causes the stereo ratio to improve again when the position of at least one of the first camera 30R and the second camera 30L shifts and the stereo ratio decreases.
- (3) Change at least some of the plurality of external parameters included in the equation.
- the second adjustment unit 104 causes the position of at least one of the first camera 30R and the second camera 30L to shift, and the scale of the measurement result by the stereo camera 300 (the distance or scale from the camera 30 to the measurement point P). ) Towards inaccurate, the scale of the three-dimensional data DG is adjusted by changing at least some of the plurality of external parameters included in the equation (3).
- the control device 100 when the position of the camera 30 has physically moved, changes the external parameters stored in the storage unit 109 to change the first camera 30R and the second camera 30L.
- the relative position fluctuation is automatically corrected by calculation processing.
- the first adjustment unit 103 adjusts the external parameters and performs a stereo ratio adjustment process.
- the display control unit 108 causes the display device 26 to display the parallax image data SG generated by the stereo measurement unit 102.
- the stereo measurement unit 102 assigns success data for displaying gray to the pixels PXs that have been successfully searched, and assigns failure data for displaying black to the pixels PXs that have failed to search.
- FIG. 10 is a diagram schematically illustrating an example of the parallax image data SG when the search according to the present embodiment has failed.
- the search may fail even if the stereo corresponding points are searched for the first image data MR and the second image data ML. High nature.
- the stereo rate is reduced, and most of the pixels PXs of the parallax image data SG are displayed in black.
- FIG. 11 is a schematic diagram for explaining an example of stereo ratio adjustment processing by the first adjustment unit 103 according to the present embodiment.
- the first adjustment unit 103 changes, for example, the pitch angle ⁇ among the plurality of external parameters stored in the storage unit 109.
- the second camera 30L is artificially rotated in the ⁇ Ys direction by adjusting the pitch angle ⁇ of the external parameter.
- the stereo measurement unit 102 searches for the pixel PXl including the projection point of the measurement point P from the plurality of pixels PXl existing on the epipolar line of the second image data ML. .
- the first camera 30R and the second camera 30L are arranged in the Ys axis direction, and the epipolar line extends in the Ys axis direction.
- the first adjustment unit 103 searches for a plurality of pixels PXl on the epipolar line that is likely to have a corresponding pixel PXl including the projection point of the measurement point P by changing the pitch angle ⁇ of the external parameter. Can do.
- the first adjustment unit 103 adjusts the pitch angle ⁇ so that the stereo rate of the parallax image data SG is improved.
- storage unit 109 stores a reference pitch angle beta 0.
- the reference pitch angle ⁇ 0 is the pitch angle ⁇ adjusted so that the stereo rate becomes the maximum or the stereo threshold value or more in the external calibration process at the time of factory shipment.
- First adjusting portion 103 in a predetermined range including a reference pitch angle beta 0 by changing the pitch angle beta of the second camera 30L, and calculates the maximum value of, for example, a stereo rate.
- FIG. 12 is a schematic diagram for explaining an example of a stereo ratio adjusting method by the first adjusting unit 103 according to the present embodiment.
- the horizontal axis indicates the external parameter pitch angle ⁇
- the vertical axis indicates the stereo ratio.
- the first adjustment unit 103 with reference to the reference pitch angle beta 0, in the positive and negative directions within a predetermined range, changing the pitch angle beta by a predetermined angle.
- the stereo measurement unit 102 calculates the stereo rate every time the pitch angle ⁇ is changed. As shown in FIG. 12, the stereo rate changes according to the change of the pitch angle ⁇ .
- the first adjustment unit 103 determines the pitch angle ⁇ when the maximum value of the stereo ratio is obtained in a predetermined range as the correct pitch angle ⁇ r.
- any pitch angle ⁇ may be set as the correct pitch angle ⁇ r as long as the stereo rate is equal to or greater than the stereo threshold.
- FIG. 13 is a diagram schematically illustrating an example of the parallax image data SG when the search is successful according to the present embodiment.
- the first adjustment unit 103 changes the pitch angle ⁇ (reference pitch angle ⁇ 0 ) stored in the storage unit 109 to the correct pitch angle ⁇ r. That is, (3) the pitch angle beta of the rotation matrix type is changed to the correct pitch angle ⁇ r from the reference pitch angle beta 0.
- the stereo measurement unit 102 performs stereo measurement based on the first image data MR, the second image data ML, and the external parameters including the correct pitch angle ⁇ r, and generates parallax image data SG.
- the pitch angle beta is changed to correct the pitch angle ⁇ r from the reference pitch angle beta 0, external parameters stored in the storage unit 109, the first camera 30R and the second after the relative positions have been physically change It is optimized for the camera 30L. Therefore, after the relative position between the first camera 30R and the second camera 30L of the stereo camera 300 is physically changed, the stereo measurement unit 102 uses the first image data MR and the second image data ML to support stereo. When a point search is performed, the possibility of a successful search increases. As a result, as shown in FIG. 13, the stereo rate is improved, and most of the pixels PXs of the parallax image data SG are displayed in gray.
- the second adjustment unit 104 adjusts the external parameters and performs a scale adjustment process on the three-dimensional data DG.
- the stereo ratio adjustment is a process of improving the stereo ratio by artificially adjusting the position of the camera 30 whose position has physically changed by changing external parameters.
- the scale of the three-dimensional data DG whose stereo rate is improved by the above-described method is adjusted.
- the scale adjustment is a process of grasping how far the three-dimensional data DG exists from the stereo camera 300 and adjusting the three-dimensional data DG so as to match the actual current landform. By adjusting the scale, three-dimensional data DG with high accuracy or small error that matches the actual current topography can be obtained.
- FIG. 14 is a schematic diagram for explaining an example of scale adjustment processing by the second adjustment unit 104 according to the present embodiment.
- the second adjustment unit 104 changes, for example, the yaw angle ⁇ among the plurality of external parameters stored in the storage unit 109.
- the second camera 30L is artificially rotated in the ⁇ Xs direction by adjusting the yaw angle ⁇ of the external parameter.
- the first camera 30R and the second camera 30L are arranged in the Ys-axis direction, and the distance ZP to the measurement point P is calculated based on the principle of triangulation. Therefore, the second adjustment unit 104 can adjust the parallax of the pixel on which the measurement point P is projected in the parallax image data SG by changing the yaw angle ⁇ of the external parameter of the second camera 30L.
- the scale of the three-dimensional data DG is indirectly adjusted by adjusting the parallax in the parallax image data SG.
- the second adjustment unit 104 changes the yaw angle ⁇ of the external parameter defined for the stereo camera 300 so that the difference between the reference scale described later and the scale of the three-dimensional data DG obtained from the parallax image data SG is reduced.
- the reference scale is a reference used when adjusting the scale (distance or scale) from the camera 30 to the measurement point P so that the three-dimensional data DG obtained from the parallax image data SG matches the actual current landform. It is a scale.
- the second adjustment unit 104 determines the correct yaw angle ⁇ r at which the difference between the reference scale and the scale of the three-dimensional data DG is minimum or less than a threshold value.
- storage unit 109 stores a reference yaw angle alpha 0.
- Reference yaw angle alpha 0 is the yaw angle alpha which is adjusted parallax image data in the external calibration processing factory.
- the second adjusting portion 104 in a predetermined range including a reference yaw angle alpha 0 by changing the yaw angle alpha of the second camera 30L, and calculates the minimum value of the difference between the scale of the reference scale and the three-dimensional data DG.
- the second adjustment unit 104 changes the yaw angle ⁇ (reference yaw angle ⁇ 0 ) stored in the storage unit 109 to the correct yaw angle ⁇ r. That is, the yaw angle ⁇ of the rotation matrix of the equation (3) is changed from the reference yaw angle ⁇ 0 to the correct yaw angle ⁇ r.
- the stereo measurement unit 102 performs stereo measurement based on the first image data MR, the second image data ML, and the external parameters including the correct yaw angle ⁇ r to generate parallax image data SG.
- yaw angle alpha is changed to correct the yaw angle ⁇ r from the reference yaw angle alpha 0, after the relative position of the first camera 30R and the second camera 30L is physically change, stored in the storage unit 109
- the external parameters are optimized for the first camera 30R and the second camera 30L after the relative position has physically changed. Therefore, after the relative position between the first camera 30R and the second camera 30L of the stereo camera 300 is physically changed, the scale of the three-dimensional data DG is the same scale as the actual construction site. That is, the shape of the three-dimensional data DG is the same shape as the actual construction site.
- FIG. 15 is a flowchart illustrating an example of the position measurement method according to the present embodiment.
- the first stereo camera 301 provided in the hydraulic excavator 1 photographs a distant view area that is the first area of the photographing target SB.
- the second stereo camera 302 provided in the excavator 1 captures a foreground area that is the second area of the imaging target SB.
- the image data acquisition unit 101 includes first image data MR1 and second image data ML1 captured by the first camera 30A and the second camera 30B of the first stereo camera 301, a third camera 30C of the second stereo camera 302, and The third image data MR2 and the fourth image data ML2 captured by the fourth camera 30D are acquired (step SP10).
- the first image data MR1 and the second image data ML1 photographed by the first stereo camera 301 include a distant view area of the photographing target SB.
- the third image data MR2 and the fourth image data ML2 captured by the second stereo camera 302 include a foreground area of the capturing target SB.
- the stereo measurement unit 102 performs stereo measurement based on the first image data MR1 and the second image data ML1 captured by the first stereo camera 301 and a plurality of parameters stored in the storage unit 109.
- the stereo measurement unit 102 performs stereo measurement and generates first parallax image data SG1 indicating a distant view area of the shooting target SB.
- the stereo measurement unit 102 performs stereo measurement based on the third image data MR2 and the fourth image data ML2 captured by the second stereo camera 302 and a plurality of parameters stored in the storage unit 109. To do.
- the stereo measurement unit 102 performs stereo measurement and generates second parallax image data SG2 indicating the foreground area of the shooting target SB (step SP20).
- FIG. 16 is a diagram schematically showing the first image data MR1 obtained by photographing the subject SB according to the present embodiment with the first camera 30A.
- the first stereo camera 301 captures a distant view area of the capturing target SB.
- the distant view area of the photographing target SB includes not only the ground as a construction target but also an object disposed at an infinite point with respect to the first stereo camera 301 such as the sky or a cloud floating in the sky.
- FIG. 17 is a diagram schematically illustrating an example of the first parallax image data SG1 generated based on the first image data MR1 and the second image data ML1 acquired by the first stereo camera 301 according to the present embodiment. is there.
- the parallax d between the first image data MR1 and the second image data ML1 of an object existing at an infinite point with respect to the first stereo camera 301 in the shooting target SB is zero. Therefore, the portion corresponding to the sky and clouds in the first parallax image data SG1 is displayed in black.
- external calibration processing of the first stereo camera 301 and the second stereo camera 302 is performed at the time of factory shipment.
- the stereo corresponding point search for the third image data MR2 and the fourth image data ML2 acquired by the second stereo camera 302 is successful, and the second parallax image data SG2
- the stereo rate is greater than or equal to the stereo threshold.
- the first stereo camera 301 at least one of the first camera 30A and the second camera 30B is displaced after the external calibration process, and the first image data MR1 and the second image data acquired by the first stereo camera 301 are shifted.
- the stereo corresponding point search for the image data ML1 fails, and the stereo rate of the first parallax image data SG1 is smaller than the stereo threshold.
- the stereo corresponding point search has failed in most of the pixels of the first parallax image data SG1, for example, as shown in FIG. 10, most of the parallax images are black areas.
- the first adjustment unit 103 changes at least some of the plurality of parameters defined for the first stereo camera 301 to adjust the stereo ratio of the first parallax image data SG1 to improve the stereo ratio. (Step SP30).
- adjusting the stereo ratio includes changing the pitch angle ⁇ .
- the first adjusting unit 103 uses the above-described method to improve the stereo ratio of the first parallax image data SG1 for which the search has failed for the most part, and the pitch angle ⁇ of the external parameter defined for the first stereo camera 301 is used. To change.
- the first adjustment unit 103 determines the correct pitch angle ⁇ r at which the stereo rate is the maximum or equal to or greater than the stereo threshold.
- the stereo measurement unit 102 performs stereo measurement of the first image data MR1 and the second image data ML1 using the correct pitch angle ⁇ r. Accordingly, first parallax image data SG1 with an improved stereo rate is generated, for example, as in the parallax image illustrated in FIG.
- the second adjustment unit 104 uses the correct pitch angle ⁇ r for the first stereo camera 301 to obtain the first three-dimensional data DG1 obtained from the first parallax image data SG1 having a maximum stereo ratio or a threshold value or more.
- the scale is adjusted (step SP40).
- adjusting the scale includes adjusting the yaw angle ⁇ .
- the second adjustment unit 104 changes the external parameter yaw angle ⁇ defined for the first stereo camera 301 so that the difference between the reference scale and the scale of the first three-dimensional data DG1 becomes small.
- the second adjustment unit 104 determines the correct yaw angle ⁇ r at which the difference between the reference scale and the scale of the first three-dimensional data DG1 is the minimum or less than the threshold value.
- the reference scale is the second three-dimensional data obtained from the second parallax image data SG2 generated based on the third image data MR2 and the fourth image data ML2 acquired from the second stereo camera 302.
- the second adjustment unit 104 includes a scale of the second three-dimensional data DG2 generated based on the third image data MR2 and the fourth image data ML2 captured by the second stereo camera 302, and the first stereo camera 301.
- the external parameter yaw stored in the storage unit 109 is reduced so that the difference from the scale of the first three-dimensional data DG1 generated based on the photographed first image data MR1 and second image data ML1 is reduced.
- the angle ⁇ reference yaw angle ⁇ 0
- the stereo rate of the second parallax image data SG2 is equal to or greater than the stereo threshold. Therefore, it can be considered that the relative positions of the third camera 30C and the fourth camera 30D of the second stereo camera 302 have not changed since the factory shipment.
- the external calibration process at the time of factory shipment not only the stereo ratio but also the scale is adjusted. That is, in the external calibration process, the relative positions of the pair of cameras 30 of the stereo camera 300 are adjusted so that the stereo rate is equal to or higher than the stereo threshold and the scale of the three-dimensional data DG is the correct value.
- the second adjustment unit 104 uses the scale of the second three-dimensional data DG2 as the reference scale.
- the first stereo camera 301 captures the distant view area of the subject SB.
- the second stereo camera 302 captures the foreground area of the subject SB.
- the first stereo camera 301 and the second stereo camera 302 photograph the photographing target SB so that the distant view area and a part of the foreground area overlap.
- the second adjustment unit 104 reduces the difference between the scale of the first three-dimensional data DG1 and the scale of the second three-dimensional data DG2 in the overlapping region of the far-field region and the foreground region of the shooting target SB. Change the external parameter yaw angle ⁇ .
- FIG. 18 is a diagram illustrating an example of the first three-dimensional data DG1 and the second three-dimensional data DG2 according to the present embodiment. As shown in FIG. 18, the display control unit 108 displays the first three-dimensional data DG1 and the second three-dimensional data DG2 generated by the stereo measurement unit 102.
- the first three-dimensional data DG1 is data indicating distances ZP from the first stereo camera 301 to each of a plurality of parts of the imaging target SB.
- the distance ZP is calculated for each of the plurality of pixels PXs of the first parallax image data SG1 based on the equation (1).
- the map data creation unit 107 creates 3D map data in the camera coordinate system based on the distance ZP calculated for each of the plurality of pixels PXs. By coordinate transformation of the three-dimensional data DG in the camera coordinate system, the three-dimensional data DG in the vehicle body coordinate system and the three-dimensional data DG in the global coordinate system are created.
- the first three-dimensional map data (elevation map data) is calculated by calculating the height of each mesh provided at a predetermined interval (x, y) using the three-dimensional data DG in the global coordinate system.
- DG1 is created.
- the three-dimensional data DG in the global coordinate system has three-dimensional data as many as the number of pixels, but the three-dimensional map data has only three-dimensional data for each predetermined mesh.
- the map data creation unit 107 creates the second 3D map data DG2 based on the second parallax image data SG2 by a creation method similar to the creation method of the 3D map data of the first parallax image data SG1.
- the three-dimensional data DG includes parallax image data SG, three-dimensional data such as a vehicle body coordinate system, and three-dimensional map data (elevation map data).
- the map data creating unit 107 overlaps the distant view area and the foreground area of the shooting target SB, that is, the overlap area between the first 3D map data DG1 and the second 3D map data DG2.
- the overlapping area data DA which is the data at, is created.
- the overlapping area data DA is the same as the first three-dimensional map data DG1 and the second three-dimensional map data DG2 in the Z-axis direction at the same position (mesh) or each corresponding position in the XY plane in the global coordinate system.
- the difference data is included.
- the map data creation unit 107 includes the height data (z) of the first three-dimensional map data DG1 and the height data (z) of the second three-dimensional map data DG2 at each position in the overlapping region. ) And the scale is adjusted so that the total sum of the overlapping areas of each difference is the minimum or less than or equal to the threshold value.
- the height data of the first three-dimensional map data DG1 and the second 3 The difference between the dimension map data DG2 and the height data is increased, that is, the total sum of the entire overlapping areas of the differences is also increased.
- the second adjustment unit 104 determines that the scale of the first three-dimensional data DG1 is the second value.
- the yaw angle ⁇ of the external parameter is adjusted so as to match the scale of the three-dimensional data DG2. Specifically, the second adjustment unit 104 overlaps the entire overlapping region of the first three-dimensional data DG1 obtained by photographing the distant view region of the photographing target SB and the second three-dimensional data DG2 obtained by photographing the close-up region of the photographing target SB.
- the yaw angle ⁇ of the external parameter is changed so that the sum of the difference between the height data of the first three-dimensional data DG1 and the height data of the second three-dimensional data DG2 becomes small.
- FIG. 19 is a schematic diagram for explaining an example of a scale adjustment method by the second adjustment unit 104 according to the present embodiment.
- the horizontal axis represents the external parameter yaw angle ⁇
- the vertical axis represents the difference between the height data of the first three-dimensional data DG1 and the height data of the second three-dimensional data DG2. The difference from the sum of
- the second adjustment unit 104 changes the yaw angle ⁇ by a predetermined angle within a predetermined range in the plus direction and the minus direction with reference to the reference yaw angle ⁇ 0 .
- the stereo measurement unit 102 calculates the difference between the height data of the first three-dimensional data DG1 and the sum of the differences between the height data of the second three-dimensional data DG2 every time the yaw angle ⁇ is changed. As shown in FIG. 19, the difference between the sum of the differences between the height data of the first three-dimensional data DG1 and the height data of the second three-dimensional data DG2 changes according to the change in the yaw angle ⁇ . .
- the second adjustment unit 104 obtains the minimum value of the difference between the height data of the first three-dimensional data DG1 and the sum of the differences between the height data of the second three-dimensional data DG2 within a predetermined range.
- the yaw angle ⁇ is determined to be the correct yaw angle ⁇ r.
- the method for determining the correct yaw angle ⁇ r may not be the method described above. If the difference between the height data of the first three-dimensional data DG1 and the sum of the differences between the height data of the second three-dimensional data DG2 is a yaw angle ⁇ that is equal to or less than a threshold value, an arbitrary yaw angle ⁇ is correct.
- the yaw angle ⁇ r may be used.
- the stereo measurement unit 102 uses the external parameters including the correct pitch angle ⁇ r and the correct yaw angle ⁇ r to use the first stereo.
- Stereo measurement of the first image data MR1 and the second image data ML1 taken by the camera 301 is performed.
- the first parallax image data SG1 and the first three-dimensional data DG1 having a stereo ratio equal to or higher than the stereo threshold and a scale of the correct value are generated (step SP50).
- step SP10 to step SP50 described above is performed at a predetermined sampling period.
- the stereo camera 300 is automatically calibrated so that the stereo ratio is improved and the scale becomes the correct value.
- the control device 100 changes the parameters defined for the first camera 30R and the second camera 30L, and performs arithmetic processing based on the changed parameters.
- Stereo ratio and scale can be adjusted.
- the stereo terrain 300 can measure the current terrain over a wide area.
- the scale by adjusting the scale, the three-dimensional data DG measured by the stereo camera 300 becomes highly accurate data with little difference or error from the actual current landform.
- the three-dimensional data DG and the parallax image data SG in which the stereo ratio and the scale are adjusted can be measured without performing a complicated recalibration process. Even if the relative position between the first camera 30R and the second camera 30L varies, the automatic calibration process is performed, so that a reduction in work efficiency of the hydraulic excavator 1 is suppressed.
- the second adjustment unit 104 uses the second three-dimensional data DG2 as a reference scale, and the scale of the first three-dimensional data DG1 in the overlapping region of the distant view region and the foreground region.
- the parameter is changed so that the difference from the scale of the second three-dimensional data DG2 becomes small. Thereby, the scale of the first three-dimensional data DG1 can be adjusted efficiently.
- the stereo ratio is improved by changing the pitch angle ⁇ of the external parameter.
- the stereo rate may be improved by changing the shift amount Tz, or the plurality of external parameters may be changed simultaneously.
- the scale is adjusted by changing the yaw angle ⁇ of the external parameter, but the pitch angle ⁇ or roll angle ⁇ , the shift amount Tx, the shift amount Ty, and the shift in the equation (3)
- the scale may be adjusted by changing the amount Tz, or the plurality of external parameters may be changed simultaneously.
- the scale of the first three-dimensional data DG1 generated based on the first stereo camera 301 using the second three-dimensional data DG2 generated based on the second stereo camera 302 as a reference scale It was decided to adjust.
- an example of adjusting the scale of the three-dimensional data DG using a reference object as a reference scale will be described. Also in this embodiment, processing for improving the stereo ratio may be performed in advance according to the above-described embodiment.
- FIG. 20 is a schematic diagram for explaining an example of the position measurement method according to the present embodiment.
- the target TG that is the reference object is arranged in the shooting area of the stereo camera 300.
- the target TG includes, for example, a plate member having a white surface and a reference mark drawn in black on the white surface of the plate member. There may be one or more reference marks. In the present embodiment, the reference mark is a circular mark. Note that the target TG may not have a reference mark.
- the target TG is arranged at a predetermined position whose position in the global coordinate system is known. That is, in this embodiment, the position data indicating the position of the target TG in the global coordinate system is known data.
- the position data of the target TG is input to the position data calculation unit 105.
- the position data calculation unit 105 can calculate the position data of the camera 30 in the global coordinate system.
- the position data calculation unit 105 calculates relative position data between the stereo camera 300 and the target TG in the global coordinate system.
- the position data calculation unit 105 calculates a reference distance ZF from the relative position data between the stereo camera 300 and the target TG in the global coordinate system.
- the second adjustment unit 104 changes the yaw angle ⁇ of the external parameter so that the difference between the reference scale and the scale of the three-dimensional data DG becomes small.
- the reference scale includes a reference distance ZF that is a distance between the stereo camera 300 and the target TG.
- the stereo camera 300 images the imaging target SB including the target TG.
- the stereo measurement unit 102 generates the parallax image data SG according to the above-described embodiment.
- the first adjustment unit 103 adjusts the stereo rate according to the above-described embodiment.
- the stereo measurement unit 102 obtains three-dimensional data DG based on the parallax image data SG.
- the parallax image data SG or the three-dimensional data DG includes a target TG.
- the stereo measurement unit 102 calculates a distance ZP from the stereo camera 300 to the target TG based on the parallax image data SG or the three-dimensional data DG.
- the determination of which pixel in the parallax image data SG or the three-dimensional data DG corresponds to the target TG is performed, for example, by determining the center of the reference mark by image processing. Note that any method may be used as long as a pixel corresponding to the target TG can be determined. For example, it may be determined from the shape of the target TG without using a reference mark, or data such as a pixel corresponding to the target TG may be specified using a predetermined input device.
- the second adjustment unit 104 reduces the difference between the reference distance ZF calculated by the position data calculation unit 105 and the distance ZP between the stereo camera 300 and the target TG in the parallax image data SG or the three-dimensional data DG. Change the external parameter yaw angle ⁇ .
- the scale of the three-dimensional data DG can be adjusted using the target TG whose absolute position is known.
- the relative positions of the first camera 30A and the second camera 30B of the first stereo camera 301 and the relative positions of the third camera 30C and the fourth camera 30D of the second stereo camera 302 both vary. Even if it has been done, the automatic calibration process of the first stereo camera 301 and the automatic calibration process of the second stereo camera 302 can be performed separately.
- the first adjustment unit 103 is the above-described embodiment. Accordingly, the adjustment process for improving the stereo ratio can be performed. After the stereo ratio is improved, the second adjustment unit 104 captures the first TG by the first stereo camera 301 with the improved stereo ratio, and the second adjustment unit 104 performs the first adjustment according to the scale adjustment method according to the present embodiment. The scale of the three-dimensional data DG1 can be adjusted. The same applies to the second stereo camera 302.
- the position measurement method according to the present embodiment can also be applied when the excavator 1 has only the first stereo camera 301.
- the process of adjusting the scale by the second adjustment unit 104 using the position measurement method according to the present embodiment without performing the process of improving the stereo ratio using the first adjustment unit 103. May be implemented.
- the scale can be adjusted even when the scale becomes inaccurate.
- the stereo camera 300 captures a reference object placed at an infinite point of the stereo camera 300, such as a cloud floating in the sky shown in FIG.
- Each of the first image data MR photographed by the first camera 30R and the second image data ML photographed by the second camera 30L includes image data of a reference object disposed at the infinity point of the stereo camera 300.
- the reference scale is the distance to the reference object at the infinity point measured in stereo by the stereo camera 300 whose scale is adjusted to the correct value, that is, includes infinity.
- FIG. 21 is a schematic diagram for explaining an example of the position measurement method according to the present embodiment.
- each measurement point P of the photographing target SB is projected when, for example, the photographing target SB with a large proportion of the object existing at the infinity point as illustrated in FIG. 17 is photographed by the stereo camera 300.
- It is a histogram figure which shows the relationship between the parallax d which arose in the pixel, and the frequency which is the result of accumulating the parallax d which arose in each pixel in the whole parallax image data SG.
- the horizontal axis indicates the parallax d
- the vertical axis indicates the frequency of the parallax d.
- a peak value ⁇ d of the frequency occurs in the parallax d corresponding to the point at infinity as shown in FIG.
- the frequency of the parallax d shows the peak value ⁇ d when the parallax d is zero.
- the frequency of the parallax d shows the peak value ⁇ d when the parallax d is not zero.
- the second adjustment unit 104 determines that the parallax d between the image data of the reference object (the infinity point in the present embodiment) in the first image data MR and the image data of the reference object in the second image data ML is the reference parallax d 0.
- the yaw angle ⁇ of the external parameter is changed so as to coincide with (zero in this embodiment). That is, when the peak of the parallax d when the reference object at the infinity point is photographed is not zero, the second adjustment unit 104 changes the yaw angle ⁇ of the external parameter so that the peak of the parallax d is zero. .
- FIG. 22 is a schematic diagram for explaining an example of a scale adjustment method by the second adjustment unit 104 according to the present embodiment.
- the horizontal axis indicates the external parameter yaw angle ⁇
- the vertical axis indicates the peak value ⁇ d of the parallax d when the measurement point P of the object existing at the infinity point is photographed, that is, FIG.
- the peak value ⁇ d of the parallax d indicates the peak of the frequency of the parallax d when the shooting target SB having a large proportion of the object existing at the infinity point as shown in FIG.
- the second adjustment unit 104 changes the yaw angle ⁇ by a predetermined angle within a predetermined range using the reference yaw angle ⁇ 0 as a reference.
- the stereo measurement unit 102 calculates a peak value at the frequency of the parallax d at each of the changed yaw angles ⁇ .
- the parallax d in each pixel of the parallax image data SG changes based on the change of the yaw angle ⁇ .
- the second adjustment unit 104 determines a yaw angle ⁇ at which the minimum value of the difference between the reference parallax d 0 and the parallax d is obtained in a predetermined range to correct yaw angle .alpha.r.
- the second adjustment unit 104 determines the yaw angle ⁇ whose peak value of the frequency of the parallax d at the changed yaw angle ⁇ is closest to zero as the correct yaw angle ⁇ r.
- the second adjusting portion 104 may determine the yaw angle ⁇ at which the difference between the reference parallax d 0 and the parallax d becomes equal to or less than the disparity threshold in a predetermined range to correct yaw angle .alpha.r.
- Parallax threshold is defined threshold for the difference between the reference parallax d 0 and the parallax d.
- the scale of the three-dimensional data DG can be adjusted using an object that exists at an infinite point. Also in the present embodiment, both the relative position between the first camera 30A and the second camera 30B of the first stereo camera 301 and the relative position between the third camera 30C and the fourth camera 30D of the second stereo camera 302 vary. Even if it has been done, the automatic calibration process of the first stereo camera 301 and the automatic calibration process of the second stereo camera 302 can be performed separately.
- the position measurement method according to the present embodiment can also be applied when the excavator 1 has only the first stereo camera 301.
- the process of adjusting the scale by the second adjustment unit 104 using the position measurement method according to the present embodiment without performing the process of improving the stereo ratio using the first adjustment unit 103. May be implemented.
- the scale can be adjusted even when the scale becomes inaccurate.
- the parameter changed by the first adjustment unit 103 and the second adjustment unit 104 is an external parameter that defines the relative position between the first camera MR and the second camera ML.
- the parameters changed by the first adjustment unit 103 and the second adjustment unit 104 are internal parameters of the first camera 30R and the second camera 30L will be described.
- the internal parameter defines unique data of each of the first camera 30R and the second camera 30L.
- the internal parameters include, for example, the focal length of the optical system of the camera 30, the amount of positional deviation between the optical center of the optical system of the camera 30 and the imaging surface of the image sensor, and the image center of the image sensor.
- the internal parameters include the position of the image sensor 31L of the second camera 30L with respect to the optical axis of the optical system of the second camera 30L in the direction parallel to the Xs axis and the Ys axis. That is, in the present embodiment, the internal parameter includes the position of the image center in the Xs axis direction and the Ys axis direction.
- the image sensor may move inside the camera 30 due to external factors.
- the position of the image sensor may fluctuate due to the influence of heat.
- the position of the image sensor fluctuates, the position of the image center indicating the intersection of the optical axis of the optical system of the camera 30 and the imaging surface of the image sensor fluctuates. If the position of the center of the image fluctuates, the stereo rate of the parallax image data SG may decrease, or the difference between the scale of the three-dimensional data DG and the correct value of the scale may increase.
- the first adjustment unit 103 adjusts the position of the image center in the Xs axis direction by changing the position of the image sensor 31L in the Xs axis direction as an internal parameter in order to adjust the stereo ratio.
- the second adjustment unit 104 adjusts the position of the image center in the Ys axis direction by changing the position of the image sensor 31L in the Ys axis direction as an internal parameter in order to adjust the scale.
- the unique data of the camera 30 is defined by the following equation (4) including the plurality of internal parameters described above.
- (X, Y, Z) indicates the position of the image center of the second camera 30L in the global coordinate system.
- s represents a distance or scale in the Zs axis direction in the camera coordinate system.
- u represents a position in the Xs-axis direction in the camera coordinate system.
- f indicates a focal length.
- su represents the pixel ratio in the Xs axis direction (ratio to the Ys axis direction).
- sv represents a pixel ratio in the Ys axis direction (ratio to the Xs axis direction) in the camera coordinate system.
- u 0 indicates the position of the image center of the second camera 30L in the Xs-axis direction in the camera coordinate system.
- v 0 indicates the position of the image center of the second camera 30L in the Ys-axis direction in the camera coordinate system.
- Expression (4) indicates the camera internal matrix defined by the yaw angle ⁇ , pitch angle ⁇ , roll angle ⁇ , position u 0 , and position v 0 regarding the second camera 30L, and the position and orientation of the second camera 30L.
- a camera external matrix defined by a plurality of parameters, and a translation vector defined by each of position X, position Y, and position Z in the global coordinate system.
- Equation (4) is obtained by calculating the position u 0 of the image center in the Xs axis direction and the position v 0 of the image center in the Ys axis direction in the camera coordinate system of the second camera 30L in the Xs axis direction in the camera coordinate system of the first camera 30R. It is a conversion formula for converting into the image center position u and the image center position v in the Ys-axis direction.
- the first adjustment unit 103 changes the position u 0 so that the stereo ratio is increased. Changing the position u 0 is similar to changing the pitch angle ⁇ described in the above embodiment.
- the storage unit 109 stores the reference position of the image sensor 31L in the Xs axis direction.
- the reference position of the image sensor 31L in the Xs axis direction includes the reference position of the image center of the second camera 30L in the Xs axis direction.
- the reference position in the Xs-axis direction is the position of the center of the image adjusted so that the stereo rate is equal to or higher than the stereo threshold value in the external calibration process at the time of shipment from the factory.
- the first adjustment unit 103 changes the position of the image sensor 31L within a predetermined range including the reference position in the Xs-axis direction, and calculates the maximum value of the stereo ratio.
- the second adjustment unit 104 changes the position v 0 so that the difference between the reference scale and the scale of the three-dimensional data DG becomes small. Changing the position v 0 is similar to changing the yaw angle ⁇ described in the above embodiment.
- the storage unit 109 stores the reference position of the image sensor 31L in the Ys axis direction.
- the reference position of the image sensor 31L in the Ys axis direction includes the reference position of the image center of the second camera 30L in the Ys axis direction.
- the reference position in the Ys-axis direction is the position of the center of the image adjusted so that the difference between the reference scale and the scale of the three-dimensional data DG is equal to or less than the scale threshold value in the external calibration process at the time of shipment from the factory.
- the second adjustment unit 104 changes the position of the image sensor 31L within a predetermined range including the reference position in the Ys-axis direction, and calculates the minimum value of the difference between the reference scale and the scale of the three-dimensional data DG.
- the first adjustment unit 103 and the second adjustment unit 104 improve the stereo ratio of the parallax image data SG by adjusting the internal parameters of the camera 30, and correct the scale of the three-dimensional data DG. Can approach.
- FIG. 23 is a diagram schematically illustrating an example of the position measurement system 500 according to the present embodiment.
- the control device 100 of the excavator 1 can perform data communication with a server 501 and a terminal device 503 that are provided at a remote location of the excavator 1 via a communication line 502.
- the server 501 includes a computer system.
- the terminal device 503 includes a personal computer or a portable terminal.
- the communication line 502 includes at least one of the Internet, a local area network (LAN), a mobile phone communication network, and a satellite communication network.
- the server 501 has a part or all of the functions of the control device 100. That is, the server 501 includes an image data acquisition unit 101, a stereo measurement unit 102, a first adjustment unit 103, a second adjustment unit 104, a position data calculation unit 105, a work machine position data calculation unit 106, a map data creation unit 107, a display At least one of the control unit 108, the storage unit 109, and the input / output unit 110 is included.
- Image data picked up by the camera 30 of the excavator 1, position data of the swing body 3 detected by the position detector 23, posture data of the swing body 3 detected by the posture detector 24, and detection by the direction detector 25 The orientation data of the swivel body 3 is supplied to the server 501 via the communication line 502.
- the server 501 when the server 501 includes the stereo measurement unit 102, the first adjustment unit 103, the second adjustment unit 104, and the storage unit 109, the server 501 captures an image captured by the camera 30 and supplied via the communication line 502. Based on the data, stereo measurement can be performed, the parameter can be changed so that the stereo ratio becomes large, or the parameter can be changed so that the scale becomes the correct value.
- the terminal device 503 may have a part or all of the functions of the control device 100. That is, the terminal device 503 includes an image data acquisition unit 101, a stereo measurement unit 102, a first adjustment unit 103, a second adjustment unit 104, a position data calculation unit 105, a work machine position data calculation unit 106, a map data creation unit 107, You may have at least one of the display control part 108, the memory
- the display device 26 controlled by the display control unit 108 may be provided in the excavator 1, connected to the server 501, or connected to the terminal device 503. .
- the scale of the three-dimensional data DG is adjusted using the target TG.
- an example of adjusting the scale of the three-dimensional data DG using the work machine 2 as a reference scale will be described.
- a process for improving the stereo ratio is performed according to the above-described embodiment.
- FIG. 24 is a schematic diagram for explaining an example of the position measurement method according to the present embodiment.
- the cutting edge 8BT of the bucket 8 which is a reference object is arranged in the imaging region of the stereo camera 300.
- the blade edge 8BT is arranged in the imaging region of the stereo camera 300 in a state where the posture of the work machine 2 is adjusted so that the distance between the stereo camera 300 and the blade edge 8BT in the Xm-axis direction is the longest.
- the work machine position data calculation unit 106 can calculate the position of the cutting edge 8BT of the bucket 8 in the global coordinate system.
- the position data calculation unit 105 can calculate the position data of the camera 30 in the global coordinate system.
- the position data calculation unit 105 calculates relative position data between the stereo camera 300 and the blade edge 8BT in the global coordinate system.
- the second adjustment unit 104 changes the yaw angle ⁇ of the external parameter so that the difference between the reference scale and the scale of the three-dimensional data DG becomes small.
- the reference scale includes a reference distance ZF that is a distance between the stereo camera 300 and the cutting edge 8BT.
- the working machine 2 can be used to adjust the scale of the three-dimensional data DG.
- a working machine of a hydraulic excavator different from the hydraulic excavator 1 may be used as a reference scale. If another hydraulic excavator has the work machine angle detector 22, the position detector 23, the attitude detector 24, the azimuth detector 25, and the control device 100 as in the hydraulic excavator 1 according to the present embodiment. Another hydraulic excavator can obtain the absolute position of the blade edge of the bucket of another hydraulic excavator work machine. The absolute position data indicating the absolute position of the blade edge of the other hydraulic excavator is transmitted to the hydraulic excavator 1 according to the present embodiment via the communication device, so that the hydraulic excavator 1 is different from the stereo camera 300. The relative position data with respect to the blade edge can be acquired.
- the hydraulic excavator 1 is provided with four cameras 30 and two stereo cameras 300 has been described. It is sufficient that at least two cameras 30 are provided in the excavator 1. In the second embodiment and the third embodiment described above, at least one stereo camera 300 may be provided.
- the stereo rate indicates a ratio of pixels in which stereo measurement is successful among a plurality of pixels of the parallax image data SG to be stereo-measured.
- the stereo rate may have other definitions.
- the stereo rate may indicate the total number of pixels in which stereo measurement is successful among a plurality of pixels of parallax image data that is stereo-measured.
- the scale is changed by adjusting the yaw angle or the like, that is, adjusting the parallax d, as the scale adjustment of the three-dimensional data.
- the scale may be changed by adjusting, for example, b (inter-camera distance) or f (focal length) in Equation 1.
- the work machine 1 is a hydraulic excavator.
- the work machine 1 may be a work machine capable of constructing a construction target, and may be a drilling machine capable of excavating the construction target and a transport machine capable of transporting earth and sand.
- the work machine 1 may be a wheel loader, a bulldozer, or a dump truck, for example.
- SYMBOLS 1 Hydraulic excavator (work machine), 1B ... Vehicle body, 2 ... Working machine, 3 ... Turning body, 4 ... Driver's cab, 4S ... Driver's seat, 5 ... Running body, 5A ... Track, 5B ... Track, 6 ... Boom, DESCRIPTION OF SYMBOLS 7 ... Arm, 8 ... Bucket, 8BT ... Cutting edge, 10 ... Boom cylinder, 11 ... Arm cylinder, 12 ... Bucket cylinder, 13 ... Boom pin, 14 ... Arm pin, 15 ... Bucket pin, 16 ... Boom stroke sensor, 17 ... Arm stroke Sensor, 18 ... Bucket stroke sensor, 20 ... Detection system, 21 ...
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Civil Engineering (AREA)
- Structural Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Mining & Mineral Resources (AREA)
- Electromagnetism (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Measurement Of Optical Distance (AREA)
- Operation Control Of Excavators (AREA)
- Component Parts Of Construction Machinery (AREA)
Abstract
Description
[作業機械]
図1は、本実施形態に係る作業機械1の一例を示す斜視図である。本実施形態においては、作業機械1が油圧ショベルである例について説明する。以下の説明においては、作業機械1を適宜、油圧ショベル1、と称する。
次に、本実施形態に係るステレオカメラ300について説明する。図2は、本実施形態に係るステレオカメラ300の一例を示す斜視図である。図2に示すように、油圧ショベル1は、ステレオカメラ300を有する。ステレオカメラ300とは、撮影対象SBを複数の異なる方向から同時に撮影することにより、撮影対象SBの奥行き方向のデータも取得可能なカメラをいう。
次に、本実施形態に係る油圧ショベル1の検出システム20について説明する。図3は、本実施形態に係る検出システム20の一例を模式的に示す図である。図3に示すように、検出システム20は、作業機2の角度を検出する作業機角度検出器22と、旋回体3の位置を検出する位置検出器23と、旋回体3の姿勢を検出する姿勢検出器24と、旋回体3の方位を検出する方位検出器25とを有する。
次に、本実施形態に係る位置計測システム50について説明する。図4は、本実施形態に係る位置計測システム50の一例を示す機能ブロック図である。本実施形態において、位置計測システム50は、油圧ショベル1に設けられる。
次に、ステレオ計測について説明する。図5は、本実施形態に係るステレオ計測方法の一例を説明するための模式図である。ステレオ計測は、画像データ取得部101で取得された画像データMR(MR1,MR2)と画像データML(ML1,ML2)とをステレオ方式で画像処理して、撮影対象の3次元データDGを算出する処理である。
ステレオ計測部102は、第1画像データMR及び第2画像データMLをステレオ方式で画像処理して、撮影対象SBの3次元データDGを算出する。ステレオ計測部102は、三角測量の原理に基づいて、ステレオカメラ300のベースラインBLから撮影対象SBの計測点Pまでの距離ZPを算出する。
図7及び図8は、本実施形態に係る第1カメラ30Rによって撮影された第1画像データMR及び第2カメラ30Lによって撮影された第2画像データMLの一例を模式的に示す図である。
次に、ステレオ率について説明する。ステレオ率とは、例えばステレオ計測部102で生成された視差画像データSGの複数の画素PXsのうちステレオ計測が成功した画素PXsの割合をいう。ステレオ計測が成功した画素PXsとは、注目画素PXrについてステレオ対応点検索した結果、対応画素PXlの探索に成功し、その注目画素PXrと探索成功した対応画素PXlとに基づいて生成された画素PXsをいう。
次に、記憶部109に記憶される第1カメラ30Rと第2カメラ30Lとの相対位置を規定するパラメータについて説明する。以下の説明においては、第1カメラ30Rが基準カメラであり、第2カメラ30Lが参照カメラであることとする。
次に、本実施形態に係るステレオ率の調整について説明する。第1調整部103は、外部パラメータを調整して、ステレオ率の調整処理を実施する。
次に、本実施形態に係るステレオ率の調整について説明する。第2調整部104は、外部パラメータを調整して、3次元データDGのスケールの調整処理を実施する。
次に、本実施形態に係る位置計測方法について説明する。図15は、本実施形態に係る位置計測方法の一例を示すフローチャートである。
以上説明したように、本実施形態によれば、制御装置100は、第1カメラ30R及び第2カメラ30Lについて規定されているパラメータを変更し、変更されたパラメータに基づいて演算処理を実施して、ステレオ率及びスケールを調整することができる。ステレオ率を向上させることにより、ステレオカメラ300によって広範囲に現況地形を計測することができる。また、スケールを調整することにより、ステレオカメラ300によって計測された3次元データDGは、実際の現況地形との差分または誤差が少ない高精度なデータになる。これにより、外部較正処理の後、第1カメラ30Rと第2カメラ30Lとの相対位置が変動してしまっても、制御装置100は、記憶部109に記憶されているパラメータを変更するだけで、煩雑な再較正処理を実施することなく、ステレオ率及びスケールが調整された3次元データDG及び視差画像データSGを計測することができる。第1カメラ30Rと第2カメラ30Lとの相対位置が変動してしまっても、自動較正処理が実施されることにより、油圧ショベル1の作業効率の低下が抑制される。
第2実施形態について説明する。以下の説明において、上述の実施形態と同一又は同等の構成要素については同一の符号を付し、その説明を簡略又は省略する。
第3実施形態について説明する。以下の説明において、上述の実施形態と同一又は同等の構成要素については同一の符号を付し、その説明を簡略又は省略する。
第4実施形態について説明する。以下の説明において、上述の実施形態と同一又は同等の構成要素については同一の符号を付し、その説明を簡略又は省略する。
第5実施形態について説明する。以下の説明において、上述の実施形態と同一又は同等の構成要素については同一の符号を付し、その説明を簡略又は省略する。
第6実施形態について説明する。以下の説明において、上述の実施形態と同一又は同等の構成要素については同一の符号を付し、その説明を簡略又は省略する。
Claims (11)
- 作業機械に設けられた第1ステレオカメラの第1カメラで撮影された第1画像データ及び前記第1ステレオカメラの第2カメラで撮影された第2画像データを取得する画像データ取得部と、
前記第1画像データと、前記第2画像データと、前記第1カメラ及び前記第2カメラに関するパラメータとに基づいて、ステレオ計測を実施するステレオ計測部と、
前記パラメータの少なくとも一部を変更して、ステレオ計測された第1視差画像データのステレオ率を調整する第1調整部と、
前記パラメータの少なくとも一部を変更して、前記第1視差画像データから求められる第1の3次元データのスケールを調整する第2調整部と、
を備える位置計測システム。 - 前記第2調整部は、前記第1視差画像データの視差を調整して、前記第1の3次元データのスケールを調整する、
請求項1に記載の位置計測システム。 - 前記パラメータは、前記第1カメラと前記第2カメラとの相対位置を規定する外部パラメータを含み、
前記外部パラメータは、前記第2カメラのピッチ角を含み、
前記第1調整部は、前記ピッチ角を変更する、
請求項1又は請求項2に記載の位置計測システム。 - 前記パラメータは、前記第1カメラと前記第2カメラとの相対位置を規定する外部パラメータを含み、
前記外部パラメータは、前記第2カメラのヨー角を含み、
前記第2調整部は、前記ヨー角を変更する、
請求項1から請求項3のいずれか一項に記載の位置計測システム。 - 第3カメラ及び第4カメラからなる第2ステレオカメラをさらに備え、
前記第2調整部は、前記第3カメラから取得された第3画像データ及び前記第4カメラから取得された第4画像データに基づいて生成された第2の3次元データのスケールと前記第1の3次元データのスケールとの差が小さくなるように、前記第1の3次元データのスケールを調整する、
請求項1から請求項4のいずれか一項に記載の位置計測システム。 - 前記第2調整部は、前記第1ステレオカメラの位置データと基準物体の位置データとに基づいて算出される前記第1ステレオカメラと基準物体との基準距離と、前記第1の3次元データにおける前記第1ステレオカメラと前記基準物体との距離との差が小さくなるように、前記パラメータを変更する、
請求項1から請求項4のいずれか一項に記載の位置計測システム。 - 前記第1画像データ及び前記第2画像データのそれぞれは、前記第1ステレオカメラの無限遠点に配置された基準物体の画像データを含み、
前記第2調整部は、前記第1画像データ及び前記第2画像データに基づき計測された第1視差画像データにおける視差のピークがゼロとなるように、前記パラメータを変更する、
請求項1から請求項4のいずれか一項に記載の位置計測システム。 - 作業機械に設けられたステレオカメラの第1カメラで撮影された第1画像データ及び前記ステレオカメラの第2カメラで撮影された第2画像データを取得する画像データ取得部と、
前記第1画像データと、前記第2画像データと、前記第1カメラ及び前記第2カメラに関するパラメータとに基づいて、ステレオ計測を実施するステレオ計測部と、
前記ステレオカメラの絶対位置データと基準物体の絶対位置データとに基づいて算出される前記ステレオカメラと前記基準物体との基準距離と、前記ステレオ計測部で生成された視差画像データにおける前記ステレオカメラと前記基準物体との距離との差が小さくなるように、前記パラメータの少なくとも一部を変更する第2調整部と、
を備える位置計測システム。 - 作業機械に設けられたステレオカメラの第1カメラで撮影された前記ステレオカメラの無限遠点に配置された基準物体を含む第1画像データ及び前記ステレオカメラの第2カメラで撮影された前記基準物体を含む第2画像データを取得する画像データ取得部と、
前記第1画像データと、前記第2画像データと、前記第1カメラ及び前記第2カメラに関するパラメータとに基づいて、ステレオ計測を実施するステレオ計測部と、
前記第1画像データ及び前記第2画像データに基づき計測された第1視差画像データにおける視差のピークがゼロとなるように、前記パラメータの少なくとも一部を変更する第2調整部と、
を備える位置計測システム。 - 請求項1から請求項9のいずれか一項に記載の位置計測システムを備える作業機械。
- 作業機械に設けられた第1ステレオカメラの第1カメラで撮影された第1画像データ及び前記第1ステレオカメラの第2カメラで撮影された第2画像データを取得することと、
前記第1画像データと、前記第2画像データと、前記第1カメラ及び前記第2カメラに関するパラメータとに基づいて、ステレオ計測を実施することと、
前記パラメータの少なくとも一部を変更して、ステレオ計測された第1視差画像データのステレオ率を調整することと、
前記パラメータの少なくとも一部を変更して、前記第1視差画像データから求められる3次元データのスケールを調整することと、
を含む位置計測方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020187018968A KR102076631B1 (ko) | 2017-02-09 | 2018-02-07 | 위치 계측 시스템, 작업 기계, 및 위치 계측 방법 |
US16/069,560 US11120577B2 (en) | 2017-02-09 | 2018-02-07 | Position measurement system, work machine, and position measurement method |
DE112018000007.9T DE112018000007T5 (de) | 2017-02-09 | 2018-02-07 | Positionsmesssystem, Arbeitsmaschine und Positionsmessverfahren |
CN201880000776.XA CN108700402B (zh) | 2017-02-09 | 2018-02-07 | 位置测量系统、作业机械及位置测量方法 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017-022570 | 2017-02-09 | ||
JP2017022570A JP6925816B2 (ja) | 2017-02-09 | 2017-02-09 | 位置計測システム、作業機械、及び位置計測方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018147340A1 true WO2018147340A1 (ja) | 2018-08-16 |
Family
ID=63107538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2018/004257 WO2018147340A1 (ja) | 2017-02-09 | 2018-02-07 | 位置計測システム、作業機械、及び位置計測方法 |
Country Status (6)
Country | Link |
---|---|
US (1) | US11120577B2 (ja) |
JP (1) | JP6925816B2 (ja) |
KR (1) | KR102076631B1 (ja) |
CN (1) | CN108700402B (ja) |
DE (1) | DE112018000007T5 (ja) |
WO (1) | WO2018147340A1 (ja) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113280736A (zh) * | 2021-06-10 | 2021-08-20 | 雷沃工程机械集团有限公司 | 一种装载机铲斗位置检测方法及设备 |
US20220002970A1 (en) * | 2019-03-27 | 2022-01-06 | Sumitomo Construction Machinery Co., Ltd. | Excavator |
US11906641B2 (en) | 2018-09-21 | 2024-02-20 | Hitachi Construction Machinery Co., Ltd. | Work machine |
WO2024101392A1 (ja) * | 2022-11-11 | 2024-05-16 | 株式会社小松製作所 | 作業機械の校正システム及び作業機械の校正方法 |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7108985B2 (ja) * | 2018-08-24 | 2022-07-29 | キヤノン株式会社 | 画像処理装置、画像処理方法、プログラム |
KR102596053B1 (ko) * | 2018-08-27 | 2023-11-01 | 엘지이노텍 주식회사 | 영상 처리 장치 및 영상 처리 방법 |
JP7427370B2 (ja) * | 2019-05-17 | 2024-02-05 | キヤノン株式会社 | 撮像装置、画像処理装置、画像処理方法、撮像装置の校正方法、ロボット装置、ロボット装置を用いた物品の製造方法、制御プログラムおよび記録媒体 |
JP6697150B1 (ja) * | 2019-10-30 | 2020-05-20 | 株式会社Qoncept | 軌道算出装置、軌道算出方法、軌道算出プログラム |
JP7516068B2 (ja) * | 2020-02-21 | 2024-07-16 | 株式会社小松製作所 | 作業機械の遠隔操作システム |
JP7354972B2 (ja) * | 2020-09-16 | 2023-10-03 | コベルコ建機株式会社 | 操作室内のカメラ設置構造 |
US20220292801A1 (en) * | 2021-03-15 | 2022-09-15 | Plantronics, Inc. | Formatting Views of Whiteboards in Conjunction with Presenters |
KR20220139031A (ko) * | 2021-04-07 | 2022-10-14 | 현대두산인프라코어(주) | 건설기계의 제어 시스템 및 작업 가이드 라인 제공 방법 |
US11669956B2 (en) * | 2021-06-01 | 2023-06-06 | Caterpillar Inc. | Ground engaging tool wear and loss detection system and method |
CN114363805B (zh) * | 2021-12-29 | 2024-04-30 | 北京红山信息科技研究院有限公司 | 一种纠正背向点的三角定位改进方法 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09133525A (ja) * | 1995-11-10 | 1997-05-20 | Nippon Soken Inc | 距離計測装置 |
JPH10341458A (ja) * | 1997-06-10 | 1998-12-22 | Toyota Motor Corp | 車載ステレオカメラの校正方法、および、その方法を適用した車載ステレオカメラ |
JP2008045983A (ja) * | 2006-08-15 | 2008-02-28 | Fujifilm Corp | ステレオカメラの調整装置 |
US20080162004A1 (en) * | 2006-12-27 | 2008-07-03 | Price Robert J | Machine control system and method |
WO2009119229A1 (ja) * | 2008-03-26 | 2009-10-01 | コニカミノルタホールディングス株式会社 | 3次元撮像装置及び3次元撮像装置の校正方法 |
JP2014215039A (ja) * | 2013-04-22 | 2014-11-17 | 日立建機株式会社 | 建設機械 |
WO2016013691A1 (ja) * | 2015-10-15 | 2016-01-28 | 株式会社小松製作所 | 位置計測システム及び位置計測方法 |
WO2016047808A1 (ja) * | 2015-09-30 | 2016-03-31 | 株式会社小松製作所 | 撮像装置の校正システム、作業機械及び撮像装置の校正方法 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05288516A (ja) | 1992-04-07 | 1993-11-02 | Honda Motor Co Ltd | 非接触式位置検出装置 |
JP3827480B2 (ja) | 1999-08-13 | 2006-09-27 | 日立建機株式会社 | 自動運転建設機械およびその位置計測手段の校正方法 |
CN101577795A (zh) | 2009-06-17 | 2009-11-11 | 深圳华为通信技术有限公司 | 一种实现全景图像的实时预览的方法和装置 |
JP2011223482A (ja) | 2010-04-14 | 2011-11-04 | Sony Corp | 画像処理装置、画像処理方法、およびプログラム |
JP2012233353A (ja) | 2011-05-02 | 2012-11-29 | Komatsu Ltd | 油圧ショベルの較正システム及び油圧ショベルの較正方法 |
JP6060525B2 (ja) | 2012-05-31 | 2017-01-18 | 株式会社ニデック | 眼底検査装置 |
US9142063B2 (en) * | 2013-02-15 | 2015-09-22 | Caterpillar Inc. | Positioning system utilizing enhanced perception-based localization |
DE102014208068A1 (de) * | 2014-04-29 | 2015-10-29 | Deere & Company | Erntemaschine mit sensorbasierter Einstellung eines Arbeitsparameters |
CN104093013B (zh) * | 2014-06-25 | 2016-05-11 | 中国科学院遥感与数字地球研究所 | 一种立体视觉三维可视化系统中自动调节图像视差的方法 |
US20160137125A1 (en) * | 2014-11-17 | 2016-05-19 | Caterpillar Inc. | Imaging system using virtual projection geometry |
JP6552192B2 (ja) * | 2014-12-18 | 2019-07-31 | 京セラ株式会社 | ステレオカメラ装置、移動体、制御方法及び較正装置 |
JP6515650B2 (ja) * | 2015-04-14 | 2019-05-22 | 国立大学法人東京工業大学 | 校正装置、距離計測装置及び校正方法 |
US9790666B2 (en) | 2015-09-30 | 2017-10-17 | Komatsu Ltd. | Calibration system, work machine, and calibration method |
-
2017
- 2017-02-09 JP JP2017022570A patent/JP6925816B2/ja active Active
-
2018
- 2018-02-07 WO PCT/JP2018/004257 patent/WO2018147340A1/ja active Application Filing
- 2018-02-07 US US16/069,560 patent/US11120577B2/en active Active
- 2018-02-07 DE DE112018000007.9T patent/DE112018000007T5/de not_active Withdrawn
- 2018-02-07 KR KR1020187018968A patent/KR102076631B1/ko active IP Right Grant
- 2018-02-07 CN CN201880000776.XA patent/CN108700402B/zh active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09133525A (ja) * | 1995-11-10 | 1997-05-20 | Nippon Soken Inc | 距離計測装置 |
JPH10341458A (ja) * | 1997-06-10 | 1998-12-22 | Toyota Motor Corp | 車載ステレオカメラの校正方法、および、その方法を適用した車載ステレオカメラ |
JP2008045983A (ja) * | 2006-08-15 | 2008-02-28 | Fujifilm Corp | ステレオカメラの調整装置 |
US20080162004A1 (en) * | 2006-12-27 | 2008-07-03 | Price Robert J | Machine control system and method |
WO2009119229A1 (ja) * | 2008-03-26 | 2009-10-01 | コニカミノルタホールディングス株式会社 | 3次元撮像装置及び3次元撮像装置の校正方法 |
JP2014215039A (ja) * | 2013-04-22 | 2014-11-17 | 日立建機株式会社 | 建設機械 |
WO2016047808A1 (ja) * | 2015-09-30 | 2016-03-31 | 株式会社小松製作所 | 撮像装置の校正システム、作業機械及び撮像装置の校正方法 |
WO2016013691A1 (ja) * | 2015-10-15 | 2016-01-28 | 株式会社小松製作所 | 位置計測システム及び位置計測方法 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11906641B2 (en) | 2018-09-21 | 2024-02-20 | Hitachi Construction Machinery Co., Ltd. | Work machine |
US20220002970A1 (en) * | 2019-03-27 | 2022-01-06 | Sumitomo Construction Machinery Co., Ltd. | Excavator |
CN113280736A (zh) * | 2021-06-10 | 2021-08-20 | 雷沃工程机械集团有限公司 | 一种装载机铲斗位置检测方法及设备 |
CN113280736B (zh) * | 2021-06-10 | 2022-07-22 | 雷沃工程机械集团有限公司 | 一种装载机铲斗位置检测方法及设备 |
WO2024101392A1 (ja) * | 2022-11-11 | 2024-05-16 | 株式会社小松製作所 | 作業機械の校正システム及び作業機械の校正方法 |
Also Published As
Publication number | Publication date |
---|---|
US11120577B2 (en) | 2021-09-14 |
KR102076631B1 (ko) | 2020-02-12 |
CN108700402A (zh) | 2018-10-23 |
KR20180103868A (ko) | 2018-09-19 |
JP2018128397A (ja) | 2018-08-16 |
US20210209799A1 (en) | 2021-07-08 |
DE112018000007T5 (de) | 2018-09-27 |
JP6925816B2 (ja) | 2021-08-25 |
CN108700402B (zh) | 2021-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102076631B1 (ko) | 위치 계측 시스템, 작업 기계, 및 위치 계측 방법 | |
JP6777375B2 (ja) | 作業機械の画像表示システム、作業機械の遠隔操作システム及び作業機械 | |
KR101815269B1 (ko) | 위치 계측 시스템 및 위치 계측 방법 | |
CN109661494B (zh) | 作业机械的检测处理装置及作业机械的检测处理方法 | |
KR102089454B1 (ko) | 계측 시스템, 작업 기계 및 계측 방법 | |
JP6898816B2 (ja) | 表示システム、表示方法、及び表示装置 | |
JP2020197431A (ja) | マップ生成システム及びマップ生成方法 | |
WO2017119517A1 (ja) | 作業機械の制御システム、作業機械及び作業機械の制御方法 | |
KR102248026B1 (ko) | 작업 기계의 계측 시스템, 작업 기계, 및 작업 기계의 계측 방법 | |
US20220316188A1 (en) | Display system, remote operation system, and display method | |
JP2022164713A (ja) | 作業機械の画像表示システム及び作業機械の画像表示方法 | |
WO2018026019A1 (ja) | 施工管理システム | |
JP6895350B2 (ja) | 作業機械の計測システム及び作業機械 | |
JP2018112051A (ja) | 作業機械の制御システム、作業機械、作業機械の制御方法及びナビゲーションコントローラ | |
JP2019183636A (ja) | 作業機械の制御システム、作業機械、作業機械の制御方法及びナビゲーションコントローラ | |
WO2019049527A1 (ja) | 作業機械の計測システム、作業機械、及び作業機械の計測方法 | |
WO2023282203A1 (ja) | 作業機械の制御システム、作業機械、及び作業機械の制御方法 | |
WO2023282204A1 (ja) | 作業機械の制御システム、作業機械、及び作業機械の制御方法 | |
JP7065002B2 (ja) | 作業機械 | |
JP2020197045A (ja) | 表示システムおよび表示方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 20187018968 Country of ref document: KR Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 112018000007 Country of ref document: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18751153 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18751153 Country of ref document: EP Kind code of ref document: A1 |