51
Computer Vision Group Motion Blur Estimation at Corners Giacomo Boracchi and Vincenzo Caglioti [email protected]

Motion Blur Estimation at Corners

  • Upload
    zonta

  • View
    63

  • Download
    0

Embed Size (px)

DESCRIPTION

Motion Blur Estimation at Corners. Giacomo Boracchi and Vincenzo Caglioti [email protected]. Motion Blurred Image. Motion Blurred Image. Motion Blurred Image. Motion Blurred Image. Motion Blurred Image. Motion Blurred Image. Motion Blurred Image. Motion Blurred Image. - PowerPoint PPT Presentation

Citation preview

Page 1: Motion Blur Estimation at Corners

Computer Vision Group

Motion Blur Estimation at CornersGiacomo Boracchi and Vincenzo Caglioti

[email protected]

Page 2: Motion Blur Estimation at Corners

Computer Vision Group

Motion Blurred Image

Page 3: Motion Blur Estimation at Corners

Computer Vision Group

Motion Blurred Image

Page 4: Motion Blur Estimation at Corners

Computer Vision Group

Motion Blurred Image

Page 5: Motion Blur Estimation at Corners

Computer Vision Group

Motion Blurred Image

Page 6: Motion Blur Estimation at Corners

Computer Vision Group

Motion Blurred Image

Page 7: Motion Blur Estimation at Corners

Computer Vision Group

Motion Blurred Image

Page 8: Motion Blur Estimation at Corners

Computer Vision Group

Motion Blurred Image

Page 9: Motion Blur Estimation at Corners

Computer Vision Group

Motion Blurred Image

Page 10: Motion Blur Estimation at Corners

Computer Vision Group

Motion Blurred Image

Page 11: Motion Blur Estimation at Corners

Computer Vision Group

Motion Blurred Image

Page 12: Motion Blur Estimation at Corners

Computer Vision Group

Preliminary Remarks

Dealing with blurred images it is complicated (lack of information)

Blur is often assumed uniform, but this is restrictive

We propose to analyze blur on some image regions

We focus on regions containing a corners

We consider only motion blur• Blur is approximated as parametric – direction and length -• Estimation of corner linear displacement

Any other blurring phenomena are neglected (e.g out of focus blur).

v l

Page 13: Motion Blur Estimation at Corners

Computer Vision Group

Outline

Image Model Corner Model Problem Solution Robust Solution Experiments Concluding Remarks

Page 14: Motion Blur Estimation at Corners

Computer Vision Group

Blurred Image Model

A blurred noisy image given the original image

and the blur operator

( ) ( )( ) ( )I x K y x x (0, ),N x X

K

( )( ) ( , ) ( )X

K y x k x y d

we assume that blur locally is constant

point spread function

0

0 0( )( ) ( ) ( )xU

K y x v x y d v y x

0v

I

00 , xx X U X and

y

Page 15: Motion Blur Estimation at Corners

Computer Vision Group

Blur Assumptions

Point spread function has 1D support,

Constant value (Uniform Speed)

Parametric approach, estimate and

we call the corner displacement , the vector having direction and length

These assumptions hold only locally…

l

0 ( ) ( )lv R s x 1 21/(2 1) , 0

0l

l l x l xs

else

l

v

1x

2x

l

0v

Page 16: Motion Blur Estimation at Corners

Computer Vision Group

Presentation Outline

Image Model Corner Model Problem Solution Robust Solution Experiments Concluding Remarks

Page 17: Motion Blur Estimation at Corners

Computer Vision Group

Why Corners?

No Aperture Problem, when blurred.

Easy to Detect (Harris, Hessian)

Easy to Model

Meaningful for scene understanding

Page 18: Motion Blur Estimation at Corners

Computer Vision Group

1

2

1

2

The Corner Model

The Corner has to be binary in the considered region D

Not every displacement can be managed.

/ 2, / 2 Exclude “self intersecting” corners

D

