Contrast Enhancement: What for ä CE is between the imaging device output and the display voltages ä Get best perceived intensities to communicate.

Slides:



Advertisements
Similar presentations
M ATLAB L ECTURE 3 Histogram Processing. H ISTOGRAM E QUALIZATION The imhist function create a histogram that show the distribution of intensities in.
Advertisements

Laboratory of Image Processing Pier Luigi Mazzeo
Digital Image Processing
CS & CS Multimedia Processing Lecture 2. Intensity Transformation and Spatial Filtering Spring 2009.
Chapter 3 Image Enhancement in the Spatial Domain.
Lecture 6 Sharpening Filters
CS 4487/9587 Algorithms for Image Analysis
Digital Image Processing
6. Gray level enhancement Some of the simplest, yet most useful, image processing operations involve the adjustment of brightness, contrast or colour in.
Image (and Video) Coding and Processing Lecture 5: Point Operations Wade Trappe.
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
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.
Digital Image Processing & Pattern Analysis (CSCE 563) Intensity Transformations Prof. Amr Goneid Department of Computer Science & Engineering The American.
Digital image processing Chapter 6. Image enhancement IMAGE ENHANCEMENT Introduction Image enhancement algorithms & techniques Point-wise operations Contrast.
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
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.
6/9/2015Digital Image Processing1. 2 Example Histogram.
Digital Image Processing
MSU CSE 803 Stockman Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute.
Image Enhancement.
Lecture 2. Intensity Transformation and Spatial Filtering
MSU CSE 803 Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute some result.
Geometry-driven Diffusion.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Digital Image Processing Lecture 4 Image Restoration and Reconstruction Second Semester Azad University Islamshar Branch
Spatial Filtering: Basics
A Software Tool for the Enhanced Display of High- Dynamic-Range Medical Images using Bilateral Filtering Joshua Stough COMP 238 December 17,
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
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.
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - IMAGES. Processing digital Images digital images are often processed using “digital filters” digital images are.
Image Restoration Chapter 5.
Medical Imaging. What is an image? ● An image is a function – from a spatial or temporal domain – into a two, three, or four dimensional space – such.
Chapter 5: Neighborhood Processing
Digtial Image Processing, Spring ECES 682 Digital Image Processing Oleh Tretiak ECE Department Drexel University.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Course 2 Image Filtering. Image filtering is often required prior any other vision processes to remove image noise, overcome image corruption and change.
CSSE463: Image Recognition Day 5 Lab 2 due Wednesday, 1:30. Lab 2 due Wednesday, 1:30. Tip: by Tues 1:30  + 1 late day to use on: Tip: by Tues 1:30 
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
Chapter 8 Computer Vision. Artificial IntelligenceChapter 92 Contents What is Image Processing? Digital Image Processing Electromagnetic Spectrum Steps.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Digital Image Processing Lecture - 6 Autumn 2009.
Sharpening Spatial Filters ( high pass)  Previously we have looked at smoothing filters which remove fine detail  Sharpening spatial filters seek to.
M ATLAB L ECTURE 3 Histogram Processing. H ISTOGRAM E QUALIZATION The imhist function create a histogram that show the distribution of intensities in.
Non-linear filtering Example: Median filter Replaces pixel value by median value over neighborhood Generates no new gray levels.
Image Enhancement in the Spatial Domain.
Fundamentals of Spatial Filtering:
Image enhancement algorithms & techniques Point-wise operations
ECE 692 – Advanced Topics in Computer Vision
IMAGE PROCESSING INTENSITY TRANSFORMATION AND SPATIAL FILTERING
CSSE463: Image Recognition Day 5
Image Enhancement.
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Chapter 8, Exploring the Digital Domain
CIS 350 – 3 Image ENHANCEMENT SPATIAL DOMAIN
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
Image Restoration - Focus on Noise
Histogram Probability distribution of the different grays in an image.
Digital Image Processing
CSSE463: Image Recognition Day 5
Linear Operations Using Masks
CSSE463: Image Recognition Day 5
CSSE463: Image Recognition Day 5
Image Enhancement in the Spatial Domain
Presentation transcript:

Contrast Enhancement: What for ä CE is between the imaging device output and the display voltages ä Get best perceived intensities to communicate desired information ä The choice of an intensity mapping function must be made ä That is, to do contrast enhancement is not the choice; to do it well is the choice ä CE is between the imaging device output and the display voltages ä Get best perceived intensities to communicate desired information ä The choice of an intensity mapping function must be made ä That is, to do contrast enhancement is not the choice; to do it well is the choice

ä In order to see the dark areas, the light looks over exposed.

Contrast Enhancement: Two General Strategies ä Optimize information transmission via intensity mappings ä Histogram as probability ä Information theoretic argument leads to uniform probability distribution, so histogram flattening ä Optimize contrast at spatial scales where most important information on object lies ä Smaller scales are where object boundary info is dominant; at yet smaller scales noise is dominant ä Optimize information transmission via intensity mappings ä Histogram as probability ä Information theoretic argument leads to uniform probability distribution, so histogram flattening ä Optimize contrast at spatial scales where most important information on object lies ä Smaller scales are where object boundary info is dominant; at yet smaller scales noise is dominant

Contrast Enhancement: Techniques ä Global vs. Local ä Global ä Intensity mappings ä Intensity Windowing ä Histogram Equalization ä Achieving other histograms ä Optimize contrast at boundary ä Scale decomposition and then magnification of components at appropriate scales (e.g., MUSICA) ä Unsharp Masking ä Global vs. Local ä Global ä Intensity mappings ä Intensity Windowing ä Histogram Equalization ä Achieving other histograms ä Optimize contrast at boundary ä Scale decomposition and then magnification of components at appropriate scales (e.g., MUSICA) ä Unsharp Masking

