Topic 4 - Image Mapping - I DIGITAL IMAGING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.

Slides:



Advertisements
Similar presentations
Lecture 9 Grey Level & Colour Enhancement TK3813 Dr. Masri Ayob.
Advertisements

Digital Image Processing
Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
Topic 6 - Image Filtering - I DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Image Processing Lecture 4
Chapter 3 Image Enhancement in the Spatial Domain.
Chapter - 2 IMAGE ENHANCEMENT
Histogram Specification
HISTOGRAM TRANSFORMATION IN IMAGE PROCESSING AND ITS APPLICATIONS Attila Kuba University of Szeged.
EE663 Image Processing Histogram Equalization Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Histogram Processing The histogram of a digital image with gray levels from 0 to L-1 is a discrete function h(rk)=nk, where: rk is the kth gray level nk.
Course Website: Digital Image Processing Image Enhancement (Histogram Processing)
Digital Image Processing Contrast Enhancement: Part II
6. Gray level enhancement Some of the simplest, yet most useful, image processing operations involve the adjustment of brightness, contrast or colour in.
Image Enhancement in the Spatial Domain
Image (and Video) Coding and Processing Lecture 5: Point Operations Wade Trappe.
Intensity Transformations
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
Digital Image Processing
HISTOGRAM TRANSFORMATION IN IMAGE PROCESSING SHINTA P TEKNIK INFORMATIKA STMIK MDP 2011.
Chapter 4: Image Enhancement
BYST Eh-1 DIP - WS2002: Enhancement in the Spatial Domain Digital Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department Image Enhancement.
انجمن دانشجویان ایران – مرجع دانلود کتاب ، نمونه سوال و جزوات درسی دانلود جزوات کارشناسی ارشد نرم افزار علوم تحقیقات البرز دانشگاه آزاد کرج Karaj.unicloob.ir.
Digital Image Processing & Pattern Analysis (CSCE 563) Intensity Transformations Prof. Amr Goneid Department of Computer Science & Engineering The American.
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.
EEE 498/591- Real-Time DSP1 What is image processing? x(t 1,t 2 ) : ANALOG SIGNAL x : real value (t 1,t 2 ) : pair of real continuous space (time) variables.
CS443: Digital Imaging and Multimedia Point Operations on Digital Images Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Spring.
CS 376b Introduction to Computer Vision 02 / 25 / 2008 Instructor: Michael Eckmann.
Image Enhancement.
Digital Image Processing
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Gholizadeh M.Gholizadeh
Spectral contrast enhancement
University of Ioannina - Department of Computer Science Intensity Transformations (Point Processing) Christophoros Nikou Digital Image.
Manipulating contrast/point operations. Examples of point operations: Threshold (demo) Threshold (demo) Invert (demo) Invert (demo) Out[x,y] = max – In[x,y]
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Topic 10 - Image Analysis DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Remote Sensing and Image Processing: 2 Dr. Hassan J. Eghbali.
Topic 5 - Imaging Mapping - II DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Digital Image Processing Contrast Enhancement: Part I
CS6825: Point Processing Contents – not complete What is point processing? What is point processing? Altering/TRANSFORMING the image at a pixel only.
Point Operations – Chapter 5. Definition Some of the things we do to an image involve performing the same operation on each and every pixel (point) –We.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel:
Intensity Transformations or Translation in Spatial Domain.
CS654: Digital Image Analysis Lecture 18: Image Enhancement in Spatial Domain (Histogram)
Intensity Transformations (Histogram Processing)
The Reason Tone Curves Are The Way They Are. Tone Curves in a common imaging chain.
Digital Image Processing EEE415 Lecture 3
CH2. Point Processes Arithmetic Operation Histogram Equalization
Digital Image Processing Part 2 Contrast processing.
03/03/03© 2003 University of Wisconsin Last Time Subsurface scattering models Sky models.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing January 13, 2004 Prof. Charlene Tsai.
Digital Image Processing Image Enhancement in Spatial Domain
Point Processing When doing so you actually perform a special type of image processing known as point processing.
Lecture Notes: The Point Processing of Images
IMAGE PROCESSING INTENSITY TRANSFORMATION AND SPATIAL FILTERING
Image Enhancement.
Digital Image Processing
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Image Processing – Contrast Enhancement
Image Enhancement in the
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Histogram Probability distribution of the different grays in an image.
Histogram Equalization
Digital Image Procesing Introduction to Image Enhancement Histogram Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL.
Grey Level Enhancement
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.
Intensity Transformations and Spatial Filtering
Presentation transcript:

Topic 4 - Image Mapping - I DIGITAL IMAGING Course 3624 Department of Physics and Astronomy Professor Bob Warwick

Typical Image Processing Steps ORIGINAL IMAGE PRE-PROCESSING STEPS ENHANCEMENT & RESTORATION IMPROVED IMAGE IMAGE ANALYSIS Mapping Filtering Restoration focus of this course

Image Mapping Processes Image Mapping encompasses a range of enhancement methods which adjust the way the image data are displayed (ie how the data are "mapped" onto the display device). 4.1 Image Enhancement by Histogram Modification The image histogram P(f) is simply the probability distribution of the gray level within the image: 16-level (4-bit) image Gray level f P(f)

Histograms of a Colour Image

The form of the image histogram P(f) provides useful information on the content/quality of the image: The Form of the Image Histogram Good contrast Poor contrast Saturated? Image histogram modification techniques aim to improve the gray level distribution in the displayed image so as to make as much use as possible of the rather limited ability of the eye to discern gray shades. f  P(f) 

Discriminating between Gray Levels - I I = Intensity of Scene

Discriminating between Gray Levels - II Typically we are able to discern ~ 32 = 2 5 gray levels in any particular image

Discriminating between Gray Levels - III Small squares have same intensity but different apparent brightness. Small squares have different intensity but same apparent brightness.

Image Enhancement by Histogram Modification Original Image “New" image The goal is to find a suitable transformation: Notes: we assume T(f) is strictly monotonically increasing, i.e., T -1 exists (Inefficient) Implementation Method: Once f out = T(f in ) has been defined, we compute a new image by f in  f out on a pixel-by-pixel basis …  … … … …

Example: Linear Contrast Stretching The parameters of the process f 1 & f 2 might be determined: Interactively Automatically Forms of T(f): A Linear Contrast Stretch For example: If we calculate the Cumulative Probability Distribution C(f), then we might use:

Example of Contrast Stretching ---- Discernable shades of gray

Author: Richard Alan Peters II Improved Contrast? zero point sat. point R+G+B

Author: Richard Alan Peters II Forms of T(f): Increased Gamma

Author: Richard Alan Peters II Forms of T(f): Decreased Gamma

4.2 Image Enhancement by Histogram Matching The objective is to set up the displayed image so that its histogram has a specified form. A special case is HISTOGRAM EQUALISATION where: P 2 (f out ) = constant i.e. the goal is a uniform distribution. Then: Notes: The equations are written in terms of continuous variables C 1 & C 2 are the cumulative distributions of P 1 & P 2.

Histogram Equalisation: Problem Note that the result is only a crude approximation to the target uniform distribution – due to the very coarse digitization of the input image data

Comments on Implementation Highly Efficient Method: Load the look-up table of the display device with the required transformation Image Store Look-up Table D/A Video Out Look-Up Table fin fout Specific Transform D/A Display 0 Black 1 Dark Grey Light Grey 7 White Look-Up Table fin fout HardwiredStandard Setting previous 3-bit example

Histogram Equalisation in Action Original Image Final ImageEqualised Histogram Original Histogram

Histogram Equalisation in Action Original ImageFinal Image Equalised HistogramOriginal Histogram

The General Case The general formula above can be applied to give any form for the output image histogram. The procedure to apply this formula is: A practical implementation might involve: (a)For each f in calculate C 1 (f in ) (b)Compute a look-up table of f out versus C 2 (f out ) (c)For each f in find the nearest C 2 value to C 1 (f in ) (d)Determine the f out value = the C 2 value (e)Load the resulting mapping f in  f out into the display device look-up table Equalization General f f

Image Enhancement by Histogram Specification

Author: Richard Alan Peters II Example: Histogram Specification Image P(f) f Cumulative Distribution Image C(f)

Author: Richard Alan Peters II Histogram to be matched taken from a second image Target P(f) f Cumulative Distribution Target C(f)

Author: Richard Alan Peters II Image CDF Target CDF Histogram Matching Example Original Remapped Target