Log Transformation in Image Processing with Example

22,580 views 10 slides Sep 03, 2019
Slide 1
Slide 1 of 10
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10

About This Presentation

Log Transformation in Image Processing with Example. Here log transformation graph and matlab code with input and output image.


Slide Content

Log Transformation Presented by: Group no: 08 Roll: 160129 , 160134 Session: 2016-17 Department of Computer Science and Engineering Jashore University of Science and Technology

Objectives What is log transformation? Properties of log transformation; Log transformation graph; Coding technique; Input and output; Log transformation applications; References.

What is Log Transformation? Log transformation means replacing each pixel value with its logarithm value. The log transformations can be defined by this formula s = c log(r + 1 ) Where s and r are the pixel values of the output and the input image and c is a constant. The value 1 is added to each of the pixel value of the input image because if there is a pixel intensity of 0 in the image, then log (0) is equal to infinity. So 1 is added, to make the minimum value at least 1.

Properties of log transformations For lower amplitudes of input image the range of gray levels is expanded For higher amplitudes of input image the range of gray levels is compressed

Log Transformation Graph Figure: Log Transformation Graph

Coding Technique a1 = imread ( 'image.jpg' ); a = double(a1)/255; c = 2; f = c*log(1 + (a)); subplot(1,2,1), imshow (a1),title( 'Original Image' ); subplot(1,2,2), imshow ((f)),title( 'Log Transformation Image' );

Input and Output Figure: Log Transformation Graph

Log Transformation Applications Expands the dark pixels in the image while compressing the brighter pixels. Compresses the dynamic display.

References https://www.tutorialspoint.com/dip/gray_level_transformations.htm # https://theailearner.com/2019/01/01/log-transformation /

T H A N K Y O U