[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102378002B - Dynamically adjust method and device, block matching method and the device of search window - Google Patents

Dynamically adjust method and device, block matching method and the device of search window Download PDF

Info

Publication number
CN102378002B
CN102378002B CN201010263586.2A CN201010263586A CN102378002B CN 102378002 B CN102378002 B CN 102378002B CN 201010263586 A CN201010263586 A CN 201010263586A CN 102378002 B CN102378002 B CN 102378002B
Authority
CN
China
Prior art keywords
value
coefficient correlation
scope
less
search
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
CN201010263586.2A
Other languages
Chinese (zh)
Other versions
CN102378002A (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.)
Jiangsu Dahai Intelligent System Co., Ltd.
Original Assignee
Wuxi Zhonggan Microelectronics 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 Wuxi Zhonggan Microelectronics Co Ltd filed Critical Wuxi Zhonggan Microelectronics Co Ltd
Priority to CN201010263586.2A priority Critical patent/CN102378002B/en
Publication of CN102378002A publication Critical patent/CN102378002A/en
Application granted granted Critical
Publication of CN102378002B publication Critical patent/CN102378002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Image Analysis (AREA)

Abstract

The method and the device that the invention provides a kind of dynamic adjustment search window size, described method comprises: the interframe coefficient correlation of calculating present frame and reference frame; Described interframe coefficient correlation is the absolute value of the difference of present frame each point pixel value sum and reference frame each point pixel value sum; In the time that tried to achieve interframe coefficient correlation is within the first preset threshold value scope, the size of search window is reduced to M1×N1; Wherein, the initial size of described search window is M0×N0;M1<M0,N1<N0. In addition, the invention also discloses a kind of block matching method and device. By the present invention, under the prerequisite of accuracy that ensures coupling, reduce amount of calculation.

Description

Dynamically adjust method and device, block matching method and the device of search window
Technical field
The present invention relates to Video coding and compression technique area, particularly relate to a kind of search window of dynamically adjustingMethod and device, a kind of block matching method and device thereof.
Background technology
In Video coding and compression, block matching algorithm, as a kind of very useful algorithm, is mainly used inThe aspect such as calculating and compensation of motion vector. The basic thought of piece coupling is (also to claim target figure by present framePicture) be divided into the piece of fixed size, then in reference frame, find the piece of coupling. Concrete: oughtFront frame is divided into the piece (each piece comprises m × n pixel) that the size of non-overlapping copies is m × n, currentIn the certain area (searching for window) of each piece in frame in reference frame, according to certain couplingCriterion search has with it the piece (MiNiMailDistortioNBlock, MDB) of minimum match error,This piece is the match block of current block, the arrow that moves exactly of the coordinate displacement between match block and current blockAmount. When video decompression, only need preservation motion vector and residual error data just can recover completely and work asFront.
The main purpose of block matching algorithm is to calculate the correlation of object block and match block in two width images. LogicalCross the calculating of the coefficient correlation to image object piece, reflect the correlation between current pixel piece. RightIn a certain of present frame, its coordinate is (u1,v1), corresponding match block in the search window of reference frame,Coordinate becomes (u2,v2)。
Due in piece coupling computational process, the size of search window has reflected and has related to the number of calculating pixelTo the problem that influences each other of pixel interdependence, so it will directly affect matching result. Traditional piece couplingIn process, for different images, corresponding search window size is fixing, because block matching algorithm is greatThe uncertainty of computation complexity and matching result and randomness, cause its application to be in practice subject toSerious restriction.
In a word, need the urgent technical problem solving of those skilled in the art to be exactly: how can carrySupply dynamically to adjust in a kind of coupling the method for search window size, in the prerequisite that ensures the accuracy of matingUnder, reduce amount of calculation.
Summary of the invention
Technical problem to be solved by this invention is to provide in a kind of piece coupling and dynamically adjusts and search for window sizeMethod and apparatus, can ensure, under the prerequisite of accuracy of coupling, to reduce amount of calculation.
In order to address the above problem, the invention discloses a kind of method of dynamic adjustment search window size, bagDraw together:
Calculate the interframe coefficient correlation of present frame and reference frame; Described interframe coefficient correlation is present frame each pointThe absolute value of the difference of pixel value sum and reference frame each point pixel value sum;
In the time that tried to achieve interframe coefficient correlation is within the first preset threshold value scope, by the size of search windowBe reduced to M1×N1; Wherein, the initial size of described search window is M0×N0;M1<M0,N1<N0
Preferably, described method also comprises:
For object block to be searched in present frame, calculate the interior coefficient correlation of piece of described object block pixel;Described interior coefficient correlation is the difference of every bit pixel in object block and each point pixel arithmetic mean of instantaneous valueAbsolute value sum;
In the time that coefficient correlation in tried to achieve piece is within the second preset threshold value scope, by the size of search windowBe reduced to M2×N2;M2<M0,N2<N0
Preferably, described the first preset threshold value scope is: be less than 2A; Wherein, A is current frame pixelNumber.
Preferably, reduce to search for the size of window according to interframe coefficient correlation, be specially:
In the time that described interframe coefficient correlation is being more than or equal to A and is being less than within the scope of 2A, M1Be more than or equal toM0/ 2 are less than M0Scope in equal proportion value, N1Be more than or equal to N0/ 2 are less than N0Scope in etc.Ratio value;
In the time that described interframe coefficient correlation is being more than or equal to A/2 and is being less than within the scope of A, M1Be more than or equal to5 are less than M0Equal proportion value in/2 scope, N1Be less than N being more than or equal to 50Geometric ratio in/2 scopeExample value;
Wherein, be adjusted into 5 × 5 according to the size minimum of interframe coefficient correlation search window; M1And N1ValueFor positive integer.
Preferably, described the second preset threshold value scope is for being less than 2B; Wherein, B is object block pixelNumber.
Preferably, reduce to search for the size of window according to coefficient correlation in piece, be specially:
In the time that described interior coefficient correlation is being more than or equal to B and is being less than within the scope of 2B, M2Be more than or equal toM/2 is less than the interior equal proportion value of scope of M, N2Geometric ratio in the scope that is more than or equal to N/2 and is less than NExample value;
In the time that described interior coefficient correlation is being more than or equal to B/2 and is being less than within the scope of B, M2Be more than or equal to 5Be less than the interior equal proportion value of scope of M/2, N2Be less than equal proportion in the scope of N/2 being more than or equal to 5Value;
Wherein, while reducing according to the size of interframe coefficient correlation search window, M value is M1; According to frameBetween the size of coefficient correlation search window while not adjusting, M value is M0; Search according to coefficient correlation in pieceThe size minimum of rope window is adjusted into 5 × 5; M2And N2Value is positive integer.
Further, the invention also discloses a kind of device of dynamic adjustment search window size, comprising:
Interframe Calculation of correlation factor unit, for calculating the interframe coefficient correlation of present frame and reference frame; InstituteState interframe coefficient correlation and be the difference of present frame each point pixel value sum and reference frame each point pixel value sumAbsolute value;
The first search window adjustment unit, for working as tried to achieve interframe coefficient correlation at the first preset threshold value modelWithin enclosing time, the size of search window is reduced to M1×N1; Wherein, the initial size of described search windowFor M0×N0;M1<M0,N1<N0
Preferably, described device also comprises:
Calculation of correlation factor unit in piece, for for present frame object block to be searched, described in calculatingCoefficient correlation in the piece of object block pixel; Described interior coefficient correlation be every bit pixel in object block withThe absolute value sum of the difference of each point pixel arithmetic mean of instantaneous value;
The second search window adjustment unit, for working as in tried to achieve piece coefficient correlation at the second preset threshold value modelWithin enclosing time, the size of search window is reduced to M2×N2;M2<M0,N2<N0
Preferably, described the first preset threshold value scope is: be less than 2A; Wherein, A is current frame pixelNumber.
Preferably, described the first search window adjustment unit reduces to search for the large of window according to interframe coefficient correlationLittle, be specially:
In the time that described interframe coefficient correlation is being more than or equal to A and is being less than within the scope of 2A, M1Be more than or equal toM0/ 2 are less than M0Scope in equal proportion value, N1Be more than or equal to N0/ 2 are less than N0Scope in etc.Ratio value;
In the time that described interframe coefficient correlation is being more than or equal to A/2 and is being less than within the scope of A, M1Be more than or equal to5 are less than M0Equal proportion value in/2 scope, N1Be less than N being more than or equal to 50Geometric ratio in/2 scopeExample value;
Wherein, be adjusted into 5 × 5 according to the size minimum of interframe coefficient correlation search window; M1And N1ValueFor positive integer.
Preferably, described the second preset threshold value scope is for being less than 2B; Wherein, B is object block pixelNumber.
Preferably, described the second search window adjustment unit reduces to search for the large of window according to coefficient correlation in pieceLittle, be specially:
In the time that described interior coefficient correlation is being more than or equal to B and is being less than within the scope of 2B, M2Be more than or equal toM/2 is less than the interior equal proportion value of scope of M, N2Geometric ratio in the scope that is more than or equal to N/2 and is less than NExample value;
In the time that described interior coefficient correlation is being more than or equal to B/2 and is being less than within the scope of B, M2Be more than or equal to 5Be less than the interior equal proportion value of scope of M/2, N2Be less than equal proportion in the scope of N/2 being more than or equal to 5Value;
Wherein, while reducing according to the size of interframe coefficient correlation search window, M value is M1; According to frameBetween the size of coefficient correlation search window while not adjusting, M value is M0; Search according to coefficient correlation in pieceThe size minimum of rope window is adjusted into 5 × 5; M2And N2Value is positive integer.
In addition, the invention also discloses a kind of block matching method, comprising:
Calculate the interframe coefficient correlation of present frame and reference frame; Described interframe coefficient correlation is present frame each pointThe absolute value of the difference of pixel value sum and reference frame each point pixel value sum;
In the time that tried to achieve interframe coefficient correlation is within the first preset threshold value scope, by the size of search windowBe reduced to M1×N1; Wherein, the initial size of described search window is M0×N0;M1<M0,N1<N0
In search window in reference frame, the match block of object block to be searched in search present frame.
Preferably, before search match block, described method also comprises:
For object block to be searched in present frame, calculate the interior coefficient correlation of piece of described object block pixel;Described interior coefficient correlation is the difference of every bit pixel in object block and each point pixel arithmetic mean of instantaneous valueAbsolute value sum;
In the time that coefficient correlation in tried to achieve piece is within the second preset threshold value scope, by the size of search windowBe reduced to M2×N2;M2<M0,N2<N0
Preferably, described the first preset threshold value scope is: be less than 2A; Wherein, A is current frame pixelNumber.
Preferably, described the second preset threshold value scope is for being less than 2B; Wherein, B is object block pixelNumber.
Preferably, the match block of object block to be searched in described search present frame, is specially:
Choose each piece in search window according to presetting rule, calculate object block and the pixel of searching for piece in windowPoor absolute value sum, will calculate the piece of minimum of a value as the match block of object block.
Further, the invention also discloses a kind of piece coalignment, comprising:
Interframe Calculation of correlation factor unit, for calculating the interframe coefficient correlation of present frame and reference frame; InstituteState interframe coefficient correlation and be the difference of present frame each point pixel value sum and reference frame each point pixel value sumAbsolute value;
The first search window adjustment unit, for working as tried to achieve interframe coefficient correlation at the first preset threshold value modelWithin enclosing time, the size of search window is reduced to M1×N1; Wherein, the initial size of described search windowFor M0×N0;M1<M0,N1<N0
Match block search unit, in the search window of reference frame, to be searched in search present frameThe match block of object block.
Preferably, described device also comprises:
Calculation of correlation factor unit in piece, for for present frame object block to be searched, described in calculatingCoefficient correlation in the piece of object block pixel; Described interior coefficient correlation be every bit pixel in object block withThe absolute value sum of the difference of each point pixel arithmetic mean of instantaneous value;
The second search window adjustment unit, for working as in tried to achieve piece coefficient correlation at the second preset threshold value modelWithin enclosing time, the size of search window is reduced to M2×N2;M2<M0,N2<N0
Preferably, described the first preset threshold value scope is: be less than 2A; Wherein, A is current frame pixelNumber.
Preferably, described the second preset threshold value scope is for being less than 2B; Wherein, B is object block pixelNumber.
Preferably, the match block of object block to be searched in described match block search unit search present frame,Be specially:
Choose each piece in search window according to presetting rule, calculate object block and the pixel of searching for piece in windowPoor absolute value sum, will calculate the piece of minimum of a value as the match block of object block.
Compared with prior art, the present invention has the following advantages:
The present invention (is present frame each point pixel value by the interframe coefficient correlation of calculating present frame and reference frameThe absolute value of the difference of sum and reference frame each point pixel value sum), when tried to achieve interframe coefficient correlation existsWithin the first preset threshold value scope time, the size that reduces to search for window. The method that the present invention proposes, foundationThe correlation of two two field picture contents, determines the size of suitable search window, can protect at block matching algorithmUnder the prerequisite of the card degree of accuracy, reduce the point of required coupling, reduced the complexity of calculating.
Further, the complying with as further adjustment search window size by coefficient correlation in the piece of object blockAccording to, calculate the absolute value sum of the difference of each point pixel in object block and pixel arithmetic mean of instantaneous value; Work as instituteWhen in the piece of trying to achieve, coefficient correlation is within the second preset threshold value scope, the size that reduces to search for window. ByIn the self-correlation of having considered object block itself, therefore adjust result more accurate, further reduceThe amount of calculation of piece coupling, has improved the speed that piece mates.
Brief description of the drawings
Fig. 1 is the flow chart of the embodiment of the method one of a kind of dynamic adjustment search window size of the present invention;
Fig. 2 is the schematic diagram of the embodiment of the method one of a kind of dynamic adjustment search window size of the present invention;
Fig. 3 is the flow chart of the embodiment of the method two of a kind of dynamic adjustment search window size of the present invention;
Fig. 4 is the schematic diagram of the embodiment of the method two of a kind of dynamic adjustment search window size of the present invention;
Fig. 5 is the structure chart of the device embodiment of a kind of dynamic adjustment search window size of the present invention;
Fig. 6 is the flow chart of a kind of block matching method embodiment mono-of the present invention;
Fig. 7 is the flow chart of a kind of block matching method embodiment bis-of the present invention;
Fig. 8 is the structure chart of a kind of coalignment embodiment of the present invention.
Detailed description of the invention
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawingThe present invention is further detailed explanation with detailed description of the invention.
One of core idea of the present invention is, has proposed a kind of method of dynamic adjustment search window size,By calculating the degree of correlation (being interframe coefficient correlation) of present frame and reference frame, and preset threshold rangeCompare, in the time that interframe coefficient correlation is within the scope of this, the size that reduces to search for window. The present inventionEnsure at block matching algorithm, under the prerequisite of the degree of accuracy, to reduce the point of required coupling, reduced the complexity of calculatingDegree.
With reference to Fig. 1, show the stream of the embodiment of the method one of a kind of dynamic adjustment search window size of the present inventionCheng Tu, is characterized in that, comprising:
Step 101, the interframe coefficient correlation of calculating present frame and reference frame; Described interframe coefficient correlation isThe absolute value of the difference of present frame each point pixel value sum and reference frame each point pixel value sum;
The two field picture that need to carry out compression coding is present frame, described reference frame in time can be in advance orPerson lags behind present frame, and in the time that reference frame is before present frame, piece coupling is applied to backward motion estimation,In the time that reference frame is after present frame, piece coupling is applied to forward motion estimation. At general Video codingIn compression, the former frame image that the reference frame of choosing is present frame.
The main purpose of this step is to weigh the content relevance of two two field pictures, obtains between two two field picturesSimilarity degree, thus determine the size of the search window that block matching algorithm uses according to similarity degree. ThisThe similarity estimating method that invention proposes is the interframe coefficient correlation of calculating present frame and reference frame pixel. ToolBody, the interframe coefficient correlation of described present frame and reference frame is: present frame each point pixel value sum and ginsengExamine the absolute value of the difference of frame pixel each point pixel value sum, it has reacted the exhausted of present frame and reference frame pixelTo error, described error is less, illustrates that the content of two width images is more approaching. As follows, be interframeThe computing formula of coefficient correlation E:
E = | Σ i = 1 w Σ j = 0 h P ij - Σ i = 0 w Σ j = 0 h Q ij | ;
Wherein, the wide of reference frame (also same present frame) image is w pixel; Reference frame is (also with currentFrame) height of image is h pixel; I span is 0~w, is the abscissa of pixel; J valueScope is 0~h, is the ordinate of pixel; PijFor on current frame image coordinate position (i, j) is locatedPixel value, QijFor the pixel value that coordinate position (i, j) is located in reference frame image.
Step 102, in the time that tried to achieve interframe coefficient correlation is within the first preset threshold value scope, will searchThe size of rope window is reduced to M1×N1; Wherein, the initial size of described search window is M0×N0;M1<M0,N1<N0
In block matching algorithm, the size of search window has directly affected matching result. Conventionally two width images,Similarity degree large, should calculate main related pixel and not consider too much neighboring pixel, otherwiseThe noise of periphery may affect the accurate tolerance of relevant matches coefficient in block matching algorithm, so should selectWith less search window. Otherwise, if the movement differential of two width images is larger, should select largerSearch window, many neighboring pixels of considering of can trying one's best like this, thus obtain the most similar match point.
In order to reduce computation complexity, search window should be as far as possible little, but after being small enough to certain value, just havePossible radical change object block and the correlation of searching for piece in window. Meanwhile, in order to obtain exactly as far as possibleCorrelation between capture element, needs to ensure that search window is enough large, but so again can be because of image noiseCause radical change object block and the correlation of searching for piece in window with adding of incoherent pixel own.So should judge the similarity degree of current frame image and reference frame, obtain roughly relevant the closing of picture materialSystem, thus the size of definite suitable search window is accomplished autotelic calculating and is mated. Conventionally two,The difference of width image is less, and searching for window should reduce.
Be understandable that, before adjusting, need to pre-define the size of an original search window,Guaranteeing to search for window is unlikely to excessive and increases amount of calculation; Meanwhile, guaranteeing to search for window is unlikely to too small and causesReduce piece to be searched and the correlation of object block. The initial size of described search window is M0×N0, searchRope window region is: the left side at current goal piece expands M0Individual pixel, the right expand M0Individual pixel, onSide expands N0Individual pixel, below expand N0The region that individual pixel surrounds. Can set M0And N0GetNot etc., for example, the initial size of search window is not 16 × 8 or 8 × 16 to value. General, set M0And N0Value equates. Conventionally, for larger image, as 1280 × 720 image, search windowInitial size is decided to be 32 × 32; For less image, as 176 × 144 image, at the beginning of search windowBeginning size is decided to be 16 × 16.
General, in described present frame, the size of object block to be searched is: 16 × 16,16 × 8,8 ×16,8 × 8,8 × 4,4 × 8 or 4 × 4. For example, the size of selected object block is 16 × 16 picturesThe macro block of element, the size of its search window is 16 × 16. When the judgement interframe coefficient correlation of trying to achieve is theWithin one preset threshold value scope, the size of search window is reduced to M1×N1, described the first preset threshold valueScope is through the statistical analysis of multitude of video data is tried to achieve, and has general adaptability meaning. Can establishDetermine M1And N1Value equate, or M1And N1Value not etc. For example, search window by 16 ×16 are reduced to: 8 × 8,16 × 8,8 × 16 or other range size.
As shown in Figure 2, search for the signal of the embodiment of the method one of window size for a kind of dynamic adjustment of the present inventionFigure; Wherein, the object block in present frame has been shown in Fig. 2 (a), this object block is 16 × 16 sizes;Fig. 2 (b) has provided the size signal of the unadjusted search window in reference frame, and its size is 32 × 32;Fig. 2 (c) has provided the size signal of the search window after reducing in reference frame, and the size after adjustment is16×16。
It should be noted that, due to the complexity that the object of the invention is to reduce in block matching algorithm, therefore,, in adjustment process, search for the big or small or constant of window or reduce, but can not increase search window.
The embodiment of the present invention one, by calculating the interframe coefficient correlation of present frame and reference frame image, according toCompare with the first preset threshold value scope, judge whether to reduce to search for the size of window, can be at pieceJoin algorithm and ensure, under the prerequisite of the degree of accuracy, to reduce the point of required coupling, reduced the complexity of calculating.
With reference to Fig. 3, show the stream of the embodiment of the method two of a kind of dynamic adjustment search window size of the present inventionCheng Tu, comprising:
Step 301, the interframe coefficient correlation of calculating present frame and reference frame; Described interframe coefficient correlation isThe absolute value of the difference of present frame each point pixel value sum and reference frame each point pixel value sum;
Step 302, whether the judgement interframe coefficient correlation of trying to achieve is within the first preset threshold value scope;If so, after performing step 303, perform step 304; If not, the size of searching for window does not adjust,Directly execution step 304;
Step 303, the size that reduces to search for window;
In a preferred embodiment of the invention, described the first preset threshold value scope is: be less than 2A;Wherein, A is the number of present frame (same to reference frame) pixel. Interframe coefficient correlation E is more than or equal toWhen 2A, the size of search window is constant; While being less than 2A, search window reduces.
Further, reduce to search for the size of window according to interframe coefficient correlation, be specially:
In the time that described interframe coefficient correlation is being more than or equal to A and is being less than within the scope of 2A, M1Be more than or equal toM0/ 2 are less than M0Scope in equal proportion value, N1Be more than or equal to N0/ 2 are less than N0Scope in etc.Ratio value; In the time that described interframe coefficient correlation is being more than or equal to A/2 and is being less than within the scope of A, M1GreatlyBe less than M in equaling 50Equal proportion value in/2 scope, N1Be less than N being more than or equal to 50/ 2 scopeInterior equal proportion value; Wherein, be adjusted into 5 × 5 according to the size minimum of interframe coefficient correlation E search window;M1And N1Value is positive integer. That is:
When A≤E < 2A, M0/2≤M1<M0;N0/2≤N1<N0
When A/2≤E < A, 5≤M1<M0/2;5≤N1<N0/2;
That is to say when E equals whole frame number of pixels the M of search window1、N1Value reduces by half; E equalsWhole frame number of pixels was divided by 2 o'clock, and search window is 5 × 5; If E is other value, basis and whole frameRatio between number of pixels, carries out scaled down to search window. It should be noted that equal proportion contractingHour, M1And N1Value be always integer, if the result of calculating is not positive integer number, thatJust get immediate value. E value is in a certain scope, M1And N1Immobilize. For example, AWhen≤E < 2A, the size of search window can only be 8 × 8,9 × 9,10 × 10,11 × 11,12 × 12,Value in 13 × 13,14 × 14.
It should be noted that, work as M0/ 2≤5 o'clock, M1Value is 5; Work as N0/ 2≤5 o'clock, N1Value is5. In addition, the minimum adjustment of search window is 5 × 5, and, in the time of E < A/2, search window size is always 5× 5. Ensure that, in search window, the accuracy of match block search, is unlikely to search for window too small, makesFor the piece of coupling is positioned at outside search window.
Step 304, for object block to be searched in present frame, calculates in the piece of described object block pixelCoefficient correlation; Described interior coefficient correlation is every bit pixel and the each point pixel arithmetic average in object blockThe absolute value sum of the difference of value;
In the embodiment of the present invention two, before obtaining the size of search window, also need to do a precision regulatingWhole process. Because in above-mentioned steps, by primary pretreatment only to having done one between two two field picturesIndividual rough calculating and estimation, do not consider other influences factor, relevant such as the oneself of object block itselfProperty etc. So embodiment of the present invention two-way is crossed the interior coefficient correlation of piece of object block as evaluation objective piece basisThe leading indicator of body correlation. Concrete, described interior coefficient correlation MSE is the each point in object blockThe absolute value sum of the difference of pixel and pixel arithmetic mean of instantaneous value. Conventionally, the size of MSE has been reacted targetThe pixel difference degree of piece itself, MSE is less, illustrates that the difference degree of object block is less, searches soThe size of rope window should correspondingly reduce. As follows, the computing formula for coefficient correlation MSE in piece:
MSE = &Sigma; i = 0 m &Sigma; j = 0 n | P &prime; ij - P &prime; &OverBar; | ;
P &prime; &OverBar; = 1 m &times; n ( &Sigma; i = 0 m &Sigma; j = 0 n P ij ) .
Wherein, the wide of object block is m pixel; The height of object block is h pixel; I spanBeing 0~m, is the abscissa of pixel; J span is 0~n, is the ordinate of pixel; P 'ijForThe pixel value that in the object block of present frame, coordinate position (i, j) is located;For each point pixel in object blockArithmetic mean value.
Step 305, in the judgement piece of trying to achieve, whether coefficient correlation is within the second preset threshold value scope;If so, perform step 306; The size of if not, searching for window does not adjust;
Step 306, the size that reduces to search for window.
In a preferred embodiment of the invention, described the second preset threshold value scope is for being less than 2B; Wherein, BFor the number of object block pixel, when in piece, coefficient correlation MSE is more than or equal to 2B, the size of search windowConstant; While being less than 2B, search window reduces. Concrete, B=m × n, for example, for one 16 × 16Piece, the value of B is 256.
Further, reduce to search for the size of window according to coefficient correlation in piece, be specially:
In the time that described interior coefficient correlation is being more than or equal to B and is being less than within the scope of 2B, M1Be more than or equal toM/2 is less than equal proportion value in the scope of M, and N is geometric ratio in the scope that is more than or equal to N/2 and is less than NExample value; In the time that described interframe coefficient correlation is being more than or equal to A/2 and is being less than within the scope of A, M1Be greater thanEqual 5 and be less than equal proportion value in the scope of M/2, N is less than in the scope of N/2 etc. being more than or equal to 5Ratio value; Wherein, while reducing according to the size of interframe coefficient correlation search window, M value is M1;While not adjusting according to the size of interframe coefficient correlation search window, M value is M0; According to relevant in pieceThe size minimum of coefficient search window is adjusted into 5 × 5; M2And N2Value is positive integer. That is:
When B≤MSE < 2B, M/2≤M2<M;N/2≤N2<N;
When B/2≤MSE < B, 5≤M2<M/2;5≤N2<N/2;
M=M0Or M1;N=N0Or N1
That is to say, if by the judgement of primary interframe coefficient correlation, reduced the large of search windowHour, the search window based on reducing last time dwindles adjustment again; If pass through interframe phase for the first timeClose the judgement of coefficient, when the size of search window does not change, on the basis of initial ranging window, dwindleAdjust.
For example, by the judgement of step 302, search window is reduced to 24 × 24 by 32 × 32; AgainCarried out the judgement of step 305, supposed MSE=3B/2, M2=3M1/4=18;N2=3N1/4=18,Search window is reduced to 18 × 18 again by 24 × 24. As shown in Figure 4, dynamically adjust for the present invention is a kind ofThe schematic diagram of the embodiment of the method two of search window size; Wherein, in Fig. 4 (a), illustrated in present frameThe size of object block, this object block is 16 × 16; Fig. 4 (b) has provided the search window in reference frameInitial size signal, its size is 16 × 16; Fig. 4 (c) has provided according to interframe coefficient correlation and has reducedAfter the size signal of search window, its size is 12 × 12; Fig. 4 (d) has provided according to relevant in pieceThe size signal of the search window that coefficient finally obtains, its size is 9 × 9.
And for example, by the judgement of step 302, search window is not done to change; Again carry out step 305Judgement, suppose MSE=3B/2, M2=3M0/4=12;N2=3N0/ 4=12, search window finally subtractsLittle is 12 × 12.
It should be noted that, in the time of M/2≤5, M2Value is 5; In the time of N/2≤5, N2Value is 5.With by calculating interframe coefficient correlation, to reduce to search for window identical, obtain by coefficient correlation in computing blockSearch window minimum be also 5 × 5. In the time of MSE < B/2, search window size is always 5 × 5. To protectCard is in search window, and the accuracy of match block search, is unlikely to search for window too small, makes to mate the mostPiece is positioned at outside search window.
In above-described embodiment, provide the wide and high preferred exemplary of simultaneously dwindling of search window, understandableBe, the size of search window has multiple minishing method, and the present invention does not limit at this, for example, and in concrete realityShi Shi, the height (wide constant) that can only reduce to search for wide (high constant) of window or search for window. For example,Search window is reduced to 16 × 8 or 8 × 16 etc. by 16 × 16.
By the embodiment of the present invention two, by calculating successively coefficient correlation in interframe coefficient correlation and piece, rightSearch window is adjusted, and owing to having considered the self-correlation of object block itself, therefore adjusts result moreAccurately.
With reference to Fig. 5, show the structure of the device embodiment of a kind of dynamic adjustment search window size of the present inventionFigure, comprising:
Interframe Calculation of correlation factor unit 501, for calculating the interframe coefficient correlation of present frame and reference frame;Described interframe coefficient correlation is the poor of present frame each point pixel value sum and reference frame each point pixel value sumAbsolute value;
The first search window adjustment unit 502, for working as tried to achieve interframe coefficient correlation at the first preset thresholdWithin value scope time, the size of search window is reduced to M1×N1; Wherein, described search window is initialSize is M0×N0;M1<M0,N1<N0
Preferably, described the first preset threshold value scope is: be less than 2A; Wherein, A is current frame pixelNumber.
Further, described the first search window adjustment unit reduces to search for the large of window according to interframe coefficient correlationLittle, be specially:
In the time that described interframe coefficient correlation is being more than or equal to A and is being less than within the scope of 2A, M1Be more than or equal toM0/ 2 are less than M0Scope in equal proportion value, N1Be more than or equal to N0/ 2 are less than N0Scope in etc.Ratio value; In the time that described interframe coefficient correlation is being more than or equal to A/2 and is being less than within the scope of A, M1GreatlyBe less than M in equaling 50Equal proportion value in/2 scope, N1Be less than N being more than or equal to 50/ 2 scopeInterior equal proportion value; Wherein, be adjusted into 5 × 5 according to the size minimum of interframe coefficient correlation search window;M1And N1Value is positive integer.
As shown in Figure 5, in a preferred embodiment of the invention, consider that the oneself of object block itself is relevantProperty, described device also comprises:
Calculation of correlation factor unit 503 in piece, for for present frame object block to be searched, calculatesCoefficient correlation in the piece of described object block pixel; Described interior coefficient correlation is the every bit picture in object blockThe absolute value sum of the difference of element and each point pixel arithmetic mean of instantaneous value;
The second search window adjustment unit 504, for working as in tried to achieve piece coefficient correlation at the second preset thresholdWithin value scope time, the size of search window is reduced to M2×N2;M2<M0,N2<N0
Preferably, described the second preset threshold value scope is for being less than 2B; Wherein, B is object block pixelNumber.
Further, described the second search window adjustment unit reduces to search for the large of window according to coefficient correlation in pieceLittle, be specially:
In the time that described interior coefficient correlation is being more than or equal to B and is being less than within the scope of 2B, M2Be more than or equal toM/2 is less than the interior equal proportion value of scope of M, N2Geometric ratio in the scope that is more than or equal to N/2 and is less than NExample value; In the time that described interior coefficient correlation is being more than or equal to B/2 and is being less than within the scope of B, M2Be greater thanEqual 5 and be less than equal proportion value in the scope of M/2, N2Be less than in the scope of N/2 being more than or equal to 5Equal proportion value; Wherein, while reducing according to the size of interframe coefficient correlation search window, M value is M1;While not adjusting according to the size of interframe coefficient correlation search window, M value is M0; According to relevant in pieceThe size minimum of coefficient search window is adjusted into 5 × 5; M2And N2Value is positive integer.
With reference to Fig. 6, be the flow chart of a kind of block matching method embodiment mono-of the present invention, comprising:
Step 601, the interframe coefficient correlation of calculating present frame and reference frame; Described interframe coefficient correlation isThe absolute value of the difference of present frame each point pixel value sum and reference frame each point pixel value sum;
Step 602, in the time that tried to achieve interframe coefficient correlation is within the first preset threshold value scope, will searchThe size of rope window is reduced to M1×N1; Wherein, the initial size of described search window is M0×N0;M1<M0,N1<N0
Step 603, in the search window in reference frame, search in present frame object block to be searchedJoin piece.
Preferably, described the first preset threshold value scope is: be less than 2A; Wherein, A is current frame pixelNumber.
Further, reduce to search for the size of window according to interframe coefficient correlation, be specially:
In the time that described interframe coefficient correlation is being more than or equal to A and is being less than within the scope of 2A, M1Be more than or equal toM0/ 2 are less than M0Scope in equal proportion value, N1Be more than or equal to N0/ 2 are less than N0Scope in etc.Ratio value; In the time that described interframe coefficient correlation is being more than or equal to A/2 and is being less than within the scope of A, M1GreatlyBe less than M in equaling 50Equal proportion value in/2 scope, N1Be less than N being more than or equal to 50/ 2 scopeInterior equal proportion value; Wherein, be adjusted into 5 × 5 according to the size minimum of interframe coefficient correlation search window;M1And N1Value is positive integer.
With reference to Fig. 7, be the flow chart of a kind of block matching method embodiment bis-of the present invention, than above-mentioned realityExecute example, the present embodiment has been considered the self-correlation of object block, makes to adjust result more accurate, described sideMethod comprises:
Step 701, the interframe coefficient correlation of calculating present frame and reference frame; Described interframe coefficient correlation isThe absolute value of the difference of present frame each point pixel value sum and reference frame each point pixel value sum;
Step 702, in the time that tried to achieve interframe coefficient correlation is within the first preset threshold value scope, will searchThe size of rope window is reduced to M1×N1; Wherein, the initial size of described search window is M0×N0;M1<M0,N1<N0
Step 703, for object block to be searched in present frame, calculates in the piece of described object block pixelCoefficient correlation; Described interior coefficient correlation is every bit pixel and the each point pixel arithmetic average in object blockThe absolute value sum of the difference of value;
Preferably, described the second preset threshold value scope is for being less than 2B; Wherein, B is object block pixelNumber.
Further, reduce to search for the size of window according to coefficient correlation in piece, be specially:
In the time that described interior coefficient correlation is being more than or equal to B and is being less than within the scope of 2B, M2Be more than or equal toM/2 is less than the interior equal proportion value of scope of M, N2Geometric ratio in the scope that is more than or equal to N/2 and is less than NExample value; In the time that described interior coefficient correlation is being more than or equal to B/2 and is being less than within the scope of B, M2Be greater thanEqual 5 and be less than equal proportion value in the scope of M/2, N2Be less than in the scope of N/2 being more than or equal to 5Equal proportion value; Wherein, while reducing according to the size of interframe coefficient correlation search window, M value is M1;While not adjusting according to the size of interframe coefficient correlation search window, M value is M0; According to relevant in pieceThe size minimum of coefficient search window is adjusted into 5 × 5; M2And N2Value is positive integer.
Step 704, in the time that coefficient correlation in tried to achieve piece is within the second preset threshold value scope, will searchThe size of rope window is reduced to M2×N2;M2<M0,N2<N0
Step 705, in the search window in reference frame, search in present frame object block to be searchedJoin piece.
Further, the match block of object block to be searched in described search present frame, is specially: according in advancePut rule and choose each piece in search window, calculate the object block absolute value poor with the pixel of searching for piece in windowSum, will calculate the piece of minimum of a value as the match block of object block; Wherein, can choose and search successivelyIn rope window each, all searches for, and also can choose some in search window according to special algorithmSpecific, carry out part search; The object block absolute value sum SAD poor with the pixel of searching for piece in windowBe expressed as:
SAD = &Sigma; x , y &Element; block | PE ( x , y ) | = &Sigma; x , y &Element; block | Q ( x , y ) - P ( x , y ) | ;
Wherein, Q (x, y) is the pixel value of each point on piece in search window; P (x, y) is the order of present frameThe pixel value of each point on mark piece; The poor coordinates computed (x, y) of pixel is at object block and search window each timeThe corresponding position value of middle; When SDA hour, the piece in corresponding search window and object blockJoin error minimum, the match block using this piece as object block.
With reference to Fig. 8, show the structure chart of a kind of coalignment embodiment of the present invention, comprising:
Interframe Calculation of correlation factor unit 801, for calculating the interframe coefficient correlation of present frame and reference frame;Described interframe coefficient correlation is the poor of present frame each point pixel value sum and reference frame each point pixel value sumAbsolute value;
The first search window adjustment unit 802, for working as tried to achieve interframe coefficient correlation at the first preset thresholdWithin value scope time, the size of search window is reduced to M1×N1; Wherein, described search window is initialSize is M0×N0;M1<M0,N1<N0
Match block search unit 803, in the search window of reference frame, waits to search in search present frameThe match block of the object block of rope.
Preferably, described the first preset threshold value scope is: be less than 2A; Wherein, A is current frame pixelNumber.
Further, reduce to search for the size of window according to interframe coefficient correlation, be specially:
In the time that described interframe coefficient correlation is being more than or equal to A and is being less than within the scope of 2A, M1Be more than or equal toM0/ 2 are less than M0Scope in equal proportion value, N1Be more than or equal to N0/ 2 are less than N0Scope in etc.Ratio value; In the time that described interframe coefficient correlation is being more than or equal to A/2 and is being less than within the scope of A, M1GreatlyBe less than M in equaling 50Equal proportion value in/2 scope, N1Be less than N being more than or equal to 50/ 2 scopeInterior equal proportion value; Wherein, be adjusted into 5 × 5 according to the size minimum of interframe coefficient correlation search window;M1And N1Value is positive integer.
In a preferred embodiment of the invention, as shown in Figure 8, described device also comprises:
Calculation of correlation factor unit 804 in piece, for for present frame object block to be searched, calculatesCoefficient correlation in the piece of described object block pixel; Described interior coefficient correlation is the every bit picture in object blockThe absolute value sum of the difference of element and each point pixel arithmetic mean of instantaneous value;
The second search window adjustment unit 805, for working as in tried to achieve piece coefficient correlation at the second preset thresholdWithin value scope time, the size of search window is reduced to M2×N2;M2<M0,N2<N0
Preferably, described the second preset threshold value scope is for being less than 2B; Wherein, B is object block pixelNumber.
Further, reduce to search for the size of window according to coefficient correlation in piece, be specially:
In the time that described interior coefficient correlation is being more than or equal to B and is being less than within the scope of 2B, M2Be more than or equal toM/2 is less than the interior equal proportion value of scope of M, N2Geometric ratio in the scope that is more than or equal to N/2 and is less than NExample value; In the time that described interior coefficient correlation is being more than or equal to B/2 and is being less than within the scope of B, M2Be greater thanEqual 5 and be less than equal proportion value in the scope of M/2, N2Be less than in the scope of N/2 being more than or equal to 5Equal proportion value; Wherein, while reducing according to the size of interframe coefficient correlation search window, M value is M1;While not adjusting according to the size of interframe coefficient correlation search window, M value is M0; According to relevant in pieceThe size minimum of coefficient search window is adjusted into 5 × 5; M2And N2Value is positive integer.
Concrete, the match block of object block to be searched in described match block search unit search present frame,Be specially: choose search each piece in window according to presetting rule, calculate piece in object block and search windowThe absolute value sum that pixel is poor, will calculate the piece of minimum of a value as the match block of object block.
Each embodiment in this description all adopts the mode of going forward one by one to describe, and each embodiment stressesBe all and the difference of other embodiment, between each embodiment identical similar part mutually referring to. For device embodiment, because it is substantially similar to embodiment of the method, so the ratio of describingSimpler, relevant part is referring to the part explanation of embodiment of the method.
Method and device thereof to a kind of dynamic adjustment search window provided by the present invention above, and a kind ofBlock matching method and device thereof, be described in detail, and applied specific case herein to of the present inventionPrinciple and embodiment are set forth, and the explanation of above embodiment is just of the present invention for helping to understandMethod and core concept thereof; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention,All will change in specific embodiments and applications, in sum, this description is notBe interpreted as limitation of the present invention.

Claims (16)

1. a method of dynamically adjusting search window size, is characterized in that, comprising:
Calculate the interframe coefficient correlation of present frame and reference frame; Described interframe coefficient correlation is present frame each pointThe absolute value of the difference of pixel value sum and reference frame each point pixel value sum;
In the time that tried to achieve interframe coefficient correlation is within the first preset threshold value scope, by the size of search windowBe reduced to M1×N1; Wherein, the initial size of described search window is M0×N0;M1<M0,N1<N0
Wherein, described method also comprises:
For object block to be searched in present frame, calculate the interior coefficient correlation of piece of described object block pixel;Described interior coefficient correlation is the difference of every bit pixel in object block and each point pixel arithmetic mean of instantaneous valueAbsolute value sum;
In the time that coefficient correlation in tried to achieve piece is within the second preset threshold value scope, by the size of search windowBe reduced to M2×N2;M2<M0,N2<N0
2. the method for claim 1, is characterized in that,
Described the first preset threshold value scope is: be less than 2A; Wherein, the number that A is current frame pixel.
3. method as claimed in claim 2, is characterized in that, reduces to search according to interframe coefficient correlationThe size of rope window, is specially:
In the time that described interframe coefficient correlation is being more than or equal to A and is being less than within the scope of 2A, M1Be more than or equal toM0/ 2 are less than M0Scope in equal proportion value, N1Be more than or equal to N0/ 2 are less than N0Scope in etc.Ratio value;
In the time that described interframe coefficient correlation is being more than or equal to A/2 and is being less than within the scope of A, M1Be more than or equal to5 are less than M0Equal proportion value in/2 scope, N1Be less than N being more than or equal to 50Geometric ratio in/2 scopeExample value;
Wherein, be adjusted into 5 × 5 according to the size minimum of interframe coefficient correlation search window; M1And N1ValueFor positive integer.
4. the method for claim 1, is characterized in that,
Described the second preset threshold value scope is for being less than 2B; Wherein, B is the number of object block pixel.
5. method as claimed in claim 4, is characterized in that, reduces to search according to coefficient correlation in pieceThe size of rope window, is specially:
In the time that described interior coefficient correlation is being more than or equal to B and is being less than within the scope of 2B, M2Be more than or equal toM/2 is less than the interior equal proportion value of scope of M, N2Geometric ratio in the scope that is more than or equal to N/2 and is less than NExample value;
In the time that described interior coefficient correlation is being more than or equal to B/2 and is being less than within the scope of B, M2Be more than or equal to 5Be less than the interior equal proportion value of scope of M/2, N2Be less than equal proportion in the scope of N/2 being more than or equal to 5Value;
Wherein, while reducing according to the size of interframe coefficient correlation search window, M value is M1; According to frameBetween the size of coefficient correlation search window while not adjusting, M value is M0; Search according to coefficient correlation in pieceThe size minimum of rope window is adjusted into 5 × 5; M2And N2Value is positive integer.
6. a device of dynamically adjusting search window size, is characterized in that, comprising:
Interframe Calculation of correlation factor unit, for calculating the interframe coefficient correlation of present frame and reference frame; InstituteState interframe coefficient correlation and be the difference of present frame each point pixel value sum and reference frame each point pixel value sumAbsolute value;
The first search window adjustment unit, for working as tried to achieve interframe coefficient correlation at the first preset threshold value modelWithin enclosing time, the size of search window is reduced to M1×N1; Wherein, the initial size of described search windowFor M0×N0;M1<M0,N1<N0
Wherein, described device also comprises:
Calculation of correlation factor unit in piece, for for present frame object block to be searched, described in calculatingCoefficient correlation in the piece of object block pixel; Described interior coefficient correlation be every bit pixel in object block withThe absolute value sum of the difference of each point pixel arithmetic mean of instantaneous value;
The second search window adjustment unit, for working as in tried to achieve piece coefficient correlation at the second preset threshold value modelWithin enclosing time, the size of search window is reduced to M2×N2;M2<M0,N2<N0
7. device as claimed in claim 6, is characterized in that,
Described the first preset threshold value scope is: be less than 2A; Wherein, the number that A is current frame pixel.
8. device as claimed in claim 7, is characterized in that, described the first search window adjustment unitThe size that reduces to search for window according to interframe coefficient correlation, is specially:
In the time that described interframe coefficient correlation is being more than or equal to A and is being less than within the scope of 2A, M1Be more than or equal toM0/ 2 are less than M0Scope in equal proportion value, N1Be more than or equal to N0/ 2 are less than N0Scope in etc.Ratio value;
In the time that described interframe coefficient correlation is being more than or equal to A/2 and is being less than within the scope of A, M1Be more than or equal to5 are less than M0Equal proportion value in/2 scope, N1Be less than N being more than or equal to 50Geometric ratio in/2 scopeExample value;
Wherein, be adjusted into 5 × 5 according to the size minimum of interframe coefficient correlation search window; M1And N1ValueFor positive integer.
9. device as claimed in claim 6, is characterized in that,
Described the second preset threshold value scope is for being less than 2B; Wherein, B is the number of object block pixel.
10. device as claimed in claim 9, is characterized in that, described the second search window adjustment unitThe size that reduces to search for window according to coefficient correlation in piece, is specially:
In the time that described interior coefficient correlation is being more than or equal to B and is being less than within the scope of 2B, M2Be more than or equal toM/2 is less than the interior equal proportion value of scope of M, N2Geometric ratio in the scope that is more than or equal to N/2 and is less than NExample value;
In the time that described interior coefficient correlation is being more than or equal to B/2 and is being less than within the scope of B, M2Be more than or equal to 5Be less than the interior equal proportion value of scope of M/2, N2Be less than equal proportion in the scope of N/2 being more than or equal to 5Value;
Wherein, while reducing according to the size of interframe coefficient correlation search window, M value is M1; According to frameBetween the size of coefficient correlation search window while not adjusting, M value is M0; Search according to coefficient correlation in pieceThe size minimum of rope window is adjusted into 5 × 5; M2And N2Value is positive integer.
11. 1 kinds of block matching methods, is characterized in that, comprising:
Calculate the interframe coefficient correlation of present frame and reference frame; Described interframe coefficient correlation is present frame each pointThe absolute value of the difference of pixel value sum and reference frame each point pixel value sum;
In the time that tried to achieve interframe coefficient correlation is within the first preset threshold value scope, by the size of search windowBe reduced to M1×N1; Wherein, the initial size of described search window is M0×N0;M1<M0,N1<N0
In search window in reference frame, the match block of object block to be searched in search present frame;
Wherein, before search match block, described method also comprises:
For object block to be searched in present frame, calculate the interior coefficient correlation of piece of described object block pixel;Described interior coefficient correlation is the difference of every bit pixel in object block and each point pixel arithmetic mean of instantaneous valueAbsolute value sum;
In the time that coefficient correlation in tried to achieve piece is within the second preset threshold value scope, by the size of search windowBe reduced to M2×N2;M2<M0,N2<N0
12. methods as claimed in claim 11, is characterized in that,
Described the first preset threshold value scope is: be less than 2A; Wherein, the number that A is current frame pixel;
Described the second preset threshold value scope is for being less than 2B; Wherein, B is the number of object block pixel.
13. methods as claimed in claim 11, is characterized in that, in described search present frame, wait to searchThe match block of the object block of rope, is specially:
Choose each piece in search window according to presetting rule, calculate object block and the pixel of searching for piece in windowPoor absolute value sum, will calculate the piece of minimum of a value as the match block of object block.
14. 1 kinds of piece coalignments, is characterized in that, comprising:
Interframe Calculation of correlation factor unit, for calculating the interframe coefficient correlation of present frame and reference frame; InstituteState interframe coefficient correlation and be the difference of present frame each point pixel value sum and reference frame each point pixel value sumAbsolute value;
The first search window adjustment unit, for working as tried to achieve interframe coefficient correlation at the first preset threshold value modelWithin enclosing time, the size of search window is reduced to M1×N1; Wherein, the initial size of described search windowFor M0×N0;M1<M0,N1<N0
Match block search unit, in the search window of reference frame, to be searched in search present frameThe match block of object block;
Wherein, described device also comprises:
Calculation of correlation factor unit in piece, for for present frame object block to be searched, described in calculatingCoefficient correlation in the piece of object block pixel; Described interior coefficient correlation be every bit pixel in object block withThe absolute value sum of the difference of each point pixel arithmetic mean of instantaneous value;
The second search window adjustment unit, for working as in tried to achieve piece coefficient correlation at the second preset threshold value modelWithin enclosing time, the size of search window is reduced to M2×N2;M2<M0,N2<N0
15. devices as claimed in claim 14, is characterized in that,
Described the first preset threshold value scope is: be less than 2A; Wherein, the number that A is current frame pixel;
Described the second preset threshold value scope is for being less than 2B; Wherein, B is the number of object block pixel.
16. devices as claimed in claim 14, is characterized in that, described match block search unit is searchedThe match block of object block to be searched in rope present frame, is specially:
Choose each piece in search window according to presetting rule, calculate object block and the pixel of searching for piece in windowPoor absolute value sum, will calculate the piece of minimum of a value as the match block of object block.
CN201010263586.2A 2010-08-25 2010-08-25 Dynamically adjust method and device, block matching method and the device of search window Active CN102378002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010263586.2A CN102378002B (en) 2010-08-25 2010-08-25 Dynamically adjust method and device, block matching method and the device of search window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010263586.2A CN102378002B (en) 2010-08-25 2010-08-25 Dynamically adjust method and device, block matching method and the device of search window

Publications (2)

Publication Number Publication Date
CN102378002A CN102378002A (en) 2012-03-14
CN102378002B true CN102378002B (en) 2016-05-04

Family

ID=45795890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010263586.2A Active CN102378002B (en) 2010-08-25 2010-08-25 Dynamically adjust method and device, block matching method and the device of search window

Country Status (1)

Country Link
CN (1) CN102378002B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423738B (en) * 2017-08-02 2020-10-23 广东工业大学 Test paper subject positioning method and device based on template matching
CN110097576B (en) 2019-04-29 2022-11-18 腾讯科技(深圳)有限公司 Motion information determination method of image feature point, task execution method and equipment
CN113962877B (en) * 2019-07-17 2024-06-25 中国电子科技集团公司第十三研究所 Pixel distortion correction method, correction device and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5812199A (en) * 1996-07-11 1998-09-22 Apple Computer, Inc. System and method for estimating block motion in a video image sequence
US6081209A (en) * 1998-11-12 2000-06-27 Hewlett-Packard Company Search system for use in compression
CN1317125A (en) * 1998-08-07 2001-10-10 英芬能技术公司 Method and device for estimating motion in digitized image with pixels
CN1739121A (en) * 2003-01-16 2006-02-22 Vixs系统公司 Video frame correlation for motion estimation
US7239721B1 (en) * 2002-07-14 2007-07-03 Apple Inc. Adaptive motion estimation
CN101389023A (en) * 2008-10-21 2009-03-18 镇江唐桥微电子有限公司 Adaptive movement estimation method
CN101540905A (en) * 2008-03-20 2009-09-23 联发科技股份有限公司 Method for video coding

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4514203B2 (en) * 2004-06-11 2010-07-28 キヤノン株式会社 Motion vector detection apparatus and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5812199A (en) * 1996-07-11 1998-09-22 Apple Computer, Inc. System and method for estimating block motion in a video image sequence
CN1317125A (en) * 1998-08-07 2001-10-10 英芬能技术公司 Method and device for estimating motion in digitized image with pixels
US6081209A (en) * 1998-11-12 2000-06-27 Hewlett-Packard Company Search system for use in compression
US7239721B1 (en) * 2002-07-14 2007-07-03 Apple Inc. Adaptive motion estimation
CN1739121A (en) * 2003-01-16 2006-02-22 Vixs系统公司 Video frame correlation for motion estimation
CN101540905A (en) * 2008-03-20 2009-09-23 联发科技股份有限公司 Method for video coding
CN101389023A (en) * 2008-10-21 2009-03-18 镇江唐桥微电子有限公司 Adaptive movement estimation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Hwang-Seok Oh, Heung-Kyu Lee.Block-matching algorithm based on dynamic adjustment of search window for low bit-rate video coding.《Journal of Electronic Imaging》.1998,第7卷(第3期), *

Also Published As

Publication number Publication date
CN102378002A (en) 2012-03-14

Similar Documents

Publication Publication Date Title
US8755630B2 (en) Object pose recognition apparatus and object pose recognition method using the same
CN107424177B (en) Positioning correction long-range tracking method based on continuous correlation filter
EP1661384B1 (en) Semantics-based motion estimation for multi-view video coding
CN100563343C (en) The method and apparatus that is used for estimation
CN101375274B (en) Transforms with common factors
US8520084B2 (en) Video stabilization system and method
WO2023165093A1 (en) Training method for visual inertial odometer model, posture estimation method and apparatuses, electronic device, computer-readable storage medium, and program product
EP1229489A3 (en) Image processing method and apparatus
CN103189715B (en) Stereoscopic image processing device and stereoscopic image processing method
CN102378002B (en) Dynamically adjust method and device, block matching method and the device of search window
CN101556694B (en) Matching method of rotating images
Kepley et al. Chaotic motions in the restricted four body problem via Devaney's saddle-focus homoclinic tangle theorem
CN108335328B (en) Camera attitude estimation method and camera attitude estimation device
CN110910375A (en) Detection model training method, device, equipment and medium based on semi-supervised learning
CN109447943B (en) Target detection method, system and terminal equipment
CN102725774B (en) Similarity degree calculation device, similarity degree calculation method, and program
JP6253803B2 (en) System and method for pairwise distance calculation
CN214587004U (en) Stereo matching acceleration circuit, image processor and three-dimensional imaging electronic equipment
CN101189878B (en) Calculating transformation parameters for image processing
US12039736B2 (en) Image processing device, method, and program
CN106548493A (en) A kind of method and system of figure matching
CN117496204A (en) Image feature point matching method, device, equipment and medium
Bartoli On the non-linear optimization of projective motion using minimal parameters
CN102769717B (en) Image processing method and device
CN115908314A (en) Few-sample defect detection method based on pixel-to-global bilateral guide network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Wuxi District of Jiangsu city of Wuxi province Qingyuan Road 214000 No. 18 Taihu International Science Park sensor network university science and Technology Park 530 building A1001

Applicant after: WUXI ZHONGGAN MICROELECTRONIC CO., LTD.

Address before: 214028 national integrated circuit design (21-1), Changjiang Road, New District, Jiangsu, Wuxi, China, China (610)

Applicant before: Wuxi Vimicro Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170811

Address after: 226300 Tongzhou District, Nantong, Century Avenue, No. 6, layer 999, No.

Patentee after: Jiangsu Dahai Intelligent System Co., Ltd.

Address before: Wuxi District of Jiangsu city of Wuxi province Qingyuan Road 214000 No. 18 Taihu International Science Park sensor network university science and Technology Park 530 building A1001

Patentee before: WUXI ZHONGGAN MICROELECTRONIC CO., LTD.