Prof. Vidya Manian Dept. of Electrical and Comptuer Engineering

Size: px
Start display at page:

Download "Prof. Vidya Manian Dept. of Electrical and Comptuer Engineering"

Transcription

1 Image Processing Intensity Transformations Chapter 3 Prof. Vidya Manian Dept. of Electrical and Comptuer Engineering INEL 5327 ECE, UPRM Intensity Transformations 1

2 Overview Background Basic intensity transformation functions Histogram processing INEL 5327 ECE, UPRM 2

3 3x3 neighborhood of a point (x,y) INEL 5327 ECE, UPRM 3

4 Intensity or gray level or mapping S=T(r) transformation function Resulting image has higher contrast by darkening the intensity levels below k and brightening the levels above k Contrast stretching values of r lower than k are compressed by the transformation function into a narrow range of s, toward black, vice versa for values of r higher than k INEL 5327 ECE, UPRM 4

5 Contrast stretching and thresholding functions INEL 5327 ECE, UPRM 5

6 Thresholding function T(r) produces a two level (binary) image limiting case Intensity transformations are used for image enhancement Also for image segmentation Two types: point processing and neighborhood processing INEL 5327 ECE, UPRM 6

7 S=T(r) Basic intensity transformation functions Mapping from r to s are implemented via a lookup table For 8 bits, lookup table has 256 entries. Types of functions: linear (negative and identity transformations) Power law (nth power and nth root transformations) INEL 5327 ECE, UPRM 7

8 Basic intensity transformation functions INEL 5327 ECE, UPRM 8

9 Image negatives Negative transformation s=l 1 r Log transformation: s=c log (1+r) c is a constant, r 0 Maps range of low intensity values in the input to wider range of output levels Expands dark pixels in an image and compresses the higher level values (white pixels) Usefulfor for Fourier spectrum: spectra values range from 0 to 10^6 or higher. Detail lost in the display of Fourier spectrum INEL 5327 ECE, UPRM 9

10 Original image and negative image obtained using the negative transormation INEL 5327 ECE, UPRM 10

11 Fourier spectrum and log transformation INEL 5327 ECE, UPRM 11

12 Fourier spectrum with values in range of 0 to 1.5 x 10^6 (Fig. 3.5 a) only few pixels are white. First use log transformation with c=1, range of values become 0 to Fig 3.5b has better scaling and shows more detail. INEL 5327 ECE, UPRM 12

13 Power law (Gamma) transformations s=cr Where c and are positive constants. s=c(r+ ) to account for an offset due to display calibration power law curves with fractional values of map a narrow range of dark input values to a wider range of output tvalues, and opposite for higher h values of input levels >1 has opposite effect of <1. Also called Gamma correction Device dependent, CRT displays, image capture, printing INEL 5327 ECE, UPRM 13

14 INEL 5327 ECE, UPRM 14

15 Preprocess image before input to monitor by s=r^(1/2.5)=r^(0.4) Gamma corrected output has appearance close to original Applicable to scanners, printers Use of digital images for commercial purpose over Internet has increased Solution display image after gamma correction to value that represents average of the types of monitors and computer systems to be used to display the image. INEL 5327 ECE, UPRM 15

16 INEL 5327 ECE, UPRM 16

17 INEL 5327 ECE, UPRM 17

18 Contrast stretching INEL 5327 ECE, UPRM 18

19 INEL 5327 ECE, UPRM 19

20 INEL 5327 ECE, UPRM 20

21 Bit plane representation of an 8 bit image INEL 5327 ECE, UPRM 21

22 INEL 5327 ECE, UPRM 22

23 INEL 5327 ECE, UPRM 23

24 Four basic image types INEL 5327 ECE, UPRM 24

25 Histogram equalization INEL 5327 ECE, UPRM 25

26 Transformation functions for Histogram equalization in Fig INEL 5327 ECE, UPRM 26

27 Example of histogram equalization INEL 5327 ECE, UPRM 27

28 Histogram INEL 5327 ECE, UPRM 28

29 Histogram equalized image INEL 5327 ECE, UPRM 29

30 Specified Histogram INEL 5327 ECE, UPRM 30

31 Steps for Histogram Matching Obtain Pr(r) from input image and obtain values of s Use specified pdf to obtain the transformation function G(z) Obtain the inverse transformation z=g 1 (s); (); mapping from s to z Obtain output image by first equalizing input image. For each pixel with value s, perform inverse mapping z=g 1 (s) to obtain corresponding output pixel When all pixels are processed the pdf of output image is equal to specified pdf INEL 5327 ECE, UPRM 31

32 Local Histogram equalization INEL 5327 ECE, UPRM 32

33 Global and local histogram equalization INEL 5327 ECE, UPRM 33

34 Fundamentals of spatial filtering Filter: accepting(passing) or rejecting certain frequency components Spatial filter consists of (1) a neighborhood (a small rectangle) and (2) predefined operation performed on the image pixels encompassed by the neighborhood Linear and non linear filters INEL 5327 ECE, UPRM 34

35 Basics of Spatial Filtering Neighborhood subimage filter, mask, kernel, template, or window Values in mask coefficients Response R of linear filtering with the filter mask at a point (x,y) in the image is: R=w( 1, 1)f(x 1,y 1)+w( 1,0)f(x 1,y)+ +w(0,0)f(x,y)+ +w(1,0)f(x+1,y)+w(1,1)f(x+1,y+ 0)f(x +w(1 0)f(x+1 y)+w(1 1)f(x+1 y+ 1) INEL 5327 ECE, UPRM 35

36 Mechanics of spatial filtering W(0,0) 0) center coefficient of the filter Mask of size mxm, m=2a+1 and n=2b+1, where a and b are positive integers Smallest size 3x3 INEL 5327 ECE, UPRM 36

