SlideShare a Scribd company logo
1 of 39
study Image and Deoth from a Conventional Camera with a Coded Apertrue Anat Levin, Rob Fergus,    Frédo Durand, William Freeman MIT CSAIL
Single input image real objects Coded Aperture output #1: Depth map output #2: all-infocused  image
Conventional aperture and depth of field Big aperture Object Focal plane Small aperture
Depth from defocus Camera sensor Lens Point spread function Focal plane http://groups.csail.mit.edu/graphics/CodedAperture/CodedAperture-LevinEtAl-SIGGRAPH07.ppt
Depth from defocus Camera sensor Lens Object Point spread function Focal plane http://groups.csail.mit.edu/graphics/CodedAperture/CodedAperture-LevinEtAl-SIGGRAPH07.ppt
Depth from defocus Camera sensor Lens Object Point spread function Focal plane http://groups.csail.mit.edu/graphics/CodedAperture/CodedAperture-LevinEtAl-SIGGRAPH07.ppt
Defocus as local convolution Calibrated  blur kernels at depth K Local observed  sub-window Sharp  sub-window Input defocused image Depth k=1 Depth k=2 Depth k=3
Introduction Estimation of depth – a branch of Computational Photography Most challenges of  y = fk * x ,[object Object],Input Ringing with the traditional Richardson-Lucyalgorithm ,[object Object],? Larger scale  ? Correct scale  ? Smaller scale
Related work – depth estimation Active methods – additional illumination sources ,[object Object],Nayar et al. ICCV 95 Zhang and Nayar, SIGGRAPH 06 Projection Defocus Analysis for Capture and Image Display, Zhang and Nayar, 06
Related work – depth estimation Passive methods – changes of focus  ,[object Object],Pentland, IEEE 87 Chaudhuri, Favaro et al. , 99 ,[object Object],Kundur and Hatzinakos , IEEE 96 		Levin,  NIPS 06 ,[object Object],Fenimore and Cannon, Optics 78
Related work – depth estimation ,[object Object]
Plenoptic /light field cameraAdelson and Wang, IEEE 92 	Ng et al., 05 ,[object Object],Cathey & Dowski, Optics 94, 95 1.Rays don't converge anymore 2.Image blur is the same for all depth 3.Blur spectrum does not have too many zeros CompPhoto06/html/lecturenotes/25_LightField_6.pdf
Overview Try deconvolving local input windows with different scaled filters: ? Larger scale  ? Correct scale  ? Smaller scale  Somehow: select best scale
Challenges & contributions Hard to de-convolve even when kernel is known 	IDEA 1: Natural images prior Hard to identify correct scale 	IDEA 2: Coded Aperture
Deconvolution is ill posed Solution 1: = ? Solution 2: = ?
IDEA 1: Natural images prior What makes images special? Natural Unnatural Image gradient Natural images have sparse gradients put a penalty on gradients
Deconvolution with prior Convolution error Derivatives prior 2 ? Low  Equal convolution error 2 ? High
Comparing deconvolution algorithms Richardson-Lucy Input “spread” gradients “localizes” gradients Gaussian prior Sparse prior
Statistical Model of Images “Deconvolution using natural image priors”, Levin et. al., ETAI 07 Spatial domain Frequency domain
Maximum a-posteriori P(x|y) likelyhood Image prior  (gradient here)  Gradient operator For Gaussian priors For sparse priors
Minimize deconvolution error
Deconvolution using a Gaussian prior Note: solved in the frequency domain in a few seconds for MB size file
Deconvolution using a sparse prior Using an iterative reweighted least squares process (IRLS) [Meer 2004; Levin and Weiss to appear] Cannot solve in frequency domain Note: solved in the frequency domain  around  1 hour on 2.4Ghz CPR for 2MB file
Iterative reweighted least squares process (IRLS)
Recall: Overview Try deconvolving local input windows with different scaled filters: ? Larger scale  ? Correct scale  ? Smaller scale  Somehow: select best scale Challenge: smaller scale not so different than correct
IDEA 2: Coded Aperture Mask (code) in aperture plane Make defocus patterns different from natural images and easier to discriminate Conventional aperture Our coded aperture
Lens with coded aperture Image of a defocused point light source Aperture pattern Camera sensor Lens with coded aperture Object Point spread function Focal plane
Why coded ? Coded aperture- reduce uncertainty in scale identification Conventional Coded Larger scale Correct scale Smaller scale
Why coded ? Coded aperture- reduce uncertainty in scale identification Conventional Coded Larger scale Correct scale Smaller scale
Fourier transforms of 1D slide through the blur pattern
Coded aperture: Scale estimation and division by zero spectrum spectrum spectrum spectrum spectrum Frequency Frequency Frequency Frequency Frequency Estimated image ? Observed image  = Filter, correct scale Division by zero Estimated image ?        spatial ringing = Filter, wrong scale
Division by zero with a conventional aperture ? spectrum spectrum spectrum spectrum spectrum Frequency Frequency Frequency Frequency Frequency Estimated image ? No zero at ω ! Observed image  = Filter, correct scale No zero at ω ! Tiny value at ω no spatial ringing Estimated image ? = Filter, wrong scale ω is zero !
Filter Selection Criterion The filter f has good depth discrimination - blurry image distributions Pk1(y) and Pk2(y) at depths k1 and k2 should  not be similar KL-divergence scores
Filter Design Practical constrains Binary filter to construct accurately Cut the filter from a single piece Avoid excessive radial distortion Avoid using the full aperture Diffraction impose a min size on the holes in the file Spec. 13x13 patterns with 1 mm holes Each pattern, 8 different  scales  Varying between 5~15 pixels in width
Filter Design Conventional  Conventional
Blur scale identification Not robust at high-frequency noise Un-normalized energy term λk  learn to minimize  the scale misclassification error on a set of traning images Ek is approximate by the reconstruction error by ML solution x* is the deblurred image
Regularizing depth estimation
Results
Applications Digital refocusing from a single image e.g.  Synthesis an all-focus image e.g.  Post-exposure

