Digital Image Processing. Image Enhancement in the Spatial Domain (Chapter 4)

Size: px
Start display at page:

Download "Digital Image Processing. Image Enhancement in the Spatial Domain (Chapter 4)"

Transcription

1 Digital Image Processing Image Enhancement in the Spatial Domain (Chapter 4)

2 Objective The principal objective o enhancement is to process an images so that the result is more suitable than the original image or a SPECIFIC application Category o image enhancement Spatial domain Frequency domain

3 Pixel neighborhood g(x,y) = T [ (x,y) ]

4 Point Processing, Gray-Level Transormation Function s = T (r) Contrast stretching Thresholding

5 Mask Processing Filtering g(x,y) = T [ (x,y) ] 1 T -1 (x,y) g(x,y)

6 Basic Gray Level Transormation Some Basic gray-level transormation or image Enhancement

7 Image Negative s = L r

8 Log Transormations s = c log(1+r) Pixel values dynamic range=[ ]

9 Power-Law Transormations s = cr s = r 2.5 r = [ ] s( = 2.5) = [ ] s( =.4) = [ ]

10 Power-Law Transormations - Gamma Correction

11 Power-Law Transormations c=1 =.6 c=1 =.4 c=1 =.3

12 Power-Law Transormations c=1 = 3 c=1 = 4 c=1 = 5

13 Piecewise-Linear Transormation Functions Advantage Arbitrarily complex Disadvantage More user input Type o Transormations Contrast stretching Gray-level slicing Bit-plane slicing

14 Contrast Stretching Objective: Increase the dynamic range o the gray levels Causes or poor image -Poor illumination -Lack o dynamic range in the imaging sensor -Wrong lens aperture

15 Contrast Stretching Example 1 For image with intensity range [5-15] What should (r 1,s 1 ) and (r 2,s 2 ) be to increase the dynamic range o the image to [ - 255]? s r

16 Gray-Level Slicing Objective: Highlighting a speciic range o gray levels in an image.

17 Bit-Plane Slicing MSB plane LSB plane LSB MSB

18 8-bit ractal image used or Bit-Plane Slicing

19 Bit-Plane Slicing

20 Histogram The histogram o a digital image with gray levels in the range [, L-1] is a discrete unction h(r k ) = n k, where r k is the kth gray level and n k is the number o pixels in the image having gray level r k. Histogram Processing Normalized Histogram Dividing each value o the histogram by the total number o pixels in the image, denoted by n. p(r k ) = n k /n. Normalized histogram provide useul image statistics.

21 Histogram Extraction using Matlab unction Normalized_Hist = Img_Hist(img) [R,C]=size(img); Hist=zeros(256,1); or r = 1:R or c=1:c Hist(img(r,c)+1,1)=Hist(img(r,c)+1,1)+1; end end Normalized_Hist = Hist/(R*C); plot(normalized_hist)

22 Histogram Processing

23 Histogram Equalization Histogram equalization is used to enhance image contrast and gray-level detail by spreading the histogram o the original image. s = T ( r ) r 1, where r and s are normalized pixel intensities Conditions or the transormation (a) T( r ) is single-valued and monotonically increasing in the interval r 1 (b) T ( r ) 1 or r 1 1

24 Histogram Equalization Objective o histogram equalization Transorm the histogram unction o the original image p r (r) to a uniorm histogram unction. p s (s) = 1 s 1 p r (r) Equalizer Transormation p s (s) s Continuous case r T ( r) pr ( w) dw s k T( rk ) Discrete case k j p r ( r j )

25 k : : : : Input image r k : :.5 p r (r k ) : : :.4 Output image T (r.15 k ).4 / * : : : : : : : s k : : : :

26 Histogram Equalization

27 Histogram Equalization 255

28 Histogram Matching Is histogram equalization a good approach to enhance the image?

29 Histogram Equalization p r (r k ) s k s : : :

30 Histogram Matching Histogram Matching method generates a processed image that has a speciied histogram. Desired Output image p z (z) z G (z) p z ( t) dt v T (r) s v, since both will have approximately uniorm pd Input image p r (r) r p r ( t) dt s z = G -1 [T( s )] s = G[T( r )]

31 Histogram Matching

32 Histogram Matching 1) Modiy the histogram o the image to obtain p z (z). 2) Find transormation unction G (z) using the modiied histogram in step 1. 3) Find the inverse G -1 (z) G (z) G -1 (z) 4) ApplyG -1 to the pixels o the histogram-equalized image.

33 Local Histogram Enhancement Global Histogram.98.2 Local Histogram

34 Local Histogram Enhancement

35 Histogram Statistics or Image Enhanc. Contrast manipulation using local statistics, such as the mean and variance, is useul or images where part o the image is acceptable, but other parts may contain hidden eatures o interest.

