[go: up one dir, main page]

CN101477412B - 子像素级精度的运动感知方法 - Google Patents

子像素级精度的运动感知方法 Download PDF

Info

Publication number
CN101477412B
CN101477412B CN2008101157349A CN200810115734A CN101477412B CN 101477412 B CN101477412 B CN 101477412B CN 2008101157349 A CN2008101157349 A CN 2008101157349A CN 200810115734 A CN200810115734 A CN 200810115734A CN 101477412 B CN101477412 B CN 101477412B
Authority
CN
China
Prior art keywords
reference frame
frame
interpolation
motion vector
obtains
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.)
Expired - Fee Related
Application number
CN2008101157349A
Other languages
English (en)
Other versions
CN101477412A (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.)
Tianjin Sigma Microelectric Technique Co ltd
Original Assignee
BEIJING SIGMA HEXIN MICRO-ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING SIGMA HEXIN MICRO-ELECTRONIC TECHNOLOGY Co Ltd filed Critical BEIJING SIGMA HEXIN MICRO-ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN2008101157349A priority Critical patent/CN101477412B/zh
Priority to US12/272,571 priority patent/US8077925B2/en
Publication of CN101477412A publication Critical patent/CN101477412A/zh
Application granted granted Critical
Publication of CN101477412B publication Critical patent/CN101477412B/zh
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/0304Detection arrangements using opto-electronic means
    • G06F3/0317Detection arrangements using opto-electronic means in co-operation with a patterned surface, e.g. absolute position or relative movement detection for an optical mouse or pen positioned with respect to a coded surface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/32Determination of transform parameters for the alignment of images, i.e. image registration using correlation-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Position Input By Displaying (AREA)
  • Image Analysis (AREA)

Abstract

本发明公开了一种子像素级精度的运动感知方法。该方法包括以下步骤:采集工作表面的参考图像(参考帧)和采样图像(采样帧);计算参考帧和采样帧的相互关系获得鼠标相对于该表面的运动矢量;对参考帧和采样帧进行插值,得到插值参考帧和插值采样帧;计算插值参考帧和插值采样帧的相关性,从而对前面的运动矢量加以修正,得到子像素的运动。通过该方法可以在传感器特征不变的情况下,有效地提高位移计算精度,进而改善光学鼠标的性能。

Description

