SlideShare a Scribd company logo
1 of 22
Defocus Techniques for
Camera Dynamic Range
     Expansion
Matthew Trentacoste, Cheryl Lau, Mushfiqur Rouf,
       Rafal Mantiuk, Wolfgang Heidrich

         University of British Columbia
Defocus DR expansion
• Sensorsexpanded, dynamic rangeexist
  Can be
          limited in
                     but tradeoffs

• Evaluate the scene incident onthe dynamic
  range of
           the opposite, reduce
                                 the sensor
  by optical blurring, restore in software

                       1/9   1/9   1/9       5/9   5/9   5/9


              5        1/9   1/9   1/9
                                         =   5/9   5/9   5/9


                       1/9   1/9   1/9       5/9   5/9   5/9
Approach

• Use 2 techniques to aid:
  coded aperture + deconvolution

• Aperture filtermore information
  PSF preserves
                to improve deconvolution quality
  [Rashkar 2006][Levin 2007][Veeraraghavan 2007]

• Deconvolution tousing natural image statistics
  Recent advances
                   restore original image
  [Bando 2007][Levin 2007]
Physical setup

• Rays from focused onto sensoraperture
  plane and
             scene pass through


• Cone of rays fromforming the shape of the
  intersects sensor,
                     out-of-focus points
  aperture

• A patternsensor aperture plane ispoints
  onto the
            in the
                   for out-of-focus
                                    projected
