CN101858741A - Zoom ranging method based on single camera - Google Patents

Zoom ranging method based on single camera Download PDF

Info

Publication number
CN101858741A
CN101858741A CN 201010183102 CN201010183102A CN101858741A CN 101858741 A CN101858741 A CN 101858741A CN 201010183102 CN201010183102 CN 201010183102 CN 201010183102 A CN201010183102 A CN 201010183102A CN 101858741 A CN101858741 A CN 101858741A
Authority
CN
China
Prior art keywords
scene
point
camera
close shot
prospect map
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.)
Pending
Application number
CN 201010183102
Other languages
Chinese (zh)
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.)
Shenyang Ligong University
Original Assignee
Shenyang Ligong University
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 Shenyang Ligong University filed Critical Shenyang Ligong University
Priority to CN 201010183102 priority Critical patent/CN101858741A/en
Publication of CN101858741A publication Critical patent/CN101858741A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention belongs to the technical field of the computer stereo vision, relates to a zoom ranging method based on a single camera, and provides a novel stereo vision model which can be used for acquiring depth information of a two-dimensional image. In the method, three-dimensional coordinates of characteristic points of a scene in a camera coordinate system can be obtained through image processing and analysis only after one digital camera with an optical zoom respectively images the scene once under two different focal lengths. The concept of the stereo vision model provided by the invention is novel, thereby opening up a new direction for the theoretical study of the computer stereo vision. Compared with the currently popular binocular stereo vision and other vision ranging techniques, the stereo vision model can be used more easily, and the broad application prospects thereof can be predicted.

Description