36 Let (x,y) be the coordinates o a pixel in an image, and let S xy denote a neighborhood (sub-image) o speciied size, centered at (x,y). ). ( ] [ ) ( ), (, 2, 2 ), (,, xy xy xy xy xy S t s t s S t s S S t s t s t s S r p m r r p r m The local mean and variance are the decision actors to whether apply local enhancement or not. Histogram Statistics or Image Enhanc.

37 Histogram Statistics or Image Enhanc. M G : Global mean D G : Global standard deviation E, k, k 1, k 2 : Speciied parameters g( x, y) E. ( x, y) ( x, y) i m S xy k otherwise M G AND k 1 D G S xy k 2 D G E = 4, k =.4, k 1 =.2, k 2 =.4 Size o local area = 3 3

38 Histogram Statistics or Image Enhanc. (x,y) (x,y) E Image Mean

39 Histogram Statistics or Image Enhanc. Original Image Enhanced Image

40 Enhancement Using Arithmetic/Logic Op. Arithmetic/logic operations involving images are perormed on a pixel-by-pixel basis between two or more images. Arithmetic Operations Addition, Subtraction, Multiplication, and Division Logic Operations AND, OR, NOT

41 Enhancement Using AND and OR Logic Op. AND OR Logic operations are perormed on the binary representation o the pixel intensities

42 Enhancement Using Arithmetic Op. _ SUB Original 4 Upper-order Bit Error HE o Error

43 Enhancement Using Arithmetic Op. _ SUB Mask Mode Radiography Problem: The pixel intensities in the dierence image can range rom -255 to 255. Solutions: 1) Add 255 to every pixel and then divide by 2. 2) Add the minimum value o the pixel intensity in the dierence image to every pixel and then divide by 255/Max. Max is the maximum pixel value in the modiied dierence image.

44 2 ), ( 2 ), ( 1 1 ), ( ), ( ), ( 1 ), ( ), ( ), ( ), ( y x y x g k i i k y x y x g E y x g k y x g y x y x y x g Original image Noise with zero mean Enhancement Using Arithmetic Op. Averaging

45 Enhancement Using Arithmetic Op. Averaging (x,y) g(x,y) Gaussian Noise mean = variance = 64 K = 8 K = 16 K = 32 K = x

46 Enhancement Using Arithmetic Op. Averaging K = 8 Dierence images between original image and images obtained rom averaging. K = 16 K = 32 K = 128 Notice the mean and variance o the dierence images decrease as K increases.

47 Basics o Spatial Filtering - Linear Spatial iltering are iltering operations perormed on the pixel intensities o an image and not on the requency components o the image. a b g ( x, y) w( s, t) ( x s, y t) sa tb a = (m - 1) / 2 b = (n - 1) / 2

48 Basics o Spatial Filtering Response, R, o an m n mask at any point (x, y) mn R i1 w i z i Special consideration is given when the center o the ilter approach the boarder o the image.

49 Nonlinear o Spatial Filtering Nonlinear spatial ilters operate on neighborhoods, and the mechanics o sliding a mask past an image are the same as was just outlined. In general however, the iltering operation is based conditionally on the values o the pixel in the neighborhood under consideration, and they do not explicitly use coeicients in the sum-o products manner described previously. Example Computation or the median is a nonlinear operation.

50 Smoothing Spatial Filtering - Linear Averaging (low-pass) Filters Smoothing ilters are used - Noise reduction - Smoothing o alse contours - Reduction o irrelevant detail Undesirable side eect o smoothing ilters - Blur edges Weighted average ilter reduces blurring in the smoothing process. Box ilter Weighted average

51 Smoothing Spatial Filtering _ Linear Averaging (low-pass) Filters n = 3 n = ilter size n = 5 n = 9 n = 15 n = 35

52 Smoothing Spatial Filtering Averaging & Threshold ilter size n = 15 Thrsh = 25% o highest intensity

53 Smoothing Spatial Filtering Order Statistic Filters Order-statistics ilters are nonlinear spatial ilters whose response is based on ordering (ranking) the pixels contained in the image area encompassed by the ilter, and then replacing the value o the center pixel with the value determined by the ranking result. 3 3 Median ilter [ ] = Max ilter [ ] = Min ilter [ ] = 1 Median ilter eliminates isolated clusters o pixels that are light or dark with respect to their neighbors, and whose area is less than n 2 /2.

54 Order Statistic Filters n = 3 Average ilter n = 3 Median ilter

55 Sharpening Spatial Filters The principal objective o sharpening is to highlight ine detail in an image or to enhance detail that has been blurred. Image z z i Blurred Image The derivatives o a digital unction are deined in terms o dierences.

56 Sharpening Spatial Filters Requirements or digital derivative First derivative 1) Must be zero in lat segment 2) Must be nonzero along ramps. 3) Must be nonzero at the onset o a gray-level step or ramp Second derivative 1) Must be zero in lat segment 2) Must be zero along ramps. 3) Must be nonzero at the onset and end o a gray-level step or ramp ( x 1) ( x) x 2 x 2 ( x 1) ( x 1) 2 ( x)

57 Sharpening Spatial Filters

58 Sharpening Spatial Filters Comparing the response between irst- and second-ordered derivatives: 1) First-order derivative produce thicker edge 2) Second-order derivative have a stronger response to ine detail, such as thin lines and isolated points. 3) First-order derivatives generally have a stronger response to a gray-level step {2 4 15} 4) Second-order derivatives produce a double response at step changes in gray level. In general the second derivative is better than the irst derivative or image enhancement. The principle use o irst derivative is or edge extraction.

59 Use o First Derivative or Edge Extraction Gradient First derivatives in image processing are implemented using the magnitude o the gradient. x y mag( ) t z 1 z 2 z z z z 7 z 8 z 9 x y Roberts operator G x = (z 9 -z 5 ) and G y = (z 8 - z 6 ) Sobel operator G x = (z 7 +2z 8 +z 9 ) - (z 1 +2z 2 +z 3 ) and G y = (z 3 +2z 6 +z 9 ) - (z 1 +2z 4 +z 7 ) G x G y z 3

60 Use o First Derivative or Edge Extraction Gradient Robert operator Sobel operators

