CN109029458A - A kind of method and system of binocular visual positioning - Google Patents

A kind of method and system of binocular visual positioning Download PDF

Info

Publication number
CN109029458A
CN109029458A CN201810799415.8A CN201810799415A CN109029458A CN 109029458 A CN109029458 A CN 109029458A CN 201810799415 A CN201810799415 A CN 201810799415A CN 109029458 A CN109029458 A CN 109029458A
Authority
CN
China
Prior art keywords
light source
binocular
positioning
image sensor
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810799415.8A
Other languages
Chinese (zh)
Other versions
CN109029458B (en
Inventor
王建辉
孙森震
张剑
栗寒璐
于宏毅
许坤
逯志宇
王占国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Letter Of Fusion Innovation Research Institute
Information Engineering University of PLA Strategic Support Force
Original Assignee
Dongguan Letter Of Fusion Innovation Research Institute
Information Engineering University of PLA Strategic Support Force
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Letter Of Fusion Innovation Research Institute, Information Engineering University of PLA Strategic Support Force filed Critical Dongguan Letter Of Fusion Innovation Research Institute
Priority to CN201810799415.8A priority Critical patent/CN109029458B/en
Publication of CN109029458A publication Critical patent/CN109029458A/en
Application granted granted Critical
Publication of CN109029458B publication Critical patent/CN109029458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/206Instruments for performing navigational calculations specially adapted for indoor navigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/16Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using electromagnetic waves other than radio waves

Landscapes

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

Abstract

The present invention relates to technical field of photo communication, specifically disclose a kind of method and system of binocular visual positioning, and method includes: the world locations for configuring light source, the world locations where making light source scintillation and broadcasting;Positioning device is set to receive the world locations of light source broadcast;Light source is imaged from positioning device both ends, attitude angle when record is imaged;The center of hot spot, and the position using spot center as light source in the picture are corresponded to using light source in image clustering method fitting image;Origin using the intermediate point of left and right ends imaging position as binocular imaging coordinate system calculates position and corresponding vector of the light source center point in binocular imaging coordinate system according to Binocular Vision Principle;Space Rotating transformation is carried out to vector according to attitude angle, and calculates the world coordinates of positioning device.The present invention needs not move through excessive layout and is able to achieve indoor centimeter-level positioning, convenient and efficient easy to accomplish and at low cost, and precision is high.

Description

A kind of method and system of binocular visual positioning
Technical field
The present invention relates to technical field of photo communication, specifically disclose a kind of method and system of binocular visual positioning.
Background technique
Nowadays, outdoor positioning technology GPS and Beidou positioning are able to satisfy daily demand substantially, but arrive GPS and Beidou behind interior Positioning can not then realize positioning well.Currently, main problem existing for existing indoor positioning scheme has in the market:
(1) deployment cost is high.Existing indoor locating system majority needs to lay base station, and anti-interference ability again Difference, validity and practicability be not high.Such as ultra wideband location techniques, although positioning accuracy is higher, early investment cost is too high, It is unfavorable for popularizing, promotes.
(2) positioning accuracy is low.Different application scene is different to required precision, and the positioning system of higher precision has more extensively Wealthy application prospect.And wireless location common at present, as common WIFI positioning, probably can only obtain 5 mostly all in meter level ~10 meters of precision is unable to satisfy high accuracy positioning demand.
(3) coverage area is narrow.The positioning of existing infrared and ultrasonic wave all suffers from the narrow problem of coverage area, ultrasonic wave Decay in transmission process obvious, infrared positioning is easy to be obstructed by wall or object, and practicability is lower.
Therefore, it is necessary to a kind of method and devices that can solve the above problem.
Summary of the invention
In order to overcome shortcoming and defect existing in the prior art, it is fixed that the purpose of the present invention is to provide a kind of binocular visions The method and system of position.
To achieve the above object, the present invention uses following scheme.
A kind of method of binocular visual positioning, including
The world locations P (X, Y, Z) for configuring light source, the world locations P (X, Y, Z) where making light source scintillation and broadcasting;
Positioning device is set to receive the world locations P (X, Y, Z) of light source broadcast;
Light source is imaged from positioning device left and right ends respectively, the attitude angle (α, β, θ) when record is imaged, wherein α For pitch angle, β is roll angle, and θ is magnetic azimuth;
It is fitted the center that light source in both ends of the image corresponds to hot spot respectively using image clustering method, and using spot center as light The position of source in the picture;Wherein calculating position of the light source in the image of left end is (lx, ly), and light source is in right end image Position is (rx, ry);
Origin d (0,0,0) using the intermediate point of left and right ends imaging position as binocular imaging coordinate system, by (lx, ly) (rx, ry) calculates position l (x, y, z) and l of the light source center point in binocular imaging coordinate system according to Binocular Vision Principle (x, y, z) corresponding vector
According to attitude angle (α, β, θ) to vectorSpace Rotating transformation is carried out, and is calculated with P (X, Y, Z) for reference point The world coordinates D (X, Y, Z) of positioning device.
Further, the world coordinates D (X, Y, Z) for calculating positioning device, comprising:
Further, the center that hot spot is corresponded to using light source in image clustering method fitting image, comprising:
The area Sc that light source in image corresponds to the profile C of hot spot is obtained using image clustering method, perimeter L c and profile are being schemed As upper sequence coordinate point;
The mass center O of spot area is calculated using the sequence coordinate point of light spot profile C1
It is fitted the external ellipse of hot spot, and obtains the external elliptical center O of hot spot2
By the mass center O of spot area1With the external elliptical center O of hot spot2It is weighted and averaged acquisition spot center,
α=4* π * Sc/Lc2
Wherein, α is the circularity of light spot profile, α ∈ (0.4,1.0).
Further, the communication with the outside world by the way of WIFI or cable.
A kind of system of binocular visual positioning, comprising:
Light source, for configuring the world locations P (X, Y, Z) where it, and it is as a reference point;
Light source control module is electrically connected with light source, for control light source scintillation and where broadcasting world locations P (X, Y,Z);
Positioning device, for receiving light source scintillation signal and parsing the world locations P (X, Y, Z) where light source;It is described Positioning device includes optic communication receiving module, and optic communication receiving module is equipped with light-sensitive element PD;
Binocular image sensor, for light source to be imaged;The binocular image sensor includes left image sensor With right image sensor, the left image sensor is set to positioning device left end, and the right image sensor is set to positioning device Right end;
Attitude transducer, the attitude angle (α, β, θ) when for recording left image sensor and the imaging of right image sensor;
Positioning calculation module is electrically connected with optic communication receiving module, binocular image sensor and attitude transducer respectively, For calculating the world coordinates D (X, Y, Z) of positioning device.
Further, the binocular image sensor is communicated by serial ports with positioning calculation module.
Further, the camera of the left image sensor and right image sensor is that the USB of 5,000,000 pixels is imaged Head;The attitude transducer is nine number of axle word attitude transducers.
Further, the system of the binocular visual positioning is equipped with connects for the WIFI module or cable of communication with the outside world Mouthful.
Beneficial effects of the present invention: providing a kind of method and system of binocular visual positioning, by the world for broadcasting light source Position receives positioning device, and cooperate positioning device be imaged in light source position and attitude angle parse the world of positioning device Position needs not move through excessive layout with this and is able to achieve indoor centimeter-level positioning, convenient and efficient easy to accomplish, and cost Low, precision is high.
Detailed description of the invention
Fig. 1 is the flow diagram of the embodiment of the present invention.
Fig. 2 is the positioning system schematic diagram of the embodiment of the present invention.
Fig. 3 is that the image clustering method of the embodiment of the present invention is fitted the schematic diagram of spot center.
Specific embodiment
Core of the invention thought: 1, connecting controller in existing LED lamp source, and controller controls the flashing of light source, extensively Broadcast the spatial positional information of the LED light source.2, the flicker information that light source is received using light-sensitive element PD, parses the world of light source Location information obtains the world locations information of positioning device by transformational relation.3, according to Binocular Vision Principle to LED light source into The space coordinate for determining light source center in binocular vision coordinate system is imaged in row.4, determine that binocular vision is sat using attitude transducer The transformational relation of mark system and world coordinate system.
For the ease of the understanding of those skilled in the art, the present invention is made further below with reference to examples and drawings Bright, the content that embodiment refers to not is limitation of the invention.
A kind of system of binocular visual positioning, as shown in Figure 1, comprising:
Light source 1, it is as a reference point for configuring world locations P (X, Y, Z);
Light source control module 2 is electrically connected with light source, for controlling the world locations P where light source 1 is flashed and broadcasted (X,Y,Z);
Positioning device, for receiving light source scintillation signal and parsing the world locations P (X, Y, Z) where light source;It is described Positioning device includes optic communication receiving module 3, and optic communication receiving module is equipped with light-sensitive element PD;
Binocular image sensor 4, for light source to be imaged;The binocular image sensor 4 is sensed including left image Device and right image sensor, the left image sensor are set to positioning device left end, and the right image sensor is set to positioning dress Set right end;
Attitude transducer 5, the attitude angle (α, β, θ) when for recording left image sensor and the imaging of right image sensor;
Positioning calculation module 6, respectively with optic communication receiving module 3, binocular image sensor 4 and attitude transducer 5 are electrically Connection, for calculating the world coordinates D (X, Y, Z) of positioning device.
In the present embodiment, by configuring world locations P (X, Y, Z) to indoor light source 1, and 1 world locations P of light source is broadcasted (X, Y, Z) to positioning device, the world locations P (X, Y, Z) that positioning device parses light source 1 is as a reference point;Cooperate binocular again Imaging sensor 4 and attitude transducer 5 obtain the position (lx, ly) that light source 1 is imaged in binocular image sensor 4 and (rx, Attitude angle (α, β, θ) when ry) and being imaged, to calculate light source center point in binocular imaging coordinate using Binocular Vision Principle Position l (x, y, z) and the corresponding vector of l (x, y, z) in systemAccording to the three of attitude transducer 5 attitude angles to vector Space Rotating transformation is carried out, is translated to obtain the world of positioning device origin further according to the position of world reference point P (X, Y, Z) Position D (X, Y, Z) needs not move through excessive layout with this and is able to achieve indoor centimeter-level positioning, convenient and efficient easy to accomplish, and And it is at low cost, precision is high.
In the present embodiment, the left image sensor and right image sensor are communicated by serial ports with positioning calculation module 6, It is convenient and efficient.
In the present embodiment, the camera of the binocular image sensor 4 is the USB camera of 5,000,000 pixels;The posture Sensor 5 is nine number of axle word attitude transducers, so that indoor positioning is more accurate.
In the present embodiment, the system of the binocular visual positioning is equipped with to be connect for the WIFI module or cable of communication with the outside world Mouthful, it can be selected according to different situations and extraneous communication mode.
A kind of method of binocular visual positioning, as depicted in figs. 1 and 2, including
One light source control module 2 is set on light source 1, and encodes its place world position to light source 1 using configuration remote controler Set P (X, Y, Z).When being configured, the configuration key of short-press configuration remote controler makes light source 1 enter test job mode, if normal Then the configuration key of long-pressing configuration remote controler enters configuration status, configures world locations P (X, Y, Z) to light source 1, configuration successful Afterwards, light source 1 feeds back answer signal.If light source 1 is configured unsuccessful, need to be reconfigured without feedback answer signal.
1 flash signal of light source is controlled by light source control module 2, and broadcasts the world locations P (X, Y, Z) where light source 1, The light-sensitive element PD of positioning device receives light source scintillation signal, and passes through optic communication receiving module 3 for the world locations P of light source 1 (X, Y, Z) is parsed from flash signal.
Light source 1 is imaged respectively using left image sensor and right image sensor, and records posture when imaging Angle (α, β, θ), wherein α is pitch angle, and β is roll angle, and θ is magnetic azimuth;As shown in figure 3, being obtained respectively using image clustering method Light source in both ends of the image is taken to correspond to the area Sc of the profile C of hot spot, the sequence coordinate point of perimeter L c and profile on the image;It utilizes The sequence coordinate point of light spot profile C calculates the mass center O of spot area1;It is fitted the external ellipse of hot spot, and it is external ellipse to obtain hot spot Circle center O2;By the mass center O of spot area1With the external elliptical center O of hot spot2It is weighted and averaged acquisition spot center, parsing is calculated Method is as follows:
α=4* π * Sc/Lc2
Wherein, circularity of the α for light spot profile, α ∈ (0.4,1.0),
After calculating spot center, position using spot center as light source in the picture, to obtain light source in left end Position in image is that the position of (lx, ly) and light source 1 in right end image is (rx, ry).
Origin d (0,0,0) using the intermediate point of left and right ends imaging position as binocular imaging coordinate system, by (lx, ly) (rx, ry) calculates position l (x, y, z) and l of 1 central point of light source in binocular imaging coordinate system according to Binocular Vision Principle (x, y, z) corresponding vectorThen according to the three of attitude transducer attitude angles to vectorSpace Rotating transformation is carried out, It is translated to obtain the world locations D (X, Y, Z) of positioning device origin further according to the position of world reference point P (X, Y, Z), wherein Solution process is as follows:
In the present embodiment, the communication with the outside world by the way of WIFI or cable can select and the external world according to different situations Communication mode.
The above is only a preferred embodiment of the present invention, for those of ordinary skill in the art, according to the present invention Thought, there will be changes in the specific implementation manner and application range, and the content of the present specification should not be construed as to the present invention Limitation.

Claims (8)

1. a kind of method of binocular visual positioning, which is characterized in that including
The world locations P (X, Y, Z) for configuring light source, the world locations P (X, Y, Z) where making light source scintillation and broadcasting;Make to position Device receives the world locations P (X, Y, Z) of light source broadcast;
Light source is imaged from positioning device left and right ends respectively, the attitude angle (α, β, θ) when record is imaged, wherein α is to bow The elevation angle, β are roll angle, and θ is magnetic azimuth;
It is fitted light source in both ends of the image respectively using image clustering method and corresponds to the center of hot spot, and exists using spot center as light source Position in image;Wherein calculating position of the light source in the image of left end is (lx, ly), position of the light source in right end image For (rx, ry);
Origin d (0,0,0) using the intermediate point of left and right ends imaging position as binocular imaging coordinate system, by (lx, ly) and (rx, ry) according to Binocular Vision Principle calculate light source center point position l (x, y, z) in binocular imaging coordinate system and l (x, Y, z) corresponding vector
According to attitude angle (α, β, θ) to vectorSpace Rotating transformation is carried out, and is that reference point calculates positioning with P (X, Y, Z) The world coordinates D (X, Y, Z) of device.
2. a kind of method of binocular visual positioning according to claim 1, which is characterized in that described to calculate positioning device World coordinates D (X, Y, Z), comprising:
3. a kind of method of binocular visual positioning according to claim 1, which is characterized in that described to utilize image clustering method Light source corresponds to the center of hot spot in fitting image, comprising:
The area Sc that light source in image corresponds to the profile C of hot spot is obtained using image clustering method, perimeter L c and profile are on the image Sequence coordinate point;
The mass center O of spot area is calculated using the sequence coordinate point of light spot profile C1
It is fitted the external ellipse of hot spot, and obtains the external elliptical center O of hot spot2
By the mass center O of spot area1With the external elliptical center O of hot spot2It is weighted and averaged acquisition spot center,
α=4* π * Sc/Lc2
Wherein, α is the circularity of light spot profile, α ∈ (0.4,1.0).
4. a kind of method of binocular visual positioning according to claim 1, which is characterized in that using the side of WIFI or cable Formula communication with the outside world.
5. a kind of system of binocular visual positioning characterized by comprising
Light source, it is as a reference point for configuring world locations P (X, Y, Z);
Light source control module is electrically connected with light source, for control light source scintillation and broadcast the world locations P where light source (X, Y,Z);
Positioning device, for receiving light source scintillation signal and parsing the world locations P (X, Y, Z) where light source;The positioning Device includes optic communication receiving module, and optic communication receiving module is equipped with light-sensitive element PD;
Binocular image sensor, for light source to be imaged;The binocular image sensor includes left image sensor and the right side Imaging sensor, the left image sensor are set to positioning device left end, and the right image sensor is set to positioning device right end;
Attitude transducer, the attitude angle (α, β, θ) when for recording left image sensor and the imaging of right image sensor;
Positioning calculation module is electrically connected with optic communication receiving module, binocular image sensor and attitude transducer respectively, is used for Calculate the world coordinates D (X, Y, Z) of positioning device.
6. a kind of system of binocular visual positioning according to claim 5, which is characterized in that the binocular image sensor It is communicated by serial ports with positioning calculation module.
7. a kind of system of binocular visual positioning according to claim 5, which is characterized in that the left image sensor and The camera of right image sensor is the USB camera of 5,000,000 pixels;The attitude transducer is nine number of axle word postures sensing Device.
8. a kind of system of binocular visual positioning according to claim 5, which is characterized in that the binocular visual positioning System is equipped with WIFI module or cable interface for communication with the outside world.
CN201810799415.8A 2018-07-19 2018-07-19 Binocular vision positioning method Active CN109029458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810799415.8A CN109029458B (en) 2018-07-19 2018-07-19 Binocular vision positioning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810799415.8A CN109029458B (en) 2018-07-19 2018-07-19 Binocular vision positioning method

Publications (2)

Publication Number Publication Date
CN109029458A true CN109029458A (en) 2018-12-18
CN109029458B CN109029458B (en) 2020-06-30

Family

ID=64643550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810799415.8A Active CN109029458B (en) 2018-07-19 2018-07-19 Binocular vision positioning method

Country Status (1)

Country Link
CN (1) CN109029458B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201803697U (en) * 2010-06-03 2011-04-20 蒋安邦 Sensor capable of determining position of moving light source target in three-dimensional space with two cameras
US20120261548A1 (en) * 2009-06-16 2012-10-18 Avanindra Utukuri Two-Dimensional Position Sensing Systems and Sensors Therefor
CN103824298A (en) * 2014-03-10 2014-05-28 北京理工大学 Intelligent body visual and three-dimensional positioning method based on double cameras and intelligent body visual and three-dimensional positioning device based on double cameras
CN105759244A (en) * 2016-02-02 2016-07-13 清华大学 High-precision indoor location system and method based on dual cameras
CN107545589A (en) * 2017-07-06 2018-01-05 王福来 A kind of space positioning system and method
US20180045516A1 (en) * 2015-03-19 2018-02-15 Clarion Co., Ltd. Information processing device and vehicle position detecting method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120261548A1 (en) * 2009-06-16 2012-10-18 Avanindra Utukuri Two-Dimensional Position Sensing Systems and Sensors Therefor
CN201803697U (en) * 2010-06-03 2011-04-20 蒋安邦 Sensor capable of determining position of moving light source target in three-dimensional space with two cameras
CN103824298A (en) * 2014-03-10 2014-05-28 北京理工大学 Intelligent body visual and three-dimensional positioning method based on double cameras and intelligent body visual and three-dimensional positioning device based on double cameras
US20180045516A1 (en) * 2015-03-19 2018-02-15 Clarion Co., Ltd. Information processing device and vehicle position detecting method
CN105759244A (en) * 2016-02-02 2016-07-13 清华大学 High-precision indoor location system and method based on dual cameras
CN107545589A (en) * 2017-07-06 2018-01-05 王福来 A kind of space positioning system and method

Also Published As

Publication number Publication date
CN109029458B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN104217439B (en) Indoor visual positioning system and method
CN106970354B (en) A kind of 3-D positioning method based on multiple light courcess and photosensor array
CN106767775B (en) A kind of localization method based on imaging sensor and inertial navigation sensor
CN104267725B (en) Indoor navigation and positioning system for autonomous charging of sweeping robot
US8542368B2 (en) Position measuring apparatus and method
CN101354441A (en) All-weather operating mobile robot positioning system
CN106569173A (en) PD array for detecting angle of arrival of visible light and indoor visible light positioning method
CN107421506A (en) A kind of visual pursuit alignment system and method based on indoor visible light communication
CN110868253B (en) Capturing, aligning and tracking device for short-distance wireless optical communication
CN103278180B (en) Based on the control-point-free camera measurement system in field of view scaling method of total powerstation
WO2020133104A1 (en) Control method and apparatus, and unmanned aerial vehicle and storage medium
CN108983147A (en) A kind of indoor locating system and method based on mobile terminal
CN202979117U (en) Double-camera multiple dimensional mobile object tracking system
CN107462248A (en) A kind of indoor optical positioning system and its application method
CN208689169U (en) A kind of indoor three-dimensional mapping device based on single line laser radar and target
CN109029458A (en) A kind of method and system of binocular visual positioning
CN109341687A (en) It is a kind of based on mobile phone any level towards single LED visible light communication indoor orientation method of angle
CN117769002A (en) Pipe gallery personnel positioning method and system based on WiFi and visual recognition fusion
CN203966198U (en) A kind of auto-panorama camera calibration system
CN208398885U (en) A kind of Indoor Robot position calibration system of binocular vision
CN206541028U (en) The single image sensor indoor visible light alignment system measured based on non-angled
CN102636267B (en) Sky brightness instrument
CN109099891A (en) Spatial positioning method, device and system based on image recognition
CN109240307B (en) Accurate positioning system of robot
CN208421236U (en) A kind of range unit

Legal Events

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