PSF Cellphone Camera
PSF Cellphone Camera
IRIS
Point Spread Function (PSF) Measurement for Cell Phone Camera
with a High Resolution PSF of the Imaging Lens and a Sub-pixel
Digital Algorithm
Ingrid Narvaez
Spring 2013
IRIS
• An accurate measurement of the PSF for the
extended depth of field (EDoF) cell phone
camera with CMOS sensor is of great
importance for image processing and image
restoration.
• The overall system including the imaging
subsystem and sampling subsystem is a shift-
variant system with respect to the sample-
scene phase parameter within the sub-pixel
range.
• This paper talks about the sub-pixel digital
algorithm to estimate the overall camera PSF.
Slide 2
Abstract
Imaging, Robotics, and Intelligent Systems
IRIS
• The sub-pixel digital algorithm
– Find the average of the shifted high resolution
PSFs of the lens over one active pixel area with the
assumption of uniform random distribution of point
source location within the active pixel area.
– The averaged high resolution PSF is down sampled
to the Bayer plane to obtain the shift invariant
overall system PSF.
– Finally this shift-invariant PSF is applied for image
restoration of blurred images captured with an
extended depth of field camera.
Slide 3
Introduction
Imaging, Robotics, and Intelligent Systems
IRIS
• Because almost all available algorithms for
image reconstruction require an accurate
measurement of the system PSF, there is a
need to measure it accurately.
• In this method, a cell phone camera was
used, and the system for image acquisition is
as follows:
Slide 4
Introduction
Imaging, Robotics, and Intelligent Systems
IRIS
• This paper focuses its attention in the
calculation of the PSF of the two subsystems
before the imaging pipeline.
• The input scene 𝑂(𝑥, 𝑦; 𝑥0 , 𝑦0 ), and the intensity
PSF of the lens aperture is ℎ(𝑥, 𝑦; 𝑥0 , 𝑦0 ) where
(𝑥, 𝑦) represents an image coordinate and
(𝑥0 , 𝑦0 ) is an object coordinate.
• The image 𝐼 is expressed mathematically as
∞
𝐼 𝑥, 𝑦; 𝑥0 , 𝑦0 = න 𝑂 𝑥0 , 𝑦0 ℎ(𝑥, 𝑦; 𝑥0 , 𝑦0 )𝑑𝑥0 𝑑𝑦0
−∞
Slide 5
Introduction
Imaging, Robotics, and Intelligent Systems
IRIS
• The image 𝐼 is sampled by the a CMOS sensor
whose pixel size is ∆. The sampled image 𝐼𝑠 is
related to image I mathematically as:
1 𝑥 𝑦
𝐼𝑠 𝑥, 𝑦, 𝑥0 , 𝑦0 = 𝐼 𝑥, 𝑦, 𝑥0 , 𝑦0 ⊗ 𝐴(𝑥, 𝑦) 2 𝑐𝑜𝑚𝑏 ,
∆ ∆ ∆
• Where ⊗operator stands for convolution.
• 𝐴(𝑥, 𝑦) is the function which determines the
response over the pixel area.
• And the fill factor of the sensor
1 𝑥 𝑦
2
𝑐𝑜𝑚𝑏 , = 𝛿(𝑥 − Δ𝑚, 𝑦 − Δ𝑛)
∆ ∆ ∆
𝑛 𝑚
Slide 6
Introduction
Imaging, Robotics, and Intelligent Systems
IRIS
• The overall system intensity PSF of the optics and
CMOS sensor ℎ𝑠 is expressed as follows
1 𝑥 𝑦
ℎ𝑠 𝑥, 𝑦; 𝑥0 , 𝑦0 = ℎ 𝑥, 𝑦; 𝑥0 , 𝑦0 ⊗ 𝐴(𝑥, 𝑦) 2 𝑐𝑜𝑚𝑏 ,
∆ ∆ ∆
• This paper deals with a point source of the PSF,
because it can be rotationally non-symmetric.
• The PSF shape varies a lot even tough the object is
located at the center of the camera.
• The PSF is dependent on the relative location (𝑥𝑟 , 𝑦𝑟 ) of
the center of the point source to the sampling grid. This
relative location is referred to as sample-scene
parameter.
• Due to insufficient sampling of the PSF, the system is
not shift-invariant even for a small field of view.
Slide 7
The Measurement of the Intensity Imaging, Robotics, and Intelligent Systems
Slide 9
The Measurement of the Intensity Imaging, Robotics, and Intelligent Systems
Slide 10
The Measurement of the Intensity Imaging, Robotics, and Intelligent Systems
Slide 11
The Measurement of the Intensity Imaging, Robotics, and Intelligent Systems
Slide 12
The Measurement of the Intensity Imaging, Robotics, and Intelligent Systems
1 𝑥 𝑦
ℎ𝑠 𝑥, 𝑦; 𝑥0 , 𝑦0 ; 𝑥𝑟 , 𝑦𝑟 = ℎ 𝑥 − 𝑥𝑟 , 𝑦 − 𝑦𝑟 ; 𝑥0 , 𝑦0 ⊗ 𝐴(𝑥, 𝑦) 2 𝑐𝑜𝑚𝑏 ,
4∆ 2∆ 2∆
– 2 △ is the spacing between two adjacent pixels with
the same Bayer filter.
Slide 14
The Measurement of the Intensity Imaging, Robotics, and Intelligent Systems
Slide 15
The Measurement of the Intensity Imaging, Robotics, and Intelligent Systems
Slide 16
The Measurement of the Intensity Imaging, Robotics, and Intelligent Systems
Slide 17
The Measurement of the Intensity Imaging, Robotics, and Intelligent Systems
Slide 18
The Measurement of the Intensity Imaging, Robotics, and Intelligent Systems
Slide 20
Image Restoration Results
Imaging, Robotics, and Intelligent Systems
IRIS
Slide 21
Image Restoration Results
Imaging, Robotics, and Intelligent Systems
IRIS
• The figure shows the G1 channel raw image in the Bayer plane,
the restored image with the non-averaged PSF on the Bayer
plane, and the restored G1 channel image with the averaged
down sampled system PSF on Bayer plane in that order.
Slide 22
Image Restoration Results
Imaging, Robotics, and Intelligent Systems
IRIS
• These images are cropped and the results
compared.
Slide 23
Image Restoration Results
Imaging, Robotics, and Intelligent Systems
IRIS
• The restored image with the averaged down
sampled system PSF is the sharpest .
Slide 24
References
Imaging, Robotics, and Intelligent Systems
IRIS
1. C. Liu and X. Chen, “Point Spread Function
(PSF) Measurement for Cell Phone Camera
with a High Resolution PSF of the Imaging
Lens and a Sub-pixel Digital Algorithm.”
[Online]. Available:
http://144.206.159.178/ft/CONF/16419973/
16419985.pdf. [Accessed: 01-Feb-2013].
Slide 25