A kind of zoom distance-finding method based on one camera
Technical field
The present invention relates to the computer stereo vision field, disclose a kind of zoom distance-finding method specifically, proposed a kind of new stereoscopic vision model, can obtain depth information from two dimensional image by this model based on one camera.
Background technology
Obtaining each point in the scene is one of vital task of computer vision system with respect to the distance of video camera.The vision ranging technology of comparative maturity is mainly based on following several models at present: binocular stereo vision, structured light method, geometrical optics approach.Certainly also has the application model under a lot of specific environments, here no longer narration.
Wherein of paramount importance is exactly the binocular tri-dimensional vision model, and this model is made of two identical video cameras, and two video cameras spatially exist rotation or translation relation.In this model, the image space difference of same unique point on two camera review planes in the scene, it is right that these two picture points are called match point.We claim that two distances between the video camera projection centre are baseline, during two width of cloth doublings of the image match point between distance be parallax.Calculate by Stereo Matching Technology in the Flame Image Process and parallax, just can obtain the depth information of object point in the scene.
Structured light range finding imaging system then uses principle of triangulation to come compute depth.In a simple spot projection system, at a distance of a parallax range,, just can obtain the depth information of scene between projection light source instrument and the video camera by determining parameters such as image space behind the scene point reflection source light and projected angle.The general laser that adopts is as secondary light source.
Geometrical optics approach mainly comprises focusing and out of focus method.The ultimate principle of focusing is by adjusting the image distance of video camera, make imaging plane be in focal position with respect to the measured point, and under the known condition of focal length and image distance, but the scioptics imaging formula is tried to achieve object distance.The focusing principle is fairly simple, but its precision is subjected to the serious restriction of hardware, and different depth zone needs to focus on again, thus measure loaded down with trivial details slowly, so use seldom.The out of focus method has avoided seeking the operation of vernier focusing position, the size of imaging circle spot when it utilizes the object point out-focus, and promptly the fog-level of image obtains depth information.But the accurate demarcation of out of focus model is its difficulty place.
Summary of the invention
The object of the invention is to propose a kind of new stereoscopic vision model, can obtain the depth information of two dimensional image by this model.Its value is that this model opened up new direction for the computer stereo vision Study on Theory.
The zoom distance-finding method that the present invention proposes based on one camera, only need with a digital camera that can be optical-zoomed under two different focal lengths to Same Scene respectively imaging once just can draw the three-dimensional coordinate of unique point in camera coordinates system in the scene by Flame Image Process and analytical technology.Its operating process mainly contains following a few step:
Step 1: camera is aimed at the scene that will find range, and fixing;
Step 2: in focal distance f 1, f 2Respectively imaging once and is preserved the image of being gathered for twice as a stereoscopic image, generally claims the prospect map that is imaged as under less focal length, than being imaged as close shot figure under the focal length greatly; (be without loss of generality, can suppose focal distance f 1<f 2)
Step 3: the coupling of finishing stereo-picture;
Step 4: the three-dimensional coordinate of calculated characteristics point on request.
The solid coupling that a wherein the most key step is an image, noticeable place have following some:
One, can adopt the SIFT characteristic matching to calibrate the public scene of two width of cloth images in prospect map, because prospect map is compared with close shot figure, the spatial dimension that prospect map comprises is wider, and close shot figure is exactly the public scene of two width of cloth images;
Two, selected pixels point in the public scene of prospect map earlier, and then in the close shot figure its corresponding match point of search.Because the details of scene is described more horn of plenty among the close shot figure, it should comprise all details of public scene in the prospect map, and promptly the picture point of prospect map all has match point in the public scene of two width of cloth images in close shot figure, and not necessarily sets up conversely;
Three, can be in subrange the search matched point, because under the ideal model, is in the image coordinate system set up of initial point with the photocentre, two corresponding mutually match points are crossed the slope of photocentre should be identical, and among the close shot figure polar radius of match point greater than the polar radius of corresponding point in the prospect map.
Description of drawings
Fig. 1 is the zoom range measurement principle figure based on one camera of the present invention.
Fig. 2 is the space plane cut-away view of zoom range finding model of the present invention.
Fig. 3 is a stereoscopic image of the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is further described.
The zoom range measurement principle figure based on one camera as shown in Figure 1, the same pin-hole imaging model that also is based on the binocular tri-dimensional vision model of this model carries out geometric analysis.With photocentre o is initial point, sets up the rectangular coordinate system in space oxyz of camera, and its midplane xoy is the plane of delineation.Fixedly camera to the same space respectively in focal distance f 1, f 2Each imaging once (is supposed f here down 1<f 2), any 1 s equals f at focal length in the scene 1The time be imaged as s 1Equal f at focal length 2The time be imaged as s 2The model of twice imaging is drawn in the same coordinate system analyzes.Picture point s under the ideal model 1, s 2All on straight line om, s s 1Be focal length f 1Following lens center o 1Straight line, s s 2Be focal length f 2Following lens center o 2Straight line, o o wherein 1=f 1, o o 2=f 2Plane som was the plane of z axle, and perpendicular to picture plane xoy.
Plane taken som separate analysis, as shown in Figure 2.r 1, r 2Be picture point s 1, s 2To the distance of photocentre, i.e. polar radius in the xoy of plane, as shown in Figure 3.Here suppose f 1<f 2, abcd represents the size as the plane among Fig. 3, a ' b ' c ' d ' is the public scene of presentation video 1 and image 2 then.Because f 1<f 2So image 1 is compared with image 2, image 1 comprises wider space, and comprises more details as 2.We can be earlier get 1 s arbitrarily in that a ' b ' of image 1 c ' d ' is interior 1, by finding s on relevant (as value of color) the straight line om in image 2 of feature 1Match point s 2So just can determine r 1, r 2Value.Therefore ∠ α, ∠ β can separate triangle s o among Fig. 2 1o 2Also can separate.
As shown in Figure 2, line segment os puts the distance of s to photocentre, i.e. polar radius r in camera coordinate system oxyz in the scene.By above analysis triangle soo as can be known 1Also can separate.The coordinate of s in camera coordinate system oxyz of setting up an office is for (x, y z), then have x=rsin γ cos θ, y=rsin γ sin θ, z=rcos γ.
Only require so to solve r, sin γ, cos γ, sin θ, cos θ, just can determine the coordinate of a s in camera coordinates is xyz (z), its solution procedure is as follows for x, y:
One, establishes some s in the xoy of plane 1Coordinate be (i, j), match point s 2Coordinate be (k n) then has:
sin θ = - i i 2 + j 2 - - - ( 1 )
cos θ = - j i 2 + j 2 - - - ( 2 )
r 1 = i 2 + j 2 - - - ( 3 )
r 2 = k 2 + n 2 - - - ( 4 )
Two, find the solution triangle s o earlier 1o 2:
If d=o 1o 2=f 1-f 2, a=s o 1, b=s o 2
By above derivation as can be known:
sin α = r 1 f 1 2 + r 1 2 - - - ( 5 )
cos α = f 1 f 1 2 + r 1 2 - - - ( 6 )
tan α = r 1 f 1 - - - ( 7 )
cot α = f 1 r 1 - - - ( 8 )
sin β = r 2 f 2 2 + r 2 2 - - - ( 9 )
cos β = f 2 f 2 2 + r 2 2 - - - ( 10 )
tan β = r 2 f 2 - - - ( 11 )
cot β = f 2 r 2 - - - ( 12 )
Have
d 2=a 2+b 2-2ab?cos(β-α) (13)
a 2=d 2+b 2-2db?cos(180-β) (14)
b 2=d 2+a 2-2da?cosα (15)
With (15) substitution (13), (14) substitution (15)
a=b?cos(β-α)+d?cosα (16)
d=b?cos(180-β)+a?cosα (17)
Again (16) substitution (17) is got
b = d sin α sin α cos β + cos α sin β
= d tan α cos β + cot α sin β - - - ( 18 )
With (18) substitution (16)
a = sin β + 2 sin α cos α cos β sin α cos β + cos α sin β d
= tan β / sin α + 2 cos α 1 + cot α tan β d - - - ( 19 )
Three, find the solution triangle soo again 1:
r = f 1 2 + a 2 + 2 f 1 a cos α - - - ( 20 )
cos γ = f 1 2 + r 2 - a 2 2 f 1 r
= f 1 + a cos α r - - - ( 21 )
sin γ = 1 - cos 2 γ
= a sin α r - - - ( 22 )
So just finished finding the solution of r, sin γ, cos γ, sin θ, cos θ, by formula
x = r sin γ cos θ ( 23 ) y = r sin γ sin θ ( 24 ) z = r cos γ ( 25 )
But the coordinate of invocation point s in camera coordinates is oxyz is
x = j ( f 1 - f 2 ) k 2 + n 2 + 2 f 1 f 2 [ 1 - f 1 2 / ( f 1 2 + i 2 + j 2 ) ] / i 2 + j 2 f 2 i 2 + j 2 + f 1 k 2 + n 2 ( 26 ) y = i ( f 1 - f 2 ) k 2 + n 2 + 2 f 1 f 2 [ 1 - f 1 2 / ( f 1 2 + i 2 + j 2 ) ] / i 2 + j 2 f 2 i 2 + j 2 + f 1 k 2 + n 2 ( 27 ) z = f 2 + ( f 2 - f 1 ) 2 f 1 2 / ( f 1 2 + i 2 + j 2 ) - f 2 i 2 + j 2 f 2 ( i 2 + j 2 + f 1 k 2 + n 2 ) ( 28 )
Wherein (i, j), (k, n) match point is to s 1, s 2Coordinate, f 1, f 2Be focal length, and f 1<f 2Because be the handstand imaging, so the coordinate points in the xoy of plane of spatial point s and imaging point are always in opposite interval.If world coordinate system is overlapped with camera coordinates system, the three-dimensional coordinate that then records is absolute coordinates under the world coordinate system.