61 Use o First Derivative or Edge Extraction Gradient (x,y) = [4, 14]

62 Use o First Derivative or Edge Extraction Gradient

63 y x )], ( 4 1), ( 1), ( ) 1, ( ) 1, ( [ ), ( 2 1), ( 1), ( ), ( 2 ) 1, ( ) 1, ( y y y x y x y x y x y x y x y x y y x y x y x x 2 nd Derivative _ Laplacian

64 Use o 2 nd Derivative or Enhancement Laplacian Isotropic ilter response is independent o the direction o the discontinuities in the image to which the ilter is applied. 2 2 x 2 2 y 2

65 Use o 2 nd Derivative or Enhancement Laplacian (x,y) = [9, 1]

66 ), ( ), ( ), ( ), ( ), ( 2 2 y x y x y x y x y x g I the center coeicient o the laplacian mask is negative Use o 2 nd Derivative or Enhancement Laplacian

67 g(x,y) = (x,y) ), ( 2 y x = )], ( 4 1), ( 1), ( ) 1, ( ) 1, ( [ 2 y x y x y x y x y x Use o 2 nd Derivative or Enhancement Laplacian

68 Un-sharp Masking and High-boost Filtering High-boost iltering is used when the original image is blurred and dark. hb 2 A ( x, y) ( x, y) A > 1

69 (b) Un-sharp Masking and High-boost Filtering

70 Combining Spatial Enhancement Methods

71 Combining Spatial Enhancement Methods

Chapter 3 Image Enhancement in the Spatial Domain

Chapter 3 Image Enhancement in the Spatial Domain Chapter 3 Image Enhancement in the Spatial Domain Yinghua He School o Computer Science and Technology Tianjin University Image enhancement approaches Spatial domain image plane itsel Spatial domain methods

More information

Chapter 3: Intensity Transformations and Spatial Filtering

Chapter 3: Intensity Transformations and Spatial Filtering Chapter 3: Intensity Transformations and Spatial Filtering 3.1 Background 3.2 Some basic intensity transformation functions 3.3 Histogram processing 3.4 Fundamentals of spatial filtering 3.5 Smoothing

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 Principal objective: to process an image so that the result is more suitable than the original image

More information

Digital Image Processing, 2nd ed. Digital Image Processing, 2nd ed. The principal objective of enhancement

Digital Image Processing, 2nd ed. Digital Image Processing, 2nd ed. The principal objective of enhancement Chapter 3 Image Enhancement in the Spatial Domain The principal objective of enhancement to process an image so that the result is more suitable than the original image for a specific application. Enhancement

More information

EEM 463 Introduction to Image Processing. Week 3: Intensity Transformations

EEM 463 Introduction to Image Processing. Week 3: Intensity Transformations EEM 463 Introduction to Image Processing Week 3: Intensity Transformations Fall 2013 Instructor: Hatice Çınar Akakın, Ph.D. haticecinarakakin@anadolu.edu.tr Anadolu University Enhancement Domains Spatial

More information

Image Enhancement in Spatial Domain (Chapter 3)

Image Enhancement in Spatial Domain (Chapter 3) Image Enhancement in Spatial Domain (Chapter 3) Yun Q. Shi shi@njit.edu Fall 11 Mask/Neighborhood Processing ECE643 2 1 Point Processing ECE643 3 Image Negatives S = (L 1) - r (3.2-1) Point processing

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Jen-Hui Chuang Department of Computer Science National Chiao Tung University 2 3 Image Enhancement in the Spatial Domain 3.1 Background 3.4 Enhancement Using Arithmetic/Logic Operations

More information

Vivekananda. Collegee of Engineering & Technology. Question and Answers on 10CS762 /10IS762 UNIT- 5 : IMAGE ENHANCEMENT.

Vivekananda. Collegee of Engineering & Technology. Question and Answers on 10CS762 /10IS762 UNIT- 5 : IMAGE ENHANCEMENT. Vivekananda Collegee of Engineering & Technology Question and Answers on 10CS762 /10IS762 UNIT- 5 : IMAGE ENHANCEMENT Dept. Prepared by Harivinod N Assistant Professor, of Computer Science and Engineering,

More information

Review for Exam I, EE552 2/2009

Review for Exam I, EE552 2/2009 Gonale & Woods Review or Eam I, EE55 /009 Elements o Visual Perception Image Formation in the Ee and relation to a photographic camera). Brightness Adaption and Discrimination. Light and the Electromagnetic

More information

IMAGE ENHANCEMENT in SPATIAL DOMAIN by Intensity Transformations

IMAGE ENHANCEMENT in SPATIAL DOMAIN by Intensity Transformations It makes all the difference whether one sees darkness through the light or brightness through the shadows David Lindsay IMAGE ENHANCEMENT in SPATIAL DOMAIN by Intensity Transformations Kalyan Kumar Barik

More information

EELE 5310: Digital Image Processing. Lecture 2 Ch. 3. Eng. Ruba A. Salamah. iugaza.edu

EELE 5310: Digital Image Processing. Lecture 2 Ch. 3. Eng. Ruba A. Salamah. iugaza.edu EELE 5310: Digital Image Processing Lecture 2 Ch. 3 Eng. Ruba A. Salamah Rsalamah @ iugaza.edu 1 Image Enhancement in the Spatial Domain 2 Lecture Reading 3.1 Background 3.2 Some Basic Gray Level Transformations

More information

Lecture 4 Image Enhancement in Spatial Domain

Lecture 4 Image Enhancement in Spatial Domain Digital Image Processing Lecture 4 Image Enhancement in Spatial Domain Fall 2010 2 domains Spatial Domain : (image plane) Techniques are based on direct manipulation of pixels in an image Frequency Domain

More information

EELE 5310: Digital Image Processing. Ch. 3. Eng. Ruba A. Salamah. iugaza.edu

EELE 5310: Digital Image Processing. Ch. 3. Eng. Ruba A. Salamah. iugaza.edu EELE 531: Digital Image Processing Ch. 3 Eng. Ruba A. Salamah Rsalamah @ iugaza.edu 1 Image Enhancement in the Spatial Domain 2 Lecture Reading 3.1 Background 3.2 Some Basic Gray Level Transformations

More information

3 Image Enhancement in the Spatial Domain

3 Image Enhancement in the Spatial Domain 3 Image Enhancement in the Spatial Domain Chih-Wei Tang 唐之瑋 ) Department o Communication Engineering National Central Universit JhongLi, Taiwan 013 Spring Outline Gra level transormations Histogram processing

