CN100553290C - A kind of method for estimating image overall motion and device - Google Patents

A kind of method for estimating image overall motion and device Download PDF

Info

Publication number
CN100553290C
CN100553290C CN 200710036717 CN200710036717A CN100553290C CN 100553290 C CN100553290 C CN 100553290C CN 200710036717 CN200710036717 CN 200710036717 CN 200710036717 A CN200710036717 A CN 200710036717A CN 100553290 C CN100553290 C CN 100553290C
Authority
CN
China
Prior art keywords
projection
motion vector
reference point
best reference
images
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.)
Active
Application number
CN 200710036717
Other languages
Chinese (zh)
Other versions
CN101232567A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN 200710036717 priority Critical patent/CN100553290C/en
Publication of CN101232567A publication Critical patent/CN101232567A/en
Application granted granted Critical
Publication of CN100553290C publication Critical patent/CN100553290C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a kind of method for estimating image overall motion and device, when improving search precision, also improved search efficiency.Its technical scheme is: this method comprises: (1) does matching operation with the projection on first direction of several width of cloth images to these one dimension projection vectors, finds optimal match point, and sentences the common region that first direction is sheared these images respectively at this optimal match point; (2) common region of these images that shearing is finished projection on second direction, these one dimension projection vectors are done matching operation, find the first best reference point, obtain the motion vector on the first direction, and sentence the common region that second direction is sheared these images respectively at this first best reference point; (3) common region of these images that shearing is finished projection on first direction is again done matching operation to these one dimension projection vectors, finds the second best reference point, obtains the motion vector on the second direction.The present invention is applied to image processing field.

Description

