CS-565 Computer Vision Nazar Khan Lecture 8.

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
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
Intensity Transformations
Image enhancement in the spatial domain. Human vision for dummies Anatomy and physiology Wavelength Wavelength sensitivity.
Digital Image Processing
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Zhengya Xu, Hong Ren Wu, Xinghuo Yu, Fellow, IEEE, Bin Qiu, Senior Member, IEEE Colour Image Enhancement by Virtual Histogram Approach IEEE Transactions.
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.
CS443: Digital Imaging and Multimedia Point Operations on Digital Images Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Spring.
Image Enhancement in the Spatial Domain (chapter 3) Math 5467, Spring 2008 Most slides stolen from Gonzalez & Woods, Steve Seitz and Alexei Efros.
Digital Image Processing
Lecture 2. Intensity Transformation and Spatial Filtering
Computer Vision Lecture 3: Digital Images
GEOG2021 Environmental Remote Sensing
University of Ioannina - Department of Computer Science Intensity Transformations (Point Processing) Christophoros Nikou Digital Image.
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Image Enhancement T , Biomedical Image Analysis Seminar presentation Hannu Laaksonen Vibhor Kumar.
Remote Sensing and Image Processing: 2 Dr. Hassan J. Eghbali.
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.
September 5, 2013Computer Vision Lecture 2: Digital Images 1 Computer Vision A simple two-stage model of computer vision: Image processing Scene analysis.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - IMAGES. Processing digital Images digital images are often processed using “digital filters” digital images are.
Digital Image Processing (DIP) Lecture # 5 Dr. Abdul Basit Siddiqui Assistant Professor-FURC 1FURC-BCSE7.
Digital Image Processing Part 1 Introduction. The eye.
G52IIP, School of Computer Science, University of Nottingham 1 G52IIP Summary Topic 1 Overview of the course Related topics Image processing Computer.
G52IIP, School of Computer Science, University of Nottingham 1 G52IIP 2011 Summary Topic 1 Overview of the course Related topics Image processing Computer.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Digital Image Processing EEE415 Lecture 3
Digital Image Processing CSC331 Image Enhancement 1.
Image Enhancement Objective: better visualization of remotely sensed images visual interpretation remains to be the most powerful image interpretation.
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
Image Enhancement in the Spatial Domain.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Lecture Six Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, Copyright 2002.
IMAGE ENHANCEMENT TECHNIQUES
IMAGE PROCESSING INTENSITY TRANSFORMATION AND SPATIAL FILTERING
Digital Image Processing
Image Enhancement.
Intensity Transformations and Spatial Filtering
CIS 601 – 03 Image ENHANCEMENT SPATIAL DOMAIN Longin Jan Latecki
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.
Computer Vision Lecture 3: Digital Images
Fall 2012 Longin Jan Latecki
Image Enhancement in the Spatial Domain
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Image Enhancement Gray level transformation Linear transformation
Digital Image Processing
Histogram Probability distribution of the different grays in an image.
Digital Image Fundamentals
Grey Level Enhancement
CS 565 Computer Vision Nazar Khan Lecture 9.
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.
CIS 4350 Image ENHANCEMENT SPATIAL DOMAIN
Topic 1 Three related sub-fields Image processing Computer vision
Intensity Transformations and Spatial Filtering
IT523 Digital Image Processing
IT523 Digital Image Processing
BASIC IMAGE PROCESSING OPERATIONS FOR COMPUTER VISION
Image Enhancement in the Spatial Domain
Presentation transcript:

CS-565 Computer Vision Nazar Khan Lecture 8

Point Operations Transform an image into another one that is more useful for a human or a computer Global grayscale transformation that uses individual pixels only – no neighborhood is used (compare with convolution) φ: f(x,y)→ g(x,y) = φ(f(x,y)) Location (x,y) does not matter, only the gray value f(x,y) matters. Often φ is a non-linear operator. It is usually a good idea to try point operations as a pre-processing step.

Affine Grayscale Transformations g(x,y) = af(x,y)+b a b Identity 1 Contrast enhancement >1 Contrast attenuation Between 0 and 1 Brightening >0 Darkening <0 grayscale reversion -1 gmax

Affine Grayscale Transformations

Affine Grayscale Transformations An often used affine transformation is to the interval [0,255]. If your image f has the range [fmin,fmax] then g(x,y)=(f(x,y)-fmin)/(fmax-fmin)*255

Thresholding/Binarisation Non-linear transformation gmax is usually 1 or 255 Simplest method for segmentation Non-robust due to dependence on threshold T.

Thresholding/Binarisation Left: Grayscale image of a road in snow. Right: Thresholding with T=140 allows us to segment out the darker looking road and trees. Author: Nazar Khan (2014)

Quiz 1 One implementation of the 2D Discrete Fourier Transform of an MxN image f is given by What is the value of |F(0,0)|? What does it represent? Will there exist any frequencies p,q such that |F(p,q)|>|F(0,0)|?

Logarithmic Dynamic Compression Useful when min and max grayscale values differ by many orders of magnitude. The quiz question showed that |F(0,0)| can dominate over the other frequencies. Often the ratio of two color values is more important than their difference. If your image f has the range [0,fmax] then g(x,y)=c * log(1+f(x,y)) where c>0. H.W.: To force g(x,y) to lie between [0,255], what should be the value of c?

Logarithmic Dynamic Compression

Logarithmic Dynamic Compression Left: Grayscale image of a map with periodic structures. Center: Fourier spectrum. Right: After logarithmic dynamic compression. Author: Nazar Khan (2014)

Gamma Correction Often video cameras and computer monitors have a (different) non-linear relationship between input light intensity I and displayed gray value f f = kIγ. To compensate for this non-linearity, the inverse process is applied – the so called gamma correction. If your image f has the range [0,fmax] then g(x,y)=fmax * (f(x,y)/fmax)1/γ where γ>0. Range of transformed image is still [0,fmax].

Gamma Correction

Gamma Correction Left: Grayscale image of a road in snow. Center: Gamma correction using γ=0.4. Right: γ=3. Author: Nazar Khan (2014)

Histogram Equalization Transform the gray values such that all gray values occur equal number of times. Can induce significant changes in image perception.

Histogram Equalization

Histogram Equalization

Histogram Equalization

Pseudocolour Representation of Greyscale Images Recall from the lecture on color perception that humans can distinguish only 40 greyscales, but 2 million colours. Therefore, color offers better visual discrimination. Can be used to map X-ray or thermal images to color values.

Pseudocolour Representation of Greyscale Images

Pseudocolour Representation of Greyscale Images

Pseudocolour Representation of Greyscale Images

False Coloring To map invisible spectrum to color values. Used in remote sensing where usual mode of operation is the invisible spectrum.

False Coloring

Image Subtraction Digital Subtraction Angiography (DSA) Medical imaging method for visualizing blood flow through vessels. Take X-ray images before and after giving the patient a contrast agent. Difference image will show the contrast agent in the vessels. Hence the vessels will be extracted.

Summary Very basic point operations can sometimes dramatically improve image quality. Goal is to obtain new gray value representations that are better suited for visual perception. It is usually a nice idea to pre-process images using these basic point operations before trying more complex image processing techniques.