More information

Outlines. Medical Image Processing Using Transforms. 4. Transform in image space

Outlines. Medical Image Processing Using Transforms. 4. Transform in image space Medical Image Processing Using Transforms Hongmei Zhu, Ph.D Department of Mathematics & Statistics York University hmzhu@yorku.ca Outlines Image Quality Gray value transforms Histogram processing Transforms

More information

Image Enhancement: To improve the quality of images

Image Enhancement: To improve the quality of images Image Enhancement: To improve the quality of images Examples: Noise reduction (to improve SNR or subjective quality) Change contrast, brightness, color etc. Image smoothing Image sharpening Modify image

More information

Neighbourhood Operations

Neighbourhood Operations Neighbourhood Operations Neighbourhood operations simply operate on a larger neighbourhood o piels than point operations Origin Neighbourhoods are mostly a rectangle around a central piel Any size rectangle

More information

Filtering and Enhancing Images

Filtering and Enhancing Images KECE471 Computer Vision Filtering and Enhancing Images Chang-Su Kim Chapter 5, Computer Vision by Shapiro and Stockman Note: Some figures and contents in the lecture notes of Dr. Stockman are used partly.

More information

Lecture 4. Digital Image Enhancement. 1. Principle of image enhancement 2. Spatial domain transformation. Histogram processing

Lecture 4. Digital Image Enhancement. 1. Principle of image enhancement 2. Spatial domain transformation. Histogram processing Lecture 4 Digital Image Enhancement 1. Principle of image enhancement 2. Spatial domain transformation Basic intensity it tranfomation ti Histogram processing Principle Objective of Enhancement Image enhancement

More information

Intensity Transformation and Spatial Filtering

Intensity Transformation and Spatial Filtering Intensity Transformation and Spatial Filtering Outline of the Lecture Introduction. Intensity Transformation Functions. Piecewise-Linear Transformation Functions. Introduction Definition: Image enhancement

More information

UNIT - 5 IMAGE ENHANCEMENT IN SPATIAL DOMAIN

UNIT - 5 IMAGE ENHANCEMENT IN SPATIAL DOMAIN UNIT - 5 IMAGE ENHANCEMENT IN SPATIAL DOMAIN Spatial domain methods Spatial domain refers to the image plane itself, and approaches in this category are based on direct manipulation of pixels in an image.

More information

In this lecture. Background. Background. Background. PAM3012 Digital Image Processing for Radiographers

In this lecture. Background. Background. Background. PAM3012 Digital Image Processing for Radiographers PAM3012 Digital Image Processing for Radiographers Image Enhancement in the Spatial Domain (Part I) In this lecture Image Enhancement Introduction to spatial domain Information Greyscale transformations

More information

Babu Madhav Institute of Information Technology Years Integrated M.Sc.(IT)(Semester - 7)

Babu Madhav Institute of Information Technology Years Integrated M.Sc.(IT)(Semester - 7) 5 Years Integrated M.Sc.(IT)(Semester - 7) 060010707 Digital Image Processing UNIT 1 Introduction to Image Processing Q: 1 Answer in short. 1. What is digital image? 1. Define pixel or picture element?

More information

Image Processing. Traitement d images. Yuliya Tarabalka Tel.

Image Processing. Traitement d images. Yuliya Tarabalka  Tel. Traitement d images Yuliya Tarabalka yuliya.tarabalka@hyperinet.eu yuliya.tarabalka@gipsa-lab.grenoble-inp.fr Tel. 04 76 82 62 68 Noise reduction Image restoration Restoration attempts to reconstruct an

More information

Introduction to Digital Image Processing

Introduction to Digital Image Processing Introduction to Digital Image Processing Ranga Rodrigo June 9, 29 Outline Contents Introduction 2 Point Operations 2 Histogram Processing 5 Introduction We can process images either in spatial domain or

More information

Lecture 3 - Intensity transformation

Lecture 3 - Intensity transformation Computer Vision Lecture 3 - Intensity transformation Instructor: Ha Dai Duong duonghd@mta.edu.vn 22/09/2015 1 Today s class 1. Gray level transformations 2. Bit-plane slicing 3. Arithmetic/logic operators

More information

Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong)

Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong) Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong) References: [1] http://homepages.inf.ed.ac.uk/rbf/hipr2/index.htm [2] http://www.cs.wisc.edu/~dyer/cs540/notes/vision.html

More information

SYDE 575: Introduction to Image Processing