37

38 Spatial correlation and convolution Correlation o is the epocesso process of moving ga filter mask over the image and computing the sum of products at each location. Convolution is the same except that the filter is rotated by 180 degrees. Rotation is equivalent to horizontal flipping In 2Drotation is equivalent to flipping the mask along one axis and then the other Fig shows 1 D convolution and correlation INEL 5327 ECE, UPRM 38

39 INEL 5327 ECE, UPRM 39

40 Correlation and convolution INEL 5327 ECE, UPRM 40

41 Smoothing spatial filters

42 Smoothing linear filters An mxn mask would have a normalizing constant equal to 1/mn. A spatial averaging filter in which all coefficients are equal is called a box filter The diagonal terms are further away from center and hence are weighted less than the immediate neighbors Sum of coefficients =16 is useful for easy computer implementation ( a power of 2) INEL 5327 ECE, UPRM 42

43 Effect of smoothing as a function of fl filter size Average filters of sizes m=3,5,9,15 and 35 pixels Larger size windows for blurring removes smaller objects from image A gross representation of objects of interest is obtained Intensity of smaller objects blends with background and larger objects become bloblike INEL 5327 ECE, UPRM 43

44 INEL 5327 ECE, UPRM 44

45 Order statistics (nonlinear) filters Response of nonlinear filters based on ordering(ranking) the pixels contained in the image area encompassed by the filter Median filter to remove impulse noise (salt and pepper noise) Sort the pixel values in the window (say 3x3 ) and assign the median value to the center pixel Forces pixels with distinct intensity levels to be more like its neighbors ihb Max, min filters INEL 5327 ECE, UPRM 45

46 Image filtered with a 15x15 averaging mask INEL 5327 ECE, UPRM 46

47 INEL 5327 ECE, UPRM 47

48 Sharpening spatial filters Highlights transition in intensities Blurring by pixel averaging Sharpening by spatial ildifferentiationi i Enhances edges and other discontinuities such as noise Based on first and second order derivatives INEL 5327 ECE, UPRM 48

49 First and second derivatives of a 1D signal INEL 5327 ECE, UPRM 49

50 Sharpening spatial filters f f f( x 1) f( x) x 2 f f ( x 1) f( x 1) 2 f( x) 2 x x Change between adjacent pixels First and second derivative (1) Must be zero in flat areas; (2) Non zero at the onset of gray level step or ramp (3) First derivative non zero along ramps; second derivative Zero along ramps of cnstant slope INEL 5327 ECE, UPRM 50

51 The Laplacian for enhancement (the second derivative) i f x f y f 2 2 In the x direction 2 f f( x 1, y) f( x 1, y) 2 f( x, y) 2 x In the y direction 2 f f( x, y 1) f( x, y 1) 2 f( x, y) 2 x Sum min g f [ f( x, y 1) f( x, y 1) f( x 1, y) f( x 1, y)] 4 f( x, y) 2 INEL 5327 ECE, UPRM 51

52 INEL 5327 ECE, UPRM 52

53 Second derivative the the Laplacian INEL 5327 ECE, UPRM 53

54 Blurring using Gaussian filter INEL 5327 ECE, UPRM 54

55 INEL 5327 ECE, UPRM 55

56 The Gradient for enhancement (the first derivative) i f Gx x f G y f y f mag ( f ) [ G G ] 2 2 1/2 x y 2 f f x y 2 1/2 f ( z 2 z z ) ( z 2 z z ) ( z 2 z z ) ( z 2 z z ) INEL 5327 ECE, UPRM 56

57 INEL 5327 ECE, UPRM 57

58 Composite Laplacian mask

59 Sobel gradient INEL 5327 ECE, UPRM 59

60 INEL 5327 ECE, UPRM 60

61 INEL 5327 ECE, UPRM 61

62 Exercise in group Propose a set of intensity slicing slicing transformations capable of producing all the individual bit planes of an 8bit monochrome image. T(r)=0 in range [0,127] and T(r)=255 for r in range [128,255] produces an image of the 8 th bit plane in an 8 bit image. Given the Gaussian pdf what is the transformation function you would use for histogram equalization. INEL 5327 ECE, UPRM 62

63 Exercises on spatial filtering ,3.2,3.4, , , , 38to , , 3.17, 3.19, 3.21, 3.23, 3.24, 3.25, 3.27, 3.28, 3.29 INEL 5327 ECE, UPRM 63

64 31)Givea 3.1)Give single intensity transformation function for spreading the intensities of an image so the lowest intensity is 0 and highest is L 1. 35)What 3.5) effect would setting to zero the lower order bit planes have on the histogram of an image in general. INEL 5327 ECE, UPRM 64

65 3.6) 6)Explain why discrete histogram equalization does not in general yield a flat histogram. Answer: To get a flat histogram, pixel intensities should be redistributed so that there are L groups of n/l pixels with same intensity and n=mn. INEL 5327 ECE, UPRM 65

