Chap. 3: Image Enhancement in the Spatial Domain Spring 2006, Jen-Chang Liu CSIE, NCNU.

Slides:



Advertisements
Similar presentations
Types of Image Enhancements in spatial domain
Advertisements

Digital Image Processing
Image Processing Ch3: Intensity Transformation and spatial filters
Image Processing Lecture 4
CS & CS Multimedia Processing Lecture 2. Intensity Transformation and Spatial Filtering Spring 2009.
Chapter 3 Image Enhancement in the Spatial Domain.
Chapter - 2 IMAGE ENHANCEMENT
Digital Image Processing
ECE 472/572 - Digital Image Processing
Image Enhancement in the Spatial Domain II Jen-Chang Liu, 2006.
Image Enhancement in the Spatial Domain
Intensity Transformations
Digital Image Processing
BYST Eh-1 DIP - WS2002: Enhancement in the Spatial Domain Digital Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department Image Enhancement.
Image Enhancement by Modifying Gray Scale of Individual Pixels
Lecture 4 Digital Image Enhancement
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Digital Image Processing
Chapter 3: Image Enhancement in the Spatial Domain
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Image Enhancement To process an image so that the result is more suitable than the original image for a specific application. Spatial domain methods and.
Machine Vision and Dig. Image Analysis 1 Prof. Heikki Kälviäinen CT50A6100 Lectures 6&7: Image Enhancement Professor Heikki Kälviäinen Machine Vision and.
Digital Image Processing
Image Enhancement.
Digital Image Processing
Lecture 2. Intensity Transformation and Spatial Filtering
Chapter 3 Image Enhancement in the Spatial Domain.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Lecture 4 Digital Image Enhancement
Chap2 Image enhancement (Spatial domain)
Digital Image Processing
University of Ioannina - Department of Computer Science Intensity Transformations (Point Processing) Christophoros Nikou Digital Image.
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Lecture Three Chapters Two and three Photo slides from Digital Image Processing, Gonzalez and Woods, Copyright 2002.
Chapter 3 Image Enhancement in the Spatial Domain.
Pattern Recognition Mrs. Andleeb Y. Khan Lecture 03 BCS-VII.
CS6825: Point Processing Contents – not complete What is point processing? What is point processing? Altering/TRANSFORMING the image at a pixel only.
DIGITAL IMAGE PROCESSING
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
CIS 601 Image ENHANCEMENT in the SPATIAL DOMAIN Dr. Rolf Lakaemper.
Intensity Transformations or Translation in Spatial Domain.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods  Process an image so that the result will be more suitable.
Image Enhancement ارتقاء تصویر Enhancement Spatial Domain Frequency Domain.
CIS 601 – 04 Image ENHANCEMENT in the SPATIAL DOMAIN Longin Jan Latecki Based on Slides by Dr. Rolf Lakaemper.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Digital Image Processing EEE415 Lecture 3
Prepared by: Hanan Hardan
Digital Image Processing CSC331 Image Enhancement 1.
Image Enhancement in Spatial Domain Presented by : - Mr. Trushar Shah. ME/MC Department, U.V.Patel College of Engineering, Kherva.
Lecture Reading  3.1 Background  3.2 Some Basic Gray Level Transformations Some Basic Gray Level Transformations  Image Negatives  Log.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing January 13, 2004 Prof. Charlene Tsai.
Digital Image Processing Image Enhancement in Spatial Domain
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
Image Enhancement in the Spatial Domain.
IMAGE ENHANCEMENT TECHNIQUES
IMAGE PROCESSING INTENSITY TRANSFORMATION AND SPATIAL FILTERING
Image Enhancement.
Intensity Transformations and Spatial Filtering
CIS 601 – 03 Image ENHANCEMENT SPATIAL DOMAIN Longin Jan Latecki
Image Enhancement in the Spatial Domain
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Digital Image Processing
Image Processing Ch3: Intensity Transformation and spatial filters
CIS 4350 Image ENHANCEMENT SPATIAL DOMAIN
Intensity Transformations and Spatial Filtering
IT523 Digital Image Processing
IT523 Digital Image Processing
Image Enhancement in the Spatial Domain
Presentation transcript:

Chap. 3: Image Enhancement in the Spatial Domain Spring 2006, Jen-Chang Liu CSIE, NCNU

Announcement Where to find MATLAB ? It ’ s not free … A book contains the student ’ s edition of MATLAB NCNU CC support 50 on-line version in the computer rooms (307, 308, 208, 413)

Image Enhancement Goal: process an image so that the result is more suitable than the original image for a specific application Visual interpretation Problem oriented

Image enhancement example

Two categories There is no general theory of image enhancement Spatial domain Direct manipulation of pixels Point processing Neighborhood processing Frequency domain Modify the Fourier transform of an image

Outline: spatial domain operations Background Gray level transformations Arithmetic/logic operations

Background Spatial domain processing g(x,y)=T[ f(x,y) ] f(x,y): input image g(x,y): output image T: operator Defined over some neighborhood of (x,y) T f(x,y)g(x,y)

Background (cont.) * T operates over neighborhood of (x,y) * T applies to each pixel in the input image

Point processing 1x1 neighborhood Gray level transformation, or point processing s = T(r) contrast stretching thresholding

Neighborhood processing A larger predefined neighborhood Ex. 3x3 neighborhood mask, filters, kernels, templates, windows Mask processing or filtering

Some Basic Gray Level Transformations Image negatives (complement) Log transformation Power-law transform Piece-wise linear transform Gray level slicing Bit plane slicing

Some gray level transformations Lookup table Functional form

Image negatives Photographic negative 負片 Suitable for images with dominant black areas Original mammogram( 乳房 X 光片 )

Log transformations s = c log(1+r) Compress the dynamic range of images with large variation in pixel values

Example: Log transformations log(fft2(I)) : log of Fourier transform 2d Fourier transform 頻譜圖 log

Power-law transformations s=cr   >1  <1  : gamma display, printers, scanners follow power-law Gamma correction

Example: Gamma correction CRT: intensity-to- voltage response follow a power-law. 1.8<  <2.5  =2.5  =1/2.5  =2.5 原始影像 顯示器偏差

Power-law: Expand dark gray levels  <1  =0.6  =0.3  =0.4

Power-law:  >1 Expand light gray levels  =4  =5  =3

Piece-wise linear transformations Advantage: the piecewise function can be arbitrarily complex control point

Contrast stretching How to automatically adjust the gray levels?

Gray-level slicing 切片 Highlighting a specific range of gray levels

Bit-plane slicing * Highlight specific bits bit-planes of an image (gray level 0~255) Ex

Bit-plane slicing: example

For image compression

Arithmetic/logic operations Logic operations Image subtraction Image averaging

Logic operations Logic operations: pixel-wise AND, OR, NOT The pixel gray level values are taken as string of binary numbers Use the binary mask to take out the region of interest(ROI) from an image Ex. 193 =>

Logic operations: example AND OR ABA and B A or B

Image subtraction Difference image g(x,y)=f(x,y)-h(x,y) f:original(8 bits) h:4 sig. bits difference image scaling

Image subtraction: scaling the difference image g(x,y)=f(x,y)-h(x,y) f and h are 8-bit => g(x,y)  [-255, 255] 1. (1)+255 (2) divide by 2 The result won ’ t cover [0,255] 2. (1)-min(g) (2) *255/max(g) Be careful of the dynamic range after the image is processed.

Image subtraction example: mask mode radiography Inject contrast medium into bloodstream original (head)difference image 注射碘液 拍攝影像 與原影像 相減

Image averaging Noisy image g(x,y)=f(x,y)+η(x,y) Suppose η(x,y) is uncorrelated and has zero mean originalnoise Clear imageNoisy image

Image averaging: noise reduction 期望值接近原圖 Averaging over K noisy images g i (x,y)

originalGaussian noise averaging K=8 averaging K=16 averaging K=64 averaging K=128