CN102098440A - 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
CN102098440A
CN102098440A CN 201010591511 CN201010591511A CN102098440A CN 102098440 A CN102098440 A CN 102098440A CN 201010591511 CN201010591511 CN 201010591511 CN 201010591511 A CN201010591511 A CN 201010591511A CN 102098440 A CN102098440 A CN 102098440A
Authority
CN
China
Prior art keywords
image
compensation
estimation
motion vector
original image
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.)
Granted
Application number
CN 201010591511
Other languages
Chinese (zh)
Other versions
CN102098440B (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

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 steady image method and system at 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 steady image method and system at moving object detection under the DE Camera Shake.
Background technology
Along with the progress and the development of science and technology of human society, utilize computer to realize that human visual performance becomes in the present computer realm one of popular topic.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 handled, detect and extract the prospect that has relative motion in the image sequence with background, determine the position of moving target, it has all 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, 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 the difficult point and the focus of field of video image processing research, also becomes a big obstacle of video image processing system practicality and reliability day by day.DE Camera Shake is meant because skew or the rotation that the camera lens that factors such as wind, exterior vibration cause takes place.DE Camera Shake can cause generation skew or rotation between adjacent image, causes image pixel coordinate correspondence one by one.
Summary of the invention
The objective of the invention is to needs of problems at moving object detection under the camera shake, take into full account the moving target in the scene removes dither algorithm to video camera influence, a kind of electronic steady image method and system at moving object detection under the DE Camera Shake is 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 steady image method of the present invention at moving object detection under the DE Camera Shake, comprise the steps: stratification step, original image to reference frame image and current frame image carries out Gaussian Blur respectively 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; First motion-estimation step, based on piecemeal gray scale sciagraphy, 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 piece area relative motion vector 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 area relative motion vector of moving target may appear in removal, according to remaining motion vector computation first translational motion vector; Second estimation and compensation process, based on described 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 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 steady image 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 steady image 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 steady image method in preferred described second estimation and the compensation process, utilizes 2 times of described first translational motion vector that described intermediate layer image is compensated.
Above-mentioned electronic steady image 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; Based on the parameter that estimation draws, carry 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, comprising: hierarchical block, first motion estimation module, second estimation and compensating module and the 3rd estimation and compensating module at moving object detection under the DE Camera Shake.Wherein:
Hierarchical block is used for the original image of reference frame image and current frame image is carried out Gaussian Blur respectively 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; First motion estimation module is used for based on piecemeal gray scale sciagraphy, determine described be arranged in top and current frame image that resolution is minimum with respect to being positioned at each piece area relative motion vector 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 area relative motion vector of moving target may appear in removal, according to remaining motion vector computation first translational motion vector; Second estimation and compensating module are used for based on described 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 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 second estimation and the compensating module, utilizes 2 times of described 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; Based on the parameter that estimation draws, carry 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
Figure BDA0000038700540000053
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, divide three layers image carried out different estimation and compensation method, solved a lot of interference problem in the steady picture process: characteristic matching method and piecemeal gray scale sciagraphy are relatively more responsive to change of background such as dynamic background, noises; The block-based histogram feature of BMA adapts to problems such as dynamic background, noise, but piece coupling computation complexity height is influenced by the background area consistency; Piecemeal gray scale sciagraphy estimated motion vector has been handled the large scale image motion, and has avoided the influence of moving target, but to the change of background sensitivity, image reduces resolution and suppressed local faint change of background.Piecemeal gray scale sciagraphy and BMA all can not be handled 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 all on picture quality, visual effect, computational speed, can satisfy the camera shake actual demand of moving object detection down behind the steady picture.
Description of drawings
Fig. 1 is the flow chart of steps that the present invention is directed to the electronic steady image 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 a layering multiresolution overall motion estimation vector flow graph schematic diagram;
Fig. 4 obtains the motion vector schematic diagram for the low-resolution image piecemeal utilizes sciagraphy;
Fig. 5 carries out electronic steady image foreground detection afterwards figure as a result;
Fig. 6 compares schematic diagram for rectification and the target detection that migrated image takes place;
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 steady image 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 Gaussian Blur respectively 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 scale sciagraphy, determine to be arranged in top and current frame image that resolution is minimum with respect to each piece area relative motion vector of reference frame image, and then obtain a plurality of motion vectors; In a plurality of motion vectors, the area relative motion vector of moving target may appear in removal, according to remaining motion vector computation first translational motion vector; Second estimation and compensation process S130, based on 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 the second motion translation vector with respect to reference frame image; The 3rd estimation and compensation process S140 based on 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.
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 all on picture quality, visual effect, computational speed, can satisfy the camera shake actual demand of moving object detection down 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 different processing respectively.Adopt gray scale sciagraphy, BMA, improving one's methods of characteristic matching method that each tomographic image is carried out estimation and compensation respectively.Simply introduce these three kinds of methods below respectively.
1, gray scale sciagraphy
The gray scale sciagraphy is to utilize the ranks intensity profile to carry out the motion estimation algorithm of related operation.This algorithm utilizes the ranks gray scale drop shadow curve of image to do the motion vector that related operation obtains image.Algorithm mainly is made up 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 (i, j) grey scale pixel value of 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 scale 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, be meant picture frame is divided into the identical a series of sub-piece of size that each sub-block size is N * N.For a sub-piece in the reference frame, in the k frame, seek the most similar sub-piece 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 describe 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) expression k, t two field picture mid point (x, the gray value of y) locating, 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, in subsequent frame, feature is positioned then, utilize the feature set corresponding relation at last, ask for the global motion parameter.The algorithm basic step is described below:
A) feature detection: a certain two field picture in the image sequence is handled, 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 the positional information of feature at 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
In order to reduce the influence that image local motion and moving target move, 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, reduce noise effect, improve the algorithm real-time, 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 an original image, reduces resolution from bottom gradually to high level, generally uses simple mean filter, 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), (1+1) layer of representing the k frame is at (i, j) pixel value of position.
Figure BDA0000038700540000103
K two field picture for input.
Step 2: first motion-estimation step and second estimation and compensation process
This step is low-resolution image estimation and compensation.Based on the image three-decker, Fig. 3 has provided the flow chart based on the image overall estimation of three-decker.Invention will below be the specific implementation of method at three tomographic images to doing concrete elaboration in the top algorithm block diagram:
1. the 3rd layer of low-resolution image carried out piecemeal, then each piecemeal is utilized sciagraphy, estimate the motion vector of each sub-piece.As shown in Figure 4, A, B figure is respectively the image of reference frame and present frame among the figure, certain skew has taken place with respect to reference frame image in present frame, C figure has represented to utilize the motion vector of the subregion that piecemeal gray scale sciagraphy obtains, wherein because the existence of dolly has caused the vector of dolly place subregion estimated movement vector and other subregions estimation to take place than large deviation.Each sub regions motion vector is added and average, the global motion vector MV (3) of formation, the adding and process of vector, eliminated probability of occurrence little and with the bigger vector of consistent motion vector difference.
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 influence that the edge causes in the reality, and size is smaller slightly.Next find out and the corresponding subregion of 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 global motion parameter of interframe.And equation number 2n>6 that obtained generally speaking, i.e. overdetermined equation group.This equation group does not have separating 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 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 the result preferably.As shown in Figure 6, considered the influence that moving target removes dither algorithm to video camera, the zone that may have moving target removed that 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 scale sciagraphy is corrected the back 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 the back 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 the back image and A desires to make money or profit with the result of calculus of finite differences detection, the three kinds of method testing results in front detect wrong more as can be seen, F figure is that our algorithm is corrected the back 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.By the result as can be seen, only use first three methods not consider the influence of moving target, caused algorithm to estimate kinematic parameter generation deviation algorithm.
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 high more, the video stabilization effect is good more.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 )
From above result as can be seen, the method that the present invention proposes has been considered the existence of moving target, can effectively handle 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 all arranged on picture quality, visual effect, computational speed, this scheme computing is simple and convenient, the reliability height, real-time is good, can satisfy the camera shake actual demand of moving object detection down.
Other method the invention also discloses a kind of electronic steady image system at 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, first motion-estimation step 82, 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 Gaussian Blur respectively 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; First motion estimation module 82 is used for based on piecemeal gray scale sciagraphy, determine described be arranged in top and current frame image that resolution is minimum with respect to being positioned at each piece area relative motion vector 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 area relative motion vector of moving target may appear in removal, according to remaining motion vector computation first translational motion vector; Second estimation and compensating module 84 are used for based on 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 second motion translation vector of the first present frame intermediate layer image with respect to reference frame intermediate layer image; The 3rd estimation and compensating module 86 be based on 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 at 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 second estimation and the compensating module 84, utilize 2 times of first translational motion vector that described intermediate layer image is compensated.
In one embodiment, in the 3rd estimation and the compensating module 86, comprise also and obtain the affine model parameter acquiring unit that 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; Based on the parameter that estimation draws, carry 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
Figure BDA0000038700540000161
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 BDA0000038700540000163
Side-play amount at x axle and y axle.a 1~a 4Expression rotation parameter and convergent-divergent among a small circle.
More than a kind of electronic steady image method and system at 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, part in specific embodiments and applications all can change.In sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. the electronic steady image method at 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 Gaussian Blur respectively 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;
First motion-estimation step, based on piecemeal gray scale sciagraphy, 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 piece area relative motion vector 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 area relative motion vector of moving target may appear in removal, according to remaining motion vector computation first translational motion vector;
Second estimation and compensation process, based on described 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 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 steady image 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 steady image 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 steady image method according to claim 3 is characterized in that, in described second estimation and the compensation process, utilizes 2 times of described first translational motion vector that described intermediate layer image is compensated.
5. electronic steady image method according to claim 4 is characterized in that, in described the 3rd estimation and the compensation process, based on affine model, carries out motion smoothing and compensation, and 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;
Based on the parameter that estimation draws, carry 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 FDA0000038700530000031
A certain pixel is at the coordinate of reference frame and present frame, d in the difference presentation video 1, d 2Expression
Figure FDA0000038700530000032
With respect to
Figure FDA0000038700530000033
Side-play amount at x axle and y axle.a 1~a 4Expression rotation parameter and convergent-divergent among a small circle.
6. the electronic steady image system at 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 Gaussian Blur respectively 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;
First motion estimation module, be used for based on piecemeal gray scale sciagraphy, determine described be arranged in top and current frame image that resolution is minimum with respect to being positioned at each piece area relative motion vector 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 area relative motion vector of moving target may appear in removal, according to remaining motion vector computation first translational motion vector;
Second estimation and compensating module are used for based on described 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 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.
7. electronic steady image according to claim 6 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.
8. electronic steady image according to claim 7 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.
9. electronic steady image according to claim 8 system is characterized in that, in described second estimation and the compensating module, utilizes 2 times of described first translational motion vector that described intermediate layer image is compensated.
10. electronic steady image according to claim 9 system is characterized in that, in described the 3rd estimation and the compensating module, based on affine model, carries out motion smoothing and compensation, and 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;
Based on the parameter that estimation draws, carry 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 FDA0000038700530000051
A certain pixel is at the coordinate of reference frame and present frame, d in the difference presentation video 1, d 2Expression
Figure FDA0000038700530000052
With respect to
Figure FDA0000038700530000053
Side-play amount at x axle and y axle.a 1~a 4Expression rotation parameter and convergent-divergent among a small circle.
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 true CN102098440A (en) 2011-06-15
CN102098440B 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)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685371A (en) * 2012-05-22 2012-09-19 大连理工大学 Digital video image stabilization method based on multi-resolution block matching and PI (Portion Integration) control
CN102930559A (en) * 2012-10-23 2013-02-13 华为技术有限公司 Image processing method and device
CN103024247A (en) * 2011-09-28 2013-04-03 中国航天科工集团第二研究院二〇七所 Electronic image stabilization method based on improved block matching
CN103841298A (en) * 2014-02-25 2014-06-04 浙江理工大学 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
CN105096338A (en) * 2014-12-30 2015-11-25 天津航天中为数据系统科技有限公司 Moving object extracting method and device
CN105100546A (en) * 2014-12-31 2015-11-25 天津航天中为数据系统科技有限公司 Movement estimation method and device
CN105869108A (en) * 2016-03-23 2016-08-17 北京环境特性研究所 Method for registering images in mobile platform moving target detection
CN106550172A (en) * 2015-09-18 2017-03-29 河北工业大学 Video stabilization in assemble of the satellite based on subregion Gray Projection
CN107222659A (en) * 2017-05-03 2017-09-29 武汉东智科技股份有限公司 A kind of video abnormality detection method
CN107911615A (en) * 2017-12-26 2018-04-13 北京理工大学 A kind of Gray Projection digital image stabilization method and system
CN108769528A (en) * 2018-06-15 2018-11-06 Oppo广东移动通信有限公司 Image compensation method and device, computer readable storage medium and electronic equipment
CN108805832A (en) * 2018-05-29 2018-11-13 重庆大学 Improvement Gray Projection digital image stabilization method suitable for tunnel environment characteristic
CN105427347B (en) * 2015-12-05 2018-11-16 中国航空工业集团公司洛阳电光设备研究所 A kind of image sequence global motion estimating method and device
CN108830170A (en) * 2018-05-24 2018-11-16 杭州电子科技大学 A kind of end-to-end method for tracking target indicated based on layered characteristic
CN109753878A (en) * 2018-12-06 2019-05-14 北京科技大学 Imaging recognition methods and system under a kind of bad weather
CN110290327A (en) * 2019-07-01 2019-09-27 比亦特网络科技(天津)有限公司 A kind of elevator monitoring camera shooting jitter removing method and system
CN112906475A (en) * 2021-01-19 2021-06-04 郑州凯闻电子科技有限公司 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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090122866A1 (en) * 2004-10-22 2009-05-14 Greenparrotpictures Limited Dominant motion estimation for image sequence processing

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090122866A1 (en) * 2004-10-22 2009-05-14 Greenparrotpictures Limited Dominant motion estimation for image sequence processing

