High Resolution Spectral Video Capture & Computational Photography
Dec 30th, 2015
School of Electronic Science & Engineering Nanjing University
Xun Cao (曹汛)
caoxun@nju.edu.cn
Xun Cao ( ) School of Electronic Science & Engineering Nanjing - - PowerPoint PPT Presentation
High Resolution Spectral Video Capture & Computational Photography Xun Cao ( ) School of Electronic Science & Engineering Nanjing University caoxun@nju.edu.cn Dec 30th, 2015 Computational Photography Computational Photography
High Resolution Spectral Video Capture & Computational Photography
Dec 30th, 2015
School of Electronic Science & Engineering Nanjing University
caoxun@nju.edu.cn
2
Computational photography refers broadly to computational imaging techniques that enhance or extend the capabilities of digital photography. The output of these techniques is an ordinary photograph, but one that could not have been taken by a traditional camera. (Wikipedia) Computational photography is an emerging new field created by the convergence
the limitations of the traditional camera by using computational techniques to produce a richer, more vivid, perhaps more perceptually meaningful representation of our visual world. (CMU Course Introduction)
Spatial Temporal Spectral(Color) Dynamic Range SD<720p HD 1920*1080 Gigapixel UHD 3840*2160
2D
Stereo Multiview Light Field Gray scale RGB Multispectral Hyperspectral
10Hz
30Hz 60Hz Ps.Fs 8 bit 10/12 bit 24 bit 120Hz
CP for various imaging dimensions
Depth & View (3D)
Computational Imaging Technology & Engineering
– High Resolution Spectral Video Camera: PMIS
– High Accuracy 3D Reconstruction
– Nano-Scale Pixel Camera – Gigapixel on Single Chip
The lab focuses on 3 kinds of computational cameras
sensor light source scene
( ) I
( ) R ( ) S
( ) ( ) K R S d
K
light source scene sensor
( ) I
( ) R ( ) S
( ) ( )
R
R R S d ( ) ( )
G
G R S d ( ) ( )
B
B R S d
, , R G B ( )
light source scene Imaging system
( ) I
( ) R ( ) R
Spatially varying filter
Columbia
[Kidono07] [Gat00][Yamaguchi06][Schechner02]…
Color Filter Array Filter wheel Programmable Filter Filter Scanning
Key idea: Trade time for spectrum Shortcomings:
scenes
PAMI ’02
2D Imaging + reconstruction Spectrum resolution: 6 nm Spatial resolution: 256 x 248 Limited spatial resolution Limited accuracy Time-consuming reconstructing (20min / frame)
Key Idea: Coded Aperture
[Brady’06] [Willett’07] [Gehm’07] [Wagadarikar’08]
Applied Optics SPIE, JOSA’95-08
different linear “projections”
[JOSA’08]
[Descour95] [Descour01] [Vandervlugt07] [Hagen08]…
Shortcomings: Low Resolution Difficult to Calibrate High Computational Cost Key Ideas: CT Projections + Reconstruction
Arizona
Computed Tomographic Imaging Spectrometer
CTIS
2008~2010: Prism-Mask Imaging Spectrometer (PMIS1)
– Directly capture multispectral video – High spectra-resolution – Low cost – Easy setup and calibration
2011~2014: Hybrid-Camera PMIS2
– Both high spectral and spatial resolution – Real-time hyperspectral video capture
2014~now Scene-Adaptive PMIS3
– Space-time coded modulation – Spectral video capture with improved accuracy and efficiency
capturing system mask Pointgrey grayscale camera 2248x2048 @15fps
Prism
Occlusion Mask
Grayscale Camera Re-generated RGB Video
Camera System
GIF source: Wiki
sensor array lens camera
Spectra Overlap! prism sensor array lens camera
sensor array lens camera mask
Spectra Overlap! sensor array lens camera mask
prism image plane mask aperture grayscale camera
a
sin ( ) sin ( ( )) sin ( ( )) sin ( ( )) n
f
( ) W S
( ) (tan( ( ) ) tan( ( ) ))
e s
W S f a a
s
e
( )
spec
W S R
CCD cell size
prism image plane mask aperture
( ) (tan( ( ) ) tan( ( ) ))
e s
W S f a a
f
( )
spec
W S R
( ) (tan( ( ) ) tan( ( ) ))
e s
W S f a a
prism image plane mask aperture
f
( )
spec
W S R
( ) (tan( ( ) ) tan( ( ) ))
e s
W S f a a
prism image plane mask aperture
f
( )
spec
W S R
( ) (tan( ( ) ) tan( ( ) ))
e s
W S f a a
prism image plane mask aperture
f
prism image plane mask aperture Spectra Overlap!
prism mask aperture Unused Pixels image plane
prism mask aperture Perfect Alignment image plane
In practice, we can use a uniform mask
d D
(tan( ( )) tan( ( )))
e s
D d
Design Mask Hole Distance
Spectrum Calibration Geometry Calibration Radiance Calibration
Mapping Position to Wavelength Geometry Distortion caused by the prism (Smile Distortion) Non-constant CCDSensitivity
Spectrum Calibration Geometry Calibration Radiance Calibration
Ground truth fluorescent spectra
captured spectra
target spectra
Ground truth fluorescent spectra
Warp
prism image plane mask aperture
Non linear , but smooth curve !
f
x sin ( ) tan arcsin( sin( arcsin( ))) x f a n n
Spectrum Calibration Geometry Calibration Radiance Calibration
Predefined mask pattern captured image geometry calibrated image
Spectrum Calibration Geometry Calibration Radiance Calibration
captured radiance genuine radiance
genuine radiance
wavelength sensitivity light input intensity
captured radiance locally constant assuming
( ) ( )
( ) ( ( ) ( ) )
b a
z z
I z g c l d
( ), ( ) c l
1( ( ))
( ) ( )( )
b a
g I z l c
RGB Image IR Image The differences in IR Our measurement
PMIS1: A Prism-Mask System for Multispectral Video Acquisition,
IEEE Intl’ Conf. Computer Vision (ICCV), 2009 , Oral IEEE Trans. Pattern Anal. Mach. Intell. (PAMI), 2011 High Resolution Multispectral Image Capture,US Patent.20140085502
– occlusion mask – relatively small aperture
resolution
– Limited CCD resolution – Spatial resolution (1000 pixels)
Scene or Object
Prism
Occlusion Mask
Gray Camera RGB Camera
High-Spatial Low-Spectral Resolution Video Low-Spatial High-Spectral Resolution Video
PMIS2: Hybrid Camera System
Propagation
High Spatial Resolution RGB Video
RGB Camera Gray Camera
Low Spatial Resolution Multispectral Video
, ,
( ) ( ) ( ) ( )
r s r s
RGB xy c k k k k k ij RGB xy c R G B k k k
G d G d G d G d
ms ms
/ , e.g. for red channel
k ij k
R R
Ground Truth Data Evaluation (11 datasets, .aix, .mat)
Temporal Enhancement Error 7.8% 4.3%
PMIS1: Prism-Mask Multispectral-Video Imaging System (ICCV’09, PAMI’2011) PMIS2: Hybrid Camera Multispectral Video Imaging System (CVPR’2011, IJCV’2014)
PMIS1: Prism-Mask Multispectral-Video Imaging System (ICCV’09, PAMI’2011) PMIS2: Hybrid Camera Multispectral Video Imaging System (CVPR’2011, IJCV’2014)
Application 3: Automatic White Balance
Application 3: mixed illumination
Fluorescent light
Original Frame Fluorescent Light Tungsten Light Our Result
Application 3: mixed illumination
RGB Space Spectral Space
High Resolution
PMIS2: Acquisition of High Spatial & Spectral Resolution Video with a Hybrid Camera System,
IEEE Intl’ Conf. Computer Vision & Pattern Recognition. (CVPR), 2011 International Journal of Computer Vision (IJCV), 2014 A Computational Spectral Video Capture Device,China Patent. ZL201110212923.X
Fixed-Pattern Mask
Accuracy improvement Targeted spectral acquisition by annotating regions of interest
Spatial Light Modulation
PMIS3: Content-Adaptive High-resolution Spectral Video Acquisition
Optics Letters, 39(15), pp.1464-1466, 2014 Optics Express, 22(16), pp.19348-19356, 2014 IEEE CVPR, pp. 1684-1692, 2015
– vs Traditional Spectrometer: Snapshot Capability (Video) – vs CTIS / CASSI:
Spectra Viewing Software Ma C, Cao X, Dai, Q, et al. IJCV 2014
Camera Camera Wavelength Wavelength Range Range Spectral Spectral Resolution Resolution Temporal Temporal Resolution Resolution Spatial Resolution Spatial Resolution BaySpec 600-1000 nm 10 nm 8 fps 256*256 SoC 270-550 nm 18 nm 60 fps 320*256 PMIS 400-1000 nm 6 nm 15 fps 1024*1024 (1M) Light Gene PMIS
– Assistance in experimentation
– Helpful discussions on implementation issues
Welcome to visit CITE Lab @ Nanjing Univ.
Computational Imaging Technology & Engineering
http: tp://cite //cite.nju ju.ed .edu.cn u.cn