Page 19: Motion Blur Estimation at Corners

Computer Vision Group

Presentation Outline

Image Model Corner Model Problem Solution Robust Solution Experiments Concluding Remarks

Page 20: Motion Blur Estimation at Corners

Computer Vision Group

Vector Relation

Consider an Image Region D containing a blurred corner

in the noise free case,

v

0( ) ,v K y x x D

0 , ( ) 0D x K y x D

the aperture problem holds

However both at corners blurred edges may be used to solve this ambiguity

0 , ( ) , 0D x K y x T D T

Page 21: Motion Blur Estimation at Corners

Computer Vision Group

Least Square Solution

A “good” image region should containpixels from both blurred edges

Several pixels have to be considered, for example x

wi ;¡ n < i < n weights

~vx =argminv°°°A(x) v ¡ ¢ [w¡ n ; :::;w0; :::;wn]

T°°°2

A(x) ~vx =

2

66664

w¡ n r I (x¡ n)T

:::w0 r I (x)T

:::wnr I (xn)T

3

77775~vx = ¢ [w¡ n ; :::;w0; :::;wn]

T

Page 22: Motion Blur Estimation at Corners

Computer Vision Group

Drawbacks

Solution is not robust in presence of outliers and noise

Whenever image assumptions are not met (e.g. textured or shaded corners, smoothed contours, other image artifacts) solution is seriously corrupted.

Compute the solution on every pixel : method is slow

Requires a filtering procedure as every estimate depends on

Then, better look for a vector that satisfy the basic equation for a significant number of pixels, disregarding how far from the solution is for few pixels

x

v

v

~vx =argminv°°°A(x) v ¡ ¢ [w¡ n ; :::;w0; :::;wn]

T°°°2

x

Page 23: Motion Blur Estimation at Corners

Computer Vision Group

Presentation Outline

Image Model Corner Model Problem Solution Robust Solution Experiments Concluding Remarks

Page 24: Motion Blur Estimation at Corners

Computer Vision Group

v

Robust Solution

Considering only two gradient vectors it would be enough if appropriately chosen

axbx

( )aN x

( )bN x( )aN x

( )bN x

v

N(x) = r I (x)jjr I (x)jj2 ¢

Page 25: Motion Blur Estimation at Corners

Computer Vision Group

The Hough Transform

For each input data determine theset of possible solutions.

The solutions are represented in the parameter space

A vote (1) is assigned to all parameters that are compatible with a given data

being , the parameters,the coordinates of end point (in pixels)

Evaluate all inputs and sum the votes

The most voted pair in the parameter space are taken as solution,as they represent the parameters satisfying most of data

1 2( , )u uuv

( )N x

Page 26: Motion Blur Estimation at Corners

Computer Vision Group

The votes in parameter space

Consider also parameters close to the solutions• Assign them a fraction of vote (<1)• Assign a full vote to exact solutions

Being a tuning parameter and noise standard deviation

For every data , votesare assigned by this vote function opportunely rotated and translated

k¾́

N (x)