Non-Patent Citations (3)

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

Cited By (27)

* 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
CN102685371A (en) * 2012-05-22 2012-09-19 大连理工大学 Digital video image stabilization method based on multi-resolution block matching and PI (Portion Integration) control
CN102930559A (en) * 2012-10-23 2013-02-13 华为技术有限公司 Image processing method and device
CN103841298A (en) * 2014-02-25 2014-06-04 浙江理工大学 Video image stabilization method based on color constant and geometry invariant features
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
CN105096338A (en) * 2014-12-30 2015-11-25 天津航天中为数据系统科技有限公司 Moving object extracting method 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
CN105869108A (en) * 2016-03-23 2016-08-17 北京环境特性研究所 Method for registering images in mobile platform moving target detection
CN107222659A (en) * 2017-05-03 2017-09-29 武汉东智科技股份有限公司 A kind of video abnormality detection method
CN107911615A (en) * 2017-12-26 2018-04-13 北京理工大学 A kind of Gray Projection digital image stabilization method and system
CN107911615B (en) * 2017-12-26 2019-07-02 北京理工大学 A kind of Gray Projection digital image stabilization method and system
CN108830170A (en) * 2018-05-24 2018-11-16 杭州电子科技大学 A kind of end-to-end method for tracking target indicated based on layered characteristic
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
CN108805832A (en) * 2018-05-29 2018-11-13 重庆大学 Improvement Gray Projection digital image stabilization method suitable for tunnel environment characteristic
CN108769528A (en) * 2018-06-15 2018-11-06 Oppo广东移动通信有限公司 Image compensation method and device, computer readable storage medium and electronic equipment
CN109753878A (en) * 2018-12-06 2019-05-14 北京科技大学 Imaging recognition methods and system under a kind of bad weather
CN110290327A (en) * 2019-07-01 2019-09-27 比亦特网络科技(天津)有限公司 A kind of elevator monitoring camera shooting jitter removing method and system
CN112906475A (en) * 2021-01-19 2021-06-04 郑州凯闻电子科技有限公司 Artificial intelligence-based rolling shutter imaging method and system for urban surveying and mapping unmanned aerial vehicle
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