SYDE 575: Introduction to Image Processing SYDE 575: Introduction to Image Processing Image Enhancement and Restoration in Spatial Domain Chapter 3 Spatial Filtering Recall 2D discrete convolution g[m, n] = f [ m, n] h[ m, n] = f [i, j ] h[ m i,

More information

Image Enhancement in Spatial Domain. By Dr. Rajeev Srivastava

Image Enhancement in Spatial Domain. By Dr. Rajeev Srivastava Image Enhancement in Spatial Domain By Dr. Rajeev Srivastava CONTENTS Image Enhancement in Spatial Domain Spatial Domain Methods 1. Point Processing Functions A. Gray Level Transformation functions for

More information

Lecture 4: Spatial Domain Transformations

Lecture 4: Spatial Domain Transformations # Lecture 4: Spatial Domain Transformations Saad J Bedros sbedros@umn.edu Reminder 2 nd Quiz on the manipulator Part is this Fri, April 7 205, :5 AM to :0 PM Open Book, Open Notes, Focus on the material

More information

Fig. 3.1: Interpolation schemes for forward mapping (left) and inverse mapping (right, Jähne, 1997).

Fig. 3.1: Interpolation schemes for forward mapping (left) and inverse mapping (right, Jähne, 1997). Eicken, GEOS 69 - Geoscience Image Processing Applications, Lecture Notes - 17-3. Spatial transorms 3.1. Geometric operations (Reading: Castleman, 1996, pp. 115-138) - a geometric operation is deined as

More information

Digital Image Processing. Image Enhancement - Filtering

Digital Image Processing. Image Enhancement - Filtering Digital Image Processing Image Enhancement - Filtering Derivative Derivative is defined as a rate of change. Discrete Derivative Finite Distance Example Derivatives in 2-dimension Derivatives of Images

More information

Topic 4 Image Segmentation

Topic 4 Image Segmentation Topic 4 Image Segmentation What is Segmentation? Why? Segmentation important contributing factor to the success of an automated image analysis process What is Image Analysis: Processing images to derive

More information

Sampling and Reconstruction

Sampling and Reconstruction Sampling and Reconstruction Sampling and Reconstruction Sampling and Spatial Resolution Spatial Aliasing Problem: Spatial aliasing is insufficient sampling of data along the space axis, which occurs because

More information

Basic relations between pixels (Chapter 2)

Basic relations between pixels (Chapter 2) Basic relations between pixels (Chapter 2) Lecture 3 Basic Relationships Between Pixels Definitions: f(x,y): digital image Pixels: q, p (p,q f) A subset of pixels of f(x,y): S A typology of relations:

More information

Chapter - 2 : IMAGE ENHANCEMENT

Chapter - 2 : IMAGE ENHANCEMENT Chapter - : IMAGE ENHANCEMENT The principal objective of enhancement technique is to process a given image so that the result is more suitable than the original image for a specific application Image Enhancement

More information

EE795: Computer Vision and Intelligent Systems

EE795: Computer Vision and Intelligent Systems EE795: Computer Vision and Intelligent Systems Spring 2012 TTh 17:30-18:45 WRI C225 Lecture 04 130131 http://www.ee.unlv.edu/~b1morris/ecg795/ 2 Outline Review Histogram Equalization Image Filtering Linear

More information

Point and Spatial Processing

Point and Spatial Processing Filtering 1 Point and Spatial Processing Spatial Domain g(x,y) = T[ f(x,y) ] f(x,y) input image g(x,y) output image T is an operator on f Defined over some neighborhood of (x,y) can operate on a set of

More information

Digital Image Processing. Prof. P. K. Biswas. Department of Electronic & Electrical Communication Engineering

Digital Image Processing. Prof. P. K. Biswas. Department of Electronic & Electrical Communication Engineering Digital Image Processing Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture - 21 Image Enhancement Frequency Domain Processing

More information

Intensity Transformations and Spatial Filtering

Intensity Transformations and Spatial Filtering 77 Chapter 3 Intensity Transformations and Spatial Filtering Spatial domain refers to the image plane itself, and image processing methods in this category are based on direct manipulation of pixels in

More information

Linear Operations Using Masks

Linear Operations Using Masks Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute some result at that pixel Expressing linear operations on neighborhoods

More information

Chapter 10: Image Segmentation. Office room : 841

Chapter 10: Image Segmentation.   Office room : 841 Chapter 10: Image Segmentation Lecturer: Jianbing Shen Email : shenjianbing@bit.edu.cn Office room : 841 http://cs.bit.edu.cn/shenjianbing cn/shenjianbing Contents Definition and methods classification

More information

EECS 556 Image Processing W 09. Image enhancement. Smoothing and noise removal Sharpening filters

EECS 556 Image Processing W 09. Image enhancement. Smoothing and noise removal Sharpening filters EECS 556 Image Processing W 09 Image enhancement Smoothing and noise removal Sharpening filters What is image processing? Image processing is the application of 2D signal processing methods to images Image

More information

IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN 1 Image Enhancement in the Spatial Domain 3 IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN Unit structure : 3.0 Objectives 3.1 Introduction 3.2 Basic Grey Level Transform 3.3 Identity Transform Function 3.4 Image

More information

Basic Algorithms for Digital Image Analysis: a course

Basic Algorithms for Digital Image Analysis: a course Institute of Informatics Eötvös Loránd University Budapest, Hungary Basic Algorithms for Digital Image Analysis: a course Dmitrij Csetverikov with help of Attila Lerch, Judit Verestóy, Zoltán Megyesi,

More information

Point operation Spatial operation Transform operation Pseudocoloring

Point operation Spatial operation Transform operation Pseudocoloring Image Enhancement Introduction Enhancement by point processing Simple intensity transformation Histogram processing Spatial filtering Smoothing filters Sharpening filters Enhancement in the frequency domain

More information

Digital Image Analysis and Processing

Digital Image Analysis and Processing Digital Image Analysis and Processing CPE 0907544 Image Enhancement Part I Intensity Transformation Chapter 3 Sections: 3.1 3.3 Dr. Iyad Jafar Outline What is Image Enhancement? Background Intensity Transformation

More information

Selected Topics in Computer. Image Enhancement Part I Intensity Transformation

Selected Topics in Computer. Image Enhancement Part I Intensity Transformation Selected Topics in Computer Engineering (0907779) Image Enhancement Part I Intensity Transformation Chapter 3 Dr. Iyad Jafar Outline What is Image Enhancement? Background Intensity Transformation Functions

More information

Sharpening through spatial filtering

Sharpening through spatial filtering Sharpening through spatial filtering Stefano Ferrari Università degli Studi di Milano stefano.ferrari@unimi.it Methods for Image Processing academic year 2017 2018 Sharpening The term sharpening is referred

More information

Introduction to Digital Image Processing

Introduction to Digital Image Processing Fall 2005 Image Enhancement in the Spatial Domain: Histograms, Arithmetic/Logic Operators, Basics of Spatial Filtering, Smoothing Spatial Filters Tuesday, February 7 2006, Overview (1): Before We Begin

More information

Point Operations and Spatial Filtering

Point Operations and Spatial Filtering Point Operations and Spatial Filtering Ranga Rodrigo November 3, 20 /02 Point Operations Histogram Processing 2 Spatial Filtering Smoothing Spatial Filters Sharpening Spatial Filters 3 Edge Detection Line

More information

ECG782: Multidimensional Digital Signal Processing

ECG782: Multidimensional Digital Signal Processing Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu ECG782: Multidimensional Digital Signal Processing Spatial Domain Filtering http://www.ee.unlv.edu/~b1morris/ecg782/ 2 Outline Background Intensity

More information

IMAGING. Images are stored by capturing the binary data using some electronic devices (SENSORS)

IMAGING. Images are stored by capturing the binary data using some electronic devices (SENSORS) IMAGING Film photography Digital photography Images are stored by capturing the binary data using some electronic devices (SENSORS) Sensors: Charge Coupled Device (CCD) Photo multiplier tube (PMT) The

More information

1.Some Basic Gray Level Transformations

1.Some Basic Gray Level Transformations 1.Some Basic Gray Level Transformations We begin the study of image enhancement techniques by discussing gray-level transformation functions.these are among the simplest of all image enhancement techniques.the

More information

Filtering Images. Contents

Filtering Images. Contents Image Processing and Data Visualization with MATLAB Filtering Images Hansrudi Noser June 8-9, 010 UZH, Multimedia and Robotics Summer School Noise Smoothing Filters Sigmoid Filters Gradient Filters Contents

More information

Digital Image Processing

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

More information

Image Processing. BITS Pilani. Dr Jagadish Nayak. Dubai Campus

Image Processing. BITS Pilani. Dr Jagadish Nayak. Dubai Campus Image Processing BITS Pilani Dubai Campus Dr Jagadish Nayak Image Segmentation BITS Pilani Dubai Campus Fundamentals Let R be the entire spatial region occupied by an image Process that partitions R into

More information

Digital Image Processing, 3rd ed.

Digital Image Processing, 3rd ed. Chapter 6 Color Image Processing Chapter 6 Color Image Processing Pseudocolor processing (vs. truecolor) Pseudocolor = false color Is the process of assigning color to a grayscale (or a set of grayscale)

More information

JNTUWORLD. 4. Prove that the average value of laplacian of the equation 2 h = ((r2 σ 2 )/σ 4 ))exp( r 2 /2σ 2 ) is zero. [16]