More Related Content

What's hot

Curse of dimensionality
Curse of dimensionalityCurse of dimensionality
Curse of dimensionality
Nikhil Sharma
 
Internal radiation dosimetry
Internal radiation dosimetryInternal radiation dosimetry
Internal radiation dosimetry
Naslinda Rizan
 
Exploring Methods to Improve Edge Detection with Canny Algorithm
Exploring Methods to Improve Edge Detection with Canny AlgorithmExploring Methods to Improve Edge Detection with Canny Algorithm
Exploring Methods to Improve Edge Detection with Canny Algorithm
Prasad Thakur
 
physical interaction of x ray with matter
physical interaction of x ray with matter physical interaction of x ray with matter
physical interaction of x ray with matter
charusmita chaudhary
 
1 radiation detection and measurement
1 radiation detection and measurement 1 radiation detection and measurement
1 radiation detection and measurement
Shahid Younas
 

What's hot (20)

The Magic of Auto Differentiation
The Magic of Auto DifferentiationThe Magic of Auto Differentiation
The Magic of Auto Differentiation
 
Hyperparameter Optimization for Machine Learning
Hyperparameter Optimization for Machine LearningHyperparameter Optimization for Machine Learning
Hyperparameter Optimization for Machine Learning
 
Radiation protection course for radiologists Lecture 3
Radiation protection course for radiologists Lecture 3Radiation protection course for radiologists Lecture 3
Radiation protection course for radiologists Lecture 3
 
Curse of dimensionality
Curse of dimensionalityCurse of dimensionality
Curse of dimensionality
 
Medical Internal Radiation Dosimetry
Medical Internal Radiation DosimetryMedical Internal Radiation Dosimetry
Medical Internal Radiation Dosimetry
 
Music Generation with Deep Learning
Music Generation with Deep LearningMusic Generation with Deep Learning
Music Generation with Deep Learning
 
Quantum Computing and Qiskit
Quantum Computing and QiskitQuantum Computing and Qiskit
Quantum Computing and Qiskit
 
Internal radiation dosimetry
Internal radiation dosimetryInternal radiation dosimetry
Internal radiation dosimetry
 
Shors'algorithm simplified.pptx
Shors'algorithm simplified.pptxShors'algorithm simplified.pptx
Shors'algorithm simplified.pptx
 
Foundations of Machine Learning
Foundations of Machine LearningFoundations of Machine Learning
Foundations of Machine Learning
 
Pattern Matching AI.pdf
Pattern Matching AI.pdfPattern Matching AI.pdf
Pattern Matching AI.pdf
 
Shor’s algorithm the ppt
Shor’s algorithm the pptShor’s algorithm the ppt
Shor’s algorithm the ppt
 
Exploring Methods to Improve Edge Detection with Canny Algorithm
Exploring Methods to Improve Edge Detection with Canny AlgorithmExploring Methods to Improve Edge Detection with Canny Algorithm
Exploring Methods to Improve Edge Detection with Canny Algorithm
 
