Image enhancement Last update 2015.03.22 Heejune Ahn, SeoulTech.

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
Spatial Filtering (Chapter 3)
Topic 6 - Image Filtering - I DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Image Filtering. Outline Outline Concept of image filter  Focus on spatial image filter Various types of image filter  Smoothing, noise reductions 
Lecture 6 Sharpening Filters
CS 4487/9587 Algorithms for Image Analysis
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
6/9/2015Digital Image Processing1. 2 Example Histogram.
Digital Image Processing
Computational Photography: Image Processing Jinxiang Chai.
Image Filtering. Problem! Noise is a problem, even in images! Gaussian NoiseSalt and Pepper Noise.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
CSCE 441: Computer Graphics Image Filtering Jinxiang Chai.
Presentation Image Filters
Spatial-based Enhancements Lecture 3 prepared by R. Lathrop 10/99 updated 10/03 ERDAS Field Guide 6th Ed. Ch 5: ;
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Computer Vision – Enhancement(Part II) Hanyang University Jong-Il Park.
Spatial Filtering: Basics
Digital Image Processing Image Enhancement Part IV.
Digital Image Processing
Filtering and Enhancing Images. Major operations 1. Matching an image neighborhood with a pattern or mask 2. Convolution (FIR filtering)
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 Segmentation and Morphological Processing Digital Image Processing in Life- Science Aviad Baram
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Chapter 5: Neighborhood Processing
Lecture 5 Mask/Filter Transformation 1.The concept of mask/filters 2.Mathematical model of filtering Correlation, convolution 3.Smoother filters 4.Filter.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Digital Image Processing Lecture 10: Image Restoration
Spatial Filtering.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP7 Spatial Filters Miguel Tavares Coimbra.
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.
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.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Filtering the Images.  Filtering images using low-pass filters  Filtering images using a median filter  Applying directional filters to detect edges.
Instructor: Mircea Nicolescu Lecture 7
Image Filtering with GLSL DI1.03 蔡依儒. Outline Convolution Convolution Convolution implementation using GLSL Convolution implementation using GLSL Commonly.
Sliding Window Filters Longin Jan Latecki October 9, 2002.
Non-linear filtering Example: Median filter Replaces pixel value by median value over neighborhood Generates no new gray levels.
Filters– Chapter 6. Filter Difference between a Filter and a Point Operation is that a Filter utilizes a neighborhood of pixels from the input image to.
Image Processing Lab Section 28/3/2016 Prepared by Mahmoud Abdelsatar Demonstrator at IT Dep. Faculty of computers and information Assuit University.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Miguel Tavares Coimbra
Image Subtraction Mask mode radiography h(x,y) is the mask.
Fundamentals of Spatial Filtering:
Digital Image Processing CSC331
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Digital Image Processing Lecture 10: Image Restoration
Image Pre-Processing in the Spatial and Frequent Domain
ECE 692 – Advanced Topics in Computer Vision
Math 3360: Mathematical Imaging
Spatial Filtering - Enhancement
Digital Image Processing
Lecture 10 Image sharpening.
CIS 350 – 3 Image ENHANCEMENT SPATIAL DOMAIN
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
9th Lecture - Image Filters
Image Segmentation Image analysis: First step:
Digital Image Processing Week IV
Enhancement.
Image Filtering with GLSL
Image Enhancement in the Spatial Domain
Presentation transcript:

Image enhancement Last update Heejune Ahn, SeoulTech

Outline Purpose of image enhancment Target Pixel, neighbor hood, filter Linear Filtering Noise Reduction Filters Edge Detection Filters Edge Enhancement Filters

1. Image enhancement Purpose  clarify the information of image  depends upon what to extract Methods  (spatial-domain) filtering: linear or non linear  Freq-domain processing (in Ch5) Info 1 Info 2 Info 3.. Noise Info 1 Info 2 Info 3.. Noise Enha ncem ent original image enhanced image By Human Or Machine Info 1

2. Target, Neighborhood, Filter Target pixel  the pixel for process/interest Connectivity  4 connectivity: N, W, E, S  8 connectivity NB (Neighborhood)  region of (i +/-k, j+/-k), 0<= k <= floor(N/2) NB operation  function(NB of (x,y))  nfilter(Image, range, filterfunc) In MATLAB  Note: function handle: e.g. func max(x[:])

3. Linear Filter and Filter Kernel Step  align center of mask and target pixel  Calculate the weighted sum  Assign it to target pixel mask (kernel) = matrix of weights center of mask target pixel

In convolution notation or Adaptive filtering  Kernel changes depending on the environments

Image boundary  No pixels in NB  Solutions Leave unchanged  Clip image or not Use only available pixels Fill in missing pixels (e.g. replicates) Nonlinear spatial filter  Can in convolution expr.  Cannot in convolution expr. E.g.) ordering, sorting, etc

4. Filter for Noise Reduction Noise type  Salt-pepper, Gaussian Noise simulation  For testing, since we cannot real noise easily.  imnoise(I, type, param) in MATLAB E.g. (‘salt & pepper’, %), (‘gaussian’, variance)

Mean-filter  Kernel:  Characteristics Smoothing (low pass), maintaining same mean value Kernel size : as large, blurring (loss of details) Noise removal perform  good for Gaussian noise, not good for S&P noise Median-Filter  Kernel = median (NB)  Characteristics Preserve sharp edge, remove isolated values

 Noise removal: ok for Gaussian, good for S&P.  Heavy computation: ordering/sorting at every pixel Rank-filter  Generalized median filter  Kernel = rank_n(NB of pixel(x,y))  Special type: max, min filter  Conservative filter I(i) p(i) I(i) o.w.

Gaussian Filter  Kernel  STD: degree of smoothing  Similar to mean filter (LPF) Noise reduction before edge detection  Mathematical benefit Gaussian func. Gaussian func. F

5. Edge Detection Filter Derivate-filters for discontinuity detection  cf) mean/smoothing filters are integration filters   Types : 1 st order, 2 nd order different objects Discontinuity of pixel values in boundary edges

 Complete smooth region: 0 Computational characteristics  Linear operators: kernel implementation  LoG filter Laplacian with Gaussian filter, very popular in feature extraction (e.g SIFT) Not ‘log’arithmic

First order Edgedetector

Computational properties  Separable Filters 2D Fillter O(N 2 ) 1D Fillter O(N) 1D Fillter O(N) O(2N)

2 nd order Edge Detector: Laplacian  detect of change of gradient Boundary at zero crossing Sharp edge than 1 st order detector

Comparisons of edge detectors

Kernel Reduction of Noise sensitivity  Integrated with Gaussian filter : LoG In MATLAB  edge(Img, ‘zerocross’, [], filer) Gaussian (STD) Laplacian LoG

6. Edge enhancement Visual enhancement of boundary  For human perception Methods  Laplacian edge sharpening  Unsharp mask

example