CN102098440B - Electronic image stabilizing method and electronic image stabilizing system aiming at moving object detection under camera shake - Google Patents

Electronic image stabilizing method and electronic image stabilizing system aiming at moving object detection under camera shake Download PDF

Info

Publication number
CN102098440B
CN102098440B CN 201010591511 CN201010591511A CN102098440B CN 102098440 B CN102098440 B CN 102098440B CN 201010591511 CN201010591511 CN 201010591511 CN 201010591511 A CN201010591511 A CN 201010591511A CN 102098440 B CN102098440 B CN 102098440B
Authority
CN
China
Prior art keywords
image
compensation
motion vector
intermediate layer
resolution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201010591511
Other languages
Chinese (zh)
Other versions
CN102098440A (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.)
Beijing Jiaotong University
Original Assignee
Beijing Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaotong University filed Critical Beijing Jiaotong University
Priority to CN 201010591511 priority Critical patent/CN102098440B/en
Publication of CN102098440A publication Critical patent/CN102098440A/en
Application granted granted Critical
Publication of CN102098440B publication Critical patent/CN102098440B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses an electronic image stabilizing method and an electronic image stabilizing system aiming at moving object detection under camera shake. The method comprises the following steps: carrying out guassian blur on the original image, lowering the resolution ratio and determining three layers of images; determining a first translational motion vector corresponding to an image with the lowest resolution ratio positioned at the highest layer based on a blocking gray projection method; compensating an interlayer image based on the acquired first translational motion vector; determining a second translational motion vector corresponding to the image positioned in the interlayer based on a block match algorithm; compensating the original image with the highest resolution ratio positioned at the lowest layer based on the first translational motion vector and the second translational motion vector; and smoothing and compensating the motion by utilizing a feature matching method. The method and system provided by the invention have good robustness to the dynamic background, the noise, and the consistency of motion, rotation and background of large-sized images, have superiority on the image quality, the visual effect and the calculation speed, and satisfy the requirements of the moving object detection under the camera shake after the image is stabilized.

Description