Also Published As

Publication number Publication date
CN102098440B (en) 2013-01-23

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
CN102006425B (en) Method for splicing video in real time based on multiple cameras
CN112347861B (en) Human body posture estimation method based on motion feature constraint
CN101383899A (en) Video image stabilizing method for space based platform hovering
CN107341815B (en) Violent motion detection method based on multi-view stereoscopic vision scene stream
CN103996201A (en) Stereo matching method based on improved gradient and adaptive window
CN106952286A (en) Dynamic background Target Segmentation method based on motion notable figure and light stream vector analysis
CN109509163B (en) FGF-based multi-focus image fusion method and system
CN111899295B (en) Monocular scene depth prediction method based on deep learning
CN102156995A (en) Video movement foreground dividing method in moving camera
Huang et al. Correlation and local feature based cloud motion estimation
CN101777129A (en) Image matching method based on feature detection
CN103440664A (en) Method, system and computing device for generating high-resolution depth map
CN112329764A (en) Infrared dim target detection method based on TV-L1 model
CN115375733A (en) Snow vehicle sled three-dimensional sliding track extraction method based on videos and point cloud data
CN110390338B (en) SAR high-precision matching method based on nonlinear guided filtering and ratio gradient
Zhang et al. Local stereo matching: An adaptive weighted guided image filtering-based approach
Wang et al. A Target Corner Detection Algorithm Based on the Fusion of FAST and Harris
CN111210394A (en) Image enhancement technology based on deep decomposition synthesis network
CN113888629A (en) RGBD camera-based rapid object three-dimensional pose estimation method
CN105303544A (en) Video splicing method based on minimum boundary distance
Gai et al. Blind separation of superimposed images with unknown motions
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

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