SlideShare uma empresa Scribd logo
1 de 17
ICME 2005
IEEE International Conference on Multimedia & Expo
July 6-8, 2005, Amsterdam, The Netherlands




       Separable bilateral filtering
      for fast video preprocessing

                       Tuan Q. Pham      &    Lucas J. van Vliet



                      Delft University of Technology
                             The Netherlands                       1



        Quantitative Imaging Group
        Faculty of Applied Sciences
Contents

1. Bilateral filtering:
    Edge-preserving filter
    High computational complexity


2. Separable implementation:
    Good approximation of the original filter
    Linear computational complexity


3. Application to video preprocessing:
    Noise reduction
    Better compressed video
Gaussian filtering revisited

 Gaussian filtering: weights depend on distance to the center pixel



                         *                             =
     Noisy step edge              Gaussian weights         Gaussian filtered result


 Adaptive filtering: avoid filtering across edges



                         .                             =
     Noisy step edge         Edge-preserving weights   Edge-presered filtered result
Gaussian vs bilateral filtering

 Gaussian filtering: weights depend on distance to the center pixel



                        *                              =
     Noisy step edge              Gaussian weights         Gaussian filtered result


 Bilateral filtering: weights depend on both spatial closeness and
  photometric similarity


                         .                             =
     Noisy step edge         Edge-preserving weights   Edge-presered filtered result
How bilateral filtering works?




 Every sample is a weighted average of its neighbors:
                             1
                   O ( s0 ) = ∑ w ( s, s0 ) . I ( s )
                             K s
                                                                          Local modes
 The weight w = w s . wt is product of two Gaussian                 weights: after
                                                                            bilateral
                                   − ( s − s0 ) 2                          filtering
    Spatial proximity: w s = exp                 
                                       2σ s2 
                                     − ( I ( s ) − I ( s0 ) ) 2 
    Tonal similarity:     wt = exp                             
                                              2σ t 2
                                                                 
                                                                
Example: Gaussian filtering




 Noisy input: PSNR = 39.1 dB   Gaussian filtered: PSNR = 67.9 dB
Example: Bilateral filtering




 Noisy input: PSNR = 39.1 dB   Bilateral filtered: PSNR = 41.6 dB
Computational complexity

 Bilateral filtering kernel is space-variant → complexity is:

                         O ( Nm d )
      where N: number of pixels in the image
            m: size of filtering kernel (m ≈ 7 is good enough)
             d: image dimensionality

 Previous attempt for fast bilateral filtering:
   Piecewise-linear: approximate bilateral filtering with M Gaussian
     filtering - Durand & Dorsey (SIGGRAPH 2002) → complexity is:

                    O ( N log( N ) . M )       M ≈ 17 for 8-bit images

 Our approach: separable bilateral filtering
                          O ( Nmd )
Is bilateral filter separable?

 Gaussian filter is space-invariant and separable:
                                                           g(x)
                                       g(y)
         ∑ w ( s − s ) . I ( s)
                  s       0
O( s ) =  s
                                                  *               =
          ∑ w (s − s )
    0
                      s       0
              s
                                              y
                                                                  x

                                                  w s ( s ) = gauss( x ) . gauss( y )
                                                                                  Kernel center
 Bilateral filter is NOT separable:                                  I(s0)
     Space-variant kernel due to local                                   I(s)
      intensity dependency



 However, even a highly non-linear filter like median filter is
  approximately separable (Narendra – PAMI 1981)
Separable bilateral filtering result

 Separable bilateral filtering is a good approximation of full kernel filtering:




 noisy Erika σnoise = 10   bilateral filtered in x-dimension followed by y-dimension filtering
Separable bilateral filtering result

 Separable bilateral filtering is a good approximation of full kernel filtering:




  noisy Erika σnoise = 10            bilateral filtered in x-dimension followed by y-dimension filtering

Image size             Brute-force           Durrand 2002        Separable        Aniso. diffusion
256x256                      4.46                 0.37              0.21                2.76
512x512                     17.88                 1.59              0.89               26.02
61x61x61                     5.29                 4.20              0.45                5.25
256x256x212                 56 min          Out of memory           50.3          Out of memory
How separable bilateral filtering works?




   Pros: extremely fast (fixed spatial weight + LUT for tonal weight)
   Cons: effective filtering kernel is a slightly distorted
