Digital Image Processing. Image Enhancement (Point Processing)

Similar documents
Digital Image Processing

Intensity Transformations. Digital Image Processing. What Is Image Enhancement? Contents. Image Enhancement Examples. Intensity Transformations

Digital Image Processing. Lecture # 3 Image Enhancement

Selected Topics in Computer. Image Enhancement Part I Intensity Transformation

Intensity Transformation and Spatial Filtering

Lecture 4 Image Enhancement in Spatial Domain

Digital Image Analysis and Processing

Image Enhancement in Spatial Domain. By Dr. Rajeev Srivastava

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

Sampling and Reconstruction

Intensity Transformations and Spatial Filtering

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

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

IMAGE ENHANCEMENT in SPATIAL DOMAIN by Intensity Transformations

Introduction to Digital Image Processing

UNIT - 5 IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Lecture No Image Enhancement in SpaPal Domain (course: Computer Vision)

EE663 Image Processing Histogram Equalization I

IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

Basic relations between pixels (Chapter 2)

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

Chapter 3: Intensity Transformations and Spatial Filtering

Original grey level r Fig.1

Basic Algorithms for Digital Image Analysis: a course

Digital Image Processing

Introduction to Digital Image Processing

Lecture 3 - Intensity transformation

Image Enhancement. Digital Image Processing, Pratt Chapter 10 (pages ) Part 1: pixel-based operations

Image Enhancement: To improve the quality of images

CHAPTER 3 IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

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

1.Some Basic Gray Level Transformations

Digital Image Processing, 3rd ed. Gonzalez & Woods

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

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

Digital Image Processing

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

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

Lecture 4: Spatial Domain Transformations

Islamic University of Gaza Faculty of Engineering Computer Engineering Department

Motivation. Intensity Levels

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

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

Image Enhancement in Spatial Domain (Chapter 3)

INTENSITY TRANSFORMATION AND SPATIAL FILTERING

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

Fundamentals of Digital Image Processing

Digital Image Processing

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

Digital Image Fundamentals

Chapter - 2 : IMAGE ENHANCEMENT

MR IMAGE SEGMENTATION

Motivation. Gray Levels

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

BSc (Hons) Computer Science. with Network Security. Examinations for / Semester 2

Chapter 3 Image Enhancement in the Spatial Domain

Computer Vision I - Basics of Image Processing Part 1

Digital Image Processing

Image Processing Lecture 10

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

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

Digital image processing

Theoretically Perfect Sensor

Image Enhancement 3-1

Theoretically Perfect Sensor

Digital Image Processing COSC 6380/4393

Advance features for existing SDK lost

RKUniversity, India. Key Words Digital image processing, Image enhancement, FPGA, Hardware design languages, Verilog.

Lecture 6: Edge Detection

Complex Sensors: Cameras, Visual Sensing. The Robotics Primer (Ch. 9) ECE 497: Introduction to Mobile Robotics -Visual Sensors

Lecture 7: Most Common Edge Detectors

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

Introduction to Medical Image Analysis

What is an Image? Image Acquisition. Image Processing - Lesson 2. An image is a projection of a 3D scene into a 2D projection plane.

Image Processing: Final Exam November 10, :30 10:30

Lecture Image Enhancement and Spatial Filtering

Image Processing. Cosimo Distante. Lecture 6: Monochrome and Color processing

Image Processing and Analysis

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

Digital Image Processing

Digital Image Processing ERRATA. Wilhelm Burger Mark J. Burge. An algorithmic introduction using Java. Second Edition. Springer

An Introduc+on to Mathema+cal Image Processing IAS, Park City Mathema2cs Ins2tute, Utah Undergraduate Summer School 2010

Digital Image Processing

Physics-based Vision: an Introduction

An introduction to image enhancement in the spatial domain.

CS4670: Computer Vision

Filtering and Enhancing Images

CHAPTER 6 DETECTION OF MASS USING NOVEL SEGMENTATION, GLCM AND NEURAL NETWORKS

INTRODUCTION TO IMAGE PROCESSING (COMPUTER VISION)

Image Restoration and Reconstruction

Point operation Spatial operation Transform operation Pseudocoloring

Review for Exam I, EE552 2/2009

Image Acquisition Image Digitization Spatial domain Intensity domain Image Characteristics

Image Processing. Traitement d images. Yuliya Tarabalka Tel.

Digital Image Processing. Chapter 7: Wavelets and Multiresolution Processing ( )

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

Presentation and analysis of multidimensional data sets

Image Restoration and Reconstruction

Image restoration. Restoration: Enhancement:

Computer Vision I - Algorithms and Applications: Basics of Image Processing

Transcription:

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 Logarithmic transformation Power law transforms Grey level slicing Bit plane slicing

3 Basic Spatial Domain Image Origin Enhancement Most spatial domain enhancement operations can be reduced to the form g (x, y) = T[ f (x, y)] where f (x, y) is the input image, g (x, y) is the processed image and T is some operator defined over some neighbourhood (x, y) y Image f (x, y) x (x, y)