Coded Aperture
• Originally from x-ray 1989]
  [Fenimore 1978][Gottesman
                            astronomy

• Structured of pinhole, but better SNR with
  resolution
                arrays + decoding algorithm


• Employed in visible light photography
  [Rashkar 2006][Levin 2007][Veeraraghavan 2007]

• Improve frequency properties of filter
Aperture filters
• What makes a good filter?
 • Frequency response
 • Position and spacing of zero frequencies
 • Diffraction / transmission
Deconvolution
• Restore image distorted by PSF
  [Wiener 1964][Richardson 1972][Lucy 1974]

             f = f0 ⊗ k + η

• Ill-posed, infinite solutions
• No exact solution due to noise
• Division in FFT, issues with small
  values in OTF of filter
Deconvolution
• Current state-of-the-art methods rely on natural
  image statistics

• Real-worlddistribution of several properties:
  Heavy-tail
             images share
                            gradients

• Prior 2007][Levindeconvolution algorithms
  [Bando
         term in
                    2007]

• Favors interpretations fewthe image with all the
  gradient intensity at a
                           of
                               pixels
Evaluation
• Goal : determine whether any combo of filterDR
  deconvolution yields meaningful reduction in
                                               /
  with acceptable final image quality

• Measure DR reduction both in terms of image
  local contrast and filter

• Measure image quality as images between
  deconvolved and original
                           difference
Source material
                                         Atrium Morning                         Atrium Night

                                              Figure 3.3: Sample images used in evaluation.


                                   Radius        Atrium Morning                 Atrium Night

                                              min    max     reduction      min     max    reduction
                                   Original   0.00   11.0                   0.00    12.0
                                          1   0.00   10.8    0.200         0.452    12.0   0.452
                                          2   0.00   10.6    0.424         0.622    12.0   0.622
                                          3   0.00   10.3    0.716         1.163    11.8   1.34
                                          4   0.02   10.0    1.00          1.436    11.4   1.99
                                          5   0.08   9.94    1.14          1.589    11.4   2.23
                                          6   0.15   9.92    1.24          1.731    11.2   2.51
                                          8   0.31   9.83    1.48          1.890    10.8   3.13
                                          9   0.40   9.79    1.61          1.950    10.5   3.41
                                         11   0.66   9.71    1.94           2.08    10.3   3.74
                                         13   0.86   9.67    2.19           2.18    10.1   4.13
                                         16   1.04   9.59    2.45           2.26    9.61   4.65

                  Figure 3.4: Amount of reduction in dynamic range as a function of radius of a standard aperture (disk)
                  filter in pixels. All units are in terms of powers of two, referred to as exposure value (EV) stops.




 Atrium Morning                                                                                                            Atrium Night
Source material
                                         Atrium Morning                         Atrium Night

                                              Figure 3.3: Sample images used in evaluation.


                                   Radius        Atrium Morning                 Atrium Night

                                              min    max     reduction      min     max    reduction
                                   Original   0.00   11.0                   0.00    12.0
                                          1   0.00   10.8    0.200         0.452    12.0   0.452
                                          2   0.00   10.6    0.424         0.622    12.0   0.622
                                          3   0.00   10.3    0.716         1.163    11.8   1.34
                                          4   0.02   10.0    1.00          1.436    11.4   1.99
                                          5   0.08   9.94    1.14          1.589    11.4   2.23
                                          6   0.15   9.92    1.24          1.731    11.2   2.51
                                          8   0.31   9.83    1.48          1.890    10.8   3.13
                                          9   0.40   9.79    1.61          1.950    10.5   3.41
                                         11   0.66   9.71    1.94           2.08    10.3   3.74
                                         13   0.86   9.67    2.19           2.18    10.1   4.13
                                         16   1.04   9.59    2.45           2.26    9.61   4.65



                                              2.45 EV
                  Figure 3.4: Amount of reduction in dynamic range as a function of radius of a standard aperture (disk)
                  filter in pixels. All units are in terms of powers of two, referred to as exposure value (EV) stops.




 Atrium Morning                                                                                                            Atrium Night
Source material
                                         Atrium Morning                         Atrium Night

                                              Figure 3.3: Sample images used in evaluation.


                                   Radius        Atrium Morning                 Atrium Night

                                              min    max     reduction      min     max    reduction
                                   Original   0.00   11.0                   0.00    12.0
                                          1   0.00   10.8    0.200         0.452    12.0   0.452
                                          2   0.00   10.6    0.424         0.622    12.0   0.622
                                          3   0.00   10.3    0.716         1.163    11.8   1.34
                                          4   0.02   10.0    1.00          1.436    11.4   1.99
                                          5   0.08   9.94    1.14          1.589    11.4   2.23
                                          6   0.15   9.92    1.24          1.731    11.2   2.51
                                          8   0.31   9.83    1.48          1.890    10.8   3.13
                                          9   0.40   9.79    1.61          1.950    10.5   3.41
                                         11   0.66   9.71    1.94           2.08    10.3   3.74
                                         13   0.86   9.67    2.19           2.18    10.1   4.13
                                         16   1.04   9.59    2.45           2.26    9.61   4.65



                                              2.45 EV 4.56 EV
                  Figure 3.4: Amount of reduction in dynamic range as a function of radius of a standard aperture (disk)
                  filter in pixels. All units are in terms of powers of two, referred to as exposure value (EV) stops.




 Atrium Morning                                                                                                            Atrium Night
Tests
•   Filters evaluated:    •   Deconvolution evaluated:
    •   Normal aperture       • Wiener filtering
    •   Gaussian              • Richardson-Lucy
    •   Veeraraghavan         • Bando
    •   Levin                 • Levin
    •   Zhou
Evaluation (cont)

• Success criteria:
• Reduction of computational cost of deconv
  to justify the
                 at least 2 stops


• Quality of at least PSNR 35
Images




 Weiner        Richardson-Lucy   Bando        Levin




          filter=Zhou, noise = 0, radius = 1
Images




 Weiner        Richardson-Lucy   Bando        Levin




          filter=Zhou, noise = 0, radius = 5
Images




 Weiner        Richardson-Lucy   Bando         Levin




          filter=Zhou, noise = 0, radius = 16
Deconv: no noise
orning deconvolution
          Atrium Morning deconvolution
                                      Atrium Morning deconvolution
                                                         Atrium Night deconvolution
              60                         60                                                                                     60
                                                                                             Weiner
                                                                               Weiner        Richardson−Lucy                                                                            Weiner Weiner
                                                                                                                                                                                                Richardson−Lucy
              55                                                                                                                55
                                                                               Richardson−Lucy
                                                                                             Bando
                                                                                             Levin
                                                                                                                                                                                        Richardson−Lucy
                                                                                                                                                                                                Bando
                                                                                                                                                                                                Levin

              50
                                         55                                    Bando                                            50                                                      Bando
                                                                               Levin                                                                                                    Levin
              45                                                                                                                45

                                         50
              40                                                                                                                40
  PSNR (dB)




                                                                                                                    PSNR (dB)
 PSNR




                                                                                                                   PSNR
              35                                                                                                                35

                                         45
              30                                                                                                                30


              25                                                                                                                25
                                         40
              20                                                                                                                20
                             PSNR (dB)




              15                                                                                                                15
                                         35
              10                                                                                                                10
                   0   0.5   1            1.5         2        2.5        3        3.5   4         4.5         5                     0   0.5   1   1.5         2        2.5        3        3.5   4     4.5       5
                                                Dynamic range reduction (EV stops)                                                                       Dynamic range reduction (EV stops)

                                         30         DR reduction                                                                                          DR reduction


                                         25
Aperture: no noise
Morning aperture filter filter Atrium Morning aperture filter filter
          Atrium Morning aperture                Atrium Night aperture
              60                              60                                                                           60
                                                                            Standard Aperture
                                                                                      Standard Aperture
                                                                                      Gaussian
                                                                                                                                                                                    Standard Aperture
                                                                                                                                                                                           Standard Aperture
                                                                                                                                                                                           Gaussian
              55
                                                                            Gaussian  Veeraraghavan
                                                                                      Zhou
                                                                                                                           55
                                                                                                                                                                                    Gaussian
                                                                                                                                                                                           Veeraraghavan
                                                                                                                                                                                           Zhou
                                              55                            Veeraraghavan
                                                                                      Levin                                                                                         Veeraraghavan
                                                                                                                                                                                           Levin
              50                                                                                                           50
                                                                            Zhou                                                                                                    Zhou
              45                                                            Levin                                          45                                                       Levin
                                              50
              40                                                                                                           40
  PSNR (dB)




                                                                                                               PSNR (dB)
 PSNR




                                                                                                              PSNR
              35                                                                                                           35
                                              45
              30                                                                                                           30


              25                                                                                                           25
                                              40
                                 PSNR (dB)




              20                                                                                                           20


              15                              35                                                                           15


              10                                                                                                           10
                   0   0.5   1     1.5             2        2.5        3        3.5   4       4.5         5                     0   0.5   1   1.5         2        2.5        3        3.5   4      4.5        5
                                             Dynamic range reduction (EV stops)                                                                     Dynamic range reduction (EV stops)
                                              30DR        reduction                                                                                  DR reduction

                                              25


                                              20
Deconv: noise
orning deconvolution
          Atrium Morning deconvolution
                                      Atrium Morning deconvolution
                                                         Atrium Night deconvolution
              60                         60                                                                                     60
                                                                                             Weiner
                                                                               Weiner        Richardson−Lucy                                                                            Weiner Weiner
                                                                                                                                                                                                Richardson−Lucy
              55                                                                                                                55
                                                                               Richardson−Lucy
                                                                                             Bando
                                                                                             Levin
                                                                                                                                                                                        Richardson−Lucy
                                                                                                                                                                                                Bando
                                                                                                                                                                                                Levin

              50
                                         55                                    Bando                                            50                                                      Bando
                                                                               Levin                                                                                                    Levin
              45                                                                                                                45

                                         50
              40                                                                                                                40
  PSNR (dB)




                                                                                                                    PSNR (dB)
 PSNR




                                                                                                                   PSNR
              35                                                                                                                35

                                         45
              30                                                                                                                30


              25                                                                                                                25
                                         40
              20                                                                                                                20
                             PSNR (dB)




              15                                                                                                                15
                                         35
              10                                                                                                                10
                   0   0.5   1            1.5         2        2.5        3        3.5   4         4.5         5                     0   0.5   1   1.5         2        2.5        3        3.5   4     4.5       5
                                                Dynamic range reduction (EV stops)                                                                       Dynamic range reduction (EV stops)

                                         30         DR reduction                                                                                          DR reduction


                                         25
Aperture: noise
Morning aperture filter filter Atrium Morning aperture filter filter
          Atrium Morning aperture                Atrium Night aperture
              60                              60                                                                           60
                                                                            Standard Aperture
                                                                                      Standard Aperture
                                                                                      Gaussian
                                                                                                                                                                                    Standard Aperture
                                                                                                                                                                                           Standard Aperture
                                                                                                                                                                                           Gaussian
              55
                                                                            Gaussian  Veeraraghavan
                                                                                      Zhou
                                                                                                                           55
                                                                                                                                                                                    Gaussian
                                                                                                                                                                                           Veeraraghavan
                                                                                                                                                                                           Zhou
                                              55                            Veeraraghavan
                                                                                      Levin                                                                                         Veeraraghavan
                                                                                                                                                                                           Levin
              50                                                                                                           50
                                                                            Zhou                                                                                                    Zhou
              45                                                            Levin                                          45                                                       Levin
                                              50
              40                                                                                                           40
  PSNR (dB)




                                                                                                               PSNR (dB)
 PSNR




                                                                                                              PSNR
              35                                                                                                           35
                                              45
              30                                                                                                           30


              25                                                                                                           25
                                              40
                                 PSNR (dB)




              20                                                                                                           20


              15                              35                                                                           15


              10                                                                                                           10
                   0   0.5   1     1.5             2        2.5        3        3.5   4       4.5         5                     0   0.5   1   1.5         2        2.5        3        3.5   4      4.5        5
                                             Dynamic range reduction (EV stops)                                                                     Dynamic range reduction (EV stops)
                                              30DR        reduction                                                                                  DR reduction

                                              25


                                              20
Conclusions

• Levin deconv at very low noise levels with
  coded filters
                the best, obtaining results


• No combination of filter and deconvolution
  consistently produced acceptable results

• Efficiency of the approach is scene dependent
  Most efficient for small, isolated bright regions

More Related Content

What's hot

Choosing a solar ultraviolet simulator with an appropriate spectrum
Choosing a solar ultraviolet simulator with an appropriate spectrumChoosing a solar ultraviolet simulator with an appropriate spectrum
Choosing a solar ultraviolet simulator with an appropriate spectrum
François Christiaens
 
ASC flash lidar technology
ASC flash lidar technologyASC flash lidar technology
ASC flash lidar technology
frmsnh
 
Accelarating Optical Quadrature Microscopy Using GPUs
Accelarating Optical Quadrature Microscopy Using GPUsAccelarating Optical Quadrature Microscopy Using GPUs
Accelarating Optical Quadrature Microscopy Using GPUs
Perhaad Mistry
 
Distortion
DistortionDistortion
Distortion
mr_koky
 
Sensitometry or characteristic curve
Sensitometry or characteristic curve   Sensitometry or characteristic curve
Sensitometry or characteristic curve
Upakar Paudel
 

What's hot (20)

NIGHT VISION TECHNLOGY
NIGHT VISION TECHNLOGYNIGHT VISION TECHNLOGY
NIGHT VISION TECHNLOGY
 
An05 97
An05 97An05 97
An05 97
 
Choosing a solar ultraviolet simulator with an appropriate spectrum
Choosing a solar ultraviolet simulator with an appropriate spectrumChoosing a solar ultraviolet simulator with an appropriate spectrum
Choosing a solar ultraviolet simulator with an appropriate spectrum
 
ASC flash lidar technology
ASC flash lidar technologyASC flash lidar technology
ASC flash lidar technology
 
Comparing the Performance of Different Ultrasonic Image Enhancement Technique...
Comparing the Performance of Different Ultrasonic Image Enhancement Technique...Comparing the Performance of Different Ultrasonic Image Enhancement Technique...
Comparing the Performance of Different Ultrasonic Image Enhancement Technique...
 
Raskar Banff
Raskar BanffRaskar Banff
Raskar Banff
 
study Coded Aperture
study Coded Aperturestudy Coded Aperture
study Coded Aperture
 
Accelarating Optical Quadrature Microscopy Using GPUs
Accelarating Optical Quadrature Microscopy Using GPUsAccelarating Optical Quadrature Microscopy Using GPUs
Accelarating Optical Quadrature Microscopy Using GPUs
 
Medical Equipment lec 7 Radiography detectors
Medical Equipment lec 7 Radiography detectorsMedical Equipment lec 7 Radiography detectors
Medical Equipment lec 7 Radiography detectors
 
FinalReport
FinalReportFinalReport
FinalReport
 
Dual photography
Dual photographyDual photography
Dual photography
 
Miller - Remote Sensing and Imaging Physics - Spring Review 2012
Miller - Remote Sensing and Imaging Physics - Spring Review 2012Miller - Remote Sensing and Imaging Physics - Spring Review 2012
Miller - Remote Sensing and Imaging Physics - Spring Review 2012
 
Classification of Fonts and Calligraphy Styles based on Complex Wavelet Trans...
Classification of Fonts and Calligraphy Styles based on Complex Wavelet Trans...Classification of Fonts and Calligraphy Styles based on Complex Wavelet Trans...
Classification of Fonts and Calligraphy Styles based on Complex Wavelet Trans...
 
Dukane image pro 6233 and 6235 w
Dukane image pro 6233 and 6235 wDukane image pro 6233 and 6235 w
Dukane image pro 6233 and 6235 w
 
Dukane 6233 and 6235
Dukane 6233 and 6235Dukane 6233 and 6235
Dukane 6233 and 6235
 
Ideal radiography
Ideal radiographyIdeal radiography
Ideal radiography
 
Distortion
DistortionDistortion
Distortion
 
Multi Aperture Photography
Multi Aperture PhotographyMulti Aperture Photography
Multi Aperture Photography
 
Sensitometry or characteristic curve
Sensitometry or characteristic curve   Sensitometry or characteristic curve
Sensitometry or characteristic curve
 
LED optics in Flashlight
LED optics in FlashlightLED optics in Flashlight
LED optics in Flashlight
 

Similar to Defocus Techniques for Camera Dynamic Range Expansion

CAE REPORT
CAE REPORTCAE REPORT
CAE REPORT
dayahisa
 
AnNguyen_MSThesis
AnNguyen_MSThesisAnNguyen_MSThesis
AnNguyen_MSThesis
An Nguyen
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD Editor
 
Mass spec of proteins
Mass spec of proteinsMass spec of proteins
Mass spec of proteins
AmerikAnka
 
Panoramic Video in Environmental Monitoring Software Development and Applica...
Panoramic Video in Environmental Monitoring Software Development and Applica...Panoramic Video in Environmental Monitoring Software Development and Applica...
Panoramic Video in Environmental Monitoring Software Development and Applica...
pycontw
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
Implementation of Power Gating Technique in CMOS Full Adder Cell to Reduce Le...
Implementation of Power Gating Technique in CMOS Full Adder Cell to Reduce Le...Implementation of Power Gating Technique in CMOS Full Adder Cell to Reduce Le...
Implementation of Power Gating Technique in CMOS Full Adder Cell to Reduce Le...
Amit Bakshi
 

Similar to Defocus Techniques for Camera Dynamic Range Expansion (20)

02 cie552 image_andcamera
02 cie552 image_andcamera02 cie552 image_andcamera
02 cie552 image_andcamera
 
CAE REPORT
CAE REPORTCAE REPORT
CAE REPORT
 
Information Visualization: See Patterns, Gain Insights & Make Decisions
Information Visualization: See Patterns, Gain Insights & Make DecisionsInformation Visualization: See Patterns, Gain Insights & Make Decisions
Information Visualization: See Patterns, Gain Insights & Make Decisions
 
AnNguyen_MSThesis
AnNguyen_MSThesisAnNguyen_MSThesis
AnNguyen_MSThesis
 
[論文紹介] DPSNet: End-to-end Deep Plane Sweep Stereo
[論文紹介] DPSNet: End-to-end Deep Plane Sweep Stereo[論文紹介] DPSNet: End-to-end Deep Plane Sweep Stereo
[論文紹介] DPSNet: End-to-end Deep Plane Sweep Stereo
 
Weka_ITB
Weka_ITBWeka_ITB
Weka_ITB
 
Info vis 4-2012-part1
Info vis 4-2012-part1Info vis 4-2012-part1
Info vis 4-2012-part1
 
Weka
WekaWeka
Weka
 
DELPH Sonar Advanced Notes
DELPH Sonar Advanced NotesDELPH Sonar Advanced Notes
DELPH Sonar Advanced Notes
 
Google nyc-6-3-2011
Google nyc-6-3-2011Google nyc-6-3-2011
Google nyc-6-3-2011
 
Daylighting Analysis and Tools
Daylighting Analysis and ToolsDaylighting Analysis and Tools
Daylighting Analysis and Tools
 
Information Visualization for Knowledge Discovery
Information Visualization for Knowledge DiscoveryInformation Visualization for Knowledge Discovery
Information Visualization for Knowledge Discovery
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
Mapping and classification of spatial data using machine learning: algorithms...
Mapping and classification of spatial data using machine learning: algorithms...Mapping and classification of spatial data using machine learning: algorithms...
Mapping and classification of spatial data using machine learning: algorithms...
 
Improved Visualization, Counting and Sizing of Polydisperse Nanoparticle Coll...
Improved Visualization, Counting and Sizing of Polydisperse Nanoparticle Coll...Improved Visualization, Counting and Sizing of Polydisperse Nanoparticle Coll...
Improved Visualization, Counting and Sizing of Polydisperse Nanoparticle Coll...
 
Mass spec of proteins
Mass spec of proteinsMass spec of proteins
Mass spec of proteins
 
Image orientation classification analysis
Image orientation classification analysisImage orientation classification analysis
Image orientation classification analysis
 
Panoramic Video in Environmental Monitoring Software Development and Applica...
Panoramic Video in Environmental Monitoring Software Development and Applica...Panoramic Video in Environmental Monitoring Software Development and Applica...
Panoramic Video in Environmental Monitoring Software Development and Applica...
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
Implementation of Power Gating Technique in CMOS Full Adder Cell to Reduce Le...
Implementation of Power Gating Technique in CMOS Full Adder Cell to Reduce Le...Implementation of Power Gating Technique in CMOS Full Adder Cell to Reduce Le...
Implementation of Power Gating Technique in CMOS Full Adder Cell to Reduce Le...
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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?
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 

Defocus Techniques for Camera Dynamic Range Expansion

  • 1. Defocus Techniques for Camera Dynamic Range Expansion Matthew Trentacoste, Cheryl Lau, Mushfiqur Rouf, Rafal Mantiuk, Wolfgang Heidrich University of British Columbia
  • 2. Defocus DR expansion • Sensorsexpanded, dynamic rangeexist Can be limited in but tradeoffs • Evaluate the scene incident onthe dynamic range of the opposite, reduce the sensor by optical blurring, restore in software 1/9 1/9 1/9 5/9 5/9 5/9 5 1/9 1/9 1/9 = 5/9 5/9 5/9 1/9 1/9 1/9 5/9 5/9 5/9
  • 3. Approach • Use 2 techniques to aid: coded aperture + deconvolution • Aperture filtermore information PSF preserves to improve deconvolution quality [Rashkar 2006][Levin 2007][Veeraraghavan 2007] • Deconvolution tousing natural image statistics Recent advances restore original image [Bando 2007][Levin 2007]
  • 4. Physical setup • Rays from focused onto sensoraperture plane and scene pass through • Cone of rays fromforming the shape of the intersects sensor, out-of-focus points aperture • A patternsensor aperture plane ispoints onto the in the for out-of-focus projected
  • 5. Coded Aperture • Originally from x-ray 1989] [Fenimore 1978][Gottesman astronomy • Structured of pinhole, but better SNR with resolution arrays + decoding algorithm • Employed in visible light photography [Rashkar 2006][Levin 2007][Veeraraghavan 2007] • Improve frequency properties of filter
  • 6. Aperture filters • What makes a good filter? • Frequency response • Position and spacing of zero frequencies • Diffraction / transmission
  • 7. Deconvolution • Restore image distorted by PSF [Wiener 1964][Richardson 1972][Lucy 1974] f = f0 ⊗ k + η • Ill-posed, infinite solutions • No exact solution due to noise • Division in FFT, issues with small values in OTF of filter
  • 8. Deconvolution • Current state-of-the-art methods rely on natural image statistics • Real-worlddistribution of several properties: Heavy-tail images share gradients • Prior 2007][Levindeconvolution algorithms [Bando term in 2007] • Favors interpretations fewthe image with all the gradient intensity at a of pixels
  • 9. Evaluation • Goal : determine whether any combo of filterDR deconvolution yields meaningful reduction in / with acceptable final image quality • Measure DR reduction both in terms of image local contrast and filter • Measure image quality as images between deconvolved and original difference
  • 10. Source material Atrium Morning Atrium Night Figure 3.3: Sample images used in evaluation. Radius Atrium Morning Atrium Night min max reduction min max reduction Original 0.00 11.0 0.00 12.0 1 0.00 10.8 0.200 0.452 12.0 0.452 2 0.00 10.6 0.424 0.622 12.0 0.622 3 0.00 10.3 0.716 1.163 11.8 1.34 4 0.02 10.0 1.00 1.436 11.4 1.99 5 0.08 9.94 1.14 1.589 11.4 2.23 6 0.15 9.92 1.24 1.731 11.2 2.51 8 0.31 9.83 1.48 1.890 10.8 3.13 9 0.40 9.79 1.61 1.950 10.5 3.41 11 0.66 9.71 1.94 2.08 10.3 3.74 13 0.86 9.67 2.19 2.18 10.1 4.13 16 1.04 9.59 2.45 2.26 9.61 4.65 Figure 3.4: Amount of reduction in dynamic range as a function of radius of a standard aperture (disk) filter in pixels. All units are in terms of powers of two, referred to as exposure value (EV) stops. Atrium Morning Atrium Night
  • 11. Source material Atrium Morning Atrium Night Figure 3.3: Sample images used in evaluation. Radius Atrium Morning Atrium Night min max reduction min max reduction Original 0.00 11.0 0.00 12.0 1 0.00 10.8 0.200 0.452 12.0 0.452 2 0.00 10.6 0.424 0.622 12.0 0.622 3 0.00 10.3 0.716 1.163 11.8 1.34 4 0.02 10.0 1.00 1.436 11.4 1.99 5 0.08 9.94 1.14 1.589 11.4 2.23 6 0.15 9.92 1.24 1.731 11.2 2.51 8 0.31 9.83 1.48 1.890 10.8 3.13 9 0.40 9.79 1.61 1.950 10.5 3.41 11 0.66 9.71 1.94 2.08 10.3 3.74 13 0.86 9.67 2.19 2.18 10.1 4.13 16 1.04 9.59 2.45 2.26 9.61 4.65 2.45 EV Figure 3.4: Amount of reduction in dynamic range as a function of radius of a standard aperture (disk) filter in pixels. All units are in terms of powers of two, referred to as exposure value (EV) stops. Atrium Morning Atrium Night
  • 12. Source material Atrium Morning Atrium Night Figure 3.3: Sample images used in evaluation. Radius Atrium Morning Atrium Night min max reduction min max reduction Original 0.00 11.0 0.00 12.0 1 0.00 10.8 0.200 0.452 12.0 0.452 2 0.00 10.6 0.424 0.622 12.0 0.622 3 0.00 10.3 0.716 1.163 11.8 1.34 4 0.02 10.0 1.00 1.436 11.4 1.99 5 0.08 9.94 1.14 1.589 11.4 2.23 6 0.15 9.92 1.24 1.731 11.2 2.51 8 0.31 9.83 1.48 1.890 10.8 3.13 9 0.40 9.79 1.61 1.950 10.5 3.41 11 0.66 9.71 1.94 2.08 10.3 3.74 13 0.86 9.67 2.19 2.18 10.1 4.13 16 1.04 9.59 2.45 2.26 9.61 4.65 2.45 EV 4.56 EV Figure 3.4: Amount of reduction in dynamic range as a function of radius of a standard aperture (disk) filter in pixels. All units are in terms of powers of two, referred to as exposure value (EV) stops. Atrium Morning Atrium Night
  • 13. Tests • Filters evaluated: • Deconvolution evaluated: • Normal aperture • Wiener filtering • Gaussian • Richardson-Lucy • Veeraraghavan • Bando • Levin • Levin • Zhou
  • 14. Evaluation (cont) • Success criteria: • Reduction of computational cost of deconv to justify the at least 2 stops • Quality of at least PSNR 35
  • 15. Images Weiner Richardson-Lucy Bando Levin filter=Zhou, noise = 0, radius = 1
  • 16. Images Weiner Richardson-Lucy Bando Levin filter=Zhou, noise = 0, radius = 5
  • 17. Images Weiner Richardson-Lucy Bando Levin filter=Zhou, noise = 0, radius = 16
  • 18. Deconv: no noise orning deconvolution Atrium Morning deconvolution Atrium Morning deconvolution Atrium Night deconvolution 60 60 60 Weiner Weiner Richardson−Lucy Weiner Weiner Richardson−Lucy 55 55 Richardson−Lucy Bando Levin Richardson−Lucy Bando Levin 50 55 Bando 50 Bando Levin Levin 45 45 50 40 40 PSNR (dB) PSNR (dB) PSNR PSNR 35 35 45 30 30 25 25 40 20 20 PSNR (dB) 15 15 35 10 10 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Dynamic range reduction (EV stops) Dynamic range reduction (EV stops) 30 DR reduction DR reduction 25
  • 19. Aperture: no noise Morning aperture filter filter Atrium Morning aperture filter filter Atrium Morning aperture Atrium Night aperture 60 60 60 Standard Aperture Standard Aperture Gaussian Standard Aperture Standard Aperture Gaussian 55 Gaussian Veeraraghavan Zhou 55 Gaussian Veeraraghavan Zhou 55 Veeraraghavan Levin Veeraraghavan Levin 50 50 Zhou Zhou 45 Levin 45 Levin 50 40 40 PSNR (dB) PSNR (dB) PSNR PSNR 35 35 45 30 30 25 25 40 PSNR (dB) 20 20 15 35 15 10 10 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Dynamic range reduction (EV stops) Dynamic range reduction (EV stops) 30DR reduction DR reduction 25 20
  • 20. Deconv: noise orning deconvolution Atrium Morning deconvolution Atrium Morning deconvolution Atrium Night deconvolution 60 60 60 Weiner Weiner Richardson−Lucy Weiner Weiner Richardson−Lucy 55 55 Richardson−Lucy Bando Levin Richardson−Lucy Bando Levin 50 55 Bando 50 Bando Levin Levin 45 45 50 40 40 PSNR (dB) PSNR (dB) PSNR PSNR 35 35 45 30 30 25 25 40 20 20 PSNR (dB) 15 15 35 10 10 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Dynamic range reduction (EV stops) Dynamic range reduction (EV stops) 30 DR reduction DR reduction 25
  • 21. Aperture: noise Morning aperture filter filter Atrium Morning aperture filter filter Atrium Morning aperture Atrium Night aperture 60 60 60 Standard Aperture Standard Aperture Gaussian Standard Aperture Standard Aperture Gaussian 55 Gaussian Veeraraghavan Zhou 55 Gaussian Veeraraghavan Zhou 55 Veeraraghavan Levin Veeraraghavan Levin 50 50 Zhou Zhou 45 Levin 45 Levin 50 40 40 PSNR (dB) PSNR (dB) PSNR PSNR 35 35 45 30 30 25 25 40 PSNR (dB) 20 20 15 35 15 10 10 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Dynamic range reduction (EV stops) Dynamic range reduction (EV stops) 30DR reduction DR reduction 25 20
  • 22. Conclusions • Levin deconv at very low noise levels with coded filters the best, obtaining results • No combination of filter and deconvolution consistently produced acceptable results • Efficiency of the approach is scene dependent Most efficient for small, isolated bright regions

Editor's Notes

  1. Can be expanded by multiple exposures, new filter arrays, or better sensor tech Blurring causes pixels to distribute energy over a local neighborhood Reducing local contrast Depending on image structure, can translate to reduction in global contrast Images with small features: good Images with large features: not good
  2. Conv = FFT mult -> Deconv = FFT div -- properties of filter influence ability to deconvolve Restore image convolved by a known function degraded by noise - Ill posed, numerous solutions Real world images all share several properties - specifically the distribution of gradient intensity Surfaces = large regions of flat intensity with sharp changes - mostly small changes but some very large
  3. FFT of a conventional aperture is roughly a sinc function Information loss
  4. How well it preserves the information of the signal Physical shape of pattern and whether it causes more diffraction The more light it lets through the better
  5. Heavy-tail = most values near zero, but a few with much high values Narrower peak, and wider tail than a Gaussian Results in sharper images with less noise and ringing
  6. Blurring decreases local contrast Image structure determines how much global contrast is reduced Small features reduce more than large ones CAN ONLY REDUCE CONTRAST OF FEATURES SMALLER THAN PSF DIAMETER Done in simulation - evaluate best case
  7. Change in dynamic range as each image is blurred by different filter radii Size of bright and dark features affects how much dynamic range is reduced
  8. Change in dynamic range as each image is blurred by different filter radii Size of bright and dark features affects how much dynamic range is reduced
  9. 2 stops to justify computational cost -- Green area denotes acceptable by our criteria
  10. Levin performs the best when there is no noise
  11. Levin and Zhou perform best overall Gaussian is worst - destroys too much information
  12. Noise sensitivity of Weiner becomes apparent Levin performs best in morning scene, RL wins out for night Levin yields sharper results, but introduces more ringing - bright points ruin shadow detail
  13. Levin and Zhou perform slightly better in the morning scene All same in the night
  14. Investigate deconvolution routines that are better able to handle the relative differences of HDR images