JNTUWORLD. 4. Prove that the average value of laplacian of the equation 2 h = ((r2 σ 2 )/σ 4 ))exp( r 2 /2σ 2 ) is zero. [16] Code No: 07A70401 R07 Set No. 2 1. (a) What are the basic properties of frequency domain with respect to the image processing. (b) Define the terms: i. Impulse function of strength a ii. Impulse function

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

Lecture 4: Image Processing

Lecture 4: Image Processing Lecture 4: Image Processing Definitions Many graphics techniques that operate only on images Image processing: operations that take images as input, produce images as output In its most general form, an

More information

Classification of image operations. Image enhancement (GW-Ch. 3) Point operations. Neighbourhood operation

Classification of image operations. Image enhancement (GW-Ch. 3) Point operations. Neighbourhood operation Image enhancement (GW-Ch. 3) Classification of image operations Process of improving image quality so that the result is more suitable for a specific application. contrast stretching histogram processing

More information

EECS490: Digital Image Processing. Lecture #19

EECS490: Digital Image Processing. Lecture #19 Lecture #19 Shading and texture analysis using morphology Gray scale reconstruction Basic image segmentation: edges v. regions Point and line locators, edge types and noise Edge operators: LoG, DoG, Canny

More information

Lecture 6: Edge Detection

Lecture 6: Edge Detection #1 Lecture 6: Edge Detection Saad J Bedros sbedros@umn.edu Review From Last Lecture Options for Image Representation Introduced the concept of different representation or transformation Fourier Transform