Nuclear and Atomic Physics
Nuclear and Atomic PhysicsNuclear and Atomic Physics
Nuclear and Atomic Physics
 
physical interaction of x ray with matter
physical interaction of x ray with matter physical interaction of x ray with matter
physical interaction of x ray with matter
 
Quantum programming
Quantum programmingQuantum programming
Quantum programming
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
 
Real-time Edge-aware Image Processing with the Bilateral Grid
Real-time Edge-aware Image Processing with the Bilateral GridReal-time Edge-aware Image Processing with the Bilateral Grid
Real-time Edge-aware Image Processing with the Bilateral Grid
 
An Introduction to Quantum computing
An Introduction to Quantum computingAn Introduction to Quantum computing
An Introduction to Quantum computing
 
1 radiation detection and measurement
1 radiation detection and measurement 1 radiation detection and measurement
1 radiation detection and measurement
 

Viewers also liked

Optical Biometry Measurements For Future Iol’S
Optical Biometry Measurements For Future Iol’SOptical Biometry Measurements For Future Iol’S
Optical Biometry Measurements For Future Iol’S
meikocat
 
Aperture presentation 1
Aperture presentation 1Aperture presentation 1
Aperture presentation 1
laroos0815
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domain
Malik obeisat
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
Ayaelshiwi
 
The Low Vision Examination
The Low Vision ExaminationThe Low Vision Examination
The Low Vision Examination
Hossein Mirzaie
 

Viewers also liked (20)

Multi Aperture Photography
Multi Aperture PhotographyMulti Aperture Photography
Multi Aperture Photography
 
How to come up with new Ideas Raskar Feb09
How to come up with new Ideas Raskar Feb09How to come up with new Ideas Raskar Feb09
How to come up with new Ideas Raskar Feb09
 
My presentation Jose M. Escalante Fernandez
My presentation Jose M. Escalante FernandezMy presentation Jose M. Escalante Fernandez
My presentation Jose M. Escalante Fernandez
 
Lytro Light Field Camera: from scientific research to a $50-million business
Lytro Light Field Camera: from scientific research to a $50-million businessLytro Light Field Camera: from scientific research to a $50-million business
Lytro Light Field Camera: from scientific research to a $50-million business
 
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...
 
A novel approach for denoising and enhancement of extremely low light video
A novel approach for denoising and enhancement of extremely low light videoA novel approach for denoising and enhancement of extremely low light video
A novel approach for denoising and enhancement of extremely low light video
 
White balance Task
White balance TaskWhite balance Task
White balance Task
 
Optical Biometry Measurements For Future Iol’S
Optical Biometry Measurements For Future Iol’SOptical Biometry Measurements For Future Iol’S
Optical Biometry Measurements For Future Iol’S
 
Aperture presentation 1
Aperture presentation 1Aperture presentation 1
Aperture presentation 1
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domain
 
Introduction to image contrast and enhancement method
Introduction to image contrast and enhancement methodIntroduction to image contrast and enhancement method
Introduction to image contrast and enhancement method
 
The Light Field Stereoscope | SIGGRAPH 2015
The Light Field Stereoscope | SIGGRAPH 2015The Light Field Stereoscope | SIGGRAPH 2015
The Light Field Stereoscope | SIGGRAPH 2015
 
Image enhancement ppt nal2
Image enhancement ppt nal2Image enhancement ppt nal2
Image enhancement ppt nal2
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Optical rotatory dispersion
Optical rotatory dispersionOptical rotatory dispersion
Optical rotatory dispersion
 
The Low Vision Examination
The Low Vision ExaminationThe Low Vision Examination
The Low Vision Examination
 
Optical Computing
Optical ComputingOptical Computing
Optical Computing
 
Digital Image Processing Fundamental
Digital Image Processing FundamentalDigital Image Processing Fundamental
Digital Image Processing Fundamental
 
Final Project Report on Image processing based intelligent traffic control sy...
Final Project Report on Image processing based intelligent traffic control sy...Final Project Report on Image processing based intelligent traffic control sy...
Final Project Report on Image processing based intelligent traffic control sy...
 
Quantum dots ppt
Quantum dots pptQuantum dots ppt
Quantum dots ppt
 

Similar to study Coded Aperture

Human-Computer Interactive Systems
Human-Computer Interactive SystemsHuman-Computer Interactive Systems
Human-Computer Interactive Systems
Vertigo4
 
UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation
Jia-Bin Huang
 
Efficient LDI Representation (TPCG 2008)
Efficient LDI Representation (TPCG 2008)Efficient LDI Representation (TPCG 2008)
Efficient LDI Representation (TPCG 2008)
Matthias Trapp
 
TOWARDS OPTIMALITY OF IMAGE SEGMENTATION PART- I
TOWARDS OPTIMALITY OF IMAGE SEGMENTATION PART- ITOWARDS OPTIMALITY OF IMAGE SEGMENTATION PART- I
TOWARDS OPTIMALITY OF IMAGE SEGMENTATION PART- I
Anish Acharya
 

Similar to study Coded Aperture (20)

Defocus magnification
Defocus magnificationDefocus magnification
Defocus magnification
 
Human-Computer Interactive Systems
Human-Computer Interactive SystemsHuman-Computer Interactive Systems
Human-Computer Interactive Systems
 
Raskar Banff
Raskar BanffRaskar Banff
Raskar Banff
 
Raskar Coded Opto Charlotte
Raskar Coded Opto CharlotteRaskar Coded Opto Charlotte
Raskar Coded Opto Charlotte
 
Raskar Paris Nov08
Raskar Paris Nov08Raskar Paris Nov08
Raskar Paris Nov08
 
Depth Fusion from RGB and Depth Sensors by Deep Learning
Depth Fusion from RGB and Depth Sensors by Deep LearningDepth Fusion from RGB and Depth Sensors by Deep Learning
Depth Fusion from RGB and Depth Sensors by Deep Learning
 
EC4160-lect 1,2.ppt
EC4160-lect 1,2.pptEC4160-lect 1,2.ppt
EC4160-lect 1,2.ppt
 
Raskar Ilp Oct08 Web
Raskar Ilp Oct08 WebRaskar Ilp Oct08 Web
Raskar Ilp Oct08 Web
 
Dr,system abhishek
Dr,system abhishekDr,system abhishek
Dr,system abhishek
 
PhD_ppt_2012
PhD_ppt_2012PhD_ppt_2012
PhD_ppt_2012
 
UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation
 
WT in IP.ppt
WT in IP.pptWT in IP.ppt
WT in IP.ppt
 
ADAPTIVE FILTER FOR DENOISING 3D DATA CAPTURED BY DEPTH SENSORS
ADAPTIVE FILTER FOR DENOISING 3D DATA CAPTURED BY DEPTH SENSORSADAPTIVE FILTER FOR DENOISING 3D DATA CAPTURED BY DEPTH SENSORS
ADAPTIVE FILTER FOR DENOISING 3D DATA CAPTURED BY DEPTH SENSORS
 
Efficient LDI Representation (TPCG 2008)
Efficient LDI Representation (TPCG 2008)Efficient LDI Representation (TPCG 2008)
Efficient LDI Representation (TPCG 2008)
 
Virtual Reality 3D home applications
Virtual Reality 3D home applicationsVirtual Reality 3D home applications
Virtual Reality 3D home applications
 
End-to-end Optimization of Cameras and Image Processing - SIGGRAPH 2018
End-to-end Optimization of Cameras and Image Processing - SIGGRAPH 2018End-to-end Optimization of Cameras and Image Processing - SIGGRAPH 2018
End-to-end Optimization of Cameras and Image Processing - SIGGRAPH 2018
 
TOWARDS OPTIMALITY OF IMAGE SEGMENTATION PART- I
TOWARDS OPTIMALITY OF IMAGE SEGMENTATION PART- ITOWARDS OPTIMALITY OF IMAGE SEGMENTATION PART- I
TOWARDS OPTIMALITY OF IMAGE SEGMENTATION PART- I
 
project_final
project_finalproject_final
project_final
 
Ee 417 Senior Design
Ee 417 Senior DesignEe 417 Senior Design
Ee 417 Senior Design
 
Raskar Mar09 Nesosa
Raskar Mar09 NesosaRaskar Mar09 Nesosa
Raskar Mar09 Nesosa
 

More from Chiamin Hsu

study Domain Transform for Edge-Aware Image and Video Processing
study Domain Transform for Edge-Aware Image and Video Processingstudy Domain Transform for Edge-Aware Image and Video Processing
study Domain Transform for Edge-Aware Image and Video Processing
Chiamin Hsu
 