x̀(u1;u2) = R( ¼2 ¡ µ)¡`¢([u1;u2]T ¡ N (x))

x̀(u1;u2)

(̀u1;u2) = exph¡³

u21+kju1 j¾r ´

´2i

Page 27: Motion Blur Estimation at Corners

Computer Vision Group

Robust Solution- Votes sum

Sum of votes

Page 28: Motion Blur Estimation at Corners

Computer Vision Group

Presentation Outline

Image Model Corner Model Problem Solution Robust Solution Experiments Concluding Remarks

Page 29: Motion Blur Estimation at Corners

Computer Vision Group

Experiment on Synthetic Images

Synthetic images constructed according to

I (x) = K¡y+»

¢(x) +´(x) ; x = (x1;x2)

»(x) » N (0;¾»)

´(x) » N (0;¾́) where represents electronic noise

represents differences between the binary corner and the synthetic image

Page 30: Motion Blur Estimation at Corners

Computer Vision Group

Experiments on Synthetic images

Point Spread Function of 10° degrees and 20 pixels extents

Page 31: Motion Blur Estimation at Corners

Computer Vision Group

Experiments on Synthetic images

Point Spread Function of 70° degrees and 30 pixels extents

Page 32: Motion Blur Estimation at Corners

Computer Vision Group

Experiment on a Test Image

5 regions containing a corner have been selected on house image

Page 33: Motion Blur Estimation at Corners

Computer Vision Group

Results on a Test Image

house image has been artificially blurred by motion blur psf having• direction 30 degrees• length 25 pixels

Error in pixels : 2.07

Page 34: Motion Blur Estimation at Corners

Computer Vision Group

Results on a Test Image

house image has been artificially blurred by motion blur psf having• direction 30 degrees• length 25 pixels

house image has been artificially blurred by motion blur psf having• direction 30 degrees• length 25 pixels

Error in pixels : 2.75

Page 35: Motion Blur Estimation at Corners

Computer Vision Group

Results on a Test Image

house image has been artificially blurred by motion blur psf having• direction 30 degrees• length 25 pixels

house image has been artificially blurred by motion blur psf having• direction 30 degrees• length 25 pixels

Error in pixels : 3.19

Page 36: Motion Blur Estimation at Corners

Computer Vision Group

Results on a Test Image

house image has been artificially blurred by motion blur psf having• direction 30 degrees• length 25 pixels

house image has been artificially blurred by motion blur psf having• direction 30 degrees• length 25 pixels

Error in pixels : 1.87

Page 37: Motion Blur Estimation at Corners

Computer Vision Group

Results on a Test Image

house image has been artificially blurred by motion blur psf having• direction 30 degrees• length 25 pixels

house image has been artificially blurred by motion blur psf having• direction 30 degrees• length 25 pixels

Error in pixels : 2.04

Page 38: Motion Blur Estimation at Corners

Computer Vision Group

Experiments on camera images

Triplets of images have been taken according to the following scheme• still image (A)• Blurred image moving the camera on a rack (B)• still image (C)

Motion has been estimated in selected image regions in B and compared with the ground truth obtained by matching the feature in the corresponding regions in A and in C.

Page 39: Motion Blur Estimation at Corners

Computer Vision Group

A - still image at initial camera position

Page 40: Motion Blur Estimation at Corners

Computer Vision Group

B – the Blurred Image

Page 41: Motion Blur Estimation at Corners

Computer Vision Group

C – still image at final camera position

Page 42: Motion Blur Estimation at Corners

Computer Vision Group

Five selected Image regions

Page 43: Motion Blur Estimation at Corners

Computer Vision Group

Five selected Image regions

Page 44: Motion Blur Estimation at Corners

Computer Vision Group

Five selected Image regions

Page 45: Motion Blur Estimation at Corners

Computer Vision Group

Five selected Image regions

Page 46: Motion Blur Estimation at Corners

Computer Vision Group

Five selected Image regions

Page 47: Motion Blur Estimation at Corners

Computer Vision Group

Results from camera images

Page 48: Motion Blur Estimation at Corners

Computer Vision Group

Page 49: Motion Blur Estimation at Corners

Computer Vision Group

Presentation Outline

Image Model Corner Model Problem Solution Robust Solution Experiments Ongoing Works

Page 50: Motion Blur Estimation at Corners

Computer Vision Group

Conclusions

Fourier based methods usually fail at corners and on small regions

Method to estimate motion blur parameters at corners from a single blurred image

We handle space varying blur as every image region is considered separately

Page 51: Motion Blur Estimation at Corners

Computer Vision Group

Ongoing Work

Manage all possible displacement, also the self – intersecting case

Detect Blurred Corners

Adaptively select region for motion estimation

Extend the algorithm to psf having 1D support, and non-uniform density.

Measure the Goodness of our estimate

Fusing estimates coming from different corners