More information

Digital Image Processing

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

More information

Digital Image Procesing

Digital Image Procesing Digital Image Procesing Spatial Filters in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE LONDON Spatial filters for image enhancement Spatial filters

More information

Edge detection. Stefano Ferrari. Università degli Studi di Milano Elaborazione delle immagini (Image processing I)

Edge detection. Stefano Ferrari. Università degli Studi di Milano Elaborazione delle immagini (Image processing I) Edge detection Stefano Ferrari Università degli Studi di Milano stefano.ferrari@unimi.it Elaborazione delle immagini (Image processing I) academic year 2011 2012 Image segmentation Several image processing

More information

Image restoration. Restoration: Enhancement:

Image restoration. Restoration: Enhancement: Image restoration Most images obtained by optical, electronic, or electro-optic means is likely to be degraded. The degradation can be due to camera misfocus, relative motion between camera and object,

More information

Digital Image Processing, 3rd ed. Gonzalez & Woods

Digital Image Processing, 3rd ed. Gonzalez & Woods Last time: Affine transforms (linear spatial transforms) [ x y 1 ]=[ v w 1 ] xy t 11 t 12 0 t 21 t 22 0 t 31 t 32 1 IMTRANSFORM Apply 2-D spatial transformation to image. B = IMTRANSFORM(A,TFORM) transforms

More information

What will we learn? Neighborhood processing. Convolution and correlation. Neighborhood processing. Chapter 10 Neighborhood Processing

What will we learn? Neighborhood processing. Convolution and correlation. Neighborhood processing. Chapter 10 Neighborhood Processing What will we learn? Lecture Slides ME 4060 Machine Vision and Vision-based Control Chapter 10 Neighborhood Processing By Dr. Debao Zhou 1 What is neighborhood processing and how does it differ from point

More information

ECG782: Multidimensional Digital Signal Processing

ECG782: Multidimensional Digital Signal Processing Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu ECG782: Multidimensional Digital Signal Processing Spring 2014 TTh 14:30-15:45 CBC C313 Lecture 03 Image Processing Basics 13/01/28 http://www.ee.unlv.edu/~b1morris/ecg782/

More information

3.4& Fundamentals& mechanics of spatial filtering(page 166) Spatial filter(mask) Filter coefficients Filter response

3.4& Fundamentals& mechanics of spatial filtering(page 166) Spatial filter(mask) Filter coefficients Filter response Image enhancement in the spatial domain(3.4-3.7) SLIDE 1/21 3.4& 3.4.1 Fundamentals& mechanics of spatial filtering(page 166) Spatial filter(mask) Filter coefficients Filter response Example: 3 3mask Linear

More information

Broad field that includes low-level operations as well as complex high-level algorithms

Broad field that includes low-level operations as well as complex high-level algorithms Image processing About Broad field that includes low-level operations as well as complex high-level algorithms Low-level image processing Computer vision Computational photography Several procedures and

More information

Anno accademico 2006/2007. Davide Migliore

Anno accademico 2006/2007. Davide Migliore Robotica Anno accademico 6/7 Davide Migliore migliore@elet.polimi.it Today What is a feature? Some useful information The world of features: Detectors Edges detection Corners/Points detection Descriptors?!?!?

More information

Biomedical Image Analysis. Spatial Filtering

Biomedical Image Analysis. Spatial Filtering Biomedical Image Analysis Contents: Spatial Filtering The mechanics of Spatial Filtering Smoothing and sharpening filters BMIA 15 V. Roth & P. Cattin 1 The Mechanics of Spatial Filtering Spatial filter:

More information

INTENSITY TRANSFORMATION AND SPATIAL FILTERING

INTENSITY TRANSFORMATION AND SPATIAL FILTERING 1 INTENSITY TRANSFORMATION AND SPATIAL FILTERING Lecture 3 Image Domains 2 Spatial domain Refers to the image plane itself Image processing methods are based and directly applied to image pixels Transform

More information

Histograms. h(r k ) = n k. p(r k )= n k /NM. Histogram: number of times intensity level rk appears in the image

Histograms. h(r k ) = n k. p(r k )= n k /NM. Histogram: number of times intensity level rk appears in the image Histograms h(r k ) = n k Histogram: number of times intensity level rk appears in the image p(r k )= n k /NM normalized histogram also a probability of occurence 1 Histogram of Image Intensities Create

More information

Digital Image Processing. Image Enhancement (Point Processing)

Digital Image Processing. Image Enhancement (Point Processing) Digital Image Processing Image Enhancement (Point Processing) 2 Contents In this lecture we will look at image enhancement point processing techniques: What is point processing? Negative images Thresholding

More information

Segmentation and Grouping

Segmentation and Grouping Segmentation and Grouping How and what do we see? Fundamental Problems ' Focus of attention, or grouping ' What subsets of pixels do we consider as possible objects? ' All connected subsets? ' Representation

More information

Chapter 10 Image Segmentation. Yinghua He

Chapter 10 Image Segmentation. Yinghua He Chapter 10 Image Segmentation Yinghua He The whole is equal to the sum of its parts. -Euclid The whole is greater than the sum of its parts. -Max Wertheimer The Whole is Not Equal to the Sum of Its Parts:

More information

CS334: Digital Imaging and Multimedia Edges and Contours. Ahmed Elgammal Dept. of Computer Science Rutgers University

