Download presentation
Presentation is loading. Please wait.
Published byJasmin Shields Modified over 9 years ago
1
Image Processing
2
Processing Digital Images digital images are often processed using “digital filters” digital filters are based on mathematical functions that operate on the pixels of the image MotionFilter
3
2 Classes of Digital Filters Global filters transform each pixel uniformly according to the function regardless of its location in the image Local filters transform a pixel depending upon its relation to surrounding ones
4
Global Filters Brightness and Contrast control Histogram thresholding Histogram stretching or equalization Color corrections Inversions
5
Contrast and Brightness functions like the knobs on your TV set Input Image Scale Output Image Scale Input Image Scale Output Image Scale Contrast Knob Brightnesss Knob
6
Contrast and Brightness functions like the knobs on your TV set Input Image Scale Output Image Scale Increase Slope Contrast Input Image Scale Output Image Scale Contrast Knob Brightnesss Knob
7
Contrast and Brightness functions like the knobs on your TV set Input Image Scale Output Image Scale Increase Slope Contrast Input Image Scale Output Image Scale Increase Offset Brightness Contrast Knob Brightnesss Knob
8
Increasing Contrast
9
How Contrast Functions Work Index into the Input Array of brightness (index = brightness) Get the corresponding brightness value from the Output Array What does this function do? Brightness
10
What would this function do? Brightness
11
Increasing Brightness
12
What would this function do? Brightness
13
Contrast & Brightness Demo Photoshop –Image->Adjust->Brightness/Contrast –Image->Adjust->Curves (more advanced)
14
Global Filters Brightness and Contrast control Histogram thresholding Histogram stretching or equalization Color corrections Inversions
15
Histogram Thresholding thresholding creates a binary image by converting pixels according to a threshold value
16
Thresholding Demo Photoshop –Image->Adjust->Threshold
17
Global Filters Brightness and Contrast control Histogram thresholding Histogram stretching or equalization Color corrections Inversions
18
Histogram Stretching
19
The Algorithm for Histogram Stretching Find darkest pixel = D Find lightest pixel = L Let max possible pixel value = M Then the new value for every pixel in the image is: New pixel value = x M (Old pixel value – D) (L – D)
20
Histogram Equalization Can you read this?
21
Histogram Equalization Now can you read this?
22
Histogram Equalization Demo Photoshop –Image->Adjust->Equalize –Image->Adjust->Levels (more advanced)
23
Global Filters Brightness and Contrast control Histogram thresholding Histogram stretching or equalization Color corrections Inversions
24
Color Corrections Making changes to the colors in an image - Hue shifting - Pseudo coloring Performed by manipulation of re-mapping functions
25
Hue-shifting Hue-shifting is used to modify the color makeup of an image
26
Hue-shifting Demo Photoshop –Image->Adjust->Hue/Saturation
27
Pseudo-coloring Pseudo-coloring can be used to add color to grayscale images Different colors are assigned to each level of gray
28
Pseudo-coloring Demo Photoshop –Image->Adjust->Gradient Map
29
Global Filters Brightness and Contrast control Histogram thresholding Histogram stretching or equalization Color corrections Inversions
30
Inversions
31
Inversion Demo Photoshop –Image->Adjust->Invert
32
Review Global Filters - Contrast & Brightness Control - Thresholding - Histogram stretching & equalization - Color corrections - Inversion
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.