66 37)Suppose 3.7) that a digital image is subjected to histogram equalization. Show that a second pass of histogram equalization (on the histogram equalized image) will produce exactly the same result as the first pass. INEL 5327 ECE, UPRM 66

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering CoE4TN4 Image Processing Chapter 3: Intensity Transformation and Spatial Filtering Image Enhancement Enhancement techniques: to process an image so that the result is more suitable than the original image

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Part 2: Image Enhancement Digital Image Processing Course Introduction in the Spatial Domain Lecture AASS Learning Systems Lab, Teknik Room T26 achim.lilienthal@tech.oru.se Course

More information

Filtering in the spatial domain (Spatial Filtering)

Filtering in the spatial domain (Spatial Filtering) Filtering in the spatial domain (Spatial Filtering) refers to image operators that change the gray value at any pixel (x,y) depending on the pixel values in a square neighborhood centered at (x,y) using

More information

Image Enhancement in spatial domain. Digital Image Processing GW Chapter 3 from Section (pag 110) Part 2: Filtering in spatial domain

Image Enhancement in spatial domain. Digital Image Processing GW Chapter 3 from Section (pag 110) Part 2: Filtering in spatial domain Image Enhancement in spatial domain Digital Image Processing GW Chapter 3 from Section 3.4.1 (pag 110) Part 2: Filtering in spatial domain Mask mode radiography Image subtraction in medical imaging 2 Range

More information

Image Enhancement in the Spatial Domain (Part 1)

Image Enhancement in the Spatial Domain (Part 1) Image Enhancement in the Spatial Domain (Part 1) Lecturer: Dr. Hossam Hassan Email : hossameldin.hassan@eng.asu.edu.eg Computers and Systems Engineering Principle Objective of Enhancement Process an image

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Lecture # 5 Image Enhancement in Spatial Domain- I ALI JAVED Lecturer SOFTWARE ENGINEERING DEPARTMENT U.E.T TAXILA Email:: ali.javed@uettaxila.edu.pk Office Room #:: 7 Presentation

More information

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction Table of contents Vision industrielle 2002/2003 Session - Image Processing Département Génie Productique INSA de Lyon Christian Wolf wolf@rfv.insa-lyon.fr Introduction Motivation, human vision, history,

More information

Image Enhancement using Histogram Equalization and Spatial Filtering

Image Enhancement using Histogram Equalization and Spatial Filtering Image Enhancement using Histogram Equalization and Spatial Filtering Fari Muhammad Abubakar 1 1 Department of Electronics Engineering Tianjin University of Technology and Education (TUTE) Tianjin, P.R.

More information

TDI2131 Digital Image Processing

TDI2131 Digital Image Processing TDI2131 Digital Image Processing Image Enhancement in Spatial Domain Lecture 3 John See Faculty of Information Technology Multimedia University Some portions of content adapted from Zhu Liu, AT&T Labs.

More information

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

IMAGE ENHANCEMENT IN SPATIAL DOMAIN A First Course in Machine Vision IMAGE ENHANCEMENT IN SPATIAL DOMAIN By: Ehsan Khoramshahi Definitions The principal objective of enhancement is to process an image so that the result is more suitable

More information

LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII

LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII IMAGE PROCESSING INDEX CLASS: B.E(COMPUTER) SR. NO SEMESTER:VII TITLE OF THE EXPERIMENT. 1 Point processing in spatial domain a. Negation of an

More information

Non Linear Image Enhancement

Non Linear Image Enhancement Non Linear Image Enhancement SAIYAM TAKKAR Jaypee University of information technology, 2013 SIMANDEEP SINGH Jaypee University of information technology, 2013 Abstract An image enhancement algorithm based

More information

What is image enhancement? Point operation

What is image enhancement? Point operation IMAGE ENHANCEMENT 1 What is image enhancement? Image enhancement techniques Point operation 2 What is Image Enhancement? Image enhancement is to process an image so that the result is more suitable than

More information

Digital Image Processing. Lecture # 3 Image Enhancement

Digital Image Processing. Lecture # 3 Image Enhancement Digital Image Processing Lecture # 3 Image Enhancement 1 Image Enhancement Image Enhancement 3 Image Enhancement 4 Image Enhancement Process an image so that the result is more suitable than the original

More information

Computer Vision. Intensity transformations

Computer Vision. Intensity transformations Computer Vision Intensity transformations Filippo Bergamasco (filippo.bergamasco@unive.it) http://www.dais.unive.it/~bergamasco DAIS, Ca Foscari University of Venice Academic year 2016/2017 Introduction

More information

1.Discuss the frequency domain techniques of image enhancement in detail.

1.Discuss the frequency domain techniques of image enhancement in detail. 1.Discuss the frequency domain techniques of image enhancement in detail. Enhancement In Frequency Domain: The frequency domain methods of image enhancement are based on convolution theorem. This is represented

More information

Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016

Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016 Image acquisition Midterm Review Image Processing CSE 166 Lecture 10 2 Digitization, line of image Digitization, whole image 3 4 Geometric transformations Interpolation CSE 166 Transpose these matrices

More information

Image Enhancement in Spatial Domain

Image Enhancement in Spatial Domain Image Enhancement in Spatial Domain 2 Image enhancement is a process, rather a preprocessing step, through which an original image is made suitable for a specific application. The application scenarios

More information

Practical Image and Video Processing Using MATLAB

Practical Image and Video Processing Using MATLAB Practical Image and Video Processing Using MATLAB Chapter 10 Neighborhood processing What will we learn? What is neighborhood processing and how does it differ from point processing? What is convolution

