Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran

Slides:



Advertisements
Similar presentations
CSCE 643 Computer Vision: Template Matching, Image Pyramids and Denoising Jinxiang Chai.
Advertisements

Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
Lecture 2: Convolution and edge detection CS4670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
Spatial Filtering (Chapter 3)
Motion illusion, rotating snakes. Slide credit Fei Fei Li.
嵌入式視覺 Feature Extraction
CS 4487/9587 Algorithms for Image Analysis
Computational Photography CSE 590 Tamara Berg Filtering & Pyramids.
MSU CSE 803 Stockman Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute.
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.
Lecture 2: Image filtering
MSU CSE 803 Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute some result.
Image Filtering. Problem! Noise is a problem, even in images! Gaussian NoiseSalt and Pepper Noise.
Most slides from Steve Seitz
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
Presentation Image Filters
Applications of Image Filters Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/04/10.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
CS559: Computer Graphics Lecture 3: Digital Image Representation Li Zhang Spring 2008.
Filtering and Enhancing Images. Major operations 1. Matching an image neighborhood with a pattern or mask 2. Convolution (FIR filtering)
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
Image Filtering Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/02/10.
Why is computer vision difficult?
Image Subtraction Mask mode radiography h(x,y) is the mask.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Templates, Image Pyramids, and Filter Banks
Pixels and Image Filtering Computer Vision Derek Hoiem, University of Illinois 02/01/11 Graphic:
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
CS 691B Computational Photography
CSE 6367 Computer Vision Image Operations and Filtering “You cannot teach a man anything, you can only help him find it within himself.” ― Galileo GalileiGalileo.
Pixels and Image Filtering Computational Photography Derek Hoiem 08/26/10 Graphic:
Digital Image Processing Part 3 Spatial Domain Processing.
Filtering the Images.  Filtering images using low-pass filters  Filtering images using a median filter  Applying directional filters to detect edges.
COMPUTER VISION D10K-7C02 CV05: Edge Detection Dr. Setiawan Hadi, M.Sc.CS. Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran.
Computer vision. Applications and Algorithms in CV Tutorial 3: Multi scale signal representation Pyramids DFT - Discrete Fourier transform.
Last Lecture photomatix.com. Today Image Processing: from basic concepts to latest techniques Filtering Edge detection Re-sampling and aliasing Image.
CSE 185 Introduction to Computer Vision Image Filtering: Spatial Domain.
Grauman Today: Image Filters Smooth/Sharpen Images... Find edges... Find waldo…
Images and Filters CSEP 576 Ali Farhadi Many slides from Steve Seitz and Larry Zitnick.
Lecture 1: Images and image filtering CS4670/5670: Intro to Computer Vision Noah Snavely Hybrid Images, Oliva et al.,
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Spatial Image Enhancement
Image Subtraction Mask mode radiography h(x,y) is the mask.
ECE 692 – Advanced Topics in Computer Vision
Pixels and Image Filtering
Filtering – Part I Gokberk Cinbis Department of Computer Engineering
Convolution.
Spatial Filtering - Enhancement
Lecture 1: Images and image filtering
Image filtering Hybrid Images, Oliva et al.,
Recap from Wednesday Spectra and Color Light capture in cameras and humans.
Image gradients and edges April 11th, 2017
Fundamentals of Spatial Filtering
Image filtering Images by Pawan Sinha.
Image filtering Images by Pawan Sinha.
Motion illusion, rotating snakes
Lecture: Image manipulations (2) Filters and kernels
Digital Image Processing Week IV
Most slides from Steve Seitz
Image filtering
Image filtering
Linear Operations Using Masks
Lecture 1: Images and image filtering
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Most slides from Steve Seitz
Digital Filters.
Image Enhancement in the Spatial Domain
Convolution.
Presentation transcript:

Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran COMPUTER VISION D10K-7C02 CV04: Image FIltering Dr. Setiawan Hadi, M.Sc.CS. Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran

Motion illusion, rotating snakes

Dari 3D ke 2D

Recognition Concept

Image Filtering Compute function of local neighborhood at each position Usage Enhance images Denoise, resize, increase contrast, etc. Extract information from images Texture, edges, distinctive points, etc. Detect patterns Template matching

Image Filtering Types Image filters in spatial domain Filter is a mathematical operation of a grid of numbers Smoothing, sharpening, measuring texture Image filters in the frequency domain Filtering is a way to modify the frequencies of images Denoising, sampling, image compression Templates and Image Pyramids Filtering is a way to match a template to the image Detection, coarse-to-fine registration

Filter What does it do? Box filter Replaces each pixel with an average of its neighborhood Achieve smoothing effect (remove sharp features 1

Image Filtering Operation 1

Image Filtering Operation 1 90 90 ones, divide by 9 Credit: S. Seitz

Image Filtering Operation 1 90 90 10 ones, divide by 9 Credit: S. Seitz

Image Filtering Operation 1 90 90 10 20 ones, divide by 9 Credit: S. Seitz

Image Filtering Operation 1 90 90 10 20 30 ones, divide by 9 Credit: S. Seitz

Image Filtering Operation 1 90 10 20 30

Image Filtering Operation 1 90 10 20 30 ?

Image Filtering Operation 1 90 10 20 30 50 ? Credit: S. Seitz

Image Filtering Operation 1 90 10 20 30 40 60 90 50 80 Credit: S. Seitz

Image Filtering Example

Linear Filter 1 ? Original

Linear Filter 1 Original Filtered (no change)

Linear Filter 1 ? Original

Linear Filter 1 Original Shifted left By 1 pixel

Linear Filter - 2 1 ? (Note that filter sums to 1) Original

- Linear Filter 2 1 Original Sharpening filter 2 1 Original Sharpening filter Accentuates differences with local average

Sharpening

Other Filter -1 -2 1 2 Sobel Horizontal Edge (absolute value)

Filtering vs Convolution

Gaussian FIlter 0.003 0.013 0.022 0.013 0.003 0.013 0.059 0.097 0.059 0.013 0.022 0.097 0.159 0.097 0.022 5 x 5,  = 1

Example of Gaussian Filter

Median Filter operates over a window by selecting the median intensity in the window. What advantage does a median filter have over a mean filter? Is a median filter a kind of convolution?

Salt and Pepper Noise Removal by Mean filter Gaussian filter Median filter

Measuring Image Quality Image quality is a characteristic of an image that measures the perceived image degradation (typically, compared to an ideal or perfect image). Measurement tools PNSR Peak to Signal Noise Ration

Illustration PNSR

Demo Filter

Exercise Write down a 3x3 filter that returns a positive value if the average value of the 4-adjacent neighbors is less than the center and a negative value otherwise Write down a filter that will compute the gradient in the x-direction: gradx(y,x) = im(y,x+1)-im(y,x) for each x, y

3. Fill in the blanks: a) _ = D * B b) A = _ * _ c) F = D * _ Filtering Operator a) _ = D * B b) A = _ * _ c) F = D * _ d) _ = D * D 3. Fill in the blanks: A B E G C F D H I