Deriving Myopia Filter

Download Report

Transcript Deriving Myopia Filter

Neo-compensate-myopiaautomatic-compensate-system
R01942056 Cobra
D01943032 JJLin
Problem
Problem
Myopia
Original
image
Blurred
image
Goal
Original
image
Pre-compute
Myopia
Compensated
image
Clear
image
Model
Myopia
http://spie.org/Images/Graphics/Publications/FG04_P23_myopia_hyperopia.jpg
Deriving Myopia Filter
d
kd
Deriving Myopia Filter
Circular
uniform
filter
Simplified Myopia Filter
2-pass
Box
filter
Inverse (De-convolution)
• Inverse box filter are usually noninvertible
1
1

A  0

0
0
1 0 0 0

1 1 0 0
1 1 1 0

0 1 1 1
0 0 1 1
Inverse (De-convolution)
• Use an energy function
E (x)  Ax  b  c   x  b
2
De-convolution
2
Output ~ Original
(A2  I)x  A(b  c)  b
Result
Optical Myopia Simulation
•
•
•
•
Canon 500D
Out-of-focus
1/40, 5.6f, ISO 800
14.4”LCD
Result - Lena
In-focus
Gold
(original)
Out-of-focus
(Same focal length)
Original
Ours
Result – Lena
In-focus
Gold
(original)
Out-of-focus
(Same focal length)
Original
Ours
Result – Suzumiya Haruhi
In-focus
Gold
(original)
Out-of-focus
(Same focal length)
Original
Ours
Result - Suzumiya Haruhi
In-focus
Gold
(original)
Out-of-focus
(Same focal length)
Original
Ours
Discussion
Limit
• Overflow is a serious problem (0-255)
Myopia
Compensated
image
Clear
image
Limit
• Overflow is a serious problem (0-255)
Clear
image
Compensated
image
+
One pixel
overflows
Myopia
+
Box
noise
Q&A