study Image and video abstraction by multi scale anisotropic kuwahara
study  Image and video abstraction by multi scale anisotropic kuwaharastudy  Image and video abstraction by multi scale anisotropic kuwahara
study Image and video abstraction by multi scale anisotropic kuwahara
Chiamin Hsu
 
stduy Edge-Based Image Coarsening
stduy Edge-Based Image Coarseningstduy Edge-Based Image Coarsening
stduy Edge-Based Image Coarsening
Chiamin Hsu
 
study Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large Imagesstudy Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large Images
Chiamin Hsu
 
study Shading Based Surface Editing
study Shading Based Surface Editingstudy Shading Based Surface Editing
study Shading Based Surface Editing
Chiamin Hsu
 
study Diffusion Curves: A Vector Representation for Smooth-Shaded Images
study Diffusion Curves: A Vector Representation for Smooth-Shaded Imagesstudy Diffusion Curves: A Vector Representation for Smooth-Shaded Images
study Diffusion Curves: A Vector Representation for Smooth-Shaded Images
Chiamin Hsu
 
study Image Vectorization using Optimized Gradeint Meshes
study Image Vectorization using Optimized Gradeint Meshesstudy Image Vectorization using Optimized Gradeint Meshes
study Image Vectorization using Optimized Gradeint Meshes
Chiamin Hsu
 
study Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizingstudy Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizing
Chiamin Hsu
 
study Active Refocusing Of Images And Videos
study Active Refocusing Of Images And Videosstudy Active Refocusing Of Images And Videos
study Active Refocusing Of Images And Videos
Chiamin Hsu
 

More from Chiamin Hsu (12)

study Domain Transform for Edge-Aware Image and Video Processing
study Domain Transform for Edge-Aware Image and Video Processingstudy Domain Transform for Edge-Aware Image and Video Processing
study Domain Transform for Edge-Aware Image and Video Processing
 
study Image and video abstraction by multi scale anisotropic kuwahara
study  Image and video abstraction by multi scale anisotropic kuwaharastudy  Image and video abstraction by multi scale anisotropic kuwahara
study Image and video abstraction by multi scale anisotropic kuwahara
 
study Accelerating Spatially Varying Gaussian Filters
study Accelerating Spatially Varying Gaussian Filtersstudy Accelerating Spatially Varying Gaussian Filters
study Accelerating Spatially Varying Gaussian Filters
 
stduy Edge-Based Image Coarsening
stduy Edge-Based Image Coarseningstduy Edge-Based Image Coarsening
stduy Edge-Based Image Coarsening
 
study Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large Imagesstudy Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large Images
 
study Shading Based Surface Editing
study Shading Based Surface Editingstudy Shading Based Surface Editing
study Shading Based Surface Editing
 
study Diffusion Curves: A Vector Representation for Smooth-Shaded Images
study Diffusion Curves: A Vector Representation for Smooth-Shaded Imagesstudy Diffusion Curves: A Vector Representation for Smooth-Shaded Images
study Diffusion Curves: A Vector Representation for Smooth-Shaded Images
 
study Image Vectorization using Optimized Gradeint Meshes
study Image Vectorization using Optimized Gradeint Meshesstudy Image Vectorization using Optimized Gradeint Meshes
study Image Vectorization using Optimized Gradeint Meshes
 
study Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizingstudy Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizing
 
study Latent Doodle Space
study Latent Doodle Spacestudy Latent Doodle Space
study Latent Doodle Space
 
study Active Refocusing Of Images And Videos
study Active Refocusing Of Images And Videosstudy Active Refocusing Of Images And Videos
study Active Refocusing Of Images And Videos
 
study Dappled Photography
study Dappled Photographystudy Dappled Photography
study Dappled Photography
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