子像素级精度的运动感知方法
技术领域
本发明涉及一种光学运动感知方法,特别是涉及一种用于光电鼠标中的子像素级精度的运动感知方法。
背景技术
如图1所示,为一个光电鼠标的工作原理图。发光二极管101发出光线,通过透镜102后,被工作表面103反射,透镜104将包含工作表面信息的光线汇集,进入运动感知装置105成像。当光电鼠标移动时,其运动轨迹会被记录为一组高速拍摄的连贯图像。其中,每一幅图像称为一帧。所述的运动感知装置105计算出存储的帧之间的相互关系,从而识别出光电鼠标的移动并将该移动的数值输出。
如图2所示,是运动感知装置105常用的计算像素移动的方法。
从某个起始位置开始,运动感知装置105首先获取一幅图像,即参考帧。在延迟一个预定的时间间隔之后,所述运动感知装置105获取下一幅图像,即采样帧。
该方法通过计算采样帧与参考帧的相关性,产生预测运动矢量。从而得到像素的移动方向和移动距离。当对于采样帧与参考帧进行相关性运算后发现最高相关性时,如果采样帧相对于参考帧移动至少0.5像素且至多1.5像素时,计算结果为移动一个像素,如果采样帧的移动超过相对于参考帧的预定值,那么参考帧被更新为当前采样帧,并且之后当进行下一采样帧时将更新的参考帧作为参考帧。
在上述方法中,移动的识别是以0.5像素为单位进行,光电鼠标的移动只有在运动感知装置105将参考帧更新后才能更新识别,随后只有当光电鼠标移动大约1.0像素后才会继续对光电鼠标的移动进行识别。
因此,上述方法不能识别1.0像素以下,即子像素的移动,所以分辨率受到限制。
发明内容
为了解决现有运动感知方法分辨率低的缺点,提高计算精度,本发明提出一种子像素级精度的运动感知方法。通过该方法可以在传感器特征不变的情况下,有效地提高位移计算精度,进而改善光学鼠标的性能。
一种计算子像素级精度的运动感知方法,包括以下步骤:利用光学传感器采集工作表面图像,得到参考帧;延迟一定时间后再次采集工作表面图像,得到采样帧;分别对参考帧和采样帧做插值,得到插值参考帧和插值采样帧;计算参考帧和采样帧的相关性,得到运动矢量MVA;计算插值参考帧和插值采样帧的相关性,得到插值运动矢量MVB;利用MVB对MVA进行修正补偿,得到输出运动矢量MV;将MV/N,得到更精确的运动矢量。
其中,MV=N*MVA+MVB。
其中,N取决与图差插值算法,且N>1。
因而,采用本发明的方法,可以得到子像素级精度的位移,在技术上有较大进步,可以有效提高光学鼠标的定位精度和性能。
特别地,在利用运动感知传感器的光电鼠标的位移值被减少1/N因数后输出到计算机时,光电鼠标的移动精度与现有技术相比可以提高N倍。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。
以下结合附图介绍较佳实施例,对本发明提出的利用图像插值提高运动感知位移计算精度的方法和使用该方法的光学运动感知传感器,加以详细说明。应该指出的是,附图的目的只是便于对本发明具体实施例的说明,不是一种多余的叙述或是对本发明范围的限制。
附图说明
图1为光电鼠标的工作原理图。
图2为常用的运动感知方法示意图。
图3为根据本发明计算子像素移动的方法示意图。
在上述附图中,相同的标号表示具有相同、相似或相应的特征或功能。
具体实施方式
请参阅图3所示,为根据本发明计算子像素移动的方法示意图。
从某个起始位置301开始,光学传感器获取一帧图像作为参考帧,即步骤302。该参考帧是由二维的光敏检测器阵列得到的信号构成,包含工作表面的特征信息,如颜色、纹理、对比度、亮度、光滑度等。
在完成步骤302后,延迟特定时间,所述光学传感器再获取一帧图像,做为采样帧,即步骤303。同所述参考帧一样,采样帧也是由二维光敏检测器得到的信号构成,也包含工作表面的特征信息。
所述参考帧和所述采样帧是在不同的时刻获取的,如果光学传感器在工作表面发生了移动,那么采样帧相对于参考帧发生了平移。
进而进入步骤304和步骤305,计算所述采样帧和所述参考帧之间的相关。通过相关性运算,求出运动矢量MVA。MVA代表了采样帧相对于参考帧位移的大小以及方向。
同时,在步骤306和步骤307中,分别对所述参考帧和所述采样帧进行图像插值,得到插值参考帧和插值采样帧。
在步骤308中,以运动矢量MVA的终点为中心,X为运动最大步长,对插值参考帧与插值采样帧做相关性运算,求出运动矢量MVB。
在此实施例中,X选为1。
下一个步骤309,利用MVB对MVA做修正补偿,得到输出运动矢量MV,即步骤310。
其中,MV=N×MVA+MVB,N取决与图差插值算法,且N>1。
在此实施例中,我们将N取2,即MV=2×MVA+MVB。
特别地,在步骤309中,我们可以通过运动估值对运动矢量加以预测,这样可以减少运算次数,提高算法效率。
在步骤311中,当输出运动矢量MV大于预设值,则将当前采样帧更新为参考帧(步骤312),反之,参考帧保持不变。
最后,在将运动感知传感器的光学鼠标的移动值,即输出运动矢量MV减少1/2因数,也就是MV/2,然后输出到计算机,此时光电鼠标的移动精度比现有技术相比可以提高2倍。
因此,根据本发明提供的运动感知方法,可以在传感器特征不变的情况下,有效提高光电鼠标的移动分辨率,进而改善光电鼠标的性能。
在本实施例中,我们取N为2。实际上,可以根据开发人员的需要修改插值算法,增大N的取值,得到更大尺寸的图像,进而得到小于1/2像素的位移。
以上所述仅是本发明的优选实施方式,但是它们不是本发明范围的局限应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,所作出的若干改进和润饰也应视为本发明的保护范围之内。

