Presentation is loading. Please wait.

Presentation is loading. Please wait.

Input image Output image Transform equation All pixels Transform equation.

Similar presentations


Presentation on theme: "Input image Output image Transform equation All pixels Transform equation."— Presentation transcript:

1

2 Input image Output image Transform equation All pixels Transform equation

3 we use transform equation to make the transformation from spatial to frequency domain this equation use the inner product for getting the output image. The general form of transformation equation is we use transform equation to make the transformation from spatial to frequency domain this equation use the inner product for getting the output image. The general form of transformation equation is A : output image matrix A : output image matrix I : input image matrix I : input image matrix H : transform matrix H : transform matrix : inverse of transform matrix : inverse of transform matrix The size of matrices are n*n were n is either 4 or 8 so the input image, output image and transform matrices are 4*4 block or The size of matrices are n*n were n is either 4 or 8 so the input image, output image and transform matrices are 4*4 block or 8*8 block 8*8 block

4 The fourier transform is the most well known and the most widely used transform.This transform allow us for the decomposition of an image into 2-D form, assuming N x N image, the equation for the 2-D discrete Fourier transform is J is the imaginary part of the complex number equal to while So we can write the discrete Fourier transform equation as …1 Real part …2 A complex number is a number consisting of a real part and an imaginary part complex numberrealimaginary

5 From equation ) 1( for DFT we can construct matrix F (u, v) as follow equation Where u takes values 0,1,2, … N-1 along each column and v takes the same values along each raw Formula 1 Formula 2 Formula 3

6 The DFT of 4*4 image can be obtain with u= 0,1,2,3 along columns, and v= 0,1,2,3 along rows By apply formula 1 we obtain

7 anglecosSin 90(pi/2)01 180(pi)0 270(3pi/2 ) 0

8 From the DFT matrix we can see the transformation matrices are From the DFT matrix we can see the transformation matrices are symmetric this mean symmetric this mean So the general transform equation for DFT is

9 F I F F IF F IF

10 Compute the real and imaginary parts of discrete Fourier transform of the image I

11 F=

12 anglecosSin 45 (pi/4) 90(pi/2)01 135(3 pi/4) 180(pi)0 225(5pi/4) 270(3pi/2)0 315(7pi/4)

13

14

15 Inverse discrete Fourier transform (IDFT) The inverse of discrete Fourier transform use to get the original image from transform image by the equation So the IDFT matrix if N=4 is And the general inverse transform

16 Calculate the IDFT of example 1 when N=4


Download ppt "Input image Output image Transform equation All pixels Transform equation."

Similar presentations


Ads by Google