4 Point Processing The simplest spatial domain operations occur when the neighbourhood is simply the pixel itself In this case T is referred to as a grey level transformation function or a point processing operation Point processing operations take the form s = T ( r ) where s refers to the processed image pixel value and r refers to the original image pixel value

5 Point Processing Example: Negative Images Negative images are useful for enhancing white or grey detail embedded in dark regions an image Note how much clearer the tissue is in the negative image the mammogram below Original Image s = 1.0 - r Negative Image

6 Point Processing Example: Negative Images (cont ) Original Image x Enhanced Image x y Image f (x, y) y Image f (x, y) s = intensity max - r

7 Point Processing Example: Thresholding Thresholding transformations are particularly useful for segmentation in which we want to isolate an object interest from a background s = 1.0 r > threshold 0.0 r <= threshold

8 Point Processing Example: Thresholding (cont ) Original Image x Enhanced Image x y Image f (x, y) y Image f (x, y) s = 1.0 r > threshold 0.0 r <= threshold

9 Intensity Transformations

10 Basic Grey Level Transformations There are many different kinds grey level transformations Three the most common are shown here Linear Negative/Identity Logarithmic Log/Inverse log Power law n th power/n th root

11 Logarithmic Transformations The general form the log transformation is s = c * log(1 + r) The log transformation maps a narrow range low input grey level values into a wider range output values The inverse log transformation performs the opposite transformation

12 Logarithmic Transformations (cont ) Log functions are particularly useful when the input grey level values may have an extremely large range values In the following example the Fourier transform an image is put through a log transform to reveal more detail s = log(1 + r)

13 Logarithmic Transformations (cont ) Original Image x Enhanced Image x y Image f (x, y) y Image f (x, y) We usually set c to 1 s = log(1 + r) Grey levels must be in the range [0.0, 1.0]

14 Power Law Transformations Power law transformations have the following form s = c * r γ Map a narrow range dark input values into a wider range output values or vice versa Varying γ gives a whole family curves

15 Power Law Transformations (cont ) Original Image x Enhanced Image x y Image f (x, y) y Image f (x, y) We usually set c to 1 s = r γ Grey levels must be in the range [0.0, 1.0]

16 Power Law Example

Transformed Intensities 17 Power Law Example (cont ) γ = 0.6 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 Old Intensities

Transformed Intensities 18 Power Law Example (cont ) γ = 0.4 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 Original Intensities

Transformed Intensities 19 Power Law Example (cont ) γ = 0.3 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 Original Intensities

20 Power Law Example (cont ) The images to the right show a magnetic resonance (MR) image a fractured human spine Different curves highlight different detail s = r 0.4 s = r 0.6

21 Power Law Example

Transformed Intensities 22 Power Law Example (cont ) γ = 5.0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 Original Intensities

23 Power Law Transformations (cont ) An aerial photo a runway is shown This time power law transforms are used to darken the image Different curves highlight different detail s = r 4.0 s = r 3.0

24 Gamma Correction Different camera sensors - Have different responses to light intensity - Produce different electrical signals for same input How do we ensure there is consistency in: a)images recorded by different cameras for given light input b)light emitted by different display devices for same image?

25 Gamma Correction What is the relation between: Camera: Light on sensor vs. intensity corre sponding pixel Display: Pixel intensity vs. light from that pixel Relation between pixel value and corre sponding physical quantity is usually complex, nonlinear

26 Gamma Correction Many you might be familiar with gamma correction computer monitors Problem is that display devices do not respond linearly to different intensities Can be corrected using a log transform

27 Gamma Correction

28 More Contrast Issues

29 Piecewise Linear Transformation Functions Rather than using a well defined mathematical function we can use arbitrary user-defined transforms The images below show a contrast stretching linear transform to add contrast to a poor quality image

30 Gray Level Slicing Highlights a specific range grey levels Similar to thresholding Other levels can be suppressed or maintained Useful for highlighting features in an image

31 Bit Plane Slicing Often by isolating particular bits the pixel values in an image we can highlight interesting aspects that image Higher-order bits usually contain most the significant visual information Lower-order bits contain subtle details

32 Bit Plane Slicing (cont ) [10000000] [01000000] [00100000] [00001000] [00000100] [00000001]

33 Bit Plane Slicing (cont )

34 Bit Plane Slicing (cont )

35 Bit Plane Slicing (cont )

36 Bit Plane Slicing (cont )

37 Bit Plane Slicing (cont )

38 Bit Plane Slicing (cont )

39 Bit Plane Slicing (cont )

40 Bit Plane Slicing (cont )

41 Bit Plane Slicing (cont )

42 Bit Plane Slicing (cont )

43 Bit Plane Slicing (cont ) Reconstructed image using only bit planes 8 and 7 Reconstructed image using only bit planes 8, 7 and 6 Reconstructed image using only bit planes 7, 6 and 5

44 Report Histogram Specification

Summary We have looked at different kinds point processing image enhancement Next time we will start to look at neighbourhood operations in particular filtering and convolution