Claims (5)

1.一种感知物体相对于表面的运动方法,其特征在于,包括以下步骤:
步骤1,获取一帧图像,并将其设定为参考帧;
步骤2,延迟特定的时间,再获取一帧图像,并将其设定为采样帧;
步骤3,分别对所述参考帧和所述采样帧进行插值,得到插值参考帧和插值采样帧;
步骤4,计算所述采样帧与所述参考帧的相关,得到初始运动矢量;
步骤5,以初始运动矢量的终点为中心,选取特定值为运动最大步长,计算所述插值采样帧与所述插值参考帧的相关性,得到插值运动矢量;
步骤6,利用修正方法:第一运动矢量=插值参数×初始运动矢量+插值运动矢量对初始运动矢量做修正补偿,得到第一运动矢量;
步骤7,将第一运动矢量除以所述插值参数,得到第二运动矢量,并输出到计算机;以及
步骤8,根据第一运动矢量和预设值,更新参考帧或保持参考帧不变。
2.根据权利要求1所述的方法,其特征在于:
所述参考帧与所述采样帧由二维光敏检测器阵列得到的信号构成,包含工作表面的特征信息。
3.根据权利要求1所述的方法,其特征在于:
插值参数取决于图差插值算法,并且有插值参数>1。
4.根据权利要求1所述的方法,其特征在于:
在步骤8中,当输出运动矢量(MV)大于所述预设值时,将当前采样帧更新为参考帧,反之,参考帧保持不变。
5.根据权利要求1所述的方法,其特征在于:
在步骤6中,可以通过运动估值对第一运动矢量加以预测。
CN2008101157349A 2008-06-27 2008-06-27 子像素级精度的运动感知方法 Expired - Fee Related CN101477412B (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2008101157349A CN101477412B (zh) 2008-06-27 2008-06-27 子像素级精度的运动感知方法
US12/272,571 US8077925B2 (en) 2008-06-27 2008-11-17 Motion sensing method of sub-pixel level precision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101157349A CN101477412B (zh) 2008-06-27 2008-06-27 子像素级精度的运动感知方法

Publications (2)

Publication Number Publication Date
CN101477412A CN101477412A (zh) 2009-07-08
CN101477412B true CN101477412B (zh) 2011-12-14

Family

ID=40838137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101157349A Expired - Fee Related CN101477412B (zh) 2008-06-27 2008-06-27 子像素级精度的运动感知方法

Country Status (2)

Country Link
US (1) US8077925B2 (zh)
CN (1) CN101477412B (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102798355B (zh) * 2011-07-07 2015-03-04 刘建 旋转角度检测方法
CN102506769B (zh) * 2011-11-15 2013-11-20 益海芯电子技术江苏有限公司 旋转角度检测方法
CN103699238B (zh) * 2012-09-27 2016-09-21 益海芯电子技术江苏有限公司 光学运动感知方法
DE102013204146A1 (de) * 2013-03-11 2014-09-25 Eos Gmbh Electro Optical Systems Verfahren zur verzugsfreien Herstellung von Objekten mittels eines generativen Schichtbauverfahrens und solchermaßen hergestelltes Dentalmodell
CN111915655B (zh) * 2020-08-12 2024-04-26 无锡英斯特微电子有限公司 一种光电导航设备与目标平面距离的判断方法及系统
CN115174811A (zh) * 2022-06-30 2022-10-11 Oppo广东移动通信有限公司 相机抖动检测方法、装置、设备、存储介质和程序产品

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101040246A (zh) * 2006-04-27 2007-09-19 埃派克森微电子有限公司 光学运动感知方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4322343C2 (de) * 1992-07-06 1996-10-02 Mitsubishi Electric Corp Mittel zum Erfassen eines Bewegungsvektors und Verfahren zum Bestimmen eines Bewegungsvektors
EP1422928A3 (en) * 2002-11-22 2009-03-11 Panasonic Corporation Motion compensated interpolation of digital video signals
JP4198608B2 (ja) * 2004-01-15 2008-12-17 株式会社東芝 補間画像生成方法および装置
US20060233253A1 (en) * 2005-03-10 2006-10-19 Qualcomm Incorporated Interpolated frame deblocking operation for frame rate up conversion applications
JP4518111B2 (ja) * 2007-07-13 2010-08-04 ソニー株式会社 映像処理装置、映像処理方法、及びプログラム

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101040246A (zh) * 2006-04-27 2007-09-19 埃派克森微电子有限公司 光学运动感知方法

Also Published As

Publication number Publication date
US8077925B2 (en) 2011-12-13
CN101477412A (zh) 2009-07-08
US20090324019A1 (en) 2009-12-31

Similar Documents

Publication Publication Date Title
CN101477412B (zh) 子像素级精度的运动感知方法
US10755417B2 (en) Detection system
US9530210B2 (en) Distance calculator and distance calculation method
JP4809291B2 (ja) 計測装置及びプログラム
US11328442B2 (en) Object detection system using TOF sensor
KR20130032368A (ko) 삼차원 계측장치, 삼차원 계측방법 및 기억매체
CN102798456B (zh) 一种工程机械臂架系统工作幅度的测量方法、装置及系统
JP2013186042A (ja) 距離算出装置及び距離算出方法
EP4022892A1 (en) Optimized exposure control for improved depth mapping
US20210209778A1 (en) Hybrid depth estimation system
JP2015206798A (ja) 距離算出装置
El Bouazzaoui et al. Enhancing RGB-D SLAM performances considering sensor specifications for indoor localization
US20220292703A1 (en) Image processing device, three-dimensional measurement system, and image processing method
CN116993901A (zh) 基于双目结构光的三维图像重建方法
JP2014238409A (ja) 距離算出装置及び距離算出方法
KR100994366B1 (ko) 영상 추적 장치의 이동표적 움직임 추적 방법
US20230260159A1 (en) Information processing apparatus, information processing method, and non-transitory computer readable medium
CN111462321B (zh) 点云地图处理方法、处理装置、电子装置和车辆
EP2507767B1 (en) Camera movement estimation
US9046345B2 (en) Optical probe
KR20210051001A (ko) 포즈 추정 방법, 컴퓨터 판독 가능한 기록 매체 및 컴퓨터 프로그램
JPH11183142A (ja) 三次元画像撮像方法及び三次元画像撮像装置
CN113596330B (zh) 红外光学定位器刷新率提升方法、装置及设备
JP5440364B2 (ja) 画像処理装置、周辺監視システム、および、プログラム
Pang et al. Fast object location and tracing using two CCD cameras and laser range finder

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: Unit 806, Unit 4, No. 2 Building, 9 Yuan, Fenghao East Road, Haidian District, Beijing 100094

Patentee after: BEIJING SIGMACHIP CO.,LTD.

Address before: 100098 Beijing city Haidian District No. 48 Zhichun Road Yingdu building B block 15 layer

Patentee before: BEIJING SIGMACHIP CO.,LTD.

CP02 Change in the address of a patent holder
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Bao Lili

Document name: Notification of Passing Examination on Formalities

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220217

Address after: 300384 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai high tech Zone, Binhai New Area, Tianjin

Patentee after: Tianjin sigma microelectric technique Co.,Ltd.

Address before: 100094 806, unit 4, building 2, yard 9, FengHao East Road, Haidian District, Beijing

Patentee before: BEIJING SIGMACHIP CO.,LTD.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111214