Performance of separable bilateral
filtering




 Very good approximation of    Almost linear execution time
  the full-kernel filter         per pixel
MPEG-1 Foreman with bilateral preprocessing

               16        without preprocessing
                         with 3x3x3 full-kernel
                         with 9x9x5 separable

               15
        RMSE




               14



               13
                0         400              800         1200
                           bit-rate (K bits/s)


   Better RMSE is achieved with separable bilateral filtering compared to
    full-kernel bilateral filtering with the same computation requirement
Less artifact with Bilateral preprocessing
Conclusions


 Separable implementation of bilateral filtering:
    Very good approximation of the original filter
    Much faster than the original or other approximations


 Applications in video preprocessing:
    Improved quality of compressed video
    Reduced processing time → real-time possibility
Literature

   C. Tomasi and R. Manduchi, Bilateral fitering for gray and color
    images, Proc. of ICCV, USA, 1998, 839-846.

   T.Q. Pham and L.J. van Vliet, Separable bilateral filtering for fast
    video preprocessing, Proc. of ICME’05.

   F. Durrand and J. Dorsey, Fast bilateral filtering for the display of
    high dynamic range images, Proc. of SIGGRAPH’02, 2002, 844-847.

   P. Perona and J. Malik, Scale-space filtering and edge detection
    using anisotropic diffusion, PAMI, vol. 12, no. 7, 1990, 629-639.

   R. v.d. Boomgaard and J. v.d. Weijer. On the equivalence of local-
    mode finding, robust estimation and mean-shift analysis as used in
    early vision tasks. In Proc. of ICPR, pages 927-930, 2002.

Mais conteúdo relacionado

Mais procurados

6.b.measurement of film thickness
6.b.measurement of film thickness6.b.measurement of film thickness
6.b.measurement of film thicknessNarayan Behera
 
An introduction to discrete wavelet transforms
An introduction to discrete wavelet transformsAn introduction to discrete wavelet transforms
An introduction to discrete wavelet transformsLily Rose
 
Sergey Sibiryakov "Galactic rotation curves vs. ultra-light dark matter: Impl...
Sergey Sibiryakov "Galactic rotation curves vs. ultra-light dark matter: Impl...Sergey Sibiryakov "Galactic rotation curves vs. ultra-light dark matter: Impl...
Sergey Sibiryakov "Galactic rotation curves vs. ultra-light dark matter: Impl...SEENET-MTP
 
Good denoising using wavelets
Good denoising using waveletsGood denoising using wavelets
Good denoising using waveletsbeenamohan
 
Capítulo 34 (5th edition) con soluciones ondas electromagneticas serway
Capítulo 34 (5th edition) con soluciones ondas electromagneticas serwayCapítulo 34 (5th edition) con soluciones ondas electromagneticas serway
Capítulo 34 (5th edition) con soluciones ondas electromagneticas serway.. ..
 
Image Denoising Using Wavelet Transform
Image Denoising Using Wavelet TransformImage Denoising Using Wavelet Transform
Image Denoising Using Wavelet TransformIJERA Editor
 
Dm part03 neural-networks-handout
Dm part03 neural-networks-handoutDm part03 neural-networks-handout
Dm part03 neural-networks-handoutokeee
 
Lect20 handout
Lect20 handoutLect20 handout
Lect20 handoutnomio0703
 
International Journal of Engineering Research and Development (IJERD)
 International Journal of Engineering Research and Development (IJERD) International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Fatigue damage in solder joint interconnects - presentation
Fatigue damage in solder joint interconnects - presentationFatigue damage in solder joint interconnects - presentation
Fatigue damage in solder joint interconnects - presentationDr. Adnan Judeh (Abdul-Baqi)
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 

Mais procurados (19)

6.b.measurement of film thickness
6.b.measurement of film thickness6.b.measurement of film thickness
6.b.measurement of film thickness
 