A kind of method for estimating image overall motion and device
Technical field
The present invention relates to a kind of image processing techniques, relate in particular to a kind of picture motion estimating method and device that is applied to video coding and image rectification.
Background technology
Image motion estimates in image processing field application is quite widely arranged, for example in fields such as video coding, image rectifications.Estimation is meant the position difference between the relevant scene of analyzing two width of cloth or multiple image, thereby obtains the motion vector of video camera or captured object.
Existing the most basic a kind of picture motion estimating method is that reference picture is divided into a lot of image blocks, in another width of cloth image, reference image block is done two-dimentional matching operation, find optimal match point (optimal match point is defined as two width of cloth image difference minimums in this position), represent optimal movement to estimate.Ask geometric average to obtain the overall motion estimation vector of image the motion estimation vectors of all images piece.The operand of this two-dimentional matching algorithm is big, is not suitable for embedded real-time operation.
A kind of picture motion estimating method of the advanced person who compares is based on projection theory, the matching operation of a two dimensional image is reduced to the matching operation of two one-dimensional vector that is:, thereby has improved search efficiency greatly.But this kind picture motion estimating method error is bigger, and main cause is respectively to exist partial content not occur in another width of cloth image between two width of cloth images.The projection of these picture materials has influenced the shape of image vector, thereby has reduced the precision of projection vector coupling.Therefore in order to improve the accuracy of estimation, still need all alternative points of two dimension traversal, this has reduced search efficiency again.
Summary of the invention
The objective of the invention is to address the above problem, a kind of method for estimating image overall motion and device are provided, when improving search precision, also improved search efficiency.
Technical scheme of the present invention is: the invention provides a kind of method for estimating image overall motion, comprising:
(1) with the projection on first direction of several width of cloth images, these one dimension projection vectors is done matching operation, find optimal match point, and sentence the common region that first direction is sheared these images respectively at this optimal match point;
(2) common region projection on second direction of these images of finishing will be sheared in the step (1), these one dimension projection vectors are done matching operation, find the first best reference point, obtain the motion vector on the first direction, and sentence the common region that second direction is sheared these images respectively at this first best reference point;
(3) with shearing the common region projection on first direction again of these images of finishing in the step (2), these one dimension projection vectors are done matching operation, find the second best reference point, obtain the motion vector on the second direction.
Above-mentioned method for estimating image overall motion, wherein, this first direction is a horizontal direction, this second direction is a vertical direction.
Above-mentioned method for estimating image overall motion, wherein, this optimal match point is represented the evaluation of estimating of vertical direction motion vector, and this first best reference point is represented the final estimated value of horizontal motion vector, and this second best reference point is represented the final estimated value of vertical direction motion vector.
Above-mentioned method for estimating image overall motion, wherein, this first direction is a vertical direction, this second direction is a horizontal direction.
Above-mentioned method for estimating image overall motion, wherein, this optimal match point is represented the evaluation of estimating of horizontal motion vector, and this first best reference point is represented the final estimated value of vertical direction motion vector, and this second best reference point is represented the final estimated value of horizontal motion vector.
Based on above-mentioned method for estimating image overall motion, the present invention also provides a kind of image overall movement estimation apparatus, comprising:
The first projection matching module with the projection on first direction of several width of cloth images, is done matching operation to these one dimension projection vectors, finds optimal match point;
First shear module is sentenced the common region that first direction is sheared these images respectively at the optimal match point that this first projection matching module obtains;
The second projection matching module with common region projection on second direction that this first shear module is sheared these images of finishing, is done matching operation to these one dimension projection vectors, finds the first best reference point, obtains the motion vector on the first direction;
Second shear module is sentenced the common region that second direction is sheared these images respectively at this first best reference point;
The 3rd projection matching module with the common region projection on first direction again that this second shear module is sheared these images of finishing, is done matching operation to these one dimension projection vectors, finds the second best reference point, obtains the motion vector on the second direction.
Above-mentioned image overall movement estimation apparatus, wherein, this first direction is a horizontal direction, this second direction is a vertical direction.
Above-mentioned image overall movement estimation apparatus, wherein, this optimal match point is represented the evaluation of estimating of vertical direction motion vector, and this first best reference point is represented the final estimated value of horizontal motion vector, and this second best reference point is represented the final estimated value of vertical direction motion vector.
Above-mentioned image overall movement estimation apparatus, wherein, this first direction is a vertical direction, this second direction is a horizontal direction.
Above-mentioned image overall movement estimation apparatus, wherein, this optimal match point is represented the evaluation of estimating of horizontal motion vector, and this first best reference point is represented the final estimated value of vertical direction motion vector, and this second best reference point is represented the final estimated value of horizontal motion vector.
The present invention contrasts prior art following beneficial effect: the present invention is by doing twice matching operation on level or vertical direction, the contrast level first time or vertical projection are with level or vertical projection can find out that two drop shadow curve's similarities of secondary projection are higher for the second time, the precision of match point is also higher, thereby has improved the estimation precision that the projection coupling obtains.Contrast existing method for estimating, the present invention need not image is carried out two dimension traversal coupling, only need image is carried out projection operation three times, thereby greatly reduce computation complexity, be fit to be applied in the embedded systems such as digital camera, Digital Video or camera cell phone.
Description of drawings
Fig. 1 is the flow chart of method for estimating image overall motion of the present invention.
Fig. 2 is the schematic diagram of two original images of a preferred embodiment of the present invention.
Fig. 3 is the schematic diagram of Fig. 2 embodiment projection for the first time.
Fig. 4 is the schematic diagram of Fig. 2 embodiment projection for the second time.
Fig. 5 is the schematic diagram of Fig. 2 embodiment projection for the third time.
Fig. 6 is that Fig. 2 embodiment splices the all-in-one-piece schematic diagram after overall motion estimation.
Fig. 7 is the theory diagram of image overall movement estimation apparatus of the present invention.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 shows the flow process of method for estimating image overall motion of the present invention.Seeing also Fig. 1, is the detailed description to this each step of method flow below.
Step S1: with the projection on first direction of several width of cloth images, these one dimension projection vectors are mated, find optimal match point.
The first direction here can be a horizontal direction, also can be vertical direction.And if first direction is a horizontal direction, then optimal match point is the evaluation of estimating of representing the vertical direction motion vector; If first direction is a vertical direction, then optimal match point is the evaluation of estimating of representing the horizontal motion vector.
For example, the computational methods of the floor projection vector of the image that to calculate a size be W*H are with the value addition of W pixel of each row in this image, obtain this row projection value, floor projection vector that size is H of H capable projection value composition; The computational methods of the upright projection vector of the image that to calculate a size be W*H are the value additions with H pixel of each row in this image, obtain this row projection value, and W row projection value formed the upright projection vector that size is W.
The method of calculating two one dimension projection vector optimal match point positions can adopt following formula:
M i = 1 / Σ n = 1 : N | u n - v n + i | , Wherein u and v are two one dimension projection vectors, and N is a vector length, M iBe the matching value of ordering at i, the some position of matching value maximum is an optimal match point.
Because background image influences, the phenomenon of a plurality of optimal match points may appear, then needs all match points are all carried out following steps, find real global best matches.
Step S2: based on the optimal match point of step S1, above-mentioned these images are positioned at the parts of images at optimal match point place under shearing with first direction respectively.
The purpose of clip image is that the first direction extraneous areas has been got rid of the phenomenon of a plurality of match points to the influence of second direction projection in the rejection image, has improved two precision that the projection vector coupling is calculated.
Step S3: with shearing common region projection on second direction of these images of finishing among the step S2, these one dimension projection vectors are done matching operation, find the first best reference point, thereby obtain the motion vector on the first direction.The method of searching optimal match point among the lookup method of this first best reference point and the step S1 is similar, does not repeat them here.
If the first direction among step S1~S2 is a horizontal direction, then the second direction in this step is a vertical direction, and the first best reference point is represented the final estimated value of horizontal motion vector.Otherwise if the first direction among step S1~S2 is a vertical direction, then the second direction in this step is a horizontal direction, and the first best reference point is represented the final estimated value of vertical direction motion vector.
Step S4:: based on the first best reference point of step S3, above-mentioned these images are positioned at the parts of images at the first best reference point place under shearing with second direction respectively.The purpose of shearing is the irrelevant tortuous influence to the first direction projection of second direction in the rejection image, has further improved the computational accuracy of first direction optimal match point.
Step S5: to the common region projection on first direction again that step S4 shears these images of finishing, these one dimension projection vectors are done matching operation, find the second best reference point, thereby obtain the motion vector on the second direction.The method of searching optimal match point among the lookup method of this second best reference point and the step S1 is similar, does not repeat them here.
If first direction is a horizontal direction, then the second best reference point in this step is represented the final estimated value of vertical direction motion vector.If first direction is a vertical direction, then the second best reference point in this step is represented the final estimated value of horizontal motion vector.
Fig. 2~Fig. 6 shows an example of said method.Example is an example with two images, with floor projection, vertical projection, the computation sequence of floor projection shows the process of global motion estimating method once more.See also Fig. 3, this example is to two images shown in Figure 2, and the method that adopts step S1~S2 to describe is done the projection coupling to horizontal direction earlier, shears the common region of two width of cloth images at the match point place.Referring to Fig. 4, clip image is done vertical direction projection coupling again, obtain the motion vector of horizontal direction.Referring to Fig. 5, again clip image is done horizontal direction projection coupling more then, obtain the motion vector of vertical direction.Fig. 6 is based on the schematic diagram of the final image that horizontal motion vector and vertical direction motion vector be stitched together two width of cloth images.
Based on above-mentioned method principle, the present invention also provides a kind of image overall movement estimation apparatus.See also Fig. 7, this device comprises the first projection matching module 10, first shear module 11, the second projection matching module 12, second shear module 13, the 3rd projection matching module 14.Wherein the first projection matching module 10 is done matching operation with the projection on first direction of several width of cloth images to these one dimension projection vectors, finds optimal match point.First shear module 11 is sheared the common region at the optimal match point place of these images respectively based on the optimal match point that the first projection matching module 10 obtains.The common region that the second projection matching module 13 is sheared these images of finishing with first shear module 11 is made projection process on second direction, these one dimension projection vectors are done matching operation, finds the first best reference point, obtains the motion vector on the first direction.The first best reference point that second shear module 13 obtains based on the second projection matching module 13 is with second direction common region under the first best reference point place of these images shears.The 3rd projection matching module 14 is done matching operation with the common region projection on first direction again of second shear module 13 these images finished of shearing to these one dimension projection vectors, finds the second best reference point, obtains the motion vector on the second direction.
First direction in the above-mentioned module and second direction can be: first direction is a horizontal direction, second direction is a vertical direction, optimal match point is represented the evaluation of estimating of vertical direction motion vector, the first best reference point is represented the final estimated value of horizontal motion vector, and the second best reference point is represented the final estimated value of vertical direction motion vector.Perhaps first direction is a vertical direction, second direction is a horizontal direction, optimal match point is represented the evaluation of estimating of horizontal motion vector, and the first best reference point is represented the final estimated value of vertical direction motion vector, and the second best reference point is represented the final estimated value of horizontal motion vector.
The foregoing description provides to those of ordinary skills and realizes or use of the present invention; those of ordinary skills can be under the situation that does not break away from invention thought of the present invention; the foregoing description is made various modifications or variation; thereby protection scope of the present invention do not limit by the foregoing description, and should be the maximum magnitude that meets the inventive features that claims mention.

