CS448f: Image Processing For Photography and Vision Sharpening.

Slides:



Advertisements
Similar presentations
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer Filtering.
Advertisements

Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
CSCE 643 Computer Vision: Template Matching, Image Pyramids and Denoising Jinxiang Chai.
Lecture 2: Convolution and edge detection CS4670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
Spatial Filtering (Chapter 3)
Transforming images to images
Edges and Contours– Chapter 7
CS448f: Image Processing For Photography and Vision Blending and Pyramids.
Lecture 2: Filtering CS4670/5670: Computer Vision Kavita Bala.
1 Image filtering Hybrid Images, Oliva et al.,
Edge detection. Edge Detection in Images Finding the contour of objects in a scene.
1 Vladimir Botchko Lecture 4. Image Enhancement Lappeenranta University of Technology (Finland)
Digital Image Processing
Lecture 1: Images and image filtering
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
Announcements Kevin Matzen office hours – Tuesday 4-5pm, Thursday 2-3pm, Upson 317 TA: Yin Lou Course lab: Upson 317 – Card access will be setup soon Course.
Image Enhancement.
Lecture 2: Image filtering
Image Analysis Preprocessing Arithmetic and Logic Operations Spatial Filters Image Quantization.
Linear filtering.
CS448f: Image Processing For Photography and Vision Denoising.
CS448f: Image Processing For Photography and Vision Wavelets Continued.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
CSCE 441: Computer Graphics Image Filtering Jinxiang Chai.
Fast Bilateral Filtering
CSC589 Introduction to Computer Vision Lecture 3 Gaussian Filter, Histogram Equalization Bei Xiao.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5409 T-R 10:30am – 11:50am.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Computer Vision – Enhancement(Part II) Hanyang University Jong-Il Park.
CS448f: Image Processing For Photography and Vision Fast Filtering Continued.
CS654: Digital Image Analysis
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
Image Processing Edge detection Filtering: Noise suppresion.
Digital Image Processing CSC331 Image Enhancement 1.
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
A Gentle Introduction to Bilateral Filtering and its Applications Sylvain Paris – MIT CSAIL Pierre Kornprobst – INRIA Odyssée Jack Tumblin – Northwestern.
Math 3360: Mathematical Imaging Prof. Ronald Lok Ming Lui Department of Mathematics, The Chinese University of Hong Kong Lecture 9: More about Discrete.
Chapter 5: Neighborhood Processing
Linear filtering. Motivation: Noise reduction Given a camera and a still scene, how can you reduce noise? Take lots of images and average them! What’s.
Image Processing Part II. 2 Classes of Digital Filters global filters transform each pixel uniformly according to the function regardless of its location.
CS448f: Image Processing For Photography and Vision Lecture 2.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Vincent DeVito Computer Systems Lab The goal of my project is to take an image input, artificially blur it using a known blur kernel, then.
A Gentle Introduction to Bilateral Filtering and its Applications 07/10: Novel Variants of the Bilateral Filter Jack Tumblin – EECS, Northwestern University.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Lecture # 19 Image Processing II. 2 Classes of Digital Filters Global filters transform each pixel uniformly according to the function regardless of.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
Sejong Univ. CH3. Area Processes Convolutions Blurring Sharpening Averaging vs. Median Filtering.
CS448f: Image Processing For Photography and Vision Tone Mapping.
Vincent DeVito Computer Systems Lab The goal of my project is to take an image input, artificially blur it using a known blur kernel, then.
Grauman Today: Image Filters Smooth/Sharpen Images... Find edges... Find waldo…
Lecture 1: Images and image filtering CS4670/5670: Intro to Computer Vision Noah Snavely Hybrid Images, Oliva et al.,
Digital Image Processing Lecture 8: Image Enhancement in Frequency Domain II Naveed Ejaz.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Deblurring and noise reduction in python
ECE 692 – Advanced Topics in Computer Vision
Image Processing and Reconstructions Tools
Fourier Transform.
Lecture 1: Images and image filtering
Lecture 10 Image sharpening.
Sharpening..
Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2006/3/8
Non-local Means Filtering
Lecture 2: Image filtering
Lecture 1: Images and image filtering
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Lecture 7 Spatial filtering.
Computer Graphics Image processing 紀明德
Lecture 7 Patch based methods: nonlocal means, BM3D, K- SVD, data-driven (tight) frame.
Presentation transcript:

CS448f: Image Processing For Photography and Vision Sharpening

Boost detail in an image without introducing noise or artifacts Undo blur – due to lens aberrations – slight misfocus

Recall Denoising Input = Signal + Noise

Recall Denoising Input = Signal + Noise

Sharpening Input = Coarse + Fine

Sharpening Output = Coarse + Fine

Sharpening Any Filter which removes fine details can be used to sharpen – 1) Coarse = Remove Fine Details from Input – 2) Fine = Input - Coarse – 3) Output = Input + Fine x 0.5 Which filters should be use to create the coarse base layer? What about noise?

Linear Sharpening Filters Let G be a Gaussian Kernel – 1) Coarse = G * Input – 2) Fine = Input - Coarse – 3) Output = Input + Fine x 0.5

Convolution is Linear G*(a+b) = G*a + G*b – Output = Input Fine – Output = Input (Input - G*Input) – Output = 1.5 Input G*Input – Output = (1.5 I G) * Input Or in Fourier Space – Output’ = (1.5 I ’ G’) x Input’ I

Linear Sharpening Filters I is the filter that does nothing when you convolve by it, so I’ is the filter that does nothing when you multiply by it => I’ = 1

Linear Sharpening Filters The Fourier Transform of a Gaussian is a Gaussian G’:

The result in Fourier space: (1.5 I ’ G’) = amplify high frequencies

Demo ImageStack -load dog.jpg -dup -dup -dup - gaussianblur 4 -pull 1 -subtract -scale 2 -add - adjoin t -resample 10 width height -display

Input

Coarse

Fine x 3

Input + Fine

Input

Halos:

Halos

Let’s see what Photoshop Does Unsharp Masking...

Let’s see what Photoshop Does Unsharp Masking creates halos With the threshold set, fine details are not boosted, only strong edges

Suggestions? What removes fine detail without blurring edges?

Median Sharpen The “Fine” image is the same as the “Method Noise” images in the previous lecture. It should only contain fine detail, not strong edges Let’s make the base layer with a median filter!

Input

Median Coarse

Median Fine x 3

Median Result

Linear Result

Bilateral Sharpen Let’s make the base layer with a bilateral filter!

Input

Bilateral Coarse

Bilateral Fine x 3

Bilateral Result

Median Result

Linear Result

Non-Local Means Sharpen? Non-Local Means looks for similar patches and averages my value with theirs – Conformity with peer group Non-Local Means sharpening figures out what makes me different from other similar things in the image, and exaggerates that – Rebellion against peer group

Input

NLMeans Coarse

NLMeans Fine x 8

Bilateral Fine x 8

NLMeans Result

Bilateral Result

Input

Remember... None of this is useful if we can’t make it go fast

Other Techniques Everyone wants to best the bilateral filter Two notable papers to look at: – The Trilateral filter (Tumblin et al, EGSR 2003)

Other Techniques Edge Preserving Decompositions for Multi- Scale Tone and Detail Manipulation: – Farbman et al, SIGGRAPH 2008