Digital Image Processing Part 2 Contrast processing.

Slides:



Advertisements
Similar presentations
Point Processing Histograms. Histogram Equalization Histogram equalization is a powerful point processing enhancement technique that seeks to optimize.
Advertisements

Embedded Image Processing on FPGA Brian Kinsella Supervised by Dr Fearghal Morgan.
Digital Image Processing
Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
Exposure and Dynamic Range Low contrast | High Contrast.
Chapter - 2 IMAGE ENHANCEMENT
Image Histograms Cumulative histogram
Topic 4 - Image Mapping - I DIGITAL IMAGING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
EE4H, M.Sc Computer Vision Dr. Mike Spann
Section 1.6 Frequency Distributions and Histograms.
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)
6. Gray level enhancement Some of the simplest, yet most useful, image processing operations involve the adjustment of brightness, contrast or colour in.
Intensity Transformations
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
IMAGE ENHANCEMENT AND RESTORATION. Pixel operations.
SCCS 4761 Point Processing Basic Image Processing Operations Arithmetic Operations Histograms.
What's a histogram? The Histogram shows the total tonal distribution in the image – global quality. It's a bar-chart of the count of pixels of every tone.
Chapter 4: Image Enhancement
انجمن دانشجویان ایران – مرجع دانلود کتاب ، نمونه سوال و جزوات درسی دانلود جزوات کارشناسی ارشد نرم افزار علوم تحقیقات البرز دانشگاه آزاد کرج Karaj.unicloob.ir.
Digital Image Processing & Pattern Analysis (CSCE 563) Intensity Transformations Prof. Amr Goneid Department of Computer Science & Engineering The American.
Image enhancement in the spatial domain. Human vision for dummies Anatomy and physiology Wavelength Wavelength sensitivity.
CS324e - Elements of Graphics and Visualization Color Histograms.
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
Exposure and Dynamic Range Low contrast | High Contrast.
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
1 Photographic Tone Reproduction for Digital Images Brandon Lloyd COMP238 October 2002.
Lecture 4 Digital Image Enhancement
HW 2 Discussion Remember, everything is still an illusion.
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.
The Digital Image Dr. John Ryan.
Remote Sensing and Image Processing: 2 Dr. Hassan J. Eghbali.
Digital Image Processing Contrast Enhancement: Part I
Image Processing Image Histogram Lecture
Multimedia Data Introduction to Image Processing Dr Sandra I. Woolley Electronic, Electrical.
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.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - IMAGES. Processing digital Images digital images are often processed using “digital filters” digital images are.
Lecture 3 The Digital Image – Part I - Single Channel Data 12 September
CS654: Digital Image Analysis Lecture 18: Image Enhancement in Spatial Domain (Histogram)
Digital Image Processing Part 1 Introduction. The eye.
Intensity Transformations (Histogram Processing)
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Frequency Distributions and Cumulative Frequency Distributions OBJ: Make frequency distributions and cumulative frequency distributions.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Digital Image Processing EEE415 Lecture 3
Applying Pixel Values to Digital Images
03/03/03© 2003 University of Wisconsin Last Time Subsurface scattering models Sky models.
Digital Image Processing
Digital Image Processing Lecture 4: Image Enhancement: Point Processing January 13, 2004 Prof. Charlene Tsai.
Histogram Equalization
1-Introduction (Computing the image histogram).
Discussion #29 – Images II
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
Lecture Five Figures from Gonzalez and Woods, Digital Image Processing, Second edition, Prentice-Hall,2002.
Digital Image Processing
Resolution Resolution: 6 x 4.
Digital Image Processing
Digital Image Procesing Introduction to Image Enhancement Histogram Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL.
Digital Image Processing
Grey Level Enhancement
Digital Image Processing
Intensity Transformations and Spatial Filtering
IT523 Digital Image Processing
CS 101 – Nov more major topics left: Image enhancement
Histogram The histogram of an image is a plot of the gray _levels values versus the number of pixels at that value. A histogram appears as a graph with.
Image Enhancement in Spatial Domain: Point Processing
Presentation transcript:

Digital Image Processing Part 2 Contrast processing

Brightness and Contrast Grey scale and histogram of pixel values

Dark and Light Images

Low Contrast To lighten or darken, shift the distribution left or right To increase contrast, stretch the distribution over a wider range

Good Contrast Almost full dynamic range used. Could contrast stretch slightly

Point process contrast

Contrast stretch Histogram towards right so bright Width narrow so low contrast

Contrast stretch result

Contrast stretch limitations Subjective so needs human judgment Best enhancement not always linear May need to do brightness shift first Sometimes need an automated method Can be slow if each point is calculated so use look-up table to speed-up processing

Histogram equalisation Simple image with up to 10 brightness levels Plot histogram

Process Determine the frequency of each pixel level –i.e. distribution as on histogram Determine the cumulative frequency –How many pixels at level n plus all previous levels Determine new mapping function Map old values to new values using the new mapping function

Mapping function

Worked Example LevelFreq Count the number of pixels at each level and create a frequency column

LevelFreqCum Freq Cumulative frequency is the sum of the pixels at the current level and all previous levels

Use formula to create new mapping function LevelFreq Cum FreqF(g)

New Mapping Function

New Pixel Levels LevelFreqCFrqF(g)New Old levels (Level) are converted to new levels (F(g)) New histogram plotted from new distribution (New)

Histogram comparison

New Picture

Does not need human intervention so can be used in systems which need automatic image enhancement Sometimes it makes a good job but not always –It will improve contrast for imaging systems but may not always produce an image which is pleasing to the eye Advantages and Disadvantages