An introduction to discrete wavelet transforms
An introduction to discrete wavelet transformsAn introduction to discrete wavelet transforms
An introduction to discrete wavelet transforms
 
Sergey Sibiryakov "Galactic rotation curves vs. ultra-light dark matter: Impl...
Sergey Sibiryakov "Galactic rotation curves vs. ultra-light dark matter: Impl...Sergey Sibiryakov "Galactic rotation curves vs. ultra-light dark matter: Impl...
Sergey Sibiryakov "Galactic rotation curves vs. ultra-light dark matter: Impl...
 
DCT
DCTDCT
DCT
 
Good denoising using wavelets
Good denoising using waveletsGood denoising using wavelets
Good denoising using wavelets
 
Lect5 v2
Lect5 v2Lect5 v2
Lect5 v2
 
Capítulo 34 (5th edition) con soluciones ondas electromagneticas serway
Capítulo 34 (5th edition) con soluciones ondas electromagneticas serwayCapítulo 34 (5th edition) con soluciones ondas electromagneticas serway
Capítulo 34 (5th edition) con soluciones ondas electromagneticas serway
 
Image Denoising Using Wavelet Transform
Image Denoising Using Wavelet TransformImage Denoising Using Wavelet Transform
Image Denoising Using Wavelet Transform
 
Anschp33
Anschp33Anschp33
Anschp33
 
Ch33 ssm
Ch33 ssmCh33 ssm
Ch33 ssm
 
Dm part03 neural-networks-handout
Dm part03 neural-networks-handoutDm part03 neural-networks-handout
Dm part03 neural-networks-handout
 
Anschp38
Anschp38Anschp38
Anschp38
 
Lect20 handout
Lect20 handoutLect20 handout
Lect20 handout
 
Homeworks
HomeworksHomeworks
Homeworks
 
Base excitation of dynamic systems
Base excitation of dynamic systemsBase excitation of dynamic systems
Base excitation of dynamic systems
 
GPU - how can we use it?
GPU - how can we use it?GPU - how can we use it?
GPU - how can we use it?
 
International Journal of Engineering Research and Development (IJERD)
 International Journal of Engineering Research and Development (IJERD) International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Fatigue damage in solder joint interconnects - presentation
Fatigue damage in solder joint interconnects - presentationFatigue damage in solder joint interconnects - presentation
Fatigue damage in solder joint interconnects - presentation
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 

Semelhante a Separable bilateral filtering for fast video preprocessing

Summarized notes on Interference and Diffraction for JEE Main
Summarized notes on Interference and Diffraction for JEE MainSummarized notes on Interference and Diffraction for JEE Main
Summarized notes on Interference and Diffraction for JEE MainEdnexa
 
Lecture 02 internet video search
Lecture 02 internet video searchLecture 02 internet video search
Lecture 02 internet video searchzukun
 
Random Valued Impulse Noise Removal in Colour Images using Adaptive Threshold...
Random Valued Impulse Noise Removal in Colour Images using Adaptive Threshold...Random Valued Impulse Noise Removal in Colour Images using Adaptive Threshold...
Random Valued Impulse Noise Removal in Colour Images using Adaptive Threshold...IDES Editor
 
Spatial Filtering in intro image processingr
Spatial Filtering in intro image processingrSpatial Filtering in intro image processingr
Spatial Filtering in intro image processingrkumarankit06875
 
DONY Simple and Practical Algorithm sft.pptx
DONY Simple and Practical Algorithm sft.pptxDONY Simple and Practical Algorithm sft.pptx
DONY Simple and Practical Algorithm sft.pptxDonyMa
 
Pres Simple and Practical Algorithm sft.pptx
Pres Simple and Practical Algorithm sft.pptxPres Simple and Practical Algorithm sft.pptx
Pres Simple and Practical Algorithm sft.pptxDonyMa
 
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...grssieee
 
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...grssieee
 
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTIONEDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTIONcscpconf
 
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTIONEDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTIONcsitconf
 
Xu_IGARSS11_snow_f.pdf
Xu_IGARSS11_snow_f.pdfXu_IGARSS11_snow_f.pdf
Xu_IGARSS11_snow_f.pdfgrssieee
 
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error normRobust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error normTuan Q. Pham
 
