




















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















































T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering 3.1 Background 3.1.1 The Basics of Intensity Transformations and Spatial Filtering Spatial domain process : Output image Input image Operator defined over a neighbourhood of point (x,y)
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering 3.2 Some Basic Intensity Transformation Functions Values of the pixels will be noted: r before processing, s after : s = T( r ) Digital => values of T typically stored in a one-dimension array + mappings from r to s implemented via table lookups
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering 3.2.1 Image Negatives Negative of an image with intensity levels in [0, L-1] obtained by:
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering 3.2.3 Power-Law (Gamma) Transformations Basic form: c and γ : positive constants Sometimes written as to account for an offset
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering Example of gamma correction: CRT (Cathode Ray Tube) devices have an intensity-to-voltage response that is a power function, with exponents from ~1.8 to 2.5 => images darker than intended NB: “Device-dependent” value of gamma
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering Opposite example: Image has a “washed-out” appearance ⇒ Compression of intensity levels is desirable ⇒ values of gamma > 1
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering 3.2.3 Piecewise-Linear Transformation Functions Piecewise Linear Functions:
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering B) Intensity level slicing Goal: highlight a specific range of intensities Two main approaches: a) Display in one value (e.g. white) all values in range of interest and all others in another value (e.g. black) => binary image b) Brighten (or darken) the desired range, leaving all other intensity levels unchanged a) (^) b)
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering approach a) approach b) B) Intensity level slicing
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering Original 8-bit image^ Lowest-order bit Highest-order bit
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering Application to image compression: C) Bit-plane slicing Original 8-bit image
T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering Histograms :
© 1992–2008 R. C. Gonzalez & R. E. Woods T. Peynot Chapter 3 Intensity Transformations & Spatial Filtering 3.3.1 Histogram Equalization Goal: obtain an output image with a uniform PDF()^ (continuous case) Input image → output image r → s (intensity levels) () PDF: Probability Density Function Consider continuous intensity values PDF of s (output image):