More information

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University Achim J. Lilienthal Mobile Robotics and Olfaction Lab, Room T29, Mo, -2 o'clock AASS, Örebro University (please drop me an email in advance) achim.lilienthal@oru.se 4.!!!!!!!!! Pre-Class Reading!!!!!!!!!

More information

Preparing Remote Sensing Data for Natural Resources Mapping (image enhancement, rectifications )

Preparing Remote Sensing Data for Natural Resources Mapping (image enhancement, rectifications ) Preparing Remote Sensing Data for Natural Resources Mapping (image enhancement, rectifications ) Why is this important What are the major approaches Examples of digital image enhancement Follow up exercises

More information

To process an image so that the result is more suitable than the original image for a specific application.

To process an image so that the result is more suitable than the original image for a specific application. by Shahid Farid 1 To process an image so that the result is more suitable than the original image for a specific application. Categories: Spatial domain methods and Frequency domain methods 2 Procedures

More information

EE482: Digital Signal Processing Applications

EE482: Digital Signal Processing Applications Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu EE482: Digital Signal Processing Applications Spring 2014 TTh 14:30-15:45 CBC C222 Lecture 15 Image Processing 14/04/15 http://www.ee.unlv.edu/~b1morris/ee482/

More information

Spatial Domain Processing and Image Enhancement

Spatial Domain Processing and Image Enhancement Spatial Domain Processing and Image Enhancement Lecture 4, Feb 18 th, 2008 Lexing Xie EE4830 Digital Image Processing http://www.ee.columbia.edu/~xlx/ee4830/ thanks to Shahram Ebadollahi and Min Wu for

More information

Digital Image Processing Chapter 3: Image Enhancement in the Spatial Domain

Digital Image Processing Chapter 3: Image Enhancement in the Spatial Domain Digital Image Processing Chapter 3: Image Enhancement in the Spatial Domain Principle Objective o Enhancement Process an image so that the result will be more suitable than the original image or a speciic

More information

IMAGE PROCESSING: AREA OPERATIONS (FILTERING)

IMAGE PROCESSING: AREA OPERATIONS (FILTERING) IMAGE PROCESSING: AREA OPERATIONS (FILTERING) N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture # 13 IMAGE PROCESSING: AREA OPERATIONS (FILTERING) N. C. State University

More information

Computer Graphics Fundamentals

Computer Graphics Fundamentals Computer Graphics Fundamentals Jacek Kęsik, PhD Simple converts Rotations Translations Flips Resizing Geometry Rotation n * 90 degrees other Geometry Rotation n * 90 degrees other Geometry Translations

More information

Enhancement Techniques for True Color Images in Spatial Domain

Enhancement Techniques for True Color Images in Spatial Domain Enhancement Techniques for True Color Images in Spatial Domain 1 I. Suneetha, 2 Dr. T. Venkateswarlu 1 Dept. of ECE, AITS, Tirupati, India 2 Dept. of ECE, S.V.University College of Engineering, Tirupati,

More information

Image Enhancement. DD2423 Image Analysis and Computer Vision. Computational Vision and Active Perception School of Computer Science and Communication

