1. General Image Operations Three type of image operations 1.Point operations 2.Geometric operations 3.Spatial operations.

Slides:



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

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.
The Image Histogram.
Texture. Edge detectors find differences in overall intensity. Average intensity is only simplest difference. many slides from David Jacobs.
Intensity Transformations (Chapter 3)
HISTOGRAM TRANSFORMATION IN IMAGE PROCESSING AND ITS APPLICATIONS Attila Kuba University of Szeged.
Digital Image Processing
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.
ECE 472/572 - 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 Enhancement in the Spatial Domain
Image (and Video) Coding and Processing Lecture 5: Point Operations Wade Trappe.
Intensity Transformations
Digital Image Processing
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.
Image Enhancement by Modifying Gray Scale of Individual Pixels
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Image enhancement in the spatial domain. Human vision for dummies Anatomy and physiology Wavelength Wavelength sensitivity.
Digital Image Processing
Histogram Manipulation
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.
EE 7730 Image Segmentation.
Image Enhancement in the Spatial Domain (chapter 3) Math 5467, Spring 2008 Most slides stolen from Gonzalez & Woods, Steve Seitz and Alexei Efros.
1 Vladimir Botchko Lecture 4. Image Enhancement Lappeenranta University of Technology (Finland)
Point Processing : Computational Photography Alexei Efros, CMU, Fall 2008 Some figures from Steve Seitz, and Gonzalez et al.
Image Enhancement.
Input: Original intensity image. Target intensity image (i.e. a value sketch). Using Value Images to Adjust Intensity in 3D Renderings and Photographs.
Spectral contrast enhancement
Introduction to Image Processing Grass Sky Tree ? ? Review.
Geometric Operations and Morphing.
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Chapter 3 Image Enhancement in the Spatial Domain.
CS6825: Point Processing Contents – not complete What is point processing? What is point processing? Altering/TRANSFORMING the image at a pixel only.
Image Processing Image Histogram Lecture
Digital Image Processing
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
CIS 601 Image ENHANCEMENT in the SPATIAL DOMAIN Dr. Rolf Lakaemper.
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
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 (DIP) Lecture # 5 Dr. Abdul Basit Siddiqui Assistant Professor-FURC 1FURC-BCSE7.
Applying Pixel Values to Digital Images
Point Distribution Models Active Appearance Models Compilation based on: Dhruv Batra ECE CMU Tim Cootes Machester.
Pseudo / Color Image Processing Fasih ur Rehman. Color Image Processing Two major areas of Color Image Processing –Pseudo Color Image Processing Assigning.
Image Enhancement in Spatial Domain Presented by : - Mr. Trushar Shah. ME/MC Department, U.V.Patel College of Engineering, Kherva.
Image Enhancement Objective: better visualization of remotely sensed images visual interpretation remains to be the most powerful image interpretation.
Lecture 02 Point Based Image Processing Lecture 02 Point Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing January 13, 2004 Prof. Charlene Tsai.
Digital Image Processing Image Enhancement in Spatial Domain
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
Image Contrast Enhancement Based on a Histogram Transformation of Local Standard Deviation Dah-Chung Chang* and Wen-Rong Wu, Member, IEEE IEEE TRANSACTIONS.
- photometric aspects of image formation gray level images
REMOTE SENSING Digital Image Processing Radiometric Enhancement Geometric Enhancement Reference: Chapters 4 and 5, Remote Sensing Digital Image Analysis.
1-Introduction (Computing the image histogram).
Digital Image Processing
Outline Texture modeling - continued Filtering-based approaches.
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Image Enhancement in the
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
Histogram Probability distribution of the different grays in an image.
Digital Image Processing
Intensity Transform Contrast Stretching Y ← u0+γ*(Y-u)/s
Image Enhancement in Spatial Domain: Point Processing
Review and Importance CS 111.
Presentation transcript:

1

General Image Operations Three type of image operations 1.Point operations 2.Geometric operations 3.Spatial operations

Point Operations

 Operation depends on Pixel's value.  Context free (memory-less).  Operation can be performed on the Histogram.  Example:

Geometric Operations

 Operation depend on pixel's coordinates.  Context free.  Independent of pixels value.  Example:

Spatial Operations

 Operation depends on Pixel's value and coordinates.  Context dependant.  Spatial v.s. Frequency domain.  Example:

Point Operations A point operation can be defined as a mapping function: where v stands for gray values. M(v) takes any value v in the source image into v new in the destination image. Simplest case - Linear Mapping: M(v) v p q p’p’ q’q’

If it is required to map the full gray-level range (256 values) to its full range while keeping the gray-level order - a non-decreasing monotonic mapping function is needed: v M(v) 255 contraction stretching

Contrast Enhancement If most of the gray-levels in the image are in [u 1 u 2 ], the following mapping increases the image contrast. The values u 1 and u 2 can be found by using the image’s accumulated histogram. v M(v) 255 u1u1 u2u2

The Negative Mapping v M(v) 255

Point Operations and the Histogram Given a point operation: M(v a ) takes any value v a in image A and maps it into v b in image B. Requirement: the mapping M is a non descending function (M -1 exists). In this case, the area under H a between 0 and v a is equal to the area under H b between 0 and v b

A A B B M(v) M -1 (v) HaHa HbHb CaCa CbCb A point operation and the induced histograms:

v v HaHa HbHb M(v) v The area under H a between 0 and v a is equal to the area under H b between 0 and v b =M(v a )

Q: Is it possible to obtain H b directly from H a and M(v)? A: Since M(v) is monotonic, C a (v a )=C b (v b ) therefore: v v CaCa CbCb M(v) v

The histogram of image B can be calculated: A A B B M(v) M -1 (v) HaHa CaCa M(v) HbHb CbCb

Q: Is it possible to obtain M(v) directly from H a and H b ? A: Since C b is monotonic and C b (v b )=C a (v a ) Alternatively M(v a )=v b if C a (v a )=C b (v b ) A A HaHa CaCa B B HbHb CbCb M(v)

v CaCa CbCb v vava vbvb Calculating M(v) from C a and C b :

Histogram Equalization Visual discrimination between objects depends on the their gray-level separation. How can we improve discrimination after image has been acquired? Hard to discriminate Doesn’t helpThis is betterWhat about this?

Histogram Equalization For a better visual discrimination of an image we would like to re-assign gray-levels so that gray-level resource will be optimally assigned. Our goal: finding a gray-level transformation M(v) such that: –The histogram H b is as flat as possible. –The order of gray-levels is maintained. –The histogram bars are not fragmented.

Histogram Equalization: Algorithm A A HaHa HbHb CaCa CbCb Define: Assign:

Hist. Eq.: The two pointers algorithm old new

old new (4) (3) (4) (3) (1) (20) (22) (30) (5) (21) Result Goal Original Hist. Eq.: The two pointers algorithm

OriginalEqualized Hist. Eq.: Example 1

OriginalEqualized Hist. Eq.: Example 2

Hist. Eq.: Example 3

Histogram matching Transforms an image A so that its histogram will match that of another image B. Usage: before comparing two images of the same scene (change detection) acquired under different lighting conditions or different camera parameters. sourcetargetmapped source

However, in cases where corresponding colors between images are not “consistent” this mapping may fail: from: S. Kagarlitsky: M.Sc. thesis 2010.

Surprising usage: Texture Synthesis (Heeger & Bergen 1995). –Start with a random image. –Step1: multi-resolution decomposition –Step2: histogram matching for each resolution –Iterate synthesis

More results: (Heeger & Bergen 1995):

Discussion: Histogram matching produces the optimal monotonic mapping so that the resulting histogram will be as close as possible to the target histogram. This does not necessarily imply similar images.

hist. match results Example:

The Slice Transform (SLT): Hel-Or & Shaked 2008 The Slice Transform (SLT) can be seen as a representation of a signal using a linear sum of “slice” signals: = Signal x A

Tone mapping using SLT: The Slice Transform can represents tone mapping (point operations) in a linear form = =

Tone mapping using SLT: If a signal A can be mapped into signal B we have: In practice we find an optimal q so that image A will be as close as possible to image B in a LS sense: Takes into account spatial information as well. Mapping is not necessarily monotonic.

SLT results Example: Hist. Eq.

T H E E N D 38