Contrast Enhancement: Techniques ä Global vs. Local ä Locally adaptive ä Intensity mapping ä Adaptive Histogram Equalization ä Optimize contrast at boundary ä Geometry-limited diffusion ä Global vs. Local ä Locally adaptive ä Intensity mapping ä Adaptive Histogram Equalization ä Optimize contrast at boundary ä Geometry-limited diffusion

Intensity Windowing ä Dedicate the range of display intensities to a limited window of recorded intensities. ä Moves perceived object boundaries. ä Dedicate the range of display intensities to a limited window of recorded intensities. ä Moves perceived object boundaries.

Unsharp Masking ä I new = α · (G small *I – G big *I) + G big *I ä Adds detail to a background image. ä Amplifies Mach bands. ä I new = α · (G small *I – G big *I) + G big *I ä Adds detail to a background image. ä Amplifies Mach bands. ä MUSICA – Multiple level-of-detail images, combination of which forms result.

Unsharp Masking: Intuitive w/r to the visual system

Global Histogram Equalization ä Theory: Information cleared up is maximized if the image has maximum uncertainty, i.e. a flat histogram ä Intensities are mapped to their rank in the image. ä Does not account for human contrast sensitivity, which is local. ä Theory: Information cleared up is maximized if the image has maximum uncertainty, i.e. a flat histogram ä Intensities are mapped to their rank in the image. ä Does not account for human contrast sensitivity, which is local.

Adaptive Histogram Equalization ä Intensities are mapped to their rank in the contextual region (window). ä Enhances noise in smooth regions ä Correction: limit the slope of the intensity mapping. ä Intensities are mapped to their rank in the contextual region (window). ä Enhances noise in smooth regions ä Correction: limit the slope of the intensity mapping.

Bilateral Filtering: VCD and form system ä Think: form system input to diffusion process, and diffusion. ä Blurs within boundary by using a weighting function that is the product of two Gaussians: ä Gaussian with a spatial kernel: closer pixels have higher weight. ä Gaussian in the intensity domain: higher weights for pixels with similar intensities. ä Perona and Malik, 2002 ä Think: form system input to diffusion process, and diffusion. ä Blurs within boundary by using a weighting function that is the product of two Gaussians: ä Gaussian with a spatial kernel: closer pixels have higher weight. ä Gaussian in the intensity domain: higher weights for pixels with similar intensities. ä Perona and Malik, 2002

Test Question: ä Which row(s) show local histogram equalization and which show the global? How does the difference manifest itself on the spine?

Test Question: a. The doctors would like to diagnose a renal disorder that manifests itself in CT as a slight abnormality in a small region of the kidney image. 1. What kind of techniques may be applicable: list them. 2. If the abnormality is a matter of shape, why would windowing be a bad idea? 2. If the abnormality is a matter of shape, why would windowing be a bad idea? a. The doctors would like to diagnose a renal disorder that manifests itself in CT as a slight abnormality in a small region of the kidney image. 1. What kind of techniques may be applicable: list them. 2. If the abnormality is a matter of shape, why would windowing be a bad idea? 2. If the abnormality is a matter of shape, why would windowing be a bad idea? ans: contrast enhancement on a small scale. Local techniques are windowing, adaptive histogram equalization and derivatives. ans: contrast enhancement on a small scale. Local techniques are windowing, adaptive histogram equalization and derivatives. ans: during windowing, isocontours of intensity move in the image. This may distort the perceived shapes in the image.

Test Question: b. The doctors wish to diagnose a disease that causes distant large areas of the image to slightly change intensities with respect to one another when they are usually identical. Name a technique that may work to enhance this effect in the image and why. b. The doctors wish to diagnose a disease that causes distant large areas of the image to slightly change intensities with respect to one another when they are usually identical. Name a technique that may work to enhance this effect in the image and why. ans: windowing may work. The min and max of the window could be set so that one area is very dark and the other is very bright. The high contrast would be noticeable to the doctor.

That’s It! Thank You. Try it out : fspecial, imfilter, imshow, imhist, histeq, conv2 Try it out : fspecial, imfilter, imshow, imhist, histeq, conv2 Matlab example. Matlab example. midag.cs.unc.edu Pizer SM, Hemminger BM, Johnston, “Display of Two Dimensional Images”, in Image-Processing Techniques for Tumor Detection, edited by Strickland Marcel Deckker, Basel, Switzerland. ISBN s = double(imread(‘moon.tif')); s = s/max(max(s)); figure, imshow(s, [min(min(s)) max(max(s))]); h = fspecial('gaussian', [20 20], 4); sb = imfilter(s, h); figure, imshow(sb, [min(min(sb)) max(max(sb))]); sb = sb/max(max(sb)); sd = s - sb; figure, imshow(sd, [min(min(sd)) max(max(sd))]); news = 4*sd + sb; figure, imshow(news);

Matlab histogram equalization s = double(imread(‘moon.tif”)); figure, imshow(s, [min(min(s)) max(max(s))]); x = reshape(s, prod(size(s)),1); [n,y] = hist(x,0:255); n = n/sum(n); cn = cumsum(n); figure, plot(y,n,y,cn); J = cn(s+1); figure, imshow(J, [min(min(J)) max(max(J))]);