bilateral filter wojciech korycki [email protected] 23.06.2010 wrocław implementations...
TRANSCRIPT
![Page 2: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/2.jpg)
Bilateral Filter- introductionBilateral filtering will preserve edges
but…
To high parameters, that is R = MAX, might change bilateral filter to normal Gaussian filter. (MAX- usually 255 or 1)
![Page 3: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/3.jpg)
Bilateral Filter- implementations
Application implemetations
Bilateral Filter
NormalBilateral Filter
Cross Bilateral Filter
CPU
CPU (indexing)
Fast approximation
CUDA
CPU
CPU (indexing)
Fast approximation
CUDA
![Page 4: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/4.jpg)
Bilateral Filter- testing
Test images
![Page 5: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/5.jpg)
Bilateral Filter- testing
Processing time tabble for 8-bit gray scale image
Image Lena.bmp (512x512, 8-bit Gray Scale)
Bilateral Filter
Processing typeParameters
S RParameters
S RParameters
S R
3 10 7 10 11 10
t [s] t [s] t [s]
CPU 2,023 6,821 14,394
CPU (indexing) 0,694 1,182 2,091
Fast Approximation 0,141 0,137 0,201
CUDA 0,019 0,051 0,108
![Page 6: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/6.jpg)
Bilateral Filter- testing
Processing time diagram for 8-bit gray scale image
![Page 7: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/7.jpg)
Bilateral Filter- testing
Visual results
![Page 8: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/8.jpg)
Bilateral Filter- testing
Processing time tabble for 24-bit RGB image
image Iwonka.bmp (24-bit RGB)
Bilateral Filter
Processing typeParameters
S R
Parameters
S R
Parameters
S R
3 10 7 10 11 10
t [s] t [s] t [s]
CPU 2,356 8,12 17,728
CPU (indexing) 0,975 2,085 4,11
Fast Approximation 0,538 0,339 0,444
CUDA 0,026 0,08 0,174
![Page 9: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/9.jpg)
Bilateral Filter- testing
Processing time diagram for 24-bit RGBimage
![Page 10: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/10.jpg)
Bilateral Filter- testing
Visual results
![Page 11: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/11.jpg)
Bilateral Filter- testing
Processing result
![Page 12: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/12.jpg)
Bilateral Filter- summaryGeneral profit in CUDA processing (time in [s])
![Page 13: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/13.jpg)
Bilateral Filter- addons
Result of Cross Bilateral Filter processing
+
=
![Page 14: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/14.jpg)
Bilateral Filter- addons
Iterations= 10 <=cartoon like images=> iterations= 20
![Page 15: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/15.jpg)
Bilateral Filter- side effects
Fog effect
![Page 16: Bilateral Filter Wojciech Korycki wojciech.korycki@gmail.com 23.06.2010 Wrocław Implementations compare](https://reader036.vdocuments.net/reader036/viewer/2022081801/551c04da550346a34f8b4de1/html5/thumbnails/16.jpg)
Bilateral Filter- side effects
Edges blur