OE Instrumentation_03_Interferometry_2.pdf
OE Instrumentation_03_Interferometry_2.pdfOE Instrumentation_03_Interferometry_2.pdf
OE Instrumentation_03_Interferometry_2.pdfJamesWalter40
 
A Novel Methodology for Designing Linear Phase IIR Filters
A Novel Methodology for Designing Linear Phase IIR FiltersA Novel Methodology for Designing Linear Phase IIR Filters
A Novel Methodology for Designing Linear Phase IIR FiltersIDES Editor
 
Digital Distance Geometry
Digital Distance GeometryDigital Distance Geometry
Digital Distance Geometryppd1961
 
Optimal nonlocal means algorithm for denoising ultrasound image
Optimal nonlocal means algorithm for denoising ultrasound imageOptimal nonlocal means algorithm for denoising ultrasound image
Optimal nonlocal means algorithm for denoising ultrasound imageAlexander Decker
 

Semelhante a Separable bilateral filtering for fast video preprocessing (20)

Summarized notes on Interference and Diffraction for JEE Main
Summarized notes on Interference and Diffraction for JEE MainSummarized notes on Interference and Diffraction for JEE Main
Summarized notes on Interference and Diffraction for JEE Main
 
Lecture 02 internet video search
Lecture 02 internet video searchLecture 02 internet video search
Lecture 02 internet video search
 
Random Valued Impulse Noise Removal in Colour Images using Adaptive Threshold...
Random Valued Impulse Noise Removal in Colour Images using Adaptive Threshold...Random Valued Impulse Noise Removal in Colour Images using Adaptive Threshold...
Random Valued Impulse Noise Removal in Colour Images using Adaptive Threshold...
 
Spatial Filtering in intro image processingr
Spatial Filtering in intro image processingrSpatial Filtering in intro image processingr
Spatial Filtering in intro image processingr
 
channel_mzhazbay.pdf
channel_mzhazbay.pdfchannel_mzhazbay.pdf
channel_mzhazbay.pdf
 
Goddard-DR-2010
Goddard-DR-2010Goddard-DR-2010
Goddard-DR-2010
 
DONY Simple and Practical Algorithm sft.pptx
DONY Simple and Practical Algorithm sft.pptxDONY Simple and Practical Algorithm sft.pptx
DONY Simple and Practical Algorithm sft.pptx
 
Pres Simple and Practical Algorithm sft.pptx
Pres Simple and Practical Algorithm sft.pptxPres Simple and Practical Algorithm sft.pptx
Pres Simple and Practical Algorithm sft.pptx
 
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...
 
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...
Biao Hou--SAR IMAGE DESPECKLING BASED ON IMPROVED DIRECTIONLET DOMAIN GAUSSIA...
 
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTIONEDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
 
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTIONEDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
 
Image processing 2
Image processing 2Image processing 2
Image processing 2
 
Cb25464467
Cb25464467Cb25464467
Cb25464467
 
Xu_IGARSS11_snow_f.pdf
Xu_IGARSS11_snow_f.pdfXu_IGARSS11_snow_f.pdf
Xu_IGARSS11_snow_f.pdf
 
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error normRobust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
 
OE Instrumentation_03_Interferometry_2.pdf
OE Instrumentation_03_Interferometry_2.pdfOE Instrumentation_03_Interferometry_2.pdf
OE Instrumentation_03_Interferometry_2.pdf
 
A Novel Methodology for Designing Linear Phase IIR Filters
A Novel Methodology for Designing Linear Phase IIR FiltersA Novel Methodology for Designing Linear Phase IIR Filters
A Novel Methodology for Designing Linear Phase IIR Filters
 
Digital Distance Geometry
Digital Distance GeometryDigital Distance Geometry
Digital Distance Geometry
 
Optimal nonlocal means algorithm for denoising ultrasound image
Optimal nonlocal means algorithm for denoising ultrasound imageOptimal nonlocal means algorithm for denoising ultrasound image
Optimal nonlocal means algorithm for denoising ultrasound image
 

Mais de Tuan Q. Pham