Electronic image stabilization method and system for moving object detection under the DE Camera Shake
Technical field
The present invention relates to the moving object detection under the dynamic scene image sequence, relate in particular to a kind of electronic image stabilization method for moving object detection under the DE Camera Shake and system.
Background technology
Along with the progress of human society and the development of science and technology, utilize computer to realize that human visual performance becomes one of problem the most popular in the present computer realm.The research of Detection for Moving Target is an important subject of computer vision field.Moving object detection is exactly that the technology such as image sequence utilization Digital Signal Processing that comprise movable information are suitably processed, detect and extract the prospect that has relative motion in the image sequence with background, determine the position of moving target, it has had in many fields such as video monitoring, virtual reality, robot navigation, military aiming, tv edit, medical image analysis widely uses, and therefore has important use value and vast potential for future development.
But because the occasion of various Video Applications is not quite similar, the residing environment of moving target and background are ever-changing, and this adaptability and robustness to the moving object detection algorithm is had higher requirement.Wherein, the moving object detection under the DE Camera Shake is difficult point and the focus of field of video image processing research, also day by day becomes a large obstacle of video image processing system practicality and reliability.DE Camera Shake refers to because skew or the rotation that the camera lens that the factors such as wind, exterior vibration cause occurs.DE Camera Shake can cause generation skew or rotation between adjacent image, causes one by one correspondence of image pixel coordinate.
Summary of the invention
The object of the invention is to the needs of problems for the lower moving object detection of camera shake, take into full account moving target in the scene to the impact of the moving algorithm of video camera debounce, a kind of electronic image stabilization method for moving object detection under the DE Camera Shake and system are provided, based on the present invention, the consistency of dynamic background, noise, large scale image motion, rotation and the background that occurs in can the video to detection process of moving target has good robust property.
A kind of electronic image stabilization method for moving object detection under the DE Camera Shake of the present invention, comprise the steps: stratification step, original image to reference frame image and current frame image carries out respectively Gaussian Blur and reduces resolution, be respectively described reference frame image and current frame image and determine three tomographic images, comprising: be positioned at the highest original image of lowermost layer and resolution, intermediate layer image and be positioned at image top and that resolution is minimum; The first motion-estimation step, based on piecemeal Gray Projection method, determine described each piece zone that is arranged in top and the current frame image that resolution is minimum with respect to being positioned at each corresponding motion vector in piece zone top and reference frame image that resolution is minimum, and then obtain a plurality of motion vectors; In described a plurality of motion vectors, the regional corresponding motion vector of moving target may appear in removal, according to remaining motion vector computation the first translational motion vector; The second estimation and compensation process, based on described the first translational motion vector that obtains, the intermediate layer image of compensation current frame image; In the intermediate layer image of the described current frame image after compensation, remove the described zone that moving target may occur, the present frame intermediate layer image after obtaining to compensate; Utilize BMA, obtain present frame intermediate layer image after the described compensation with respect to the second motion translation vector of reference frame intermediate layer image; The 3rd estimation and compensation process based on the first translational motion vector and the second motion translation vector, compensate the described original image that is positioned at the highest current frame image of lowermost layer and resolution, obtain the present frame original image after the compensation; Utilize the characteristic matching method that the original image of reference frame image and the present frame original image after the described compensation are carried out motion smoothing and compensation.
Above-mentioned electronic image stabilization method, also be provided with behind preferred described the 3rd estimation and the compensation process: the moving target extraction step, based on the original image motion smoothing of described current frame image and the result after the compensation, with respect to the original image detection moving target of reference frame image.
Above-mentioned electronic image stabilization method, in the preferred described stratification step, described intermediate layer image and be positioned at top and image that resolution is minimum and obtain based on the mode of mean filter.
Above-mentioned electronic image stabilization method in preferred described the second estimation and the compensation process, utilizes 2 times of described the first translational motion vector that described intermediate layer image is compensated.
Above-mentioned electronic image stabilization method, in preferred described the 3rd estimation and the compensation process, based on affine model, carry out motion smoothing and compensation, wherein, the parameter of affine model is determined in the following way: original image and the present frame original image after the described compensation to reference frame image carry out yardstick invariant features converting characteristic coupling, find out corresponding points, obtain kinematic parameter in the substitution affine model, realize the original image translation of current frame image and the estimation that rotatablely moves; The parameter that the based on motion estimation draws is carried out level and smooth and compensation to the present frame original image sequence after the described compensation; Wherein, affine model is determined by following formula:
x ′ y ′ = a 1 a 2 a 3 a 4 x y + d 1 d 2 ,
Wherein A certain pixel is at the coordinate of reference frame and present frame, d in the difference presentation video 1, d 2Expression
Figure BDA0000038700540000033
With respect to
Figure BDA0000038700540000034
Side-play amount at x axle and y axle.a 1~a 4Expression rotation parameter and convergent-divergent among a small circle.
On the other hand, the invention also discloses a kind of electronic steady image system for moving object detection under the DE Camera Shake, comprising: hierarchical block, the first motion estimation module, the second estimation and compensating module and the 3rd estimation and compensating module.Wherein:
Hierarchical block is used for the original image of reference frame image and current frame image is carried out respectively Gaussian Blur and reduces resolution, be respectively described reference frame image and current frame image and determine three tomographic images, comprising: be positioned at the highest original image of lowermost layer and resolution, intermediate layer image and be positioned at image top and that resolution is minimum; The first motion estimation module is used for based on piecemeal Gray Projection method, determine described be arranged in top and current frame image that resolution is minimum with respect to being positioned at each corresponding motion vector in piece zone of reference frame image top and that resolution is minimum, and then obtain a plurality of motion vectors; In described a plurality of motion vectors, the regional corresponding motion vector of moving target may appear in removal, according to remaining motion vector computation the first translational motion vector; The second estimation and compensating module are used for based on described the first translational motion vector that obtains, the intermediate layer image of compensation current frame image; In the intermediate layer image of the described current frame image after compensation, remove the described zone that moving target may occur, the present frame intermediate layer image after obtaining to compensate; Utilize BMA, obtain present frame intermediate layer image after the described compensation with respect to the second motion translation vector of reference frame intermediate layer image; The 3rd estimation and compensating module be based on the first translational motion vector and the second motion translation vector, compensates the described original image that is positioned at the highest current frame image of lowermost layer and resolution, obtains the present frame original image after the compensation; Utilize the characteristic matching method that the original image of reference frame image and the present frame original image after the described compensation are carried out motion smoothing and compensation.
Above-mentioned electronic steady image system, also be connected with behind preferred described the 3rd estimation and the compensating module: the moving target extraction module, be used for based on the original image motion smoothing of described current frame image and the result after the compensation, with respect to the original image detection moving target of reference frame image.
Above-mentioned electronic steady image system, in the preferred described hierarchical block, described intermediate layer image and be positioned at top and image that resolution is minimum and obtain based on the mode of mean filter.
Above-mentioned electronic steady image system in preferred described the second estimation and the compensating module, utilizes 2 times of described the first translational motion vector that described intermediate layer image is compensated.
Above-mentioned electronic steady image system, in preferred described the 3rd estimation and the compensating module, based on affine model, carry out motion smoothing and compensation, wherein, the parameter of affine model is determined in the following way: original image and the present frame original image after the described compensation to reference frame image carry out yardstick invariant features converting characteristic coupling, find out corresponding points, obtain kinematic parameter in the substitution affine model, realize the original image translation of current frame image and the estimation that rotatablely moves; The parameter that the based on motion estimation draws is carried out level and smooth and compensation to the present frame original image sequence after the described compensation; Wherein, affine model is determined by following formula:
x ′ y ′ = a 1 a 2 a 3 a 4 x y + d 1 d 2 ,
Wherein
Figure BDA0000038700540000052
A certain pixel is at the coordinate of reference frame and present frame, d in the difference presentation video 1, d 2Expression With respect to
Figure BDA0000038700540000054
Side-play amount at x axle and y axle.a 1~a 4Expression rotation parameter and convergent-divergent among a small circle.
In terms of existing technologies, the present invention is by adopting the multiresolution layered approach, minutes three layers carry out different estimation and compensation method to image, and solved a lot of interference problem in the steady picture process: characteristic matching method and piecemeal Gray Projection method are relatively more responsive to change of background such as dynamic background, noises; The block-based histogram feature of BMA adapts to the problems such as dynamic background, noise, but piece coupling computation complexity is high, affected by the background area consistency; Piecemeal Gray Projection method estimated motion vector has been processed the large scale image motion, and has avoided the impact of moving target, but responsive to change of background, and image reduces resolution and suppressed local faint change of background.Piecemeal Gray Projection method and BMA all can not be processed the rotation of image, utilize the rotating vector of characteristic matching method estimated image.
The present invention can both have good robust property for the consistency of the dynamic background that occurs in the video, noise, large scale image motion, rotation and background.And with respect to other algorithms, certain superiority is arranged on picture quality, visual effect, computational speed, can satisfy the actual demand of the lower moving object detection of camera shake behind the steady picture.
Description of drawings
Fig. 1 is the flow chart of steps that the present invention is directed to the electronic image stabilization method embodiment of moving object detection under the DE Camera Shake;
Fig. 2 is the multiresolution hierarchical diagram schematic diagram of image;
Fig. 3 is that layering multiresolution overall motion estimation vector is estimated the flow graph schematic diagram;
Fig. 4 is that the low-resolution image piecemeal utilizes sciagraphy to obtain the motion vector schematic diagram;
Fig. 5 carries out as a result figure of electronic steady image foreground detection afterwards;
Fig. 6 compares schematic diagram for rectification and the target detection that migrated image occurs;
Fig. 7 is that the Y-PSNR of sequence image compares schematic diagram;
Fig. 8 is the structured flowchart that the present invention is directed to the electronic steady image system embodiment of moving object detection under the DE Camera Shake;
Fig. 9 is the structured flowchart that the present invention is directed to the electronic steady image system embodiment of moving object detection under the DE Camera Shake.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
With reference to Fig. 1, Fig. 1 is the flow chart of steps that the present invention is directed to the electronic image stabilization method embodiment of moving object detection under the DE Camera Shake, comprise the steps: stratification step S110, original image to reference frame image and current frame image carries out respectively Gaussian Blur and reduces resolution, be respectively three tomographic images of determining of reference frame image and current frame image, comprise: be positioned at the highest original image of lowermost layer and resolution, intermediate layer image and be positioned at image top and that resolution is minimum; The first motion-estimation step S120, based on piecemeal Gray Projection method, determine to be arranged in top and current frame image that resolution is minimum with respect to each corresponding motion vector in piece zone of reference frame image, and then obtain a plurality of motion vectors; In a plurality of motion vectors, the regional corresponding motion vector of moving target may appear in removal, according to remaining motion vector computation the first translational motion vector; The second estimation and compensation process S130, based on the first translational motion vector that obtains, the intermediate layer image of compensation current frame image; In the intermediate layer image of the current frame image after compensation, the zone of moving target may appear in removal, for remaining zone, utilize BMA to be compensated and remove the intermediate layer current frame image that motion target area may occur with respect to the second motion translation vector of reference frame image; The 3rd estimation and compensation process S140 based on the first translational motion vector and the second motion translation vector, compensate the described original image that is positioned at the highest current frame image of lowermost layer and resolution, obtain the present frame original image after the compensation; Utilize the characteristic matching method that the original image of reference frame image and the present frame original image after the described compensation are carried out motion smoothing and compensation.
The present embodiment all has good robust property for the consistency of the dynamic background that occurs in the video, noise, large scale image motion, rotation and background; And with respect to other algorithms, certain superiority is arranged on picture quality, visual effect, computational speed, can satisfy the actual demand of the lower moving object detection of camera shake behind the steady picture.
The invention will be further described below in conjunction with the drawings and specific embodiments.
The present invention carries out image Gaussian Blur and reduces resolution, is divided into three layers, and three layers of image in different resolution are carried out respectively different processing.Adopt respectively Gray Projection method, BMA, improving one's methods of characteristic matching method that each tomographic image is carried out estimation and compensation.The below simply introduces respectively this three kinds of methods.
1, Gray Projection method
The Gray Projection method is to utilize the ranks intensity profile to carry out the motion estimation algorithm of related operation.This algorithm utilizes the ranks Gray Projection curve of image to do the motion vector that related operation obtains image.Algorithm mainly is comprised of image mapped and related operation.
1) image mapped
After using histogram equalization to carry out preliminary treatment to the two dimensional image of each frame input, be mapped to two independently one dimension waveforms.Projecting method can be described by formula (3) (4),
G K ( i ) = Σ j G k ( i , j ) - - - ( 3 )
G K ( j ) = Σ i G k ( i , j ) - - - ( 4 )
G in the formula K(i), G K(j) be respectively that k two field picture i is capable, the gray value sum of each pixel of j row, G K(i, j) is the grey scale pixel value of (i, j) position on the k two field picture.
2) correlation computations
The projection waveform of k two field picture projection waveform and reference picture is done cross-correlation calculation.Wherein the row correlation computations can be described by formula (5),
C ( w ) = Σ j = 1 N [ Col k ( j + w ) - Col r ( M + j ) ] 2 - - - ( 5 )
In the formula, 1≤w≤2M+1, Col k(j), Col r(j) be respectively the Gray Projection value of the j row of k two field picture and reference frame image, N is the length of row, and M is that displacement vector is with respect to the search width of reference frame in a side.
2, block matching algorithm
Based on the estimation of piece coupling, refer to picture frame is divided into the identical a series of sub-blocks of size, each sub-block size is N * N.For a sub-block in the reference frame, in the k frame, seek the most similar sub-block identical with its size, the matching criterior commonly used of seeking match block has three kinds, i.e. minimum average B configuration absolute difference (MAD), least mean-square error (MSE) and Normalized Cross Correlation Function (NCCF).This paper adopts least mean-square error (MSE) criterion to mate, can be described by formula (6),
MSE ( d ) = 1 N x × N y Σ x = 1 N x Σ y = 1 N y [ I k ( x + d x , y + d y ) - I t ( x , y ) ] 2 - - - ( 6 )
Wherein, I k(x, y), I t(x, y) represents k, the gray value that t two field picture mid point (x, y) is located, d=(d x, d y) be translation parameters.
3, characteristic matching method
Based on the motion estimation algorithm of characteristic matching selected characteristic in reference frame at first, then in subsequent frame, feature is positioned, utilize at last the feature set corresponding relation, ask for globe motion parameter.The algorithm basic step is described below:
A) feature detection: a certain two field picture in the image sequence is processed, extracted characteristics of image, number of features is m.
B) characteristic matching: the spatial domain relation between use characteristic identifier, similarity measurement and feature, determine that feature is in the positional information of current frame image.
C) transformation model is estimated: the correspondence position of characteristic quantity concerns simultaneous equations in the substitution motion model, separates the overdetermined equation group, obtains global motion vector.
Below in conjunction with a concrete example, the present invention realizes that the method for moving object detection is described in detail to foundation:
Step 1: stratification step
The impact of moving in order to reduce image local motion and moving target, the thought of image pyramid layering is introduced in invention, divides three layers to reduce resolution to original image.Because low resolution image can the smoothed image local motion, the noise reduction impact improves the algorithm real-time, and in low-resolution image, the low-angle image rotation that DE Camera Shake causes can be left in the basket, and the image overall motion can be reduced to translational motion.As shown in Figure 2, lowermost layer is original image, reduces gradually resolution from bottom to high level, and the simple mean filter of normal operation can be described by formula (7):
f k ( l + 1 ) ( i , j ) = 1 4 Σ m = 0 1 Σ n = 0 1 f k ( l ) ( 2 i + m , 2 j + n ) 1 = 0,1 , . . . N - - - ( 7 )
In the formula (7),
Figure BDA0000038700540000102
Represent that (1+1) layer of k frame is at the pixel value of (i, j) position.
Figure BDA0000038700540000103
K two field picture for input.
Step 2: the first motion-estimation step and the second estimation and compensation process
This step is low-resolution image estimation and compensation.Take the image three-decker as the basis, Fig. 3 has provided the flow chart based on the image overall estimation of three-decker.Invention will be to doing concrete elaboration in the top algorithm block diagram, below be method in the specific implementation of three tomographic images:
1. the 3rd layer of low-resolution image carried out piecemeal, then each piecemeal is utilized sciagraphy, estimate the motion vector of each sub-block.As shown in Figure 4, A, B figure is respectively the image of reference frame and present frame among the figure, certain skew has occured with respect to reference frame image in present frame, C figure has represented to utilize the motion vector of the subregion that piecemeal Gray Projection method obtains, wherein because the existence of dolly has caused the motion vector of dolly place subregion estimation and the vector generator relatively large deviation that other subregions are estimated.Each sub regions motion vector is added with average, the global motion vector MV (3) of formation, little and larger with the consistent motion vector difference vector of probability of occurrence has been eliminated in adding and process of vector.
2. the 2nd layer current frame image is carried out the global motion compensation of 2 * MV (3), and image is carried out piecemeal, partitioned mode is similar to the 3rd layer, and the number of piece is identical, but size is twice, but removes the impact that the edge causes in the reality, and size is slightly smaller.Next find out the subregion corresponding with the 3rd straton piece at the 2nd layer, these several sub regions are carried out piece coupling, ask for motion vector and add and on average obtain motion vector MV (2).Utilize the motion estimation vectors MV (2) of the 2nd tomographic image that vector MV (3) is had the compensating action of refining.
Step 3: the 3rd estimation and compensation process
This step is original image estimation and compensation.At first utilize vector 4 * MV (3) and 2 * MV (2) to compensate to the 1st layer, because MV (3) and MV (2) vector have just reacted the translational motion of image, algorithm will add the estimation to the image rotation parameter in 1 layer estimation, algorithm utilizes yardstick invariant features conversion (SIFT) characteristic matching to find out corresponding points, obtain kinematic parameter in the substitution affine model, realize image translation and the estimation that rotatablely moves.We choose n to angular coordinate, in coordinate substitution affine model, can get the linear system equation:
Figure BDA0000038700540000111
N then can obtain (2n * 6) the rank system of linear equations on the real number field to matching characteristic, and solution of equations is the globe motion parameter of interframe.And the equation number 2n that obtains generally speaking>6, i.e. overdetermined equation group.This equation group does not have the solution under the ordinary meaning, for this reason the demand equation group least square solution.Definition energy function ρ x, ρ y:
ρ x = Σ i = 0 N ( a 1 x i + a 2 y i + d 1 - x ′ ) 2 - - - ( 9 )
ρ y = Σ i = 0 N ( a 3 x i + a 4 y i + d 2 - y ′ ) 2 - - - ( 10 )
Then have:
∂ ρ x ∂ a 1 = ∂ ρ x ∂ a 2 = ∂ ρ x ∂ d 1 = ∂ ρ y ∂ a 3 = ∂ ρ y ∂ a 4 = ∂ ρ y ∂ d 2 = 0 - - - ( 11 )
Thereby can try to achieve parameter a 1~a 4, d 1~d 2, draw parameter a by estimation 1~a 4, d 1~d 2After, the substitution affine model can compensate image sequence, can be described by formula (12) (13).
x = a 4 * x , - a 2 * y , - d 1 * a 4 + a 2 * d 2 a 1 * a 4 - a 2 * a 3 - - - ( 12 )
y = a 3 * x , - a 1 * y , - d 1 * a 3 + a 1 * d 2 a 2 * a 3 - a 1 * a 4 - - - ( 13 )
In the formula
Figure BDA0000038700540000126
A certain pixel is at the coordinate of reference frame and present frame, d in the difference presentation video 1, d 2Expression
Figure BDA0000038700540000127
With respect to
Figure BDA0000038700540000128
Side-play amount at x axle and y axle.a 1~a 4Expression rotation parameter and convergent-divergent among a small circle.
Step 4: moving target extracts
Invention is adopted and is carried out the extraction of moving target based on the method for background subtraction, verifies steady picture effect.At first current frame image and background image are carried out calculus of differences, then difference image is carried out the binaryzation operation, if pixel value is greater than a certain threshold value in the difference image, judge that then this pixel belongs to motion target area, otherwise, just judge that this pixel belongs to the background area, target detection result as shown in Figure 5.
It is carrier that the present invention adopts 320 * 240 image sequence, and a large amount of experiments show, our method is for the moving object detection under the DE Camera Shake of indoor and outdoor, can reach surely to look like preferably the result.As shown in Figure 6, considered the impact of moving target on the moving algorithm of video camera debounce, the zone that may have moving target is removed, the result of detection is better than the result that the three kinds of algorithms in front are corrected, and wherein also contains the rotation of image among the 3rd width of cloth figure.Among Fig. 6, A figure expression reference frame image, B figure expression current frame image, C figure is that the Gray Projection method is corrected rear image and A desires to make money or profit with the result of calculus of finite differences detection, D figure is that BMA is corrected rear image and A desires to make money or profit with the result of calculus of finite differences detection, E figure is that yardstick invariant features converting characteristic matching method is corrected rear image and A desires to make money or profit with the result of calculus of finite differences detection, can find out that the three kinds of method testing results in front detect wrong more, F figure is that our algorithm is corrected rear image and A desires to make money or profit with the result of calculus of finite differences detection, detects wrong less in the testing result.Can be found out by the result, only use first three methods not consider moving target to the impact of algorithm, cause algorithm to estimate kinematic parameter generation deviation.
Fig. 7 has provided the Y-PSNR value of 5 two field pictures in the sequence image.Y-PSNR is a kind of assessment of performance standard, and is identical with mean square deviation in essence, its reflection be Y-PSNR between reference frame image and the current frame image, the Y-PSNR value is higher, the video stabilization effect is better.Y-PSNR is defined as follows:
PNSR = 10 log 255 2 MSE ( I k , I t ) - - - ( 14 )
MSE (I wherein k, I t) mean square deviation, be defined as follows:
MSE ( I k , I t ) = 1 M × N Σ x = 1 M Σ Y = 1 N [ I k ( x , y ) - I t ( x , y ) ] 2 - - - ( 15 )
Can find out from above result, the method that the present invention proposes has been considered the existence of moving target, can effectively process the video of the DE Camera Shake that contains moving target, and can high-qualityly carry out electronic steady image.Consistency for the dynamic background that occurs in the video, noise, large scale image motion, rotation and background can both have good robust property.With respect to other algorithms, certain superiority is arranged on picture quality, visual effect, computational speed, this scheme computing is simple and convenient, and reliability is high, and real-time is good, can satisfy the actual demand of the lower moving object detection of camera shake.
Other method the invention also discloses a kind of electronic steady image system for moving object detection under the DE Camera Shake.With reference to Fig. 8, Fig. 8 is the structured flowchart that the present invention is directed to the electronic steady image system embodiment of moving object detection under the DE Camera Shake, comprising: stratification step 80, the first motion-estimation step 82, the second estimation and compensation process 84 and the 3rd estimation and compensation process 86.
Wherein: hierarchical block 80 is used for the original image of reference frame image and current frame image is carried out respectively Gaussian Blur and reduces resolution, be respectively three tomographic images of determining of described reference frame image and current frame image, comprise: be positioned at the highest original image of lowermost layer and resolution, intermediate layer image and be positioned at image top and that resolution is minimum; The first motion estimation module 82 is used for based on piecemeal Gray Projection method, determine described be arranged in top and current frame image that resolution is minimum with respect to being positioned at each corresponding motion vector in piece zone of reference frame image top and that resolution is minimum, and then obtain a plurality of motion vectors; In described a plurality of motion vectors, the regional corresponding motion vector of moving target may appear in removal, according to remaining motion vector computation the first translational motion vector; The second estimation and compensating module 84 are used for based on the first translational motion vector that obtains, the intermediate layer image of compensation current frame image; In the intermediate layer image of the current frame image after compensation, the zone of moving target may appear in removal, obtains the first present frame intermediate layer image; Zone for remaining utilizes BMA, obtains the first present frame intermediate layer image with respect to the second motion translation vector of reference frame intermediate layer image; The 3rd estimation and compensating module 86 be based on the first translational motion vector and the second motion translation vector, compensates the described original image that is positioned at the highest current frame image of lowermost layer and resolution, obtains the present frame original image after the compensation; Utilize the characteristic matching method that the original image of reference frame image and the present frame original image after the described compensation are carried out motion smoothing and compensation.
With reference to Fig. 9, Fig. 9 is the structured flowchart for another embodiment of electronic steady image system of moving object detection under the DE Camera Shake.This embodiment also is connected with moving target extraction module 88 on the basis of Fig. 8, this module is used for detecting moving target based on the result after original image motion smoothing and the compensation.
In one embodiment, in the second estimation and the compensating module 84, utilize 2 times of the first translational motion vector that described intermediate layer image is compensated.
In one embodiment, in the 3rd estimation and the compensating module 86, also comprise and obtain the affine model parameter acquiring unit, this unit is used for:
Present frame original image after described reference frame original image and the described compensation is carried out yardstick invariant features converting characteristic coupling, find out corresponding points, obtain kinematic parameter in the substitution affine model, realize current frame image translation and the estimation that rotatablely moves; The parameter that the based on motion estimation draws is carried out level and smooth and compensation to the original image sequence; Wherein, affine model is determined by following formula:
x ′ y ′ = a 1 a 2 a 3 a 4 x y + d 1 d 2 ,
Wherein A certain pixel is at the coordinate of reference frame and present frame, d in the difference presentation video 1, d 2Expression
Figure BDA0000038700540000162
With respect to
Figure BDA0000038700540000163
Side-play amount at x axle and y axle.a 1~a 4Expression rotation parameter and convergent-divergent among a small circle.
Above a kind of electronic image stabilization method and system for moving object detection under the DE Camera Shake provided by the present invention described in detail, used specific embodiment herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, 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 should not be construed as limitation of the present invention.