CS334: Digital Imaging and Multimedia Edges and Contours. Ahmed Elgammal Dept. of Computer Science Rutgers University CS334: Digital Imaging and Multimedia Edges and Contours Ahmed Elgammal Dept. of Computer Science Rutgers University Outlines What makes an edge? Gradient-based edge detection Edge Operators From Edges

More information

Other Linear Filters CS 211A

Other Linear Filters CS 211A Other Linear Filters CS 211A Slides from Cornelia Fermüller and Marc Pollefeys Edge detection Convert a 2D image into a set of curves Extracts salient features of the scene More compact than pixels Origin

More information

Fundamentals of Digital Image Processing

Fundamentals of Digital Image Processing \L\.6 Gw.i Fundamentals of Digital Image Processing A Practical Approach with Examples in Matlab Chris Solomon School of Physical Sciences, University of Kent, Canterbury, UK Toby Breckon School of Engineering,

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Intensity Transformations (Point Processing) Christophoros Nikou cnikou@cs.uoi.gr University of Ioannina - Department of Computer Science and Engineering 2 Intensity Transformations

More information

An introduction to image enhancement in the spatial domain.

An introduction to image enhancement in the spatial domain. University of Antwerp Department of Mathematics and Computer Science An introduction to image enhancement in the spatial domain. Sven Maerivoet November, 17th 2000 Contents 1 Introduction 1 1.1 Spatial

More information

A SAR IMAGE REGISTRATION METHOD BASED ON SIFT ALGORITHM

A SAR IMAGE REGISTRATION METHOD BASED ON SIFT ALGORITHM A SAR IMAGE REGISTRATION METHOD BASED ON SIFT ALGORITHM W. Lu a,b, X. Yue b,c, Y. Zhao b,c, C. Han b,c, * a College o Resources and Environment, University o Chinese Academy o Sciences, Beijing, 100149,

More information

Lecture: Edge Detection

Lecture: Edge Detection CMPUT 299 Winter 2007 Lecture: Edge Detection Irene Cheng Overview. What is a pixel in an image? 2. How does Photoshop, + human assistance, detect an edge in a picture/photograph? 3. Behind Photoshop -

More information

Motivation. Gray Levels

Motivation. Gray Levels Motivation Image Intensity and Point Operations Dr. Edmund Lam Department of Electrical and Electronic Engineering The University of Hong ong A digital image is a matrix of numbers, each corresponding

More information

C2: Medical Image Processing Linwei Wang

C2: Medical Image Processing Linwei Wang C2: Medical Image Processing 4005-759 Linwei Wang Content Enhancement Improve visual quality of the image When the image is too dark, too light, or has low contrast Highlight certain features of the image

More information

Noise Model. Important Noise Probability Density Functions (Cont.) Important Noise Probability Density Functions

Noise Model. Important Noise Probability Density Functions (Cont.) Important Noise Probability Density Functions Others -- Noise Removal Techniques -- Edge Detection Techniques -- Geometric Operations -- Color Image Processing -- Color Spaces Xiaojun Qi Noise Model The principal sources of noise in digital images

More information

Keywords: Thresholding, Morphological operations, Image filtering, Adaptive histogram equalization, Ceramic tile.

Keywords: Thresholding, Morphological operations, Image filtering, Adaptive histogram equalization, Ceramic tile. Volume 3, Issue 7, July 2013 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Blobs and Cracks

More information

Image Restoration and Reconstruction

Image Restoration and Reconstruction Image Restoration and Reconstruction Image restoration Objective process to improve an image, as opposed to the subjective process of image enhancement Enhancement uses heuristics to improve the image

More information

Unit - I Computer vision Fundamentals

Unit - I Computer vision Fundamentals Unit - I Computer vision Fundamentals It is an area which concentrates on mimicking human vision systems. As a scientific discipline, computer vision is concerned with the theory behind artificial systems

More information

VC 16/17 TP5 Single Pixel Manipulation

VC 16/17 TP5 Single Pixel Manipulation VC 16/17 TP5 Single Pixel Manipulation Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos Hélder Filipe Pinto de Oliveira Outline Dynamic Range Manipulation

More information

Image Processing Lecture 10

Image Processing Lecture 10 Image Restoration Image restoration attempts to reconstruct or recover an image that has been degraded by a degradation phenomenon. Thus, restoration techniques are oriented toward modeling the degradation

More information

Point Operations. Prof. George Wolberg Dept. of Computer Science City College of New York

Point Operations. Prof. George Wolberg Dept. of Computer Science City College of New York Point Operations Prof. George Wolberg Dept. of Computer Science City College of New York Objectives In this lecture we describe point operations commonly used in image processing: - Thresholding - Quantization

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Third Edition Rafael C. Gonzalez University of Tennessee Richard E. Woods MedData Interactive PEARSON Prentice Hall Pearson Education International Contents Preface xv Acknowledgments

More information

PROCESS > SPATIAL FILTERS

PROCESS > SPATIAL FILTERS 83 Spatial Filters There are 19 different spatial filters that can be applied to a data set. These are described in the table below. A filter can be applied to the entire volume or to selected objects

More information

Lecture 7: Most Common Edge Detectors

Lecture 7: Most Common Edge Detectors #1 Lecture 7: Most Common Edge Detectors Saad Bedros sbedros@umn.edu Edge Detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the

More information

Chapter4 Image Enhancement

Chapter4 Image Enhancement Chapter4 Image Enhancement Preview 4.1 General introduction and Classification 4.2 Enhancement by Spatial Transforming(contrast enhancement) 4.3 Enhancement by Spatial Filtering (image smoothing) 4.4 Enhancement

More information