Image Enhancement. DD2423 Image Analysis and Computer Vision. Computational Vision and Active Perception School of Computer Science and Communication Image Enhancement DD2423 Image Analysis and Computer Vision Mårten Björkman Computational Vision and Active Perception School of Computer Science and Communication November 15, 2013 Mårten Björkman (CVAP)

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Part : Image Enhancement in the Spatial Domain AASS Learning Systems Lab, Dep. Teknik Room T9 (Fr, - o'clock) achim.lilienthal@oru.se Course Book Chapter 3-4- Contents. Image Enhancement

More information

Image Filtering. Median Filtering

Image Filtering. Median Filtering Image Filtering Image filtering is used to: Remove noise Sharpen contrast Highlight contours Detect edges Other uses? Image filters can be classified as linear or nonlinear. Linear filters are also know

More information

Image Enhancement in the Spatial Domain

Image Enhancement in the Spatial Domain Image Enhancement in the Spatial Domain Algorithms for improving the visual appearance of images Gamma correction Contrast improvements Histogram equalization Noise reduction Image sharpening Optimality

More information

Frequency Domain Enhancement

Frequency Domain Enhancement Tutorial Report Frequency Domain Enhancement Page 1 of 21 Frequency Domain Enhancement ESE 558 - DIGITAL IMAGE PROCESSING Tutorial Report Instructor: Murali Subbarao Written by: Tutorial Report Frequency

More information

VU Signal and Image Processing. Image Enhancement. Torsten Möller + Hrvoje Bogunović + Raphael Sahann

VU Signal and Image Processing. Image Enhancement. Torsten Möller + Hrvoje Bogunović + Raphael Sahann 052600 VU Signal and Image Processing Image Enhancement Torsten Möller + Hrvoje Bogunović + Raphael Sahann torsten.moeller@univie.ac.at hrvoje.bogunovic@meduniwien.ac.at raphael.sahann@univie.ac.at vda.cs.univie.ac.at/teaching/sip/17s/

More information

Midterm Review. Image Processing CSE 166 Lecture 10

Midterm Review. Image Processing CSE 166 Lecture 10 Midterm Review Image Processing CSE 166 Lecture 10 Topics covered Image acquisition, geometric transformations, and image interpolation Intensity transformations Spatial filtering Fourier transform and

More information

Chapter 2 Image Enhancement in the Spatial Domain

Chapter 2 Image Enhancement in the Spatial Domain Chapter 2 Image Enhancement in the Spatial Domain Abstract Although the transform domain processing is essential, as the images naturally occur in the spatial domain, image enhancement in the spatial domain

More information

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad - 500 043 ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK Course Title Course Code Class Branch DIGITAL IMAGE PROCESSING A70436 IV B. Tech.

More information

Computer Vision, Lecture 3

Computer Vision, Lecture 3 Computer Vision, Lecture 3 Professor Hager http://www.cs.jhu.edu/~hager /4/200 CS 46, Copyright G.D. Hager Outline for Today Image noise Filtering by Convolution Properties of Convolution /4/200 CS 46,

More information

Digital Image Processing Chapter 6: Color Image Processing ( )

Digital Image Processing Chapter 6: Color Image Processing ( ) Digital Image Processing Chapter 6: Color Image Processing (6.4 6.9) 6.4 Basics of Full-Color Image Processing Full-color images are handled for a variety of image processing tasks. Full-color image processing

More information

CS 445 HW#2 Solutions

CS 445 HW#2 Solutions 1. Text problem 3.1 CS 445 HW#2 Solutions (a) General form: problem figure,. For the condition shown in the Solving for K yields Then, (b) General form: the problem figure, as in (a) so For the condition

More information

DIGITAL IMAGE DE-NOISING FILTERS A COMPREHENSIVE STUDY

DIGITAL IMAGE DE-NOISING FILTERS A COMPREHENSIVE STUDY INTERNATIONAL JOURNAL OF RESEARCH IN COMPUTER APPLICATIONS AND ROBOTICS ISSN 2320-7345 DIGITAL IMAGE DE-NOISING FILTERS A COMPREHENSIVE STUDY Jaskaranjit Kaur 1, Ranjeet Kaur 2 1 M.Tech (CSE) Student,

More information

Image Processing. 2. Point Processes. Computer Engineering, Sejong University Dongil Han. Spatial domain processing

Image Processing. 2. Point Processes. Computer Engineering, Sejong University Dongil Han. Spatial domain processing Image Processing 2. Point Processes Computer Engineering, Sejong University Dongil Han Spatial domain processing g(x,y) = T[f(x,y)] f(x,y) : input image g(x,y) : processed image T[.] : operator on f, defined

More information

Introduction to DSP ECE-S352 Fall Quarter 2000 Matlab Project 1

Introduction to DSP ECE-S352 Fall Quarter 2000 Matlab Project 1 Objective: Introduction to DSP ECE-S352 Fall Quarter 2000 Matlab Project 1 This Matlab Project is an extension of the basic correlation theory presented in the course. It shows a practical application

More information

Image preprocessing in spatial domain

Image preprocessing in spatial domain Image preprocessing in spatial domain convolution, convolution theorem, cross-correlation Revision:.3, dated: December 7, 5 Tomáš Svoboda Czech Technical University, Faculty of Electrical Engineering Center

More information

CSE 564: Scientific Visualization

CSE 564: Scientific Visualization CSE 564: Scientific Visualization Lecture 5: Image Processing Klaus Mueller Stony Brook University Computer Science Department Klaus Mueller, Stony Brook 2003 Image Processing Definitions Purpose: - enhance

More information

CS534 Introduction to Computer Vision. Linear Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

CS534 Introduction to Computer Vision. Linear Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University CS534 Introduction to Computer Vision Linear Filters Ahmed Elgammal Dept. of Computer Science Rutgers University Outlines What are Filters Linear Filters Convolution operation Properties of Linear Filters

More information

Prof. Feng Liu. Winter /10/2019

Prof. Feng Liu. Winter /10/2019 Prof. Feng Liu Winter 29 http://www.cs.pdx.edu/~fliu/courses/cs4/ //29 Last Time Course overview Admin. Info Computer Vision Computer Vision at PSU Image representation Color 2 Today Filter 3 Today Filters

More information

Chapter 3 Image Enhancement in the Spatial Domain. Chapter 3 Image Enhancement in the Spatial Domain

Chapter 3 Image Enhancement in the Spatial Domain. Chapter 3 Image Enhancement in the Spatial Domain It makes all the difference whether one sees darkness through the light or brightness through the shadows. - David Lindsay 3.1 Background 76 3.2 Some Basic Gray Level Transformations 78 3.3 Histogram Processing

More information

from: Point Operations (Single Operands)

from:  Point Operations (Single Operands) from: http://www.khoral.com/contrib/contrib/dip2001 Point Operations (Single Operands) Histogram Equalization Histogram equalization is as a contrast enhancement technique with the objective to obtain

More information

Lecture 4: Spatial Domain Processing and Image Enhancement

Lecture 4: Spatial Domain Processing and Image Enhancement I2200: Digital Image processing Lecture 4: Spatial Domain Processing and Image Enhancement Prof. YingLi Tian Sept. 27, 2017 Department of Electrical Engineering The City College of New York The City University

More information

IMAGE ENHANCEMENT - POINT PROCESSING

IMAGE ENHANCEMENT - POINT PROCESSING 1 IMAGE ENHANCEMENT - POINT PROCESSING KOM3212 Image Processing in Industrial Systems Some of the contents are adopted from R. C. Gonzalez, R. E. Woods, Digital Image Processing, 2nd edition, Prentice

More information

Digital Image Processing. Digital Image Fundamentals II 12 th June, 2017

Digital Image Processing. Digital Image Fundamentals II 12 th June, 2017 Digital Image Processing Digital Image Fundamentals II 12 th June, 2017 Image Enhancement Image Enhancement Types of Image Enhancement Operations Neighborhood Operations on Images Spatial Filtering Filtering

More information

Image Filtering. Reading Today s Lecture. Reading for Next Time. What would be the result? Some Questions from Last Lecture

Image Filtering. Reading Today s Lecture. Reading for Next Time. What would be the result? Some Questions from Last Lecture Image Filtering HCI/ComS 575X: Computational Perception Instructor: Alexander Stoytchev http://www.cs.iastate.edu/~alex/classes/2007_spring_575x/ January 24, 2007 HCI/ComS 575X: Computational Perception

More information

Step 5) Split the red data using the Multi Scale Decomposition tool into a detail and residual background image.