Claims (8)

1. the electronic image stabilization method for moving object detection under the DE Camera Shake is characterized in that, comprises the steps:
Stratification step, original image to reference frame image and current frame image carries out respectively Gaussian Blur and reduces resolution, be respectively described reference frame image and current frame image and determine three tomographic images, comprising: be positioned at the highest original image of lowermost layer and resolution, intermediate layer image and be positioned at image top and that resolution is minimum;
The first motion-estimation step, based on piecemeal Gray Projection method, determine described each piece zone that is arranged in top and the current frame image that resolution is minimum with respect to being positioned at each corresponding motion vector in piece zone top and reference frame image that resolution is minimum, and then obtain a plurality of motion vectors; In described a plurality of motion vectors, the regional corresponding motion vector of moving target may appear in removal, according to remaining motion vector computation the first translational motion vector;
The second estimation and compensation process, based on described the first translational motion vector that obtains, the intermediate layer image of compensation current frame image; In the intermediate layer image of the described current frame image after compensation, remove the described zone that moving target may occur, the present frame intermediate layer image after obtaining to compensate; Utilize BMA, obtain present frame intermediate layer image after the described compensation with respect to the second motion translation vector of reference frame intermediate layer image;
The 3rd estimation and compensation process based on the first translational motion vector and the second motion translation vector, compensate the described original image that is positioned at the highest current frame image of lowermost layer and resolution, obtain the present frame original image after the compensation; Utilize the characteristic matching method that the original image of reference frame image and the present frame original image after the described compensation are carried out motion smoothing and compensation.
2. electronic image stabilization method according to claim 1 is characterized in that, also is provided with behind described the 3rd estimation and the compensation process:
The moving target extraction step is based on the original image motion smoothing of described current frame image and the result after the compensation, with respect to the original image detection moving target of reference frame image.
3. electronic image stabilization method according to claim 2 is characterized in that, in the described stratification step, and described intermediate layer image and be positioned at top and image that resolution is minimum and obtain based on the mode of mean filter.
4. electronic image stabilization method according to claim 3 is characterized in that, in described the second estimation and the compensation process, utilizes 2 times of described the first translational motion vector that described intermediate layer image is compensated.
5. the electronic steady image system for moving object detection under the DE Camera Shake is characterized in that, comprising:
Hierarchical block, original image to reference frame image and current frame image carries out respectively Gaussian Blur and reduces resolution, be respectively described reference frame image and current frame image and determine three tomographic images, comprising: be positioned at the highest original image of lowermost layer and resolution, intermediate layer image and be positioned at image top and that resolution is minimum;
The first motion estimation module, be used for based on piecemeal Gray Projection method, determine described be arranged in top and current frame image that resolution is minimum with respect to being positioned at each corresponding motion vector in piece zone of reference frame image top and that resolution is minimum, and then obtain a plurality of motion vectors; In described a plurality of motion vectors, the regional corresponding motion vector of moving target may appear in removal, according to remaining motion vector computation the first translational motion vector;
The second estimation and compensating module are used for based on described the first translational motion vector that obtains, the intermediate layer image of compensation current frame image; In the intermediate layer image of the described current frame image after compensation, remove the described zone that moving target may occur, the present frame intermediate layer image after obtaining to compensate; Utilize BMA, obtain present frame intermediate layer image after the described compensation with respect to the second motion translation vector of reference frame intermediate layer image;
The 3rd estimation and compensating module based on the first translational motion vector and the second motion translation vector, compensate the described original image that is positioned at the highest current frame image of lowermost layer and resolution, obtain the present frame original image after the compensation; Utilize the characteristic matching method that the original image of reference frame image and the present frame original image after the described compensation are carried out motion smoothing and compensation.
6. electronic steady image according to claim 5 system is characterized in that, also is connected with behind described the 3rd estimation and the compensating module:
The moving target extraction module is used for based on the original image motion smoothing of described current frame image and the result after the compensation, with respect to the original image detection moving target of reference frame image.
7. electronic steady image according to claim 6 system is characterized in that, in the described hierarchical block, and described intermediate layer image and be positioned at top and image that resolution is minimum and obtain based on the mode of mean filter.
8. electronic steady image according to claim 7 system is characterized in that, in described the second estimation and the compensating module, utilizes 2 times of described the first translational motion vector that described intermediate layer image is compensated.
CN 201010591511 2010-12-16 2010-12-16 Electronic image stabilizing method and electronic image stabilizing system aiming at moving object detection under camera shake Expired - Fee Related CN102098440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010591511 CN102098440B (en) 2010-12-16 2010-12-16 Electronic image stabilizing method and electronic image stabilizing system aiming at moving object detection under camera shake

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010591511 CN102098440B (en) 2010-12-16 2010-12-16 Electronic image stabilizing method and electronic image stabilizing system aiming at moving object detection under camera shake