Claims (1)

1. zoom distance-finding method based on unit, it is characterized in that: need to move a segment distance along optical axis direction with a digital camera, and two positions before and after moving to Same Scene respectively imaging once just can draw the three-dimensional coordinate of unique point in camera coordinates is in the scene by Flame Image Process and analytical technology;
Its operating process may further comprise the steps:
Step 1: camera and slide mechanism thereof are aimed at the scene that will find range;
Step 2: utilize the slip structure that camera is moved a segment distance along optical axis direction, and two positions before and after moving to the imaging of Same Scene difference once, the image of being gathered for twice is preserved as a stereoscopic image, suppose that camera moves forward, general be imaged as prospect map before claiming to move, before and after moving, be imaged as close shot figure;
Step 3: the coupling of finishing stereo-picture: adopt the SIFT characteristic matching in prospect map, to calibrate the public scene of two width of cloth images because prospect map and close shot figure mutually this, the spatial dimension that prospect map comprises is wider, and close shot figure is exactly the public scene of two width of cloth images; Selected pixels point in the public scene of prospect map then, and then in close shot figure, search for its corresponding match point, because the details of scene is described more horn of plenty among the close shot figure, it should comprise all details of public scene in the prospect map, promptly the picture point of prospect map all has match point in the public scene of two width of cloth images in close shot figure, and not necessarily sets up conversely; At last can be in subrange the search matched point, because under the ideal model, is in the image coordinate system set up of initial point with the photocentre, two corresponding mutually match points are crossed the slope of photocentre should be identical, and among the close shot figure polar radius of match point greater than the polar radius of corresponding point in the prospect map.
CN 201010183102 2010-05-26 2010-05-26 Zoom ranging method based on single camera Pending CN101858741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010183102 CN101858741A (en) 2010-05-26 2010-05-26 Zoom ranging method based on single camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010183102 CN101858741A (en) 2010-05-26 2010-05-26 Zoom ranging method based on single camera