Oral presentation on Asymmetric recursive Gaussian filtering for space-varia...
Oral presentation on  Asymmetric recursive Gaussian filtering for space-varia...Oral presentation on  Asymmetric recursive Gaussian filtering for space-varia...
Oral presentation on Asymmetric recursive Gaussian filtering for space-varia...Tuan Q. Pham
 
Asymmetric recursive Gaussian filtering for space-variant artificial bokeh
 Asymmetric recursive Gaussian filtering for space-variant artificial bokeh Asymmetric recursive Gaussian filtering for space-variant artificial bokeh
Asymmetric recursive Gaussian filtering for space-variant artificial bokehTuan Q. Pham
 
Parallel implementation of geodesic distance transform with application in su...
Parallel implementation of geodesic distance transform with application in su...Parallel implementation of geodesic distance transform with application in su...
Parallel implementation of geodesic distance transform with application in su...Tuan Q. Pham
 
Parallel implementation of geodesic distance transform with application in su...
Parallel implementation of geodesic distance transform with application in su...Parallel implementation of geodesic distance transform with application in su...
Parallel implementation of geodesic distance transform with application in su...Tuan Q. Pham
 
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...Multi-hypothesis projection-based shift estimation for sweeping panorama reco...
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...Tuan Q. Pham
 
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...Multi-hypothesis projection-based shift estimation for sweeping panorama reco...
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...Tuan Q. Pham
 
Non-maximum suppression using fewer than two comparison per pixels
Non-maximum suppression using fewer than two comparison per pixelsNon-maximum suppression using fewer than two comparison per pixels
Non-maximum suppression using fewer than two comparison per pixelsTuan Q. Pham
 
Paper fingerprinting using alpha-masked image matching
Paper fingerprinting using alpha-masked image matchingPaper fingerprinting using alpha-masked image matching
Paper fingerprinting using alpha-masked image matchingTuan Q. Pham
 
Paper fingerprinting using alpha-masked image matching
Paper fingerprinting using alpha-masked image matchingPaper fingerprinting using alpha-masked image matching
Paper fingerprinting using alpha-masked image matchingTuan Q. Pham
 
Bidirectional bias correction for gradient-based shift estimation
Bidirectional bias correction for gradient-based shift estimationBidirectional bias correction for gradient-based shift estimation
Bidirectional bias correction for gradient-based shift estimationTuan Q. Pham
 
Resolution enhancement of low-quality videos using a high-resolution frame
Resolution enhancement of low-quality videos using a high-resolution frameResolution enhancement of low-quality videos using a high-resolution frame
Resolution enhancement of low-quality videos using a high-resolution frameTuan Q. Pham
 
Performance of Optimal Registration Estimator
Performance of Optimal Registration EstimatorPerformance of Optimal Registration Estimator
Performance of Optimal Registration EstimatorTuan Q. Pham
 
Influence of Signal-to-Noise Ratio and Point Spread Function on Limits of Sup...
Influence of Signal-to-Noise Ratio and Point Spread Function on Limits of Sup...Influence of Signal-to-Noise Ratio and Point Spread Function on Limits of Sup...
Influence of Signal-to-Noise Ratio and Point Spread Function on Limits of Sup...Tuan Q. Pham
 
Normalized averaging using adaptive applicability functions with applications...
Normalized averaging using adaptive applicability functions with applications...Normalized averaging using adaptive applicability functions with applications...
Normalized averaging using adaptive applicability functions with applications...Tuan Q. Pham
 

Mais de Tuan Q. Pham (14)

Oral presentation on Asymmetric recursive Gaussian filtering for space-varia...
Oral presentation on  Asymmetric recursive Gaussian filtering for space-varia...Oral presentation on  Asymmetric recursive Gaussian filtering for space-varia...
Oral presentation on Asymmetric recursive Gaussian filtering for space-varia...
 
Asymmetric recursive Gaussian filtering for space-variant artificial bokeh
 Asymmetric recursive Gaussian filtering for space-variant artificial bokeh Asymmetric recursive Gaussian filtering for space-variant artificial bokeh
Asymmetric recursive Gaussian filtering for space-variant artificial bokeh
 
