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

Size: px
Start display at page:

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

Transcription

1 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

2 Histogram of Image Intensities Create bins of intensities and count number of pixels at each level Normalized (divide by total # pixels) Frequency Grey level value 2

3 Histograms and Noise What happens to the histogram if we add noise? g(x, y) = f(x, y) + n(x, y) 3

4 Noise reduction with pixelwise addition Many noisy images of the same scene Averaging helps remove noise Why? Under what conditions? R. C. Gonzalez & R. E. Woods

5 MATLAB example for averaging 5

6 Gamma correction s = cr γ R. C. Gonzalez & R. E. Woods

7 Gamma transformations R. C. Gonzalez & R. E. Woods

8 Gamma transformations What happens to the histogram? R. C. Gonzalez & R. E. Woods

9 1. MATLAB example for gamma correction 2. Can we fix skewed histograms automatically? 9

10 Automatic histogram equalization Cionsider image intensity as a continuous valued random variable r in the interval [ 0, L-1 ] with pdf p r (r) What kind of histograms do we want? Find an intensity transformation s=t(r) such that the pdf p s (s) is uniform in the interval [ 0, L-1 ] How are the pdf s of r and s related? s = T(r) p s ( s) = p (r) dr r ds 10

11 Automatic histogram equalization Consider the transformation ( range [0, 1] ) r s = p ( w)dw r 0 PDF of r s CDF of s Slope = 1 r Area given by integral above s What is the pdf of s? What to do for other intensity range? 11

12 Automatic histogram equalization Consider the transformation s = L 1 ( ) p r w r 0 ( )dw Compute ds/dr ds ( ) d dr dr = L 1 # $% r 0 p r ( & w)dw Leibniz s rule '( = ( L 1 ) p ( r) r Verify pdf for s is uniform p s ( s) = p (r) dr r ds = p r (r) 1 L 1 ( ) p r (r) = 1 L 1 0 s L 1 12

13 S 0 =1, S 1 =3, S 2 =5, S 3 =6, S 4 =6, S 5 =7, S 6 =7, S 7 =7 (Discrete) histogram equalization s k = L 1 Example with L=8 s 0 =7x0.19=1.33 > 1 s 1 =7x( ) = 3.08 > 3. k j =0 ( ) ( ) p r r j S k

14 MATLAB example histogram equalization 14

15 Histogram equalization examples

16 Histogram Equalization 16

17 Tuning Down Hist. Eq. Transformation is weighted combination of CDF and identity with parameter alpha α = 0.0 α = 0.2 α = 0.4 α = 0.6 α = 0.8 α17 = 1.0

18 Adaptive Histogram Equalization (AHE) 18

19 How to do adaptive histogram equalization Given a local image block, either Do histogram equalization for that block, OR Standardize the mean and variance of each block g(x, y) = f (x, y) m B for ( x, y) B σ B Repeat over all blocks (non-overlapping) Or, Sliding window approach g(x, y) = f (x, y) m B(x,y) σ B(x,y)

20 Histogram statistics Image f(x,y), histogram p(r i ) Mean intensity m = L 1 r p( r ) = 1 i i MN i=0 M 1 N 1 x=0 y=0 f (x, y) Second central moment (intensity variance) σ 2 = L 1 ( r m) 2 p( r ) = 1 i i MN i=0 M 1 x=0 N 1 y=0 ( f (x, y) m) 2

21 Local histogram statistics B xy a neighborhood centered around (x,y) We can compute the intensity histogram and its statistics (mean, variance, etc.) limited to this region L 1 m = r p ( r ) = 1 Bxy i Bxy i i=0 B xy ( x,y) B xy f ( x, y) σ 2 Bxy L 1 i=0 ( ) 2 p Bxy r i = r i m Bxy ( ) = 1 B xy (x,y) B xy ( f (x, y) m ) 2 Bxy

22 Local histogram statistics For instance, lets define S xy as a 11 x 11 neighborhood centered at (x,y). Then m Bxy = 1 σ 2 Bxy 121 = u= 5 v= 5 5 u= 5 5 v= 5 f (x + u, y + v) ( f (x + u, y + v) m ) 2 Bxy Have to take care at image boundaries

23 A faster alternative instead Compute statistics at every pixel Divide image into blocks. Then compute statistics Much more efficient Can create a blocky effect in the output image

24 AHE Gone Bad What can we do about this? 24

25 Effect of Window Size Orig 10x10 25x25 50x50 25

26 AHE Application: Microscopy Imaging Original AHE 26

27 Histogram matching Histogram equalization aims for an uniform histogram for the output image Sometimes we might want to specify different histograms as the target s = T (r) = L 1 ( ) p r w r ( )dw s = G(z) = L 1 0 z 0 ( ) p z t ( )dt r p r (r) Input image s histogram s p s (s) Uniform histogram z = G 1 ( T ( r) ) z = G 1 (s) z p z (z) Target histogram

28 Invertible (one-to-one) transformations We need to be able to take the inverse of G(z) G(z) has an inverse if it is strictly z 0 s = G(z) = ( L 1) p ( t)dt z monotonically increasing as a function of z This is true if p z (z)>0 for all z

29 Histogram matching (discrete) 1. Compute and store in a table G( z ) = L 1 q q i=0 ( ) p ( z ) z i 2. Compute s k = T(r k ) = L 1 ( ) p r r j k ( ) 3. Create mapping from s k to z q (inverse of G) by finding the closest value in the table stored from step 1 to all s k. 4. Apply mapping created in step 3 to histogram equalized input image i=0

30 Example 1 G Inverse of G 3 2 Did this one before S 0 =1, S 1 =3, S 2 =5, S 3 =6, S 4 =6, S 5 =7, S 6 =7, S 7 =7 4. r k -> s k -> z q

31 Colorization example Match histograms of the gray scale input image to histograms of the Red, Green and Blue channels of a reference image individually to create 3 new images. Use these new images as red, green blue channels to create the output color image. To get realistic results input and reference image contents should be similar.

32 MATLAB code Given a gray scale image I2gray and a reference image I1color Uses image processing toolbox command imhistmatch I2red = imhistmatch(uint8(i2gray),i1color(:,:,1)); I2blue = imhistmatch(uint8(i2gray),i1color(:,:,3)); I2green = imhistmatch(uint8(i2gray),i1color(:,:,2)); I2colorized(:,:,1)=I2red; I2colorized(:,:,2)=I2green; I2colorized(:,:,3)=I2blue;

33 Colorization example

34 Other uses of histograms So far we used histograms for image enhancement purposes Quantization Reducing the number of gray levels or colors in an image for efficient storage Segmentation Image segmentation is the process of subdividing an image into its constituent regions or objects.

35 What is image segmentation? Image segmentation is the process of subdividing an image into its constituent regions or objects. Example segmentation with two regions: Input image intensities Segmentation output 0 (background) 1 (foreground)

36 Formal definition of segmentation R: set of all pixels in given image Segmentation into n regions R1,R2,...Rn Two important properties Complete Mutually exclusive

37 Two general approaches to segmentation Discontinuity based Partition an image based on abrupt changes of intensity. Find pixels which correspond to these abrupt changes, these will be the boundaries between regions. Edge detection is an example of this type of approach to segmentation Similarity based Group pixels into regions of similar intensity Thresholding is an example of this type of approach to segmentation

38 Global thresholding Input image f(x,y) intensities Segmentation output g(x,y) 0 (background) 1 (foreground) How can we choose T? Trial and error Use the histogram of f(x,y)

39 Role of noise T=120

40 Low signal-to-noise ratio T=140

41 Low signal-to-noise ratio T=140 How can we choose T? Trial and error Use the histogram of f(x,y) Automatically Otsu s method

42 Otsu s method Define an quantitative measure of goodness of a threshold Maximize over all possible thresholds k

43 Otsu s method 2 classes Define an quantitative measure of goodness of a threshold Difference of 2 class means Difference of class means from global mean σ 2 b (k) = P ( 1 k) m 1 k = P 1 k ( )P 2 k P 1 m 1 k ( ( ) m ) 2 G + P ( 2 k) m ( 2 k) m G ( ) 2 ( ) m ( 1 k) m ( 2 k) ( k) = p(i), P 2 k i=0 ( k) = 1 k P 1 ( ) k L 1 i=k+1 ( ) = p(i) ip(i), m 2 k i=0 ( ) = ( ) 2 Maximize over all possible thresholds k P 2 1 k ( ) L 1 ip(i), m G = ip(i) i=k+1 L 1 i=0

44 Otsu s method multiple classes ( ) 2 σ b 2 (k 1,..., k n 1 ) = P i m i m G k 1,...,k n 1 n i=1 argmax σ b 2 (k 1,..., k n 1 )

45 Effect of illumination on image histogram Images Histograms f x g = h R. C. Gonzalez & R. E. Woods Original Illumination Final image image image 45

46 Some applications Microscopy image showing bright cells on a dark background Find number of cells Time-lapse microscopy images with lighting varying over time Track number of cells over time

47 Local thresholding One simple way Subdivide image into blocks Assumes every block has a portion of foreground and background R. C. Gonzalez & R. E. Woods

48 Moving mean At every pixel (x,y) we can choose a threshold based on the mean m(x,y) of a local window This is very useful for adapting to changes in illumination Can be problematic if the window at (x,y) contains only foreground or only background R. C. Gonzalez & R. E. Woods

49 Moving mean - another example At every pixel (x,y) we can choose a threshold based on the mean m(x,y) of a local window This is very useful for adapting to changes in illumination Can be problematic if the window at (x,y) contains only foreground or only background R. C. Gonzalez & R. E. Woods

50 Some Extra Things Gaussian/normal distribution Weighted means 50

51 Gaussian Distribution Normal or bell curve Two parameters µ = mean, σ = standard deviation 51

52 Gaussian Properties Best fitting Gaussian to some data is gotten by mean and standard deviation of the samples Occurrence Central limit theorem: mean of lots of independent & identicallydistributed RVs Nature (approximate) Measurement error, physical characteristic, physical phenomenon Diffusion of heat or chemicals 52

53 Weighted Mean from Samples Suppose We want to compute the sample mean of a class of things (or we want to reduce it s influence) We are not sure if the ith item belongs to this class or not - partially belongs probability w i, random variable r i Sample mean (no weights) Weighted sample mean 53

54 Gaussian Mixture Modeling of Image Histograms K classes, N samples Class 2 Class probability Class 1 Class 3 Intensity 54

55 Problem Statement Goal: assign pixels to classes based on intensities (output = label image) Problem: can we simultaneously learn the class structure and assign the class labels? Histogram of image samples Intensity 55

56 Crisp vs. Soft Class Assignment If we knew the pdfs (Gaussians) of the classes, we could assign class labels to each data point/pixel Assume equal overall probabilities of classes Crisp Assign Soft Assign Find class that has max probability for given intensity r at pixel I. Assign that class label to that pixel For each pixel and each class, assign a (conditional) probability that that pixel belongs to that class 56

57 Simultaneously Estimate Class PDFs and Pixel Labels Iterative Algorithm Start with initial estimate of class models Compute matrix of soft assignments Use soft assignments to compute new weighted mean and standard deviation for each class Use new mean and standard deviation to compute new soft assignments and repeat (until change in parameters is very small) 57

58 EM Algorithm Example 58

59 MRI Brain Tissue Segmentation Segment gray matter, white matter, CSF and non-brain regions Manual segmentation requires expertise and is very time consuming. It is also subjective.

60 MRI Brain Example 60

61 Effect of noise Overlap in conditional probabilities of different classes. Image Thresholding only With spatial filtering

62 Non-brain tissues complicate matters

63 Observed image histogram P(r k ) = l { csf, gm,wm,background} P( r l)p(l) k

64 Non-brain tissues Large amount of overlap brain vs. non-brain Ground truth Classification CSF Gray matter White matter When conditional probabilities overlap this significantly, simple thresholding techniques fail. There are several possible solutions

65 Multidimensional histograms Sometimes we have multiple images of the same object Different channels in multispectral data Magnetic resonance images with different pulse sequences Each channel provides new information If we have two channels, we can create a 2D histogram A 2D histogram of a brain image from 2 MRI channels

66 Clustering PD T1 T2 CSF WM GM Muscle Fat

67 K-means clustering in 2D Given two images f(x,y) and g(x,y) of the same scene but representing different channels. To segment into N regions 1. Randomly initialize N cluster centers (f k,g k ) 2. For each (x,y) Compute the distance from (f(x,y), g(x,y)) to all cluster centers (f k,g k ) Assign this pixel to cluster with the smallest distance 3. Recompute cluster centers based on pixels assigned 4. Stop if cluster centers didn t move; otherwise, go to step 2

68 Fitting multi-dimensional Gaussians Can use expectation maximization to fit mixture of multivariate Gaussian distributions to data Learn means and covariance matrices To simplify can assume covariance matrix is diagonal

69 Non-brain tissues CSF Gray matter White matter One solution is to use atlases to guide the segmentation in addition to thresholding 452 subjects scanned Manually segmented Images aligned into common coordinate system Atlas: tissue classification probability images Gives a prior probability for all tissue classes at each voxel When we have a new MRI to segment Register this atlas onto new subject s image Use atlas to clarify ambiguities

70 Effect of non-homogeneous intensity Magnetic resonance images typically have a multiplicative bias field This is similar to variable illumination Unfortunately, the bias field can depend on the object being imaged! Fortunately, it can still be estimated Image Thresholding only With bias field correction

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

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

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

Region-based Segmentation

Region-based Segmentation Region-based Segmentation Image Segmentation Group similar components (such as, pixels in an image, image frames in a video) to obtain a compact representation. Applications: Finding tumors, veins, etc.

More information

MR IMAGE SEGMENTATION

MR IMAGE SEGMENTATION MR IMAGE SEGMENTATION Prepared by : Monil Shah What is Segmentation? Partitioning a region or regions of interest in images such that each region corresponds to one or more anatomic structures Classification

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 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

CS 490: Computer Vision Image Segmentation: Thresholding. Fall 2015 Dr. Michael J. Reale

CS 490: Computer Vision Image Segmentation: Thresholding. Fall 2015 Dr. Michael J. Reale CS 490: Computer Vision Image Segmentation: Thresholding Fall 205 Dr. Michael J. Reale FUNDAMENTALS Introduction Before we talked about edge-based segmentation Now, we will discuss a form of regionbased

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

Digital Image Processing

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

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

An Introduction To Automatic Tissue Classification Of Brain MRI. Colm Elliott Mar 2014

An Introduction To Automatic Tissue Classification Of Brain MRI. Colm Elliott Mar 2014 An Introduction To Automatic Tissue Classification Of Brain MRI Colm Elliott Mar 2014 Tissue Classification Tissue classification is part of many processing pipelines. We often want to classify each voxel

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

3.3 Histogram Processing(page 142) h(r k )=n k. p(r k )=1

3.3 Histogram Processing(page 142) h(r k )=n k. p(r k )=1 Image enhancement in the spatial domain(3.3) SLIDE 1/18 Histogram 3.3 Histogram Processing(page 142) h(r k )=n k r k : kthgraylevel n k : numberofpixelsofgraylevelr k Normalization Discrete PDF MN: totalnumberofpixels

More information

Lecture #5. Point transformations (cont.) Histogram transformations. Intro to neighborhoods and spatial filtering

Lecture #5. Point transformations (cont.) Histogram transformations. Intro to neighborhoods and spatial filtering Lecture #5 Point transformations (cont.) Histogram transformations Equalization Specification Local vs. global operations Intro to neighborhoods and spatial filtering Brightness & Contrast 2002 R. C. Gonzalez

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

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

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

Image Analysis Image Segmentation (Basic Methods)

Image Analysis Image Segmentation (Basic Methods) Image Analysis Image Segmentation (Basic Methods) Christophoros Nikou cnikou@cs.uoi.gr Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, 2008. Computer Vision course

More information

Norbert Schuff VA Medical Center and UCSF

Norbert Schuff VA Medical Center and UCSF Norbert Schuff Medical Center and UCSF Norbert.schuff@ucsf.edu Medical Imaging Informatics N.Schuff Course # 170.03 Slide 1/67 Objective Learn the principle segmentation techniques Understand the role

More information

EECS490: Digital Image Processing. Lecture #22

EECS490: Digital Image Processing. Lecture #22 Lecture #22 Gold Standard project images Otsu thresholding Local thresholding Region segmentation Watershed segmentation Frequency-domain techniques Project Images 1 Project Images 2 Project Images 3 Project

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

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

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

Preprocessing II: Between Subjects John Ashburner

Preprocessing II: Between Subjects John Ashburner Preprocessing II: Between Subjects John Ashburner Pre-processing Overview Statistics or whatever fmri time-series Anatomical MRI Template Smoothed Estimate Spatial Norm Motion Correct Smooth Coregister

More information

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

Digital Image Processing. Image Enhancement in the Spatial Domain (Chapter 4) Digital Image Processing Image Enhancement in the Spatial Domain (Chapter 4) Objective The principal objective o enhancement is to process an images so that the result is more suitable than the original

More information

mritc: A Package for MRI Tissue Classification

mritc: A Package for MRI Tissue Classification mritc: A Package for MRI Tissue Classification Dai Feng 1 Luke Tierney 2 1 Merck Research Labratories 2 University of Iowa July 2010 Feng & Tierney (Merck & U of Iowa) MRI Tissue Classification July 2010

More information

Digital Image Analysis and Processing

Digital Image Analysis and Processing Digital Image Analysis and Processing CPE 0907544 Image Segmentation Part II Chapter 10 Sections : 10.3 10.4 Dr. Iyad Jafar Outline Introduction Thresholdingh Fundamentals Basic Global Thresholding Optimal

More information

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier Computer Vision 2 SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung Computer Vision 2 Dr. Benjamin Guthier 3. HIGH DYNAMIC RANGE Computer Vision 2 Dr. Benjamin Guthier Pixel Value Content of this

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 02 130124 http://www.ee.unlv.edu/~b1morris/ecg795/ 2 Outline Basics Image Formation Image Processing 3 Intelligent

More information

Pattern recognition. Classification/Clustering GW Chapter 12 (some concepts) Textures

Pattern recognition. Classification/Clustering GW Chapter 12 (some concepts) Textures Pattern recognition Classification/Clustering GW Chapter 12 (some concepts) Textures Patterns and pattern classes Pattern: arrangement of descriptors Descriptors: features Patten class: family of patterns

More information

Image Processing. Bilkent University. CS554 Computer Vision Pinar Duygulu

Image Processing. Bilkent University. CS554 Computer Vision Pinar Duygulu Image Processing CS 554 Computer Vision Pinar Duygulu Bilkent University Today Image Formation Point and Blob Processing Binary Image Processing Readings: Gonzalez & Woods, Ch. 3 Slides are adapted from

More information

CHAPTER 3 TUMOR DETECTION BASED ON NEURO-FUZZY TECHNIQUE

CHAPTER 3 TUMOR DETECTION BASED ON NEURO-FUZZY TECHNIQUE 32 CHAPTER 3 TUMOR DETECTION BASED ON NEURO-FUZZY TECHNIQUE 3.1 INTRODUCTION In this chapter we present the real time implementation of an artificial neural network based on fuzzy segmentation process

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 T1227, Mo, 11-12 o'clock AASS, Örebro University (please drop me an email in advance) achim.lilienthal@oru.se 1 4. Admin Course Plan Rafael C.

More information

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

Digital Image Processing. Prof. P.K. Biswas. Department of Electronics & Electrical Communication Engineering Digital Image Processing Prof. P.K. Biswas Department of Electronics & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Image Segmentation - III Lecture - 31 Hello, welcome

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

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

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

Pattern recognition. Classification/Clustering GW Chapter 12 (some concepts) Textures

Pattern recognition. Classification/Clustering GW Chapter 12 (some concepts) Textures Pattern recognition Classification/Clustering GW Chapter 12 (some concepts) Textures Patterns and pattern classes Pattern: arrangement of descriptors Descriptors: features Patten class: family of patterns

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

Machine learning Pattern recognition. Classification/Clustering GW Chapter 12 (some concepts) Textures

Machine learning Pattern recognition. Classification/Clustering GW Chapter 12 (some concepts) Textures Machine learning Pattern recognition Classification/Clustering GW Chapter 12 (some concepts) Textures Patterns and pattern classes Pattern: arrangement of descriptors Descriptors: features Patten class:

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

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science. Professor William Hoff Dept of Electrical Engineering &Computer Science http://inside.mines.edu/~whoff/ 1 Image Segmentation Some material for these slides comes from https://www.csd.uwo.ca/courses/cs4487a/

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

Region & edge based Segmentation

Region & edge based Segmentation INF 4300 Digital Image Analysis Region & edge based Segmentation Fritz Albregtsen 06.11.2018 F11 06.11.18 IN5520 1 Today We go through sections 10.1, 10.4, 10.5, 10.6.1 We cover the following segmentation

More information

Chapter 4. The Classification of Species and Colors of Finished Wooden Parts Using RBFNs

Chapter 4. The Classification of Species and Colors of Finished Wooden Parts Using RBFNs Chapter 4. The Classification of Species and Colors of Finished Wooden Parts Using RBFNs 4.1 Introduction In Chapter 1, an introduction was given to the species and color classification problem of kitchen

More information

Image segmentation. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year

Image segmentation. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year Image segmentation Stefano Ferrari Università degli Studi di Milano stefano.ferrari@unimi.it Methods for Image Processing academic year 2017 2018 Segmentation by thresholding Thresholding is the simplest

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

Application of fuzzy set theory in image analysis. Nataša Sladoje Centre for Image Analysis

Application of fuzzy set theory in image analysis. Nataša Sladoje Centre for Image Analysis Application of fuzzy set theory in image analysis Nataša Sladoje Centre for Image Analysis Our topics for today Crisp vs fuzzy Fuzzy sets and fuzzy membership functions Fuzzy set operators Approximate

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

Computer Vision. Image Segmentation. 10. Segmentation. Computer Engineering, Sejong University. Dongil Han

Computer Vision. Image Segmentation. 10. Segmentation. Computer Engineering, Sejong University. Dongil Han Computer Vision 10. Segmentation Computer Engineering, Sejong University Dongil Han Image Segmentation Image segmentation Subdivides an image into its constituent regions or objects - After an image has

More information

Feature Detectors and Descriptors: Corners, Lines, etc.

Feature Detectors and Descriptors: Corners, Lines, etc. Feature Detectors and Descriptors: Corners, Lines, etc. Edges vs. Corners Edges = maxima in intensity gradient Edges vs. Corners Corners = lots of variation in direction of gradient in a small neighborhood

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

MRI Brain Image Segmentation based on Thresholding

MRI Brain Image Segmentation based on Thresholding International Journal of Advanced Computer Research (ISSN (print): 49-777 ISSN (online): 77-7970) Volume-3 Number- Issue-8 March-03 MRI Brain Image Segmentation based on Thresholding G. Evelin Sujji, Y.V.S.

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 10 Segmentation 14/02/27 http://www.ee.unlv.edu/~b1morris/ecg782/

More information

IMAGE SEGMENTATION. Václav Hlaváč

IMAGE SEGMENTATION. Václav Hlaváč IMAGE SEGMENTATION Václav Hlaváč Czech Technical University in Prague Faculty of Electrical Engineering, Department of Cybernetics Center for Machine Perception http://cmp.felk.cvut.cz/ hlavac, hlavac@fel.cvut.cz

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

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

CHAPTER 6 MODIFIED FUZZY TECHNIQUES BASED IMAGE SEGMENTATION

CHAPTER 6 MODIFIED FUZZY TECHNIQUES BASED IMAGE SEGMENTATION CHAPTER 6 MODIFIED FUZZY TECHNIQUES BASED IMAGE SEGMENTATION 6.1 INTRODUCTION Fuzzy logic based computational techniques are becoming increasingly important in the medical image analysis arena. The significant

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

Lecture 9: Hough Transform and Thresholding base Segmentation

Lecture 9: Hough Transform and Thresholding base Segmentation #1 Lecture 9: Hough Transform and Thresholding base Segmentation Saad Bedros sbedros@umn.edu Hough Transform Robust method to find a shape in an image Shape can be described in parametric form A voting

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

Segmentation

Segmentation Lecture 6: Segmentation 24--4 Robin Strand Centre for Image Analysis Dept. of IT Uppsala University Today What is image segmentation? A smörgåsbord of methods for image segmentation: Thresholding Edge-based

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

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

Segmentation

Segmentation Lecture 6: Segmentation 215-13-11 Filip Malmberg Centre for Image Analysis Uppsala University 2 Today What is image segmentation? A smörgåsbord of methods for image segmentation: Thresholding Edge-based

More information

Classification. Vladimir Curic. Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University

Classification. Vladimir Curic. Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University Classification Vladimir Curic Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University Outline An overview on classification Basics of classification How to choose appropriate

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

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

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

ADAPTIVE GRAPH CUTS WITH TISSUE PRIORS FOR BRAIN MRI SEGMENTATION

ADAPTIVE GRAPH CUTS WITH TISSUE PRIORS FOR BRAIN MRI SEGMENTATION ADAPTIVE GRAPH CUTS WITH TISSUE PRIORS FOR BRAIN MRI SEGMENTATION Abstract: MIP Project Report Spring 2013 Gaurav Mittal 201232644 This is a detailed report about the course project, which was to implement

More information

Adaptive Learning of an Accurate Skin-Color Model

Adaptive Learning of an Accurate Skin-Color Model Adaptive Learning of an Accurate Skin-Color Model Q. Zhu K.T. Cheng C. T. Wu Y. L. Wu Electrical & Computer Engineering University of California, Santa Barbara Presented by: H.T Wang Outline Generic Skin

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

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

Image segmentation. Václav Hlaváč. Czech Technical University in Prague

Image segmentation. Václav Hlaváč. Czech Technical University in Prague Image segmentation Václav Hlaváč Czech Technical University in Prague Center for Machine Perception (bridging groups of the) Czech Institute of Informatics, Robotics and Cybernetics and Faculty of Electrical

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

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

Digital Image Processing. Lecture # 15 Image Segmentation & Texture

Digital Image Processing. Lecture # 15 Image Segmentation & Texture Digital Image Processing Lecture # 15 Image Segmentation & Texture 1 Image Segmentation Image Segmentation Group similar components (such as, pixels in an image, image frames in a video) Applications:

More information

K-means clustering Based in part on slides from textbook, slides of Susan Holmes. December 2, Statistics 202: Data Mining.

K-means clustering Based in part on slides from textbook, slides of Susan Holmes. December 2, Statistics 202: Data Mining. K-means clustering Based in part on slides from textbook, slides of Susan Holmes December 2, 2012 1 / 1 K-means Outline K-means, K-medoids Choosing the number of clusters: Gap test, silhouette plot. Mixture

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

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

Lecture 11: Classification

Lecture 11: Classification Lecture 11: Classification 1 2009-04-28 Patrik Malm Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University 2 Reading instructions Chapters for this lecture 12.1 12.2 in

More information

Norbert Schuff Professor of Radiology VA Medical Center and UCSF

Norbert Schuff Professor of Radiology VA Medical Center and UCSF Norbert Schuff Professor of Radiology Medical Center and UCSF Norbert.schuff@ucsf.edu 2010, N.Schuff Slide 1/67 Overview Definitions Role of Segmentation Segmentation methods Intensity based Shape based

More information

K-Means and Gaussian Mixture Models

K-Means and Gaussian Mixture Models K-Means and Gaussian Mixture Models David Rosenberg New York University June 15, 2015 David Rosenberg (New York University) DS-GA 1003 June 15, 2015 1 / 43 K-Means Clustering Example: Old Faithful Geyser

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

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

Image Enhancement 3-1

Image Enhancement 3-1 Image Enhancement The goal of image enhancement is to improve the usefulness of an image for a given task, such as providing a more subjectively pleasing image for human viewing. In image enhancement,

More information

Motivation. Intensity Levels

Motivation. Intensity 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

EMSegment Tutorial. How to Define and Fine-Tune Automatic Brain Compartment Segmentation and the Detection of White Matter Hyperintensities

EMSegment Tutorial. How to Define and Fine-Tune Automatic Brain Compartment Segmentation and the Detection of White Matter Hyperintensities EMSegment Tutorial How to Define and Fine-Tune Automatic Brain Compartment Segmentation and the Detection of White Matter Hyperintensities This documentation serves as a tutorial to learn to customize

More information

COSC160: Detection and Classification. Jeremy Bolton, PhD Assistant Teaching Professor

COSC160: Detection and Classification. Jeremy Bolton, PhD Assistant Teaching Professor COSC160: Detection and Classification Jeremy Bolton, PhD Assistant Teaching Professor Outline I. Problem I. Strategies II. Features for training III. Using spatial information? IV. Reducing dimensionality

More information

EECS490: Digital Image Processing. Lecture #21

EECS490: Digital Image Processing. Lecture #21 Lecture #21 Hough transform Graph searching Area based segmentation Thresholding, automatic thresholding Local thresholding Region segmentation Hough Transform Points (x i,y i ) and (x j,y j ) Define a

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

Today INF How did Andy Warhol get his inspiration? Edge linking (very briefly) Segmentation approaches

Today INF How did Andy Warhol get his inspiration? Edge linking (very briefly) Segmentation approaches INF 4300 14.10.09 Image segmentation How did Andy Warhol get his inspiration? Sections 10.11 Edge linking 10.2.7 (very briefly) 10.4 10.5 10.6.1 Anne S. Solberg Today Segmentation approaches 1. Region

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

Statistical image models

Statistical image models Chapter 4 Statistical image models 4. Introduction 4.. Visual worlds Figure 4. shows images that belong to different visual worlds. The first world (fig. 4..a) is the world of white noise. It is the world

More information

human vision: grouping k-means clustering graph-theoretic clustering Hough transform line fitting RANSAC

human vision: grouping k-means clustering graph-theoretic clustering Hough transform line fitting RANSAC COS 429: COMPUTER VISON Segmentation human vision: grouping k-means clustering graph-theoretic clustering Hough transform line fitting RANSAC Reading: Chapters 14, 15 Some of the slides are credited to:

More information

An ICA based Approach for Complex Color Scene Text Binarization

An ICA based Approach for Complex Color Scene Text Binarization An ICA based Approach for Complex Color Scene Text Binarization Siddharth Kherada IIIT-Hyderabad, India siddharth.kherada@research.iiit.ac.in Anoop M. Namboodiri IIIT-Hyderabad, India anoop@iiit.ac.in

More information

Ulrik Söderström 16 Feb Image Processing. Segmentation

Ulrik Söderström 16 Feb Image Processing. Segmentation Ulrik Söderström ulrik.soderstrom@tfe.umu.se 16 Feb 2011 Image Processing Segmentation What is Image Segmentation? To be able to extract information from an image it is common to subdivide it into background

More information

Dr. Ulas Bagci

Dr. Ulas Bagci CAP5415-Computer Vision Lecture 11-Image Segmentation (BASICS): Thresholding, Region Growing, Clustering Dr. Ulas Bagci bagci@ucf.edu 1 Image Segmentation Aim: to partition an image into a collection of

More information