Publications (1)

Publication Number Publication Date
CN101858741A true CN101858741A (en) 2010-10-13

Family

ID=42944782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010183102 Pending CN101858741A (en) 2010-05-26 2010-05-26 Zoom ranging method based on single camera

Country Status (1)

Country Link
CN (1) CN101858741A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101858742A (en) * 2010-05-27 2010-10-13 沈阳理工大学 Fixed-focus ranging method based on single camera
CN102082905A (en) * 2010-12-31 2011-06-01 天津市亚安科技电子有限公司 Method for detecting position of camera optic axis
CN103327385A (en) * 2013-06-08 2013-09-25 上海集成电路研发中心有限公司 Distance identification method and device based on single image sensor
CN104539926A (en) * 2014-12-19 2015-04-22 北京智谷睿拓技术服务有限公司 Distance determination method and equipment
CN105335959A (en) * 2014-08-15 2016-02-17 格科微电子(上海)有限公司 Quick focusing method and device for imaging apparatus
CN105488845A (en) * 2014-09-17 2016-04-13 宏碁股份有限公司 Method for generating three-dimensional image and electronic device
CN106162149A (en) * 2016-09-29 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of method shooting 3D photo and mobile terminal
CN106254855A (en) * 2016-08-25 2016-12-21 锐马(福建)电气制造有限公司 A kind of three-dimensional modeling method based on zoom range finding and system
CN107036579A (en) * 2016-11-17 2017-08-11 上海航天控制技术研究所 A kind of target relative positioning method based on monocular liquid lens optical system
CN107806830A (en) * 2017-10-12 2018-03-16 陕西科技大学 A kind of range unit and application method based on zoom camera
CN110595369A (en) * 2019-08-14 2019-12-20 太原理工大学 Pipe diameter measuring device and method based on machine vision
CN110966988A (en) * 2019-11-18 2020-04-07 郑晓平 Three-dimensional distance measurement method, device and equipment based on double-panoramic image automatic matching

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539422A (en) * 2009-04-22 2009-09-23 北京航空航天大学 Monocular vision real time distance measure method
CN101598846A (en) * 2009-06-30 2009-12-09 河南中光学集团有限公司 The terminal display system and the display packing thereof of zoom lens target ranging

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539422A (en) * 2009-04-22 2009-09-23 北京航空航天大学 Monocular vision real time distance measure method
CN101598846A (en) * 2009-06-30 2009-12-09 河南中光学集团有限公司 The terminal display system and the display packing thereof of zoom lens target ranging

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《International Journal of Computer Vision》 20040105 David G. Lowe Distinctive Image Features from Scale-Invariant Keypoints 1-28 , 2 *
《哈尔滨工程大学学报》 20090630 孟浩等 基于SIFT特征点的双目视觉定位 第30卷, 第06期 2 *
《机器人》 20070131 王剑等 基于双焦成像的单眼立体视觉算法 第29卷, 第01期 2 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101858742A (en) * 2010-05-27 2010-10-13 沈阳理工大学 Fixed-focus ranging method based on single camera
CN102082905B (en) * 2010-12-31 2016-04-06 天津市亚安科技有限公司 A kind of method detecting position of camera optic axis
CN102082905A (en) * 2010-12-31 2011-06-01 天津市亚安科技电子有限公司 Method for detecting position of camera optic axis
CN103327385A (en) * 2013-06-08 2013-09-25 上海集成电路研发中心有限公司 Distance identification method and device based on single image sensor
CN103327385B (en) * 2013-06-08 2019-03-19 上海集成电路研发中心有限公司 Based on single image sensor apart from recognition methods and device
CN105335959A (en) * 2014-08-15 2016-02-17 格科微电子(上海)有限公司 Quick focusing method and device for imaging apparatus
CN105335959B (en) * 2014-08-15 2019-03-22 格科微电子(上海)有限公司 Imaging device quick focusing method and its equipment
CN105488845A (en) * 2014-09-17 2016-04-13 宏碁股份有限公司 Method for generating three-dimensional image and electronic device
CN105488845B (en) * 2014-09-17 2018-09-25 宏碁股份有限公司 Generate the method and its electronic device of 3-D view
CN104539926A (en) * 2014-12-19 2015-04-22 北京智谷睿拓技术服务有限公司 Distance determination method and equipment
CN106254855A (en) * 2016-08-25 2016-12-21 锐马(福建)电气制造有限公司 A kind of three-dimensional modeling method based on zoom range finding and system
CN106162149A (en) * 2016-09-29 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of method shooting 3D photo and mobile terminal
CN106162149B (en) * 2016-09-29 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of method and mobile terminal shooting 3D photo
CN107036579A (en) * 2016-11-17 2017-08-11 上海航天控制技术研究所 A kind of target relative positioning method based on monocular liquid lens optical system
CN107806830A (en) * 2017-10-12 2018-03-16 陕西科技大学 A kind of range unit and application method based on zoom camera
CN110595369A (en) * 2019-08-14 2019-12-20 太原理工大学 Pipe diameter measuring device and method based on machine vision
CN110966988A (en) * 2019-11-18 2020-04-07 郑晓平 Three-dimensional distance measurement method, device and equipment based on double-panoramic image automatic matching
CN110966988B (en) * 2019-11-18 2022-11-04 郑晓平 Three-dimensional distance measurement method, device and equipment based on double-panoramic image automatic matching