Step 5) Split the red data using the Multi Scale Decomposition tool into a detail and residual background image. Step 1) Press the Copy Portion toolbar button then left-click and drag a rectangle to crop the image. Press the Copy Portion button again to turn off cropping. Step 2) Scale the cropped image by 0.50 to

More information

Reading Instructions Chapters for this lecture. Computer Assisted Image Analysis Lecture 2 Point Processing. Image Processing

Reading Instructions Chapters for this lecture. Computer Assisted Image Analysis Lecture 2 Point Processing. Image Processing 1/34 Reading Instructions Chapters for this lecture 2/34 Computer Assisted Image Analysis Lecture 2 Point Processing Anders Brun (anders@cb.uu.se) Centre for Image Analysis Swedish University of Agricultural

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Lecture # 10 Color Image Processing ALI JAVED Lecturer SOFTWARE ENGINEERING DEPARTMENT U.E.T TAXILA Email:: ali.javed@uettaxila.edu.pk Office Room #:: 7 Pseudo-Color (False Color)

More information

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and 8.1 INTRODUCTION In this chapter, we will study and discuss some fundamental techniques for image processing and image analysis, with a few examples of routines developed for certain purposes. 8.2 IMAGE

More information

Image filtering, image operations. Jana Kosecka

Image filtering, image operations. Jana Kosecka Image filtering, image operations Jana Kosecka - photometric aspects of image formation - gray level images - point-wise operations - linear filtering Image Brightness values I(x,y) Images Images contain

More information

Images and Filters. EE/CSE 576 Linda Shapiro

Images and Filters. EE/CSE 576 Linda Shapiro Images and Filters EE/CSE 576 Linda Shapiro What is an image? 2 3 . We sample the image to get a discrete set of pixels with quantized values. 2. For a gray tone image there is one band F(r,c), with values

More information

Lecture No Image Filtering (course: Computer Vision)

Lecture No Image Filtering (course: Computer Vision) Lecture No. 34-35 Image Filtering (course: Computer Vision) e- mail: naeemmahoto@gmail.com Department of So9ware Engineering, Mehran UET Jamshoro, Sind, Pakistan Enhancement using Arithme0c/ Logic Opera0ons

More information

Filtering. Image Enhancement Spatial and Frequency Based

Filtering. Image Enhancement Spatial and Frequency Based Filtering Image Enhancement Spatial and Frequency Based Brent M. Dingle, Ph.D. 2015 Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Lecture

More information

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase Fourier Transform Fourier Transform Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase 2 1 3 3 3 1 sin 3 3 1 3 sin 3 1 sin 5 5 1 3 sin

More information

SYLLABUS CHAPTER - 2 : INTENSITY TRANSFORMATIONS. Some Basic Intensity Transformation Functions, Histogram Processing.

SYLLABUS CHAPTER - 2 : INTENSITY TRANSFORMATIONS. Some Basic Intensity Transformation Functions, Histogram Processing. Contents i SYLLABUS UNIT - I CHAPTER - 1 : INTRODUCTION TO DIGITAL IMAGE PROCESSING Introduction, Origins of Digital Image Processing, Applications of Digital Image Processing, Fundamental Steps, Components,

More information

Chapter 17. Shape-Based Operations

Chapter 17. Shape-Based Operations Chapter 17 Shape-Based Operations An shape-based operation identifies or acts on groups of pixels that belong to the same object or image component. We have already seen how components may be identified

More information

CS/ECE 545 (Digital Image Processing) Midterm Review

CS/ECE 545 (Digital Image Processing) Midterm Review CS/ECE 545 (Digital Image Processing) Midterm Review Prof Emmanuel Agu Computer Science Dept. Worcester Polytechnic Institute (WPI) Exam Overview Wednesday, March 5, 2014 in class Will cover up to lecture

More information

Examples of image processing

Examples of image processing Examples of image processing Example 1: We would like to automatically detect and count rings in the image 3 Detection by correlation Correlation = degree of similarity Correlation between f(x, y) and

More information

Filtering Images in the Spatial Domain Chapter 3b G&W. Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah

Filtering Images in the Spatial Domain Chapter 3b G&W. Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah Filtering Images in the Spatial Domain Chapter 3b G&W Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah 1 Overview Correlation and convolution Linear filtering Smoothing, kernels,

More information

Filip Malmberg 1TD396 fall 2018 Today s lecture

Filip Malmberg 1TD396 fall 2018 Today s lecture Today s lecture Local neighbourhood processing Convolution smoothing an image sharpening an image And more What is it? What is it useful for? How can I compute it? Removing uncorrelated noise from an image