Claims (10)

1 one kinds of method for estimating image overall motion comprise:
(1) with the projection on first direction of several width of cloth images, these one dimension projection vectors is done matching operation, find optimal match point, and sentence the common region that first direction is sheared these images respectively at this optimal match point;
(2) common region projection on second direction of these images of finishing will be sheared in the step (1), these one dimension projection vectors are done matching operation, find the first best reference point, obtain the motion vector on the first direction, and sentence the common region that second direction is sheared these images respectively at this first best reference point;
(3) with shearing the common region projection on first direction again of these images of finishing in the step (2), these one dimension projection vectors are done matching operation, find the second best reference point, obtain the motion vector on the second direction.
2 method for estimating image overall motion according to claim 1 is characterized in that, this first direction is a horizontal direction, and this second direction is a vertical direction.
3 method for estimating image overall motion according to claim 2, it is characterized in that, this optimal match point is represented the evaluation of estimating of vertical direction motion vector, this first best reference point is represented the final estimated value of horizontal motion vector, and this second best reference point is represented the final estimated value of vertical direction motion vector.
4 method for estimating image overall motion according to claim 1 is characterized in that, this first direction is a vertical direction, and this second direction is a horizontal direction.
5 method for estimating image overall motion according to claim 4, it is characterized in that, this optimal match point is represented the evaluation of estimating of horizontal motion vector, this first best reference point is represented the final estimated value of vertical direction motion vector, and this second best reference point is represented the final estimated value of horizontal motion vector.
6 one kinds of image overall movement estimation apparatus comprise:
The first projection matching module with the projection on first direction of several width of cloth images, is done matching operation to these one dimension projection vectors, finds optimal match point;
First shear module is sentenced the common region that first direction is sheared these images respectively at the optimal match point that this first projection matching module obtains;
The second projection matching module with common region projection on second direction that this first shear module is sheared these images of finishing, is done matching operation to these one dimension projection vectors, finds the first best reference point, obtains the motion vector on the first direction;
Second shear module is sentenced the common region that second direction is sheared these images respectively at this first best reference point;
The 3rd projection matching module with the common region projection on first direction again that this second shear module is sheared these images of finishing, is done matching operation to these one dimension projection vectors, finds the second best reference point, obtains the motion vector on the second direction.
7 image overall movement estimation apparatus according to claim 6 is characterized in that this first direction is a horizontal direction, and this second direction is a vertical direction.
8 image overall movement estimation apparatus according to claim 7, it is characterized in that, this optimal match point is represented the evaluation of estimating of vertical direction motion vector, this first best reference point is represented the final estimated value of horizontal motion vector, and this second best reference point is represented the final estimated value of vertical direction motion vector.
9 image overall movement estimation apparatus according to claim 6 is characterized in that this first direction is a vertical direction, and this second direction is a horizontal direction.
10 image overall movement estimation apparatus according to claim 9, it is characterized in that, this optimal match point is represented the evaluation of estimating of horizontal motion vector, this first best reference point is represented the final estimated value of vertical direction motion vector, and this second best reference point is represented the final estimated value of horizontal motion vector.
CN 200710036717 2007-01-23 2007-01-23 A kind of method for estimating image overall motion and device Active CN100553290C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710036717 CN100553290C (en) 2007-01-23 2007-01-23 A kind of method for estimating image overall motion and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710036717 CN100553290C (en) 2007-01-23 2007-01-23 A kind of method for estimating image overall motion and device