study Coded Aperture

  • 1. study Image and Deoth from a Conventional Camera with a Coded Apertrue Anat Levin, Rob Fergus, Frédo Durand, William Freeman MIT CSAIL
  • 2. Single input image real objects Coded Aperture output #1: Depth map output #2: all-infocused image
  • 3. Conventional aperture and depth of field Big aperture Object Focal plane Small aperture
  • 4. Depth from defocus Camera sensor Lens Point spread function Focal plane http://groups.csail.mit.edu/graphics/CodedAperture/CodedAperture-LevinEtAl-SIGGRAPH07.ppt
  • 5. Depth from defocus Camera sensor Lens Object Point spread function Focal plane http://groups.csail.mit.edu/graphics/CodedAperture/CodedAperture-LevinEtAl-SIGGRAPH07.ppt
  • 6. Depth from defocus Camera sensor Lens Object Point spread function Focal plane http://groups.csail.mit.edu/graphics/CodedAperture/CodedAperture-LevinEtAl-SIGGRAPH07.ppt
  • 7. Defocus as local convolution Calibrated blur kernels at depth K Local observed sub-window Sharp sub-window Input defocused image Depth k=1 Depth k=2 Depth k=3
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13. Overview Try deconvolving local input windows with different scaled filters: ? Larger scale ? Correct scale ? Smaller scale Somehow: select best scale
  • 14. Challenges & contributions Hard to de-convolve even when kernel is known IDEA 1: Natural images prior Hard to identify correct scale IDEA 2: Coded Aperture
  • 15. Deconvolution is ill posed Solution 1: = ? Solution 2: = ?
  • 16. IDEA 1: Natural images prior What makes images special? Natural Unnatural Image gradient Natural images have sparse gradients put a penalty on gradients
  • 17. Deconvolution with prior Convolution error Derivatives prior 2 ? Low Equal convolution error 2 ? High
  • 18. Comparing deconvolution algorithms Richardson-Lucy Input “spread” gradients “localizes” gradients Gaussian prior Sparse prior
  • 19. Statistical Model of Images “Deconvolution using natural image priors”, Levin et. al., ETAI 07 Spatial domain Frequency domain
  • 20. Maximum a-posteriori P(x|y) likelyhood Image prior (gradient here) Gradient operator For Gaussian priors For sparse priors
  • 22. Deconvolution using a Gaussian prior Note: solved in the frequency domain in a few seconds for MB size file
  • 23. Deconvolution using a sparse prior Using an iterative reweighted least squares process (IRLS) [Meer 2004; Levin and Weiss to appear] Cannot solve in frequency domain Note: solved in the frequency domain around 1 hour on 2.4Ghz CPR for 2MB file
  • 24. Iterative reweighted least squares process (IRLS)
  • 25. Recall: Overview Try deconvolving local input windows with different scaled filters: ? Larger scale ? Correct scale ? Smaller scale Somehow: select best scale Challenge: smaller scale not so different than correct
  • 26. IDEA 2: Coded Aperture Mask (code) in aperture plane Make defocus patterns different from natural images and easier to discriminate Conventional aperture Our coded aperture
  • 27. Lens with coded aperture Image of a defocused point light source Aperture pattern Camera sensor Lens with coded aperture Object Point spread function Focal plane
  • 28. Why coded ? Coded aperture- reduce uncertainty in scale identification Conventional Coded Larger scale Correct scale Smaller scale
  • 29. Why coded ? Coded aperture- reduce uncertainty in scale identification Conventional Coded Larger scale Correct scale Smaller scale
  • 30. Fourier transforms of 1D slide through the blur pattern
  • 31. Coded aperture: Scale estimation and division by zero spectrum spectrum spectrum spectrum spectrum Frequency Frequency Frequency Frequency Frequency Estimated image ? Observed image = Filter, correct scale Division by zero Estimated image ? spatial ringing = Filter, wrong scale
  • 32. Division by zero with a conventional aperture ? spectrum spectrum spectrum spectrum spectrum Frequency Frequency Frequency Frequency Frequency Estimated image ? No zero at ω ! Observed image = Filter, correct scale No zero at ω ! Tiny value at ω no spatial ringing Estimated image ? = Filter, wrong scale ω is zero !
  • 33. Filter Selection Criterion The filter f has good depth discrimination - blurry image distributions Pk1(y) and Pk2(y) at depths k1 and k2 should not be similar KL-divergence scores
  • 34. Filter Design Practical constrains Binary filter to construct accurately Cut the filter from a single piece Avoid excessive radial distortion Avoid using the full aperture Diffraction impose a min size on the holes in the file Spec. 13x13 patterns with 1 mm holes Each pattern, 8 different scales Varying between 5~15 pixels in width
  • 36. Blur scale identification Not robust at high-frequency noise Un-normalized energy term λk learn to minimize the scale misclassification error on a set of traning images Ek is approximate by the reconstruction error by ML solution x* is the deblurred image
  • 39. Applications Digital refocusing from a single image e.g. Synthesis an all-focus image e.g. Post-exposure
  • 40. Conclusion Pros. All-infocus image and depth at a single shot No loss of image resolution (compared with Plenoptic camera) Simple modification Coded aperture Conventional aperture Cons. 50 % light is blocked Depth is coarse May need manual correction