More information

ECC419 IMAGE PROCESSING

ECC419 IMAGE PROCESSING ECC419 IMAGE PROCESSING INTRODUCTION Image Processing Image processing is a subclass of signal processing concerned specifically with pictures. Digital Image Processing, process digital images by means

More information

TIRF, geometric operators

TIRF, geometric operators TIRF, geometric operators Last class FRET TIRF This class Finish up of TIRF Geometric image processing TIRF light confinement II(zz) = II 0 ee zz/dd 1 TIRF Intensity for d = 300 nm 0.9 0.8 0.7 0.6 Relative

More information

Image Processing for feature extraction

Image Processing for feature extraction Image Processing for feature extraction 1 Outline Rationale for image pre-processing Gray-scale transformations Geometric transformations Local preprocessing Reading: Sonka et al 5.1, 5.2, 5.3 2 Image

More information

DIGITAL IMAGE PROCESSING Quiz exercises preparation for the midterm exam

DIGITAL IMAGE PROCESSING Quiz exercises preparation for the midterm exam DIGITAL IMAGE PROCESSING Quiz exercises preparation for the midterm exam In the following set of questions, there are, possibly, multiple correct answers (1, 2, 3 or 4). Mark the answers you consider correct.

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Dr. T.R. Ganesh Babu Professor, Department of Electronics and Communication Engineering, Muthayammal Engineering College, Rasipuram, Namakkal Dist. S. Leo Pauline Assistant Professor,

More information

BBM 413! Fundamentals of! Image Processing!

BBM 413! Fundamentals of! Image Processing! BBM 413! Fundamentals of! Image Processing! Today s topics" Point operations! Histogram processing! Erkut Erdem" Dept. of Computer Engineering" Hacettepe University" "! Point Operations! Histogram Processing!

More information

Vision Review: Image Processing. Course web page:

Vision Review: Image Processing. Course web page: Vision Review: Image Processing Course web page: www.cis.udel.edu/~cer/arv September 7, Announcements Homework and paper presentation guidelines are up on web page Readings for next Tuesday: Chapters 6,.,

More information

BBM 413 Fundamentals of Image Processing. Erkut Erdem Dept. of Computer Engineering Hacettepe University. Point Operations Histogram Processing

BBM 413 Fundamentals of Image Processing. Erkut Erdem Dept. of Computer Engineering Hacettepe University. Point Operations Histogram Processing BBM 413 Fundamentals of Image Processing Erkut Erdem Dept. of Computer Engineering Hacettepe University Point Operations Histogram Processing Today s topics Point operations Histogram processing Today

More information

Part I Feature Extraction (1) Image Enhancement. CSc I6716 Spring Local, meaningful, detectable parts of the image.

Part I Feature Extraction (1) Image Enhancement. CSc I6716 Spring Local, meaningful, detectable parts of the image. CSc I6716 Spring 211 Introduction Part I Feature Extraction (1) Zhigang Zhu, City College of New York zhu@cs.ccny.cuny.edu Image Enhancement What are Image Features? Local, meaningful, detectable parts

More information

BBM 413 Fundamentals of Image Processing. Erkut Erdem Dept. of Computer Engineering Hacettepe University. Point Operations Histogram Processing

BBM 413 Fundamentals of Image Processing. Erkut Erdem Dept. of Computer Engineering Hacettepe University. Point Operations Histogram Processing BBM 413 Fundamentals of Image Processing Erkut Erdem Dept. of Computer Engineering Hacettepe University Point Operations Histogram Processing Today s topics Point operations Histogram processing Today

More information

Computing for Engineers in Python

Computing for Engineers in Python Computing for Engineers in Python Lecture 10: Signal (Image) Processing Autumn 2011-12 Some slides incorporated from Benny Chor s course 1 Lecture 9: Highlights Sorting, searching and time complexity Preprocessing

More information

GE 113 REMOTE SENSING. Topic 7. Image Enhancement

GE 113 REMOTE SENSING. Topic 7. Image Enhancement GE 113 REMOTE SENSING Topic 7. Image Enhancement Lecturer: Engr. Jojene R. Santillan jrsantillan@carsu.edu.ph Division of Geodetic Engineering College of Engineering and Information Technology Caraga State

More information

Matlab (see Homework 1: Intro to Matlab) Linear Filters (Reading: 7.1, ) Correlation. Convolution. Linear Filtering (warm-up slide) R ij

Matlab (see Homework 1: Intro to Matlab) Linear Filters (Reading: 7.1, ) Correlation. Convolution. Linear Filtering (warm-up slide) R ij Matlab (see Homework : Intro to Matlab) Starting Matlab from Unix: matlab & OR matlab nodisplay Image representations in Matlab: Unsigned 8bit values (when first read) Values in range [, 255], = black,

More information

Introduction. Computer Vision. CSc I6716 Fall Part I. Image Enhancement. Zhigang Zhu, City College of New York

Introduction. Computer Vision. CSc I6716 Fall Part I. Image Enhancement. Zhigang Zhu, City College of New York CSc I6716 Fall 21 Introduction Part I Feature Extraction ti (1) Zhigang Zhu, City College of New York zhu@cs.ccny.cuny.edu Image Enhancement What are Image Features? Local, meaningful, detectable parts

More information

Image Processing. Chapter(3) Part 2:Intensity Transformation and spatial filters. Prepared by: Hanan Hardan. Hanan Hardan 1