Publications (2)

Publication Number Publication Date
CN102098440A CN102098440A (en) 2011-06-15
CN102098440B true CN102098440B (en) 2013-01-23

Family

ID=44131288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010591511 Expired - Fee Related CN102098440B (en) 2010-12-16 2010-12-16 Electronic image stabilizing method and electronic image stabilizing system aiming at moving object detection under camera shake

Country Status (1)

Country Link
CN (1) CN102098440B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024247A (en) * 2011-09-28 2013-04-03 中国航天科工集团第二研究院二〇七所 Electronic image stabilization method based on improved block matching
CN102685371B (en) * 2012-05-22 2015-04-08 大连理工大学 Digital video image stabilization method based on multi-resolution block matching and PI (Portion Integration) control
CN102930559B (en) * 2012-10-23 2016-03-30 华为技术有限公司 The method of image procossing and device
CN103841298B (en) * 2014-02-25 2017-05-10 浙江理工大学 Video image stabilization method based on color constant and geometry invariant features
CN105100832A (en) * 2014-04-24 2015-11-25 海信集团有限公司 Multimedia resource pushing method and device
CN105096338B (en) * 2014-12-30 2018-06-22 天津航天中为数据系统科技有限公司 Extracting of Moving Object and device
CN105100546A (en) * 2014-12-31 2015-11-25 天津航天中为数据系统科技有限公司 Movement estimation method and device
CN106550172A (en) * 2015-09-18 2017-03-29 河北工业大学 Video stabilization in assemble of the satellite based on subregion Gray Projection
CN105427347B (en) * 2015-12-05 2018-11-16 中国航空工业集团公司洛阳电光设备研究所 A kind of image sequence global motion estimating method and device
CN105869108B (en) * 2016-03-23 2019-01-08 北京环境特性研究所 A kind of method for registering images in the mobile target detecting of moving platform
CN107222659A (en) * 2017-05-03 2017-09-29 武汉东智科技股份有限公司 A kind of video abnormality detection method
CN107911615B (en) * 2017-12-26 2019-07-02 北京理工大学 A kind of Gray Projection digital image stabilization method and system
CN108830170B (en) * 2018-05-24 2022-03-18 杭州电子科技大学 End-to-end target tracking method based on layered feature representation
CN108805832B (en) * 2018-05-29 2022-02-08 重庆大学 Improved gray projection image stabilizing method suitable for tunnel environment characteristics
CN108769528B (en) * 2018-06-15 2020-01-10 Oppo广东移动通信有限公司 Image compensation method and apparatus, computer-readable storage medium, and electronic device
CN109753878B (en) * 2018-12-06 2020-11-20 北京科技大学 Imaging identification method and system under severe weather
CN110290327B (en) * 2019-07-01 2020-12-29 戈尔电梯(天津)有限公司 Method and system for removing jitter of elevator monitoring camera
CN112906475B (en) * 2021-01-19 2022-08-02 郑州凯闻电子科技有限公司 Artificial intelligence-based rolling shutter imaging method and system for urban surveying and mapping unmanned aerial vehicle
CN114630049A (en) * 2022-03-17 2022-06-14 武汉华星光电技术有限公司 Image compensation method, mobile terminal and image compensation device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0423578D0 (en) * 2004-10-22 2004-11-24 Greenparrotpictures Ltd Dominant motion estimation for image sequence processing

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Zhang BO et al..Successive elimination motion estimation algorithm based on multi-resolution.《Proc. of SPIE》.2007,第6595卷 *
杨晓敏 等.图像特征点提取及匹配技术.《光学精密工程》.2009,第17卷(第9期),2276-2282. *
韩月玲 等.一种基于灰度投影的实时电子稳像方法.《仪器仪表学报》.2008,第29卷(第8期),512-515. *