Similar Documents

Publication Publication Date Title
CN101858741A (en) Zoom ranging method based on single camera
CN101858742A (en) Fixed-focus ranging method based on single camera
JP6564537B1 (en) 3D reconstruction method and apparatus using monocular 3D scanning system
CN108151671B (en) A kind of 3 D digital imaging sensor, 3 D scanning system and its scan method
CN106056587B (en) Full view line laser structured light three-dimensional imaging caliberating device and method
US9661295B2 (en) Triangulation scanner and camera for augmented reality
KR102583723B1 (en) A method and an apparatus for generating data representative of a light field
CN103292695B (en) A kind of single eye stereo vision measuring method
US20150373321A1 (en) Six degree-of-freedom triangulation scanner and camera for augmented reality
CN102679959B (en) Omnibearing 3D (Three-Dimensional) modeling system based on initiative omnidirectional vision sensor
CN102494609A (en) Three-dimensional photographing process based on laser probe array and device utilizing same
CN105066909A (en) Hand-held multi-laser-stripe quick three-dimensional measuring method
CN103090846A (en) Distance measuring device, distance measuring system and distance measuring method
CN103206926B (en) A kind of panorama three-dimensional laser scanner
WO2020199439A1 (en) Single- and dual-camera hybrid measurement-based three-dimensional point cloud computing method
KR20180053668A (en) Method and apparatus for generating data representing a pixel beam
CN109099838A (en) A kind of single eye stereo vision system three-dimensional information measurement method based on catadioptric
JP2010276433A (en) Imaging device, image processor, and distance measuring device
CN114359406A (en) Calibration of auto-focusing binocular camera, 3D vision and depth point cloud calculation method
CN101476882A (en) Structured light three-dimensional detection method based on homography matrix
CN103134444A (en) Double-field variable-focus three-dimensional measurement system
CN103630118B (en) A kind of three-dimensional Hyperspectral imaging devices
Yamauchi et al. Calibration of a structured light system by observing planar object from unknown viewpoints
CN105719290A (en) Binocular stereo depth matching method adopting time domain visual sensor
CN203069176U (en) Ranging device and ranging system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101013