Parallel implementation of geodesic distance transform with application in su...
Parallel implementation of geodesic distance transform with application in su...Parallel implementation of geodesic distance transform with application in su...
Parallel implementation of geodesic distance transform with application in su...
 
Parallel implementation of geodesic distance transform with application in su...
Parallel implementation of geodesic distance transform with application in su...Parallel implementation of geodesic distance transform with application in su...
Parallel implementation of geodesic distance transform with application in su...
 
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...Multi-hypothesis projection-based shift estimation for sweeping panorama reco...
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...
 
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...Multi-hypothesis projection-based shift estimation for sweeping panorama reco...
Multi-hypothesis projection-based shift estimation for sweeping panorama reco...
 
Non-maximum suppression using fewer than two comparison per pixels
Non-maximum suppression using fewer than two comparison per pixelsNon-maximum suppression using fewer than two comparison per pixels
Non-maximum suppression using fewer than two comparison per pixels
 
Paper fingerprinting using alpha-masked image matching
Paper fingerprinting using alpha-masked image matchingPaper fingerprinting using alpha-masked image matching
Paper fingerprinting using alpha-masked image matching
 
Paper fingerprinting using alpha-masked image matching
Paper fingerprinting using alpha-masked image matchingPaper fingerprinting using alpha-masked image matching
Paper fingerprinting using alpha-masked image matching
 
Bidirectional bias correction for gradient-based shift estimation
Bidirectional bias correction for gradient-based shift estimationBidirectional bias correction for gradient-based shift estimation
Bidirectional bias correction for gradient-based shift estimation
 
Resolution enhancement of low-quality videos using a high-resolution frame
Resolution enhancement of low-quality videos using a high-resolution frameResolution enhancement of low-quality videos using a high-resolution frame
Resolution enhancement of low-quality videos using a high-resolution frame
 
Performance of Optimal Registration Estimator
Performance of Optimal Registration EstimatorPerformance of Optimal Registration Estimator
Performance of Optimal Registration Estimator
 
Influence of Signal-to-Noise Ratio and Point Spread Function on Limits of Sup...
Influence of Signal-to-Noise Ratio and Point Spread Function on Limits of Sup...Influence of Signal-to-Noise Ratio and Point Spread Function on Limits of Sup...
Influence of Signal-to-Noise Ratio and Point Spread Function on Limits of Sup...
 
Normalized averaging using adaptive applicability functions with applications...
Normalized averaging using adaptive applicability functions with applications...Normalized averaging using adaptive applicability functions with applications...
Normalized averaging using adaptive applicability functions with applications...
 

Último

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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.pptxEarley Information Science
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
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 MenDelhi Call girls
 
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.pdfsudhanshuwaghmare1
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
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.pptxMalak Abu Hammad
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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 SolutionsEnterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
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 MountPuma Security, LLC
 