Also Published As

Publication number Publication date
CN102098440A (en) 2011-06-15

Similar Documents

Publication Publication Date Title
CN102098440B (en) Electronic image stabilizing method and electronic image stabilizing system aiming at moving object detection under camera shake
CN106780620B (en) Table tennis motion trail identification, positioning and tracking system and method
CN103325112B (en) Moving target method for quick in dynamic scene
CN112347861B (en) Human body posture estimation method based on motion feature constraint
CN110782477A (en) Moving target rapid detection method based on sequence image and computer vision system
CN103996201A (en) Stereo matching method based on improved gradient and adaptive window
CN102006425A (en) Method for splicing video in real time based on multiple cameras
CN109509163B (en) FGF-based multi-focus image fusion method and system
CN107341815B (en) Violent motion detection method based on multi-view stereoscopic vision scene stream
CN104867111A (en) Block-blur-kernel-set-based heterogeneous video blind deblurring method
CN106952286A (en) Dynamic background Target Segmentation method based on motion notable figure and light stream vector analysis
Huang et al. Correlation and local feature based cloud motion estimation
CN111210394A (en) Image enhancement technology based on deep decomposition synthesis network
CN111899295A (en) Monocular scene depth prediction method based on deep learning
CN115375733A (en) Snow vehicle sled three-dimensional sliding track extraction method based on videos and point cloud data
CN112329764A (en) Infrared dim target detection method based on TV-L1 model
CN116912405A (en) Three-dimensional reconstruction method and system based on improved MVSNet
Pan et al. Single-image dehazing via dark channel prior and adaptive threshold
Zhang et al. Local stereo matching: An adaptive weighted guided image filtering-based approach
Hou et al. Joint learning of image deblurring and depth estimation through adversarial multi-task network
Miao et al. Ds-depth: Dynamic and static depth estimation via a fusion cost volume
CN106357958A (en) Region-matching-based fast electronic image stabilization method
CN115147758A (en) Depth forged video detection method and system based on intra-frame inter-frame feature differentiation
CN114693951A (en) RGB-D significance target detection method based on global context information exploration
CN111292357B (en) Video inter-frame rapid motion estimation method based on correlation filtering

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130123

Termination date: 20151216

EXPY Termination of patent right or utility model