Publications (2)

Publication Number Publication Date
CN101232567A CN101232567A (en) 2008-07-30
CN100553290C true CN100553290C (en) 2009-10-21

Family

ID=39898722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710036717 Active CN100553290C (en) 2007-01-23 2007-01-23 A kind of method for estimating image overall motion and device

Country Status (1)

Country Link
CN (1) CN100553290C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600106B (en) * 2009-06-22 2012-10-03 北京大学 Global motion estimation method and device
CN103369206A (en) * 2012-04-10 2013-10-23 承景科技股份有限公司 Method and related device for motion vector determination

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
电子稳像的灰度投影三点局域自适应搜索算法. 李博,王孝通,杨常青,金良安.光电工程,第31卷第9期. 2004
电子稳像的灰度投影三点局域自适应搜索算法. 李博,王孝通,杨常青,金良安.光电工程,第31卷第9期. 2004 *

Also Published As

Publication number Publication date
CN101232567A (en) 2008-07-30

Similar Documents

Publication Publication Date Title
US11436745B1 (en) Reconstruction method of three-dimensional (3D) human body model, storage device and control device
Casser et al. Unsupervised monocular depth and ego-motion learning with structure and semantics
CN108520554B (en) Binocular three-dimensional dense mapping method based on ORB-SLAM2
US8027542B2 (en) High speed video action recognition and localization
CN110232330B (en) Pedestrian re-identification method based on video detection
CN103383776B (en) A kind of laddering Stereo Matching Algorithm based on two stage cultivation and Bayesian Estimation
US11093778B2 (en) Method and system for selecting image region that facilitates blur kernel estimation
CN105872345A (en) Full-frame electronic image stabilization method based on feature matching
CN110599545B (en) Feature-based dense map construction system
CN102457724B (en) Image motion detecting system and method
CN106485702A (en) Image blurring detection method based on natural image characteristic statisticses
CN104457758A (en) Video-acquisition-based Visual Map database establishing method and indoor visual positioning method using database
CN110599522A (en) Method for detecting and removing dynamic target in video sequence
CN110910375A (en) Detection model training method, device, equipment and medium based on semi-supervised learning
CN101908214A (en) Moving object detection method with background reconstruction based on neighborhood correlation
CN105678720A (en) Image matching judging method and image matching judging device for panoramic stitching
CN113643329B (en) Twin attention network-based online update target tracking method and system
CN100553290C (en) A kind of method for estimating image overall motion and device
US11868438B2 (en) Method and system for self-supervised learning of pillar motion for autonomous driving
CN104616035B (en) Visual Map fast matching methods based on image overall feature and SURF algorithm
CN115937002B (en) Method, apparatus, electronic device and storage medium for estimating video rotation
CN110766093A (en) Video target re-identification method based on multi-frame feature fusion
US20220391623A1 (en) Automatic perspective transformation
Kim et al. FPGA implementation of stereoscopic image proceesing architecture base on the gray-scale projection
CN103974068A (en) Content-based video size decreasing method

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190313

Address after: 101399 Building 8-07, Ronghui Garden 6, Shunyi Airport Economic Core Area, Beijing

Patentee after: Xin Xin finance leasing (Beijing) Co.,Ltd.

Address before: 201203 3-5 Floor, 696 Songtao Road, Pudong New Area, Shanghai

Patentee before: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20080730

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xin Xin finance leasing (Beijing) Co.,Ltd.

Contract record no.: X2021110000008

Denomination of invention: An image global motion estimation method and device

Granted publication date: 20091021

License type: Exclusive License

Record date: 20210317

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221020

Address after: 201203 Shanghai city Zuchongzhi road Pudong New Area Zhangjiang hi tech park, Spreadtrum Center Building 1, Lane 2288

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 101399 Building 8-07, Ronghui Garden 6, Shunyi Airport Economic Core Area, Beijing

Patentee before: Xin Xin finance leasing (Beijing) Co.,Ltd.