Último (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 

Separable bilateral filtering for fast video preprocessing

  • 1. ICME 2005 IEEE International Conference on Multimedia & Expo July 6-8, 2005, Amsterdam, The Netherlands Separable bilateral filtering for fast video preprocessing Tuan Q. Pham & Lucas J. van Vliet Delft University of Technology The Netherlands 1 Quantitative Imaging Group Faculty of Applied Sciences
  • 2. Contents 1. Bilateral filtering:  Edge-preserving filter  High computational complexity 2. Separable implementation:  Good approximation of the original filter  Linear computational complexity 3. Application to video preprocessing:  Noise reduction  Better compressed video
  • 3. Gaussian filtering revisited  Gaussian filtering: weights depend on distance to the center pixel * = Noisy step edge Gaussian weights Gaussian filtered result  Adaptive filtering: avoid filtering across edges . = Noisy step edge Edge-preserving weights Edge-presered filtered result
  • 4. Gaussian vs bilateral filtering  Gaussian filtering: weights depend on distance to the center pixel * = Noisy step edge Gaussian weights Gaussian filtered result  Bilateral filtering: weights depend on both spatial closeness and photometric similarity . = Noisy step edge Edge-preserving weights Edge-presered filtered result
  • 5. How bilateral filtering works?  Every sample is a weighted average of its neighbors: 1 O ( s0 ) = ∑ w ( s, s0 ) . I ( s ) K s Local modes  The weight w = w s . wt is product of two Gaussian weights: after bilateral  − ( s − s0 ) 2  filtering  Spatial proximity: w s = exp    2σ s2   − ( I ( s ) − I ( s0 ) ) 2   Tonal similarity: wt = exp    2σ t 2   
  • 6. Example: Gaussian filtering Noisy input: PSNR = 39.1 dB Gaussian filtered: PSNR = 67.9 dB
  • 7. Example: Bilateral filtering Noisy input: PSNR = 39.1 dB Bilateral filtered: PSNR = 41.6 dB
  • 8. Computational complexity  Bilateral filtering kernel is space-variant → complexity is: O ( Nm d ) where N: number of pixels in the image m: size of filtering kernel (m ≈ 7 is good enough) d: image dimensionality  Previous attempt for fast bilateral filtering: Piecewise-linear: approximate bilateral filtering with M Gaussian filtering - Durand & Dorsey (SIGGRAPH 2002) → complexity is: O ( N log( N ) . M ) M ≈ 17 for 8-bit images  Our approach: separable bilateral filtering O ( Nmd )
  • 9. Is bilateral filter separable?  Gaussian filter is space-invariant and separable: g(x) g(y) ∑ w ( s − s ) . I ( s) s 0 O( s ) = s * = ∑ w (s − s ) 0 s 0 s y x w s ( s ) = gauss( x ) . gauss( y ) Kernel center  Bilateral filter is NOT separable: I(s0)  Space-variant kernel due to local I(s) intensity dependency  However, even a highly non-linear filter like median filter is approximately separable (Narendra – PAMI 1981)
  • 10. Separable bilateral filtering result  Separable bilateral filtering is a good approximation of full kernel filtering: noisy Erika σnoise = 10 bilateral filtered in x-dimension followed by y-dimension filtering
  • 11. Separable bilateral filtering result  Separable bilateral filtering is a good approximation of full kernel filtering: noisy Erika σnoise = 10 bilateral filtered in x-dimension followed by y-dimension filtering Image size Brute-force Durrand 2002 Separable Aniso. diffusion 256x256 4.46 0.37 0.21 2.76 512x512 17.88 1.59 0.89 26.02 61x61x61 5.29 4.20 0.45 5.25 256x256x212 56 min Out of memory 50.3 Out of memory
  • 12. How separable bilateral filtering works?  Pros: extremely fast (fixed spatial weight + LUT for tonal weight)  Cons: effective filtering kernel is a slightly distorted
  • 13. Performance of separable bilateral filtering  Very good approximation of  Almost linear execution time the full-kernel filter per pixel
  • 14. MPEG-1 Foreman with bilateral preprocessing 16 without preprocessing with 3x3x3 full-kernel with 9x9x5 separable 15 RMSE 14 13 0 400 800 1200 bit-rate (K bits/s)  Better RMSE is achieved with separable bilateral filtering compared to full-kernel bilateral filtering with the same computation requirement
  • 15. Less artifact with Bilateral preprocessing
  • 16. Conclusions  Separable implementation of bilateral filtering:  Very good approximation of the original filter  Much faster than the original or other approximations  Applications in video preprocessing:  Improved quality of compressed video  Reduced processing time → real-time possibility
  • 17. Literature  C. Tomasi and R. Manduchi, Bilateral fitering for gray and color images, Proc. of ICCV, USA, 1998, 839-846.  T.Q. Pham and L.J. van Vliet, Separable bilateral filtering for fast video preprocessing, Proc. of ICME’05.  F. Durrand and J. Dorsey, Fast bilateral filtering for the display of high dynamic range images, Proc. of SIGGRAPH’02, 2002, 844-847.  P. Perona and J. Malik, Scale-space filtering and edge detection using anisotropic diffusion, PAMI, vol. 12, no. 7, 1990, 629-639.  R. v.d. Boomgaard and J. v.d. Weijer. On the equivalence of local- mode finding, robust estimation and mean-shift analysis as used in early vision tasks. In Proc. of ICPR, pages 927-930, 2002.