Image Processing. Chapter(3) Part 2:Intensity Transformation and spatial filters. Prepared by: Hanan Hardan. Hanan Hardan 1 Image Processing Chapter(3) Part 2:Intensity Transformation and spatial filters Prepared by: Hanan Hardan Hanan Hardan 1 Image Enhancement? Enhancement تحسين الصورة : is to process an image so that the

More information

Design of Various Image Enhancement Techniques - A Critical Review

Design of Various Image Enhancement Techniques - A Critical Review Design of Various Image Enhancement Techniques - A Critical Review Moole Sasidhar M.Tech Department of Electronics and Communication Engineering, Global College of Engineering and Technology(GCET), Kadapa,

More information

DIGITAL IMAGE PROCESSING ASSIGNMENT

DIGITAL IMAGE PROCESSING ASSIGNMENT DIGITAL IMAGE PROCESSING ASSIGNMENT Submitted by Kishore A. B6EC Michael George B64EC Mrinmay Kalita B633EC . Filtering Using simple averaging masks. a. Code function y = mask(x,h) M_H N_H M_X N_X = =

More information

Image Enhancement. Image Enhancement

Image Enhancement. Image Enhancement SPATIAL FILTERING g h * h g FREQUENCY DOMAIN FILTERING G H. F F H G Copright RMR / RDL - 999. PEE53 - Processamento Digital de Imagens LOW PASS FILTERING attenuate or eliminate high-requenc components

More information

Image Processing COS 426

Image Processing COS 426 Image Processing COS 426 What is a Digital Image? A digital image is a discrete array of samples representing a continuous 2D function Continuous function Discrete samples Limitations on Digital Images

More information

>>> from numpy import random as r >>> I = r.rand(256,256);

>>> from numpy import random as r >>> I = r.rand(256,256); WHAT IS AN IMAGE? >>> from numpy import random as r >>> I = r.rand(256,256); Think-Pair-Share: - What is this? What does it look like? - Which values does it take? - How many values can it take? - Is it

More information

DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 2002

DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 2002 DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 22 Topics: Human eye Visual phenomena Simple image model Image enhancement Point processes Histogram Lookup tables Contrast compression and stretching

More information

Image restoration and color image processing

Image restoration and color image processing 1 Enabling Technologies for Sports (5XSF0) Image restoration and color image processing Sveta Zinger ( s.zinger@tue.nl ) What is image restoration? 2 Reconstructing or recovering an image that has been

More information

June 30 th, 2008 Lesson notes taken from professor Hongmei Zhu class.

June 30 th, 2008 Lesson notes taken from professor Hongmei Zhu class. P. 1 June 30 th, 008 Lesson notes taken from professor Hongmei Zhu class. Sharpening Spatial Filters. 4.1 Introduction Smoothing or blurring is accomplished in the spatial domain by pixel averaging in

More information

More image filtering , , Computational Photography Fall 2017, Lecture 4

More image filtering , , Computational Photography Fall 2017, Lecture 4 More image filtering http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2017, Lecture 4 Course announcements Any questions about Homework 1? - How many of you

More information

Lecture Topic: Image, Imaging, Image Capturing

Lecture Topic: Image, Imaging, Image Capturing 1 Topic: Image, Imaging, Image Capturing Lecture 01-02 Keywords: Image, signal, horizontal, vertical, Human Eye, Retina, Lens, Sensor, Analog, Digital, Imaging, camera, strip, Photons, Silver Halide, CCD,

More information

Image Processing Lecture 4

Image Processing Lecture 4 Image Enhancement Image enhancement aims to process an image so that the output image is more suitable than the original. It is used to solve some computer imaging problems, or to improve image quality.

More information

PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB

PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB OGE MARQUES Florida Atlantic University *IEEE IEEE PRESS WWILEY A JOHN WILEY & SONS, INC., PUBLICATION CONTENTS LIST OF FIGURES LIST OF TABLES FOREWORD

More information

Midterm Examination CS 534: Computational Photography

Midterm Examination CS 534: Computational Photography Midterm Examination CS 534: Computational Photography November 3, 2015 NAME: SOLUTIONS Problem Score Max Score 1 8 2 8 3 9 4 4 5 3 6 4 7 6 8 13 9 7 10 4 11 7 12 10 13 9 14 8 Total 100 1 1. [8] What are

More information

Transforms and Frequency Filtering

Transforms and Frequency Filtering Transforms and Frequency Filtering Khalid Niazi Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University 2 Reading Instructions Chapter 4: Image Enhancement in the Frequency

More information

Digital Image Fundamentals and Image Enhancement in the Spatial Domain

Digital Image Fundamentals and Image Enhancement in the Spatial Domain Digital Image Fundamentals and Image Enhancement in the Spatial Domain Mohamed N. Ahmed, Ph.D. Introduction An image may be defined as 2D function f(x,y), where x and y are spatial coordinates. The amplitude

More information

Digital Image Processing 3/e

Digital Image Processing 3/e Laboratory Projects for Digital Image Processing 3/e by Gonzalez and Woods 2008 Prentice Hall Upper Saddle River, NJ 07458 USA www.imageprocessingplace.com The following sample laboratory projects are

More information

IMAGE PROCESSING: POINT PROCESSES

IMAGE PROCESSING: POINT PROCESSES IMAGE PROCESSING: POINT PROCESSES N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture # 11 IMAGE PROCESSING: POINT PROCESSES N. C. State University CSC557 Multimedia Computing

More information