Sampling, Frequency downsampled experiment in Python: 0::N matrix of zeros

Size: px
Start display at page:

Download "Sampling, Frequency downsampled experiment in Python: 0::N matrix of zeros"

Transcription

1 Sampling, Frequency We have seen that the color components can be "downsampled" horizontally and vertically by a factor of two. The same happens in the retina: 110 million rods and 6 million cones are fed into only about 1 million nerve fibers. -How do we make this downsampling correct? What can go wrong? To do this, we do an experiment in Python: We are again streaming our video signal, but horizontally and vertically we show only every Nth pixel. In this way we get a downsample by the factor N in both directions. In this example, N = 4. Important in the Python Script videoresampley.py : -Initialize the downsampled frame: [ret, frame] = cap.read() [rows,cols,c]=frame.shape; Ds=np.zeros((rows,cols)); -Creating the downsampled Frame: Ds[0::N,::N]=Y[0::N,::N]; The abbreviation 0::N means: The indices from 0 to the end in steps of N, thus here in the horizontal and vertical direction. So we have a matrix of zeros of the size of

2 our video frame, and then only every Nth pixel is written horizontally and vertically. We can try it out with: python videoresampley.py Note: The video appears to consist of many small points, but the content is still clearly recognizable. Next we will produce a test image, consisting of strips which we create by means of a sine function for the brightness. We produce a sine wave with 100 cycles over 1000 pixels, which is shifted to the positive range and scaled to the range of 0,..., 1: f=100 sinewave=(1.0+np.sin(np.linspace(0,2*np. pi*f,1000)))/2 The addition of 1.0 is to obtain only positive brightness values and to divide by 2 to obtain a maximum brightness value of 1.0, which expects cv2.imwrite at float values. Subsequently, we produce 500 equal lines

3 with this sinusoidal oscillation of 1000 pixels. To do this we apply a matrix "trick": We set the sine values on the diagonal of a 1000x1000 diagonal matrix, which we multiply from the left with a 500x1000 matrix consisting of ones: d=np.diag(sinewave) #Matrix with sinewave from left to right, #identically on each row, with 500 rows: A=np.dot(np.ones((500,1000)),d) This results in a matrix of 500 lines of the sine wave. This matrix is then displayed as a frame and stored in a jpg file (for printing). Try out with: python horizortsfreq.py Note: We get a field with 100 vertical black/white stripes with smooth transitions. Note: Our used sine wave has a frequency, namely these 100 cycles across the width of the lines. In order to distinguish this frequency from time frequencies (in oscillations per second or hertz), we call it "spatial frequency". Units: "cycles per length" (here

4 the width of our lines). Instead of the length, it is often more practical to specify the angle under which our lines appear to the viewer. Then we get the unit "cycles per degree" We only print out this image and use it as a test image by holding the strip image at a medium distance in front of the camera and watching the downsampled image. We see: On the downsampled image, the original stripe pattern now appears, but a new pattern of wave lines and slower light-dark fluctuations, which have no resemblance to the original! We call these new patterns "Moire" or "Aliasing" in digital signal processing. Note: If we hold the strips closer to the camera so that they appear larger (less brightness cycles per degree appear on the camera), the aliasing or moire effects disappear. Example of an image:

5 Image without Moire Image with Moire from: How does our retina perform its type of "downsampling", the reduction to only 1 million nerve fibers? We assume that here the problem of aliasing or Moire was solved. When we look at the retina, we recognize so-called receptive fields of the visual nerve cells. These represent the interconnection of many rods and cones to a central optic nerve. This interconnection is such that it has a so-called lateral inhibition, which is outlined below. (from:

6 We see: light incidence on light cells on the edge of these receptive fields reduce the output of the visual nerve cell! Hence the name "lateral inhibition or inhibition".

7 Further presentation of the receptive fields on the retina: Retina nerve to brain Note: Light in center, in + area, leads to increase of the signal in nerve to brain, light on the edge, in - area, leads to reduction of Signal. Note: The recipe fields overlap.

8 Illustration from the side : example: edge weights spatia l-filter Spatial frequency Center sensor weight negative weights weights Visual cells Weber`s Low Δ w w =konst Visual cells Delta perception proportional perception Compression of value range for nerves. From: Chapter7.ppt Mult. by factor corresponds to constant change in perception.

9 example: Small brightness big brightness ΔA(x) mittlere Aktivität A 0 An edge produces greater values than a constant surface by this function Raising edges detection of objects Output of the Yellen from: H. Weisleder

10 brightness Position in room Actual britghness perceived brightness -> Effect of highpass Filtering position in Room perceived brightness From: 7.ppt The weight distribution of the receptive fields is similar to a so-called Si function (see, for example, Definition: si(x)= sin(x) x An alternative definition is the so called Sinc

11 Function: sinc(x)= sin(π x) π x We plot a Si function in python: ipython --pylab x=linspace(-6.28,6.28,100) plot(x,sin(x)/x) title("si-funktion") It shows that this function has special properties in the so-called Discrete Fourier Transformation, or DFT for short. Discrete Fourier Transform We have seen that in the case of aliasing the number of brightness oscillations per

12 degree has an influence. Therefore, it would be helpful if we could present our image or signal by a sum of different sinusoidal sweeps. This allows us to use this Discrete Fourier Transform. We start from a signal x (n), e.g. The intensity values of a line, or also e.g. The samples of an audio signal having a number (length) of N values in the range 0 n N 1. The DFT of x (n) is defined as: N 1 X (k)= n=0 j 2 π N x(n) e n k (1) X (k) are the resulting N coefficients of the DFT decomposition, with the frequency index k in range 0 k N 1. The inverse DFT takes these N coefficients to form a weighted sum of oscillations representing the original signal x (n): N 1 x (n)= 1 N k=0 X (k) e j 2 π N n k (2) In this case e j ω =cos(ω)+ j sin(ω) (3) and j is the complex unit with the property j 2 = 1.

13 Note: The coefficients are usually complex valued. We see: The inverse DFT describes every signal x(n) as sum of weighted sine and cosine osscilations of different Frequency. There are fast, very efficient algorithms for calculating the DFT and the inverse DFT. These are called "Fast Fourier Transform", in short "FFT". In Python it is included in Package numpy.fft. Example in ipython: ipython pylab In [17]: x=sign(sin(2.0*pi/8*arange(0,8))) In [18]: x Out[18]: array([ 0., 1., 1., 1., 1., -1., -1., -1.]) In [19]: X=fft.fft(x) In [20]: X Out[20]: array([ 1.+0.j, j, 1.+0.j, j, 1.+0.j, j, 1.+0.j, j]) In [21]: ifft(x) Out[21]: array([ e e+00j, e e-16j, e e-16j, e e-16j, e e+00j, e e-16j, e e-16j,

14 e e-16j]) Note: The coefficients X are actually complex. Furthermore, they are symmetrical about the center, but with the opposite sign in the imaginary parts (conjugated complex). In order to see where this symmetry comes from, we plot the sinusoidal osscilations of the above DFT (equations (1), (2), (3)) for the frenquency indices k = 1 and k = 7 in ipython: x1=sin(2.0*pi/8*1*arange(0,8)) plot(x1) x7=sin(2.0*pi/8*7*arange(0,8)) plot(x7) title('sinus Basisfunktionen 1 und 7')

15 We see that these two cycles (also called "basis functions") are indeed identical, except for the opposite sign. Hence the symmetry. The corresponding cosine functions would be identical. Hence the observed symmetry. For this reason, we reach the highest frequency, most oscillations, at an average frequency index k, in our example k = 4. In ipython we take the cosine term, because the sine term disappears here: x=cos(2.0*pi/8*4*arange(0,8))

16 plot(x) title('cos Basisfunktion fuer k=4') Illustration 1: X-axis: location n, y-axis: sample value Python real time example: The audio signal from the microphone is divided into 1024 samples (blocks), the FFT is applied to each of these blocks, and then the amount of the coefficients X(k) is plotted live on the plot. python pyrecfftanimation.py Note: We see again the symmetry around the

17 center. When whistling, we see larger coefficients at the corresponding frequency index k. The highest frequencies appear in the middle. If we represent the magnitude of the DFT coefficients as different colors; On the x-axis the first half of the DFT coefficients so that the coefficients with the lowest frequencies are on the left and those with the highest frequencies on the right, and we apply the time to the y-axis, we get the so-called "Waterfall Animation", Also called" Spectrogram ". So: x-axis: Frequency, y-axis: time Color: value (magnitude) of current DFT coefficients X(k). We can see it through calling: python pyrecspecwaterfall.py Attention: When we whistle a tone, it appears like yellow stripe, horizontally at the corresponding frequency of tone. High tones appear on the right. We can also easily apply the DFT or FFT to images by first applying them to each line of the image, and applying the DFT to each column on the result.

18 The corresponding function in python is fft2. Python live video example: In python we use the function numpy.fft.fft2(..) For calculating the 2D FFT for each frame of the green component of our video stream. To display in the video window, use the amount of FFT coefficients with numpy.abs (..). The script "videorecfftdisp.py" is shown below: #Program to capture a video from the default camera (0), compute the 2D FFT #on the Green component, take the magnitude (phase) and display it live on the screen #Gerald Schuller, Nov import cv2 import numpy as np cap = cv2.videocapture(0) while(true): # Capture frame-by-frame [retval, frame] = cap.read() #compute magnitude of 2D FFT of green component #with suitable normalization for the display: frame=np.abs(np.fft.fft2(frame[:,:,1]/255.0))/512.0 #angle/phase: #frame=(3.14+np.angle(np.fft.fft2(frame[:,:,1]/ #255.0)))/6.28 # Display the resulting frame cv2.imshow('frame',frame) #Keep window open until key 'q' is pressed: if cv2.waitkey(1) & 0xFF == ord('q'): break # When everything done, release the capture cap.release() cv2.destroyallwindows()

19 We start it with: python videorecfftdisp.py and then keep our test image at different distances in front of the camera. We observe: When the test image is held in front of the camera, a series of more or less thick and bright dots are formed, as on a line. The farther we remove the image from the camera (the greater the number of brightness cycles per degree for the camera), the farther away the dots appear. Note: The location of the points is dependent on the spatial frequency that the camera perceives. The highest spatial frequencies appear in the center of the image, with a symmetry around this center. The lowest horizontal spatial frequencies are located on the left and right edges; the lowest vertical spatial frequencies are at the upper and lower edge. Note: Together with the phase of the FFT components, this picture of the amounts still contains the entire information of the original video (since the FFT is invertible).

20 Avoidance of Aliasing/Moire We saw in our experiment that Aliasing/Moire occurred only at many brightness cycles per degree, ie at high spatial frequencies. We could avoid it if we would set these high spatial frequencies in the image to zero before we downsample the image. Since the DFT is invertible, we can achieve this by setting the corresponding DFT coefficients of the high spatial frequencies to zero and then using the IDFT to produce the image or video again. We do this with a Mask that we multiply to the 2D DFT of our image / video. Let us assume that 1 is the highest frequency, and we only want to keep the DFT coefficients of the 1/4 lowest frequencies. One line has e.g. 640 pixels (and thus the DFT 640 coefficients per line). Because of the symmetry around the center, the highest frequency is in the center, and we get 2 halves with the same content. Therefore we have to keep only one-eighth of the total coefficients at each end, and set the remainder to zero. A corresponding mask for 1 dimension would be the following: ipython --pylab M=ones((640)) M[(640.0/8):( /8)]=zeros((3.0/4.0*640)) plot(m) axis([0, 640, -0.1, 1.1]) title("maske fuer tiefe Frequenzen")

21 Since this mask indicates which frequencies are transferred as strongly, it is also called the "Transfer Function". Illustration 2: X-axis: frequency index k, y-axis: value of the mask

22 For 2 dimensions, as in our case for pictures, we apply the mask simply for each dimension. If r is the number of rows and c is the number of the columns, we take accordingly in python: #For rows: Mr=np.ones((r,1)) Mr[(r/8.0):(rr/8.0),0]=np.zeros((3.0/4.0*r)) #For columns: Mc=np.ones((1,c)) Mc[0,(c/8.0):(c-c/8)]=np.zeros((3.0/4.0*c)); #Together: M=np.dot(Mr,Mc) plt.plot(m) Illustration 3: X- and y-axis: frequency index k, color value: value of the mask

23 If we multiply this mask (transfer function) with our DFT coefficients (element-wise), all the coefficients are set to zero at high spatial frequencies. From the property that this mask is a "Filter" which only "passes" the lower frequencies, it is also called "Lowpass Filter". We create the 2D FFT and set the mask to zero: X=np.fft.fft2(frame[:,:,1]/255.0) #Set to zero the 3/4 highest spacial frequencies in each direction: X=X*M If we then transform these new coefficients by means of the inverse DFT, we get an image / video without these high spatial frequencies: x=np.abs(np.fft.ifft2(x)) Note: Here, we use the command "abs" to get again real numbers, because the inverse FFT produces complex numbers, although here the imaginary parts become zero to accuracy. The following Python script shows this process: python videorecfft0ifftdisp.py Note: The reconstructed image / video after the inverse FFT contains, in fact, less high spatial

24 frequencies, and therefore looks more unclear. We know from "Signals and Systems": A multiplication in the Fourier domain corresponds to a so-called convolution of the corresponding signals in the spatial or time domain. Since we have here finite signals whose length we call N, we obtain a socalled circular convolution. The filter (or the mask) as a signal in spatial domain (by inverse FFT) is also called "Impulse Response" of the filter. Suppose that x(n) is our signal in the spatial domain, and h(n) is our filter in the spatial domain (the impulse response), then the circular convolution: N 1 y(n)=x(n) N h(n):= i=0 x(i) h((n i)mod N) where "mod" is the "modulus" function, the remainder after integer division of (n-i) by N (on N-1 again follows 0), i. This convolution sum runs in a circle". The h(n) is obtained by the inverse FFT of our mask M (here in the example for better visibility for the 1/8 lowest frequencies). In ipython: ipython --pylab M=ones((640)) M[(640.0/16):( /16)]=zeros((7.0/8.0*640))

25 h=fft.ifft(m) plot(h) Illustration 4: x-achse: Orts-Index n, y-achse: Abtastwert Due to the circular convolution, the signal (the impulse response) runs practically "in a circle", so we can also consider a version cyclically shifted by 320 values: hc=concatenate((h[320:640],h[0:320])) plot(hc) title("zyklisch verschobene Inv FFT unserer Tiefpass Maske")

26 Note: This is now like the Sinc or Si-function with which the weights of the retinal receptors had similarity. If, after this low-pass filtering, we perform the downsampling by the factor N, this means that we only take every Nth pixel or Nth value. This corresponds to the replacement of our index n in the convolution equation by mn, where m is an integer: N 1 y(mn)= i=0 x (i) h((mn i)mod N) This sum shows us: for each assumed value y (mn),

27 we form a sum over the shifted impulse response of the filter at the position mn: h((mn i)mod N ) Example in ipython: We take our already calculated impulse response hc and set N = 8. Then we get for 2 adjacent positions m and m + 1, for a section with the approximately 40 largest values: plot(hc[300:340]) plot(hc[308:348]) title("2 benachbarte Impulsantworten fuer Abtastfaktor N=8" ) Illustration 5: x-achse: Orts-Index n, y-achse: Abtastwert Note: We see an overlapping of the neighboring

28 impulse responses. This corresponds in the 2- dimensional and on the retina to the overlapping of the receptive fields! Also we can see the inverse FFT of our 2D mask M in ipython: ipython pylab r=480 c=640 #For rows: Mr=ones((r,1)) Mr[(r/8.0):(r-r/8.0),0]=zeros((3.0/4.0*r)) #For columns: Mc=ones((1,c)) Mc[0,(c/8.0):(c-c/8)]=zeros((3.0/4.0*c)); #Together: M=dot(Mr,Mc) h=fft.ifft2(m) #Rotieren: hc=concatenate((h[:,320:640],h[:,0:320]),axi s=1) hc2=concatenate((hc[240:480,:],hc[0:240,:]), axis=0) imshow(real(hc2[230:250,310:330])/0.07) title('ausschnitt der Impulsantwort unseres 2D Tiefpass Filters')

29 Illustration 6: x- und y-achse: Orts-Indizes, y-achse: Farbwert entspricht Aptastwert Deep blue are the smallest (negative) values, red the largest (positive) values. Note: This false colors illustration of inverse FFT resp. 2D-impulse response now also resembles to the observed receptive fields in retina. Python example: The Library scipy.signal contains function for 2D convolution: scipy.signal.convolve2d(x,h)

30 convolves two 2-dimensional signals x and h, where x is e.g. our frame and h is our filter impulse response. We use these in the script videofiltdisp.py. We calculate the impulse response h as an inverse FFT of our transfer function M. We must limit the size of the 2D impulse response drastically, so that a real-time processing is possible. For FFT filters with a large impulse response, the calculation using FFT is much more efficient than the convolution. We run the script with: python videofiltdisp.py Note: The filtered image / video looks similar to the implementation using FFT. Thus we see that the receptive fields on the retina correspond to a filtering of the image, and their distance corresponds to the downsampling for the smaller number of optic nerves. The "transfer function" of the human eye can also be measured experimentally by visual tests. This results in the so-called "Contrast Sensitivity Function" (CSF). example:

31 Basicbrightness Max. for bright light: 2 period/degree (cycles=periods) Max. for dark light: 0.7 per./degree fine details of images: eye is les sensitive Spatial frequency (periods/degree) degree: Independent from viewing distance bright-dark oscillation (From: We see:the Transfer function is not exactly a low pass filter, but rather a kind of low-pass with an increase of center frequencies. Our eye is most sensitive to these center spatial frequencies. By means of refined tests the CSF can also be determined from the eyes of other living creatures:

32 Comparison of Contrast Sensitivity Function of different creatures from: Harmening, Vossen, Wagner, van der Willigen The disparity sesitivity function compared new insights from barn owl vision, EVCP09

33 The different number of rods and cones on the retina is noticeable by different CSFs for color and brightness: Differences between maximums correspond appr. differences of density of rods(brightness) and cones (color):

34 Reconstruction of image in Decoder We can now transfer the downsampled image to the decoder with fewer pixels and thus a small bit rate. How do we make a "impressive" picture? We have seen that if we just put the transferred pixels in the right place, leaving the other pixels at zero value, we get a picture which consists of many small points. It is interesting to look at the spectrum of this point image. This is done with the following python script. Here are the following steps: Frame-low pass filter-sampling (Remove zeroestransfer set zeroes) Low pass filter- Reconstructed Frame. We start with: python videofft0ifftresampleykey.py Note: The video in "Decoder: FFT range of Sampled Frames" shows: Unlike the original picture, periodic sequels of the spectrum arise in the x- and y- direction. Since these were not present in the original, and thus they represent artifacts (namely, our aliasing), we should simply set them to zero. This works again with our mask or the low-pass filter M, which we apply again in the FFT range.

35 To this end, we look at the outputs of our Python script. Note: The image reconstructed in the decoder in the window "Decoder: Filtered Sampled Frames" actually looks almost like our encoder in the lowpass filtered image! Summary: We are able to reduce the number of pixels to be extracted by the factor N * N, with the same image size, but at the expense of the image quality. This represents a further compression capability. The art is now to choose the number of transmitted pixels (the resolution) so that the eye does not perceive the uncertainties. Processing-Sequence: -Encoder: Filtering- downsampling- Removing zeros -Decoder: Filling zeros- Filtering References: Circular convolution, zyklische Faltung, sh. S. 542, Spectrogram: S. 742: A. Openheim, R. Schafer: Discrete Time Signal Processing, Prentice Hall.

36 Quantiziation In a Video-Coder we must quantize our values, for which we need to know how many intensity steps of the human eye can distinguish: -ca. 20 brightness changes in a small area in complex perceptible image. -ca. 100 grayscale levels required (7 bit/pixel) to avoid artificial contours. From :

Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau

Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau (Also see: Lecture ADSP, Slides 06) In discrete, digital signal we use the normalized frequency, T = / f s =: it is without a

More information

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT Filter Banks I Prof. Dr. Gerald Schuller Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany 1 Structure of perceptual Audio Coders Encoder Decoder 2 Filter Banks essential element of most

More information

Lecture 3, Multirate Signal Processing

Lecture 3, Multirate Signal Processing Lecture 3, Multirate Signal Processing Frequency Response If we have coefficients of an Finite Impulse Response (FIR) filter h, or in general the impulse response, its frequency response becomes (using

More information

Digital Signal Processing 2/ Advanced Digital Signal Processing Lecture 11, Complex Signals and Filters, Hilbert Transform Gerald Schuller, TU Ilmenau

Digital Signal Processing 2/ Advanced Digital Signal Processing Lecture 11, Complex Signals and Filters, Hilbert Transform Gerald Schuller, TU Ilmenau Digital Signal Processing 2/ Advanced Digital Signal Processing Lecture 11, Complex Signals and Filters, Hilbert Transform Gerald Schuller, TU Ilmenau Imagine we would like to know the precise, instantaneous,

More information

FFT analysis in practice

FFT analysis in practice FFT analysis in practice Perception & Multimedia Computing Lecture 13 Rebecca Fiebrink Lecturer, Department of Computing Goldsmiths, University of London 1 Last Week Review of complex numbers: rectangular

More information

ELEC Dr Reji Mathew Electrical Engineering UNSW

ELEC Dr Reji Mathew Electrical Engineering UNSW ELEC 4622 Dr Reji Mathew Electrical Engineering UNSW Filter Design Circularly symmetric 2-D low-pass filter Pass-band radial frequency: ω p Stop-band radial frequency: ω s 1 δ p Pass-band tolerances: δ

More information

Assistant Lecturer Sama S. Samaan

Assistant Lecturer Sama S. Samaan MP3 Not only does MPEG define how video is compressed, but it also defines a standard for compressing audio. This standard can be used to compress the audio portion of a movie (in which case the MPEG standard

More information

Discrete Fourier Transform

Discrete Fourier Transform 6 The Discrete Fourier Transform Lab Objective: The analysis of periodic functions has many applications in pure and applied mathematics, especially in settings dealing with sound waves. The Fourier transform

More information

Chapter 2: Digital Image Fundamentals. Digital image processing is based on. Mathematical and probabilistic models Human intuition and analysis

Chapter 2: Digital Image Fundamentals. Digital image processing is based on. Mathematical and probabilistic models Human intuition and analysis Chapter 2: Digital Image Fundamentals Digital image processing is based on Mathematical and probabilistic models Human intuition and analysis 2.1 Visual Perception How images are formed in the eye? Eye

More information

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D.

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D. The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D. Home The Book by Chapters About the Book Steven W. Smith Blog Contact Book Search Download this chapter in PDF

More information

Transforms and Frequency Filtering

Transforms and Frequency Filtering Transforms and Frequency Filtering Khalid Niazi Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University 2 Reading Instructions Chapter 4: Image Enhancement in the Frequency

More information

Audio /Video Signal Processing. Lecture 1, Organisation, A/D conversion, Sampling Gerald Schuller, TU Ilmenau

Audio /Video Signal Processing. Lecture 1, Organisation, A/D conversion, Sampling Gerald Schuller, TU Ilmenau Audio /Video Signal Processing Lecture 1, Organisation, A/D conversion, Sampling Gerald Schuller, TU Ilmenau Gerald Schuller gerald.schuller@tu ilmenau.de Organisation: Lecture each week, 2SWS, Seminar

More information

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and 8.1 INTRODUCTION In this chapter, we will study and discuss some fundamental techniques for image processing and image analysis, with a few examples of routines developed for certain purposes. 8.2 IMAGE

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Digital Imaging Fundamentals Christophoros Nikou cnikou@cs.uoi.gr Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, 2008. Digital Image Processing

More information

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase Fourier Transform Fourier Transform Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase 2 1 3 3 3 1 sin 3 3 1 3 sin 3 1 sin 5 5 1 3 sin

More information

Subband coring for image noise reduction. Edward H. Adelson Internal Report, RCA David Sarnoff Research Center, Nov

Subband coring for image noise reduction. Edward H. Adelson Internal Report, RCA David Sarnoff Research Center, Nov Subband coring for image noise reduction. dward H. Adelson Internal Report, RCA David Sarnoff Research Center, Nov. 26 1986. Let an image consisting of the array of pixels, (x,y), be denoted (the boldface

More information

MULTIMEDIA SYSTEMS

MULTIMEDIA SYSTEMS 1 Department of Computer Engineering, Faculty of Engineering King Mongkut s Institute of Technology Ladkrabang 01076531 MULTIMEDIA SYSTEMS Pk Pakorn Watanachaturaporn, Wt ht Ph.D. PhD pakorn@live.kmitl.ac.th,

More information

Digital Image Fundamentals. Digital Image Processing. Human Visual System. Contents. Structure Of The Human Eye (cont.) Structure Of The Human Eye

Digital Image Fundamentals. Digital Image Processing. Human Visual System. Contents. Structure Of The Human Eye (cont.) Structure Of The Human Eye Digital Image Processing 2 Digital Image Fundamentals Digital Imaging Fundamentals Christophoros Nikou cnikou@cs.uoi.gr Those who wish to succeed must ask the right preliminary questions Aristotle Images

More information

Digital Image Fundamentals. Digital Image Processing. Human Visual System. Contents. Structure Of The Human Eye (cont.) Structure Of The Human Eye

Digital Image Fundamentals. Digital Image Processing. Human Visual System. Contents. Structure Of The Human Eye (cont.) Structure Of The Human Eye Digital Image Processing 2 Digital Image Fundamentals Digital Imaging Fundamentals Christophoros Nikou cnikou@cs.uoi.gr Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall,

More information

Understanding Digital Signal Processing

Understanding Digital Signal Processing Understanding Digital Signal Processing Richard G. Lyons PRENTICE HALL PTR PRENTICE HALL Professional Technical Reference Upper Saddle River, New Jersey 07458 www.photr,com Contents Preface xi 1 DISCRETE

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Digital Imaging Fundamentals Christophoros Nikou cnikou@cs.uoi.gr Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, 2008. Digital Image Processing

More information

CS4495/6495 Introduction to Computer Vision. 2C-L3 Aliasing

CS4495/6495 Introduction to Computer Vision. 2C-L3 Aliasing CS4495/6495 Introduction to Computer Vision 2C-L3 Aliasing Recall: Fourier Pairs (from Szeliski) Fourier Transform Sampling Pairs FT of an impulse train is an impulse train Sampling and Aliasing Sampling

More information

Image Processing. Michael Kazhdan ( /657) HB Ch FvDFH Ch. 13.1

Image Processing. Michael Kazhdan ( /657) HB Ch FvDFH Ch. 13.1 Image Processing Michael Kazhdan (600.457/657) HB Ch. 14.4 FvDFH Ch. 13.1 Outline Human Vision Image Representation Reducing Color Quantization Artifacts Basic Image Processing Human Vision Model of Human

More information

Topic 6. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith)

Topic 6. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith) Topic 6 The Digital Fourier Transform (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith) 10 20 30 40 50 60 70 80 90 100 0-1 -0.8-0.6-0.4-0.2 0 0.2 0.4

More information

EE482: Digital Signal Processing Applications

EE482: Digital Signal Processing Applications Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu EE482: Digital Signal Processing Applications Spring 2014 TTh 14:30-15:45 CBC C222 Lecture 15 Image Processing 14/04/15 http://www.ee.unlv.edu/~b1morris/ee482/

More information

Lecture 2 Digital Image Fundamentals. Lin ZHANG, PhD School of Software Engineering Tongji University Fall 2016

Lecture 2 Digital Image Fundamentals. Lin ZHANG, PhD School of Software Engineering Tongji University Fall 2016 Lecture 2 Digital Image Fundamentals Lin ZHANG, PhD School of Software Engineering Tongji University Fall 2016 Contents Elements of visual perception Light and the electromagnetic spectrum Image sensing

More information

Graphics and Image Processing Basics

Graphics and Image Processing Basics EST 323 / CSE 524: CG-HCI Graphics and Image Processing Basics Klaus Mueller Computer Science Department Stony Brook University Julian Beever Optical Illusion: Sidewalk Art Julian Beever Optical Illusion:

More information

SAMPLING THEORY. Representing continuous signals with discrete numbers

SAMPLING THEORY. Representing continuous signals with discrete numbers SAMPLING THEORY Representing continuous signals with discrete numbers Roger B. Dannenberg Professor of Computer Science, Art, and Music Carnegie Mellon University ICM Week 3 Copyright 2002-2013 by Roger

More information

Digital Image Processing 3/e

Digital Image Processing 3/e Laboratory Projects for Digital Image Processing 3/e by Gonzalez and Woods 2008 Prentice Hall Upper Saddle River, NJ 07458 USA www.imageprocessingplace.com The following sample laboratory projects are

More information

CS 548: Computer Vision REVIEW: Digital Image Basics. Spring 2016 Dr. Michael J. Reale

CS 548: Computer Vision REVIEW: Digital Image Basics. Spring 2016 Dr. Michael J. Reale CS 548: Computer Vision REVIEW: Digital Image Basics Spring 2016 Dr. Michael J. Reale Human Vision System: Cones and Rods Two types of receptors in eye: Cones Brightness and color Photopic vision = bright-light

More information

Design of FIR Filters

Design of FIR Filters Design of FIR Filters Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 1 FIR as a

More information

DFT: Discrete Fourier Transform & Linear Signal Processing

DFT: Discrete Fourier Transform & Linear Signal Processing DFT: Discrete Fourier Transform & Linear Signal Processing 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Textbooks... 3 Recommended

More information

Introduction to Visual Perception & the EM Spectrum

Introduction to Visual Perception & the EM Spectrum , Winter 2005 Digital Image Fundamentals: Visual Perception & the EM Spectrum, Image Acquisition, Sampling & Quantization Monday, September 19 2004 Overview (1): Review Some questions to consider Elements

More information

Review. Introduction to Visual Perception & the EM Spectrum. Overview (1):

Review. Introduction to Visual Perception & the EM Spectrum. Overview (1): Overview (1): Review Some questions to consider Winter 2005 Digital Image Fundamentals: Visual Perception & the EM Spectrum, Image Acquisition, Sampling & Quantization Tuesday, January 17 2006 Elements

More information

Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016

Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016 Image acquisition Midterm Review Image Processing CSE 166 Lecture 10 2 Digitization, line of image Digitization, whole image 3 4 Geometric transformations Interpolation CSE 166 Transpose these matrices

More information

Final Exam Solutions June 7, 2004

Final Exam Solutions June 7, 2004 Name: Final Exam Solutions June 7, 24 ECE 223: Signals & Systems II Dr. McNames Write your name above. Keep your exam flat during the entire exam period. If you have to leave the exam temporarily, close

More information

DIGITAL IMAGE PROCESSING Quiz exercises preparation for the midterm exam

DIGITAL IMAGE PROCESSING Quiz exercises preparation for the midterm exam DIGITAL IMAGE PROCESSING Quiz exercises preparation for the midterm exam In the following set of questions, there are, possibly, multiple correct answers (1, 2, 3 or 4). Mark the answers you consider correct.

More information

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing Digital Image Processing Lecture # 6 Corner Detection & Color Processing 1 Corners Corners (interest points) Unlike edges, corners (patches of pixels surrounding the corner) do not necessarily correspond

More information

Sampling and Signal Processing

Sampling and Signal Processing Sampling and Signal Processing Sampling Methods Sampling is most commonly done with two devices, the sample-and-hold (S/H) and the analog-to-digital-converter (ADC) The S/H acquires a continuous-time signal

More information

International Journal of Digital Application & Contemporary research Website: (Volume 1, Issue 7, February 2013)

International Journal of Digital Application & Contemporary research Website:   (Volume 1, Issue 7, February 2013) Performance Analysis of OFDM under DWT, DCT based Image Processing Anshul Soni soni.anshulec14@gmail.com Ashok Chandra Tiwari Abstract In this paper, the performance of conventional discrete cosine transform

More information

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts Instruction Manual for Concept Simulators that accompany the book Signals and Systems by M. J. Roberts March 2004 - All Rights Reserved Table of Contents I. Loading and Running the Simulators II. Continuous-Time

More information

LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII

LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII IMAGE PROCESSING INDEX CLASS: B.E(COMPUTER) SR. NO SEMESTER:VII TITLE OF THE EXPERIMENT. 1 Point processing in spatial domain a. Negation of an

More information

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu Concordia University Discrete-Time Signal Processing Lab Manual (ELEC442) Course Instructor: Dr. Wei-Ping Zhu Fall 2012 Lab 1: Linear Constant Coefficient Difference Equations (LCCDE) Objective In this

More information

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA Department of Electrical and Computer Engineering ELEC 423 Digital Signal Processing Project 2 Due date: November 12 th, 2013 I) Introduction In ELEC

More information

Final Exam Solutions June 14, 2006

Final Exam Solutions June 14, 2006 Name or 6-Digit Code: PSU Student ID Number: Final Exam Solutions June 14, 2006 ECE 223: Signals & Systems II Dr. McNames Keep your exam flat during the entire exam. If you have to leave the exam temporarily,

More information

Prof. Feng Liu. Fall /04/2018

Prof. Feng Liu. Fall /04/2018 Prof. Feng Liu Fall 2018 http://www.cs.pdx.edu/~fliu/courses/cs447/ 10/04/2018 1 Last Time Image file formats Color quantization 2 Today Dithering Signal Processing Homework 1 due today in class Homework

More information

Wavelet Transform. From C. Valens article, A Really Friendly Guide to Wavelets, 1999

Wavelet Transform. From C. Valens article, A Really Friendly Guide to Wavelets, 1999 Wavelet Transform From C. Valens article, A Really Friendly Guide to Wavelets, 1999 Fourier theory: a signal can be expressed as the sum of a series of sines and cosines. The big disadvantage of a Fourier

More information

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido The Discrete Fourier Transform Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido CCC-INAOE Autumn 2015 The Discrete Fourier Transform Fourier analysis is a family of mathematical

More information

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems. PROBLEM SET 6 Issued: 2/32/19 Due: 3/1/19 Reading: During the past week we discussed change of discrete-time sampling rate, introducing the techniques of decimation and interpolation, which is covered

More information

ELECTRONOTES APPLICATION NOTE NO Hanshaw Road Ithaca, NY Nov 7, 2014 MORE CONCERNING NON-FLAT RANDOM FFT

ELECTRONOTES APPLICATION NOTE NO Hanshaw Road Ithaca, NY Nov 7, 2014 MORE CONCERNING NON-FLAT RANDOM FFT ELECTRONOTES APPLICATION NOTE NO. 416 1016 Hanshaw Road Ithaca, NY 14850 Nov 7, 2014 MORE CONCERNING NON-FLAT RANDOM FFT INTRODUCTION A curiosity that has probably long been peripherally noted but which

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing System Analysis and Design Paulo S. R. Diniz Eduardo A. B. da Silva and Sergio L. Netto Federal University of Rio de Janeiro CAMBRIDGE UNIVERSITY PRESS Preface page xv Introduction

More information

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015 Computer Graphics Si Lu Fall 2017 http://www.cs.pdx.edu/~lusi/cs447/cs447_547_comput er_graphics.htm 10/02/2015 1 Announcements Free Textbook: Linear Algebra By Jim Hefferon http://joshua.smcvt.edu/linalg.html/

More information

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE) Code: 13A04602 R13 B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 (Common to ECE and EIE) PART A (Compulsory Question) 1 Answer the following: (10 X 02 = 20 Marks)

More information

STUDY NOTES UNIT I IMAGE PERCEPTION AND SAMPLING. Elements of Digital Image Processing Systems. Elements of Visual Perception structure of human eye

STUDY NOTES UNIT I IMAGE PERCEPTION AND SAMPLING. Elements of Digital Image Processing Systems. Elements of Visual Perception structure of human eye DIGITAL IMAGE PROCESSING STUDY NOTES UNIT I IMAGE PERCEPTION AND SAMPLING Elements of Digital Image Processing Systems Elements of Visual Perception structure of human eye light, luminance, brightness

More information

Module 3 : Sampling and Reconstruction Problem Set 3

Module 3 : Sampling and Reconstruction Problem Set 3 Module 3 : Sampling and Reconstruction Problem Set 3 Problem 1 Shown in figure below is a system in which the sampling signal is an impulse train with alternating sign. The sampling signal p(t), the Fourier

More information

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal. 1 2.1 BASIC CONCEPTS 2.1.1 Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal. 2 Time Scaling. Figure 2.4 Time scaling of a signal. 2.1.2 Classification of Signals

More information

System analysis and signal processing

System analysis and signal processing System analysis and signal processing with emphasis on the use of MATLAB PHILIP DENBIGH University of Sussex ADDISON-WESLEY Harlow, England Reading, Massachusetts Menlow Park, California New York Don Mills,

More information

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS RADT 3463 - COMPUTERIZED IMAGING Section I: Chapter 2 RADT 3463 Computerized Imaging 1 SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS RADT 3463 COMPUTERIZED IMAGING Section I: Chapter 2 RADT

More information

Sampling Theory. CS5625 Lecture Steve Marschner. Cornell CS5625 Spring 2016 Lecture 7

Sampling Theory. CS5625 Lecture Steve Marschner. Cornell CS5625 Spring 2016 Lecture 7 Sampling Theory CS5625 Lecture 7 Sampling example (reminder) When we sample a high-frequency signal we don t get what we expect result looks like a lower frequency not possible to distinguish between this

More information

CS3291: Digital Signal Processing

CS3291: Digital Signal Processing CS39 Exam Jan 005 //08 /BMGC University of Manchester Department of Computer Science First Semester Year 3 Examination Paper CS39: Digital Signal Processing Date of Examination: January 005 Answer THREE

More information

This is due to Purkinje shift. At scotopic conditions, we are more sensitive to blue than to red.

This is due to Purkinje shift. At scotopic conditions, we are more sensitive to blue than to red. 1. We know that the color of a light/object we see depends on the selective transmission or reflections of some wavelengths more than others. Based on this fact, explain why the sky on earth looks blue,

More information

Human Vision, Color and Basic Image Processing

Human Vision, Color and Basic Image Processing Human Vision, Color and Basic Image Processing Connelly Barnes CS4810 University of Virginia Acknowledgement: slides by Jason Lawrence, Misha Kazhdan, Allison Klein, Tom Funkhouser, Adam Finkelstein and

More information

Frequency-Domain Sharing and Fourier Series

Frequency-Domain Sharing and Fourier Series MIT 6.02 DRAFT Lecture Notes Fall 200 (Last update: November 9, 200) Comments, questions or bug reports? Please contact 6.02-staff@mit.edu LECTURE 4 Frequency-Domain Sharing and Fourier Series In earlier

More information

Laboratory Assignment 5 Amplitude Modulation

Laboratory Assignment 5 Amplitude Modulation Laboratory Assignment 5 Amplitude Modulation PURPOSE In this assignment, you will explore the use of digital computers for the analysis, design, synthesis, and simulation of an amplitude modulation (AM)

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

Problem Set 1 (Solutions are due Mon )

Problem Set 1 (Solutions are due Mon ) ECEN 242 Wireless Electronics for Communication Spring 212 1-23-12 P. Mathys Problem Set 1 (Solutions are due Mon. 1-3-12) 1 Introduction The goals of this problem set are to use Matlab to generate and

More information

Basic Signals and Systems

Basic Signals and Systems Chapter 2 Basic Signals and Systems A large part of this chapter is taken from: C.S. Burrus, J.H. McClellan, A.V. Oppenheim, T.W. Parks, R.W. Schafer, and H. W. Schüssler: Computer-based exercises for

More information

DISCRETE FOURIER TRANSFORM AND FILTER DESIGN

DISCRETE FOURIER TRANSFORM AND FILTER DESIGN DISCRETE FOURIER TRANSFORM AND FILTER DESIGN N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture # 03 Spectrum of a Square Wave 2 Results of Some Filters 3 Notation 4 x[n]

More information

G(f ) = g(t) dt. e i2πft. = cos(2πf t) + i sin(2πf t)

G(f ) = g(t) dt. e i2πft. = cos(2πf t) + i sin(2πf t) Fourier Transforms Fourier s idea that periodic functions can be represented by an infinite series of sines and cosines with discrete frequencies which are integer multiples of a fundamental frequency

More information

Image Enhancement using Histogram Equalization and Spatial Filtering

Image Enhancement using Histogram Equalization and Spatial Filtering Image Enhancement using Histogram Equalization and Spatial Filtering Fari Muhammad Abubakar 1 1 Department of Electronics Engineering Tianjin University of Technology and Education (TUTE) Tianjin, P.R.

More information

Performing the Spectrogram on the DSP Shield

Performing the Spectrogram on the DSP Shield Performing the Spectrogram on the DSP Shield EE264 Digital Signal Processing Final Report Christopher Ling Department of Electrical Engineering Stanford University Stanford, CA, US x24ling@stanford.edu

More information

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises Digital Video and Audio Processing Winter term 2002/ 2003 Computer-based exercises Rudolf Mester Institut für Angewandte Physik Johann Wolfgang Goethe-Universität Frankfurt am Main 6th November 2002 Chapter

More information

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b Exam 1 February 3, 006 Each subquestion is worth 10 points. 1. Consider a periodic sawtooth waveform x(t) with period T 0 = 1 sec shown below: (c) x(n)= u(n). In this case, show that the output has the

More information

Chapter 4 SPEECH ENHANCEMENT

Chapter 4 SPEECH ENHANCEMENT 44 Chapter 4 SPEECH ENHANCEMENT 4.1 INTRODUCTION: Enhancement is defined as improvement in the value or Quality of something. Speech enhancement is defined as the improvement in intelligibility and/or

More information

Fourier Transform Pairs

Fourier Transform Pairs CHAPTER Fourier Transform Pairs For every time domain waveform there is a corresponding frequency domain waveform, and vice versa. For example, a rectangular pulse in the time domain coincides with a sinc

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 2002

DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 2002 DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 22 Topics: Human eye Visual phenomena Simple image model Image enhancement Point processes Histogram Lookup tables Contrast compression and stretching

More information

Image Processing Computer Graphics I Lecture 20. Display Color Models Filters Dithering Image Compression

Image Processing Computer Graphics I Lecture 20. Display Color Models Filters Dithering Image Compression 15-462 Computer Graphics I Lecture 2 Image Processing April 18, 22 Frank Pfenning Carnegie Mellon University http://www.cs.cmu.edu/~fp/courses/graphics/ Display Color Models Filters Dithering Image Compression

More information

Module 3: Video Sampling Lecture 18: Filtering operations in Camera and display devices. The Lecture Contains: Effect of Temporal Aperture:

Module 3: Video Sampling Lecture 18: Filtering operations in Camera and display devices. The Lecture Contains: Effect of Temporal Aperture: The Lecture Contains: Effect of Temporal Aperture: Spatial Aperture: Effect of Display Aperture: file:///d /...e%20(ganesh%20rana)/my%20course_ganesh%20rana/prof.%20sumana%20gupta/final%20dvsp/lecture18/18_1.htm[12/30/2015

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing Fourth Edition John G. Proakis Department of Electrical and Computer Engineering Northeastern University Boston, Massachusetts Dimitris G. Manolakis MIT Lincoln Laboratory Lexington,

More information

Pulse Code Modulation (PCM)

Pulse Code Modulation (PCM) Project Title: e-laboratories for Physics and Engineering Education Tempus Project: contract # 517102-TEMPUS-1-2011-1-SE-TEMPUS-JPCR 1. Experiment Category: Electrical Engineering >> Communications 2.

More information

MULTIMEDIA SYSTEMS

MULTIMEDIA SYSTEMS 1 Department of Computer Engineering, g, Faculty of Engineering King Mongkut s Institute of Technology Ladkrabang 01076531 MULTIMEDIA SYSTEMS Pakorn Watanachaturaporn, Ph.D. pakorn@live.kmitl.ac.th, pwatanac@gmail.com

More information

ECC419 IMAGE PROCESSING

ECC419 IMAGE PROCESSING ECC419 IMAGE PROCESSING INTRODUCTION Image Processing Image processing is a subclass of signal processing concerned specifically with pictures. Digital Image Processing, process digital images by means

More information

Fourier transforms, SIM

Fourier transforms, SIM Fourier transforms, SIM Last class More STED Minflux Fourier transforms This class More FTs 2D FTs SIM 1 Intensity.5 -.5 FT -1.5 1 1.5 2 2.5 3 3.5 4 4.5 5 6 Time (s) IFT 4 2 5 1 15 Frequency (Hz) ff tt

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Lecture # 3 Digital Image Fundamentals ALI JAVED Lecturer SOFTWARE ENGINEERING DEPARTMENT U.E.T TAXILA Email:: ali.javed@uettaxila.edu.pk Office Room #:: 7 Presentation Outline

More information

Chapter 2 Image Enhancement in the Spatial Domain

Chapter 2 Image Enhancement in the Spatial Domain Chapter 2 Image Enhancement in the Spatial Domain Abstract Although the transform domain processing is essential, as the images naturally occur in the spatial domain, image enhancement in the spatial domain

More information

Electrical & Computer Engineering Technology

Electrical & Computer Engineering Technology Electrical & Computer Engineering Technology EET 419C Digital Signal Processing Laboratory Experiments by Masood Ejaz Experiment # 1 Quantization of Analog Signals and Calculation of Quantized noise Objective:

More information

image Scanner, digital camera, media, brushes,

image Scanner, digital camera, media, brushes, 118 Also known as rasterr graphics Record a value for every pixel in the image Often created from an external source Scanner, digital camera, Painting P i programs allow direct creation of images with

More information

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET Some color images on this slide Last Lecture 2D filtering frequency domain The magnitude of the 2D DFT gives the amplitudes of the sinusoids and

More information

Lecture 3: Grey and Color Image Processing

Lecture 3: Grey and Color Image Processing I22: Digital Image processing Lecture 3: Grey and Color Image Processing Prof. YingLi Tian Sept. 13, 217 Department of Electrical Engineering The City College of New York The City University of New York

More information

SMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003

SMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003 SMS045 - DSP Systems in Practice Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003 Lab Purpose This lab will introduce MATLAB as a tool for designing and evaluating digital

More information

CoE4TN4 Image Processing. Chapter 4 Filtering in the Frequency Domain

CoE4TN4 Image Processing. Chapter 4 Filtering in the Frequency Domain CoE4TN4 Image Processing Chapter 4 Filtering in the Frequency Domain Fourier Transform Sections 4.1 to 4.5 will be done on the board 2 2D Fourier Transform 3 2D Sampling and Aliasing 4 2D Sampling and

More information

ECE 484 Digital Image Processing Lec 09 - Image Resampling

ECE 484 Digital Image Processing Lec 09 - Image Resampling ECE 484 Digital Image Processing Lec 09 - Image Resampling Zhu Li Dept of CSEE, UMKC Office: FH560E, Email: lizhu@umkc.edu, Ph: x 2346. http://l.web.umkc.edu/lizhu slides created with WPS Office Linux

More information

Qäf) Newnes f-s^j^s. Digital Signal Processing. A Practical Guide for Engineers and Scientists. by Steven W. Smith

Qäf) Newnes f-s^j^s. Digital Signal Processing. A Practical Guide for Engineers and Scientists. by Steven W. Smith Digital Signal Processing A Practical Guide for Engineers and Scientists by Steven W. Smith Qäf) Newnes f-s^j^s / *" ^"P"'" of Elsevier Amsterdam Boston Heidelberg London New York Oxford Paris San Diego

More information

Digital Media. Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr.

Digital Media. Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr. Digital Media Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr. Mark Iken Bitmapped image compression Consider this image: With no compression...

More information

APPLICATION OF COMPUTER VISION FOR DETERMINATION OF SYMMETRICAL OBJECT POSITION IN THREE DIMENSIONAL SPACE

APPLICATION OF COMPUTER VISION FOR DETERMINATION OF SYMMETRICAL OBJECT POSITION IN THREE DIMENSIONAL SPACE APPLICATION OF COMPUTER VISION FOR DETERMINATION OF SYMMETRICAL OBJECT POSITION IN THREE DIMENSIONAL SPACE Najirah Umar 1 1 Jurusan Teknik Informatika, STMIK Handayani Makassar Email : najirah_stmikh@yahoo.com

More information

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS INTRODUCTION The objective of this lab is to explore many issues involved in sampling and reconstructing signals, including analysis of the frequency

More information

ME scope Application Note 01 The FFT, Leakage, and Windowing

ME scope Application Note 01 The FFT, Leakage, and Windowing INTRODUCTION ME scope Application Note 01 The FFT, Leakage, and Windowing NOTE: The steps in this Application Note can be duplicated using any Package that includes the VES-3600 Advanced Signal Processing

More information

Sampling and reconstruction. CS 4620 Lecture 13

Sampling and reconstruction. CS 4620 Lecture 13 Sampling and reconstruction CS 4620 Lecture 13 Lecture 13 1 Outline Review signal processing Sampling Reconstruction Filtering Convolution Closely related to computer graphics topics such as Image processing

More information

Digital Image Processing. Lecture # 8 Color Processing

Digital Image Processing. Lecture # 8 Color Processing Digital Image Processing Lecture # 8 Color Processing 1 COLOR IMAGE PROCESSING COLOR IMAGE PROCESSING Color Importance Color is an excellent descriptor Suitable for object Identification and Extraction

More information