Histogram 直方圖 Statistics of the pixel gray-levels of an image h(r k )=n k : histogram gray level no. of occurrence.

Slides:



Advertisements
Similar presentations
Neighborhood Processing
Advertisements

Spatial Filtering (Chapter 3)
Digital Image Processing
Image Processing Lecture 4
Image Filtering. Outline Outline Concept of image filter  Focus on spatial image filter Various types of image filter  Smoothing, noise reductions 
Chapter 3 Image Enhancement in the Spatial Domain.
Lecture 6 Sharpening Filters
Sliding Window Filters and Edge Detection Longin Jan Latecki Computer Graphics and Image Processing CIS 601 – Fall 2004.
EE 4780 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Digital Image Processing
Image Enhancement in the Spatial Domain II Jen-Chang Liu, 2006.
Digital Image Processing Contrast Enhancement: Part II
Digital Image Processing
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Chapter 3: Image Enhancement in the Spatial Domain
Face Recognition and Biometric Systems 2005/2006 Filters.
6/9/2015Digital Image Processing1. 2 Example Histogram.
Filtering in the Spatial Domain Filtering the spatial domain is achieved by convolution Qualitatively: Slide the filter to each position, x, then sum up.
Introduction to Computer and Human Vision Shimon Ullman, Ronen Basri, Michal Irani Assistants: Lena Gorelick Denis Simakov.
Introduction to Computer and Human Vision Shimon Ullman, Ronen Basri, Michal Irani Assistants: Tal Hassner Eli Shechtman.
Digital Image Processing
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.
1 Vladimir Botchko Lecture 4. Image Enhancement Lappeenranta University of Technology (Finland)
2-D, 2nd Order Derivatives for Image Enhancement
Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Spatial Domain Filtering: Part II.
© 2010 Cengage Learning Engineering. All Rights Reserved.
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.
Chapter 3 Image Enhancement in the Spatial Domain.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Spring 2012Meetings 5 and 6, 7:20PM-10PM Image Processing with Applications-CSCI567/MATH563/MATH489 Lectures 8, 9, 10,11: Spatial Filtering 8. Linear Filters,
Machine Vision for Robots
Computer Vision – Enhancement(Part II) Hanyang University Jong-Il Park.
Spatial Filtering: Basics
Digital Image Processing Image Enhancement Part IV.
Basis beeldverwerking (8D040) dr. Andrea Fuster Prof.dr. Bart ter Haar Romeny dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer Convolution.
Chapter 3 Image Enhancement in the Spatial Domain.
HCI/ComS 575X: Computational Perception Instructor: Alexander Stoytchev
Introduction to Image Processing Grass Sky Tree ? ? Sharpening Spatial Filters.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
Image Processing is replacing Original Pixels by new Pixels using a Transform rst uvw xyz Origin x y Image f (x, y) e processed = v *e + r *a + s *b +
Chapter 10, Part I.  Segmentation subdivides an image into its constituent regions or objects.  Image segmentation methods are generally based on two.
Chapter 5: Neighborhood Processing
Digital Image Processing (Digitaalinen kuvankäsittely) Exercise 2
Spatial Filtering (Applying filters directly on Image) By Engr. Muhammad Saqib.
Image Enhancement ارتقاء تصویر Enhancement Spatial Domain Frequency Domain.
Chapter 5: Neighborhood Processing 5.1 Introduction
İmage enhancement Prepare image for further processing steps for specific applications.
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.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Digital Image Processing Lecture - 6 Autumn 2009.
Image Enhancement by Spatial Domain Filtering
Sharpening Spatial Filters ( high pass)  Previously we have looked at smoothing filters which remove fine detail  Sharpening spatial filters seek to.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Digital Image Processing Week V Thurdsak LEAUHATONG.
M ATLAB L ECTURE 3 Histogram Processing. H ISTOGRAM E QUALIZATION The imhist function create a histogram that show the distribution of intensities in.
Lecture Seven Figures from Gonzales and Woods, Digital Image Processing, Copyright 2002.
Sliding Window Filters Longin Jan Latecki October 9, 2002.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof
Digital Image Processing CSC331
ECE 692 – Advanced Topics in Computer Vision
Image Enhancement in the
Digital Image Processing
Lecture 10 Image sharpening.
CIS 350 – 3 Image ENHANCEMENT SPATIAL DOMAIN
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
Linear Operations Using Masks
The Image The pixels in the image The mask The resulting image 255 X
All about convolution.
Presentation transcript:

Histogram 直方圖 Statistics of the pixel gray-levels of an image h(r k )=n k : histogram gray level no. of occurrence

histogram p=imread( ‘ pout.tif ’ ); imshow(p), figure, imhist(p), axis tight

Histogram equalization ph=histeq(p);

Histogram equalization (cont.) [ph, t]=histeq(p); plot(t), title('transform function'); Exercise#1. Apply histogram equalization to tire image

Filtering in MATLAB x=uint8(10*magic(5)); a=ones(3,3)/9; filter2(a,x, ’ same ’ ); % output has same size, zero padding filter2(a,x, ’ valid ’ ); % apply to inside of image filter2(a,x, ’ full ’ ); % apply to each intersection between mask and image ans =

Exercise#2: average filtering Use the test pattern to generate the following results. original 5x5 15x15 3x3 9x9 35x35

Definition of 1st derivative in mask filters Sobel operators

Exercise#3: 1st derivative Apply the Sobel filters to the lens image 水平邊 垂直邊 | 垂直邊 |+ | 水平邊 |

Definition of 2nd derivatives in filter mask: Laplacian 90 0 rotation invariant 45 0 rotation invariant (include Diagonals)

Exercise#4: sharpening filter Generate the right images original Laplacian scaled sharpened