Upsampling and Downsampling

Total Page:16

File Type:pdf, Size:1020Kb

Upsampling and Downsampling Upsampling and Downsampling MUS421/EE367B Lecture 9 Multirate, Polyphase, and Wavelet Filter Banks For the DFT, we have the Stretch Theorem (Repeat Theorem) which relates upsampling (“stretch”) to Julius O. Smith III ([email protected]) , Scott Levine and Harvey Thornburg spectral copies (“images”) in the DFT context (length N Center for Computer Research in Music and Acoustics (CCRMA) signals and spectra). Department of Music, Stanford University Stanford, California 94305 We also have the Downsampling Theorem (Aliasing Theorem) for DFTs which relates downsampling to June 2, 2020 aliasing for finite length signals and spectra. We now look at these relationships in the DTFT case. Outline Thus, the signal length N is extended to infinity, and the Upsampling and Downsampling spectrum becomes defined continuously over the unit • circle in the z plane. Polyphase Filtering • Critically Sampled Perfect Reconstruction Filter Banks • Perfect Reconstruction Filter Banks • Paraunitary (Orthogonal) Filter Banks • Multirate Analysis of Filter Banks • DFT Filter Banks • Cosine Modulated Filter Banks • Wavelet Filter Banks • 1 2 Upsampling (Stretch) Downsampling (Decimation) Diagram: Diagram: • • xN y xN y Basic Idea: To upsample by the integer factor N, Basic Idea: Take every N th sample. • • insert N 1 zeros between x[n] and x[n +1] for all n. Downsample − Time Domain: y = N (x), i.e., Time Domain: y = Stretch (x), i.e., • • N y[n]= x[Nn], n Z ∈ x[n/N],N divides n y[n]= Frequency Domain: Y = AliasN (X), i.e., ( 0, otherwise. • N 1 1 − 1 jm2π Frequency Domain: Y = Repeat (X), i.e., Y (z)= X z N e− N , z C N N ∈ • m=0 Y (z)= X(zN ), z C X ∈ Thus, the frequency axis is expanded by factor N, Plugging in z = ejω, we see that the spectrum on wrapping N times around the unit circle and adding. • [ π,π) contracts by the factor N, and N images For N =2, two partial spectra are summed, as appear− around the unit circle. For N =2, this is indicated below: depicted below: 1/Ν −π π −π π −π π −π π 3 4 Twiddle Factor Notation Proof of Downsampling/Aliasing Relationship 1 k Downsample Alias In FFT terminology, W denotes the kth “twiddle N (x) N (X) N ↔ N factor,” where WN is a primitive Nth root of unity: N 1 ∆ j2π/N − WN = e− . or x(nN) 1 X ej2πm/N z1/N ↔ N m=0 The aliasing expression can therefore be written as X N 1 From the DFT case, we know this is true when x and X 1 − 1 jm2π Y (z) = X z N e− N , z C are each complex sequences of length N , in which case y N ∈ s m=0 and Y are length N /N. Thus, X s N 1 1 − N 1 m 1/N 1 − 2π Ns = X(WN z ). x(nN) Y (ω N)= X ω + m , k 0, N ↔ k N k N ∈ N m=0 m=0 X X where we have chosen to keep frequency samples ωk in terms of the original frequency axis prior to downsampling, i.e., ωk =2πk/Ns for both X and Y . This choice allows us to easily take the limit as N s →∞ by simply replacing ωk by ω: N 1 1 − 2π 2π x(nN) Y (ωN)= X ω + m , ω 0, ↔ N N ∈ N m=0 X Replacing ω by ω′ = ωN and converting to z-transform notation X(z) instead of Fourier transform notation X(ω), with z = ejω′, yields the final result. 5 6 Example: Downsampling by 2 Filtering and Downsampling As an example, when N =2, y[n]= x[2n], and Because downsampling by N will cause aliasing for any ∆ j2π/2 (since W2 = e− = 1) frequencies in the original signal above ω > π/N, the − input signal must first be lowpass filtered.| | 1 Y (z) = X W 0z1/2 + X W 1z1/2 2 2 2 h i H(z) N 1 j2π0/2 1/2 j2π1/2 1/2 = X e− z + X e− z 2 1 h i = X z1/2 + X z1/2 The lowpass filter h[n] is an FIR filter of length M with a 2 − cutoff frequency of π/N. Let’s draw the FIR filter h in 1 h i = [Stretch (X)+ Stretch (Shift (X))] direct form: 2 2 2 π x[n] h(0) y[n] N Example: Upsampling by 2 z-1 h(1) z-1 When N =2, y =[x0, 0,x1, 0,...], and h(2) 2 Y (z)= X(z )= Repeat2(X) -1 z h(M-1) 7 8 Note that we do not need N 1 out of every N Interpretation: • − • samples due to the N :1 downsampler. – serial to parallel conversion Commute the downsampler through the adders inside from a stream of scalar samples x[n] • the FIR filter: to a sequence of length M buffers every N samples, followed by x[n] h(0) y[n] N – a dot product of each buffer with h(0 : M 1) − z-1 h(1) For N = M, the overall system is equivalent to a N • round-robin demultiplexor, with a different gain h(m) z-1 for each output, followed by an M-sample summer h(2) N which adds the “de-interleaved” signals together: x[n] h(0) -1 z h(M-1) N h(1) Length M y[n] running sum The multipliers are now running at 1/N times the • sampling frequency of the input signal, x[n]. This reduces the computation requirements by 1/N. The downsampler outputs are called polyphase signals h(M 1) • − This is a summed polyphase filter bank in which each • “subphase filter” is a constant scale factor h(m). 9 10 Polyphase Processing (Anti-Aliasing Filter) Polyphase Filtering In multirate signal processing, it is often fruitful to split a Subphase 0, • signal or filter into its polyphase components. x(nN) ∞ =[x ,x ,x ,...] |n=0 0 N 2N Let’s look at the case N =2: is scaled by h(0) Begin with the filter Subphase 1, • • ∞ n x(nN + 1) ∞ =[x1,xN+1,x2N+1,...] H(z)= h(n)z |n=0 − n= is scaled by h(1) X−∞ Separate the even and odd terms: • •··· Subphase m, ∞ 2n 1 ∞ 2n • H(z)= h(2n)z− + z− h(2n + 1)z− n= n= x(nN + m) ∞ =[x ,x ,x ,...] |n=0 m N+m 2N+m X−∞ X−∞ Define the polyphase component filters: is scaled by h(m). • ∞ n E0(z) = h(2n)z− n= X−∞ ∞ n E1(z) = h(2n + 1)z− n= X−∞ E0(z) and E1(z) are the polyphase components of the polyphase decomposition of H(z) for N =2. 11 12 Now write H(z) as the sum of the odd and even e0 • e1 terms: e2 2 1 2 -1-2-3-4-5-6 0 1 2 3 4 5 6 H(z)= E0(z )+ z− E1(z ) Example Polyphase Decomposition into 2 Channels The polyphase decomposition into N channels is given by N 1 − H(z)= z lE (zN ) As a simple example, consider − l l=0 1 2 3 X H(z)=1+2z− +3z− +4z− . where the subphase filters are Then the even and odd terms are, respectively, ∞ n 1 El(z)= el(n)z− , l =0, 1,...,N 1, E0(z) = 1+3z− − n= 1 X−∞ E1(z) = 2+4z− with And so H(z) can be written as the sum of the following ∆ el(n) = h(Nn + l). (lth subphase filter) two polyphase components: 2 2 The signal e (n) can be obtained by passing h(n) E0(z ) = 1+3z− l 1 2 1 3 through an advance of l samples, followed by z− E1(z )=2z− +4z− downsampling by the factor N: Polyphase Decomposition into N Channels h(n) el(n) zl N For the general case of arbitrary N, the basic idea is to decompose x[n] into its periodically interleaved subsequences: 13 14 Three-Channel Polyphase Decomposition and Filtering and Downsampling, Revisited Reconstruction As another example of polyphase filtering, we return to For N =3, we have the following system diagram: the previous example about downsampling and filtering. 1 3 E0(z) 3 1 This time, E (z) 1 H(z) z3 1 3 z− H(z) Let the FIR lowpass filter h[n] be of length • Z 2 E (z) 2 M = LN, L z 3 2 3 z− ∈ The N polyphase filters, el[n], are each length L. Type II Polyphase Decomposition • N 1 N 2 N Recall, H(z)= E0(z )+ z− E1(z )+ z− E2(z )+ • (N 1) N The preceding polyphase decomposition of H(z) into N + z− − EN 1(z ): ··· − channels N 1 x[n] y[n] E (zN) N − l N 0 H(z)= z− El(z ) z-1 l=0 X E (zN) can be termed a “Type I” polyphase decomposition. 1 z-1 In the “Type II”, or reverse polyphase decomposition, the E (zN) powers of z progress in the opposite direction: 2 N 1 − (N l 1) N H(z)= z− − − Rl(z ). -1 l=0 z N X EM-1(z ) We will see later that we need Type I for analysis filters and Type II for synthesis filters in a “perfect reconstruction filter bank”. 15 16 Now commute the N :1 downsampler through the Multirate Noble Identities • adders and through the upsampled polyphase filters, N El(z ): Downsamplers and upsamplers are linear, time-varying x[n] y[n] operators.
Recommended publications
  • Mathematical Basics of Bandlimited Sampling and Aliasing
    Signal Processing Mathematical basics of bandlimited sampling and aliasing Modern applications often require that we sample analog signals, convert them to digital form, perform operations on them, and reconstruct them as analog signals. The important question is how to sample and reconstruct an analog signal while preserving the full information of the original. By Vladimir Vitchev o begin, we are concerned exclusively The limits of integration for Equation 5 T about bandlimited signals. The reasons are specified only for one period. That isn’t a are both mathematical and physical, as we problem when dealing with the delta func- discuss later. A signal is said to be band- Furthermore, note that the asterisk in Equa- tion, but to give rigor to the above expres- limited if the amplitude of its spectrum goes tion 3 denotes convolution, not multiplica- sions, note that substitutions can be made: to zero for all frequencies beyond some thresh- tion. Since we know the spectrum of the The integral can be replaced with a Fourier old called the cutoff frequency. For one such original signal G(f), we need find only the integral from minus infinity to infinity, and signal (g(t) in Figure 1), the spectrum is zero Fourier transform of the train of impulses. To the periodic train of delta functions can be for frequencies above a. In that case, the do so we recognize that the train of impulses replaced with a single delta function, which is value a is also the bandwidth (BW) for this is a periodic function and can, therefore, be the basis for the periodic signal.
    [Show full text]
  • Efficient Supersampling Antialiasing for High-Performance Architectures
    Efficient Supersampling Antialiasing for High-Performance Architectures TR91-023 April, 1991 Steven Molnar The University of North Carolina at Chapel Hill Department of Computer Science CB#3175, Sitterson Hall Chapel Hill, NC 27599-3175 This work was supported by DARPA/ISTO Order No. 6090, NSF Grant No. DCI- 8601152 and IBM. UNC is an Equa.l Opportunity/Affirmative Action Institution. EFFICIENT SUPERSAMPLING ANTIALIASING FOR HIGH­ PERFORMANCE ARCHITECTURES Steven Molnar Department of Computer Science University of North Carolina Chapel Hill, NC 27599-3175 Abstract Techniques are presented for increasing the efficiency of supersampling antialiasing in high-performance graphics architectures. The traditional approach is to sample each pixel with multiple, regularly spaced or jittered samples, and to blend the sample values into a final value using a weighted average [FUCH85][DEER88][MAMM89][HAEB90]. This paper describes a new type of antialiasing kernel that is optimized for the constraints of hardware systems and produces higher quality images with fewer sample points than traditional methods. The central idea is to compute a Poisson-disk distribution of sample points for a small region of the screen (typically pixel-sized, or the size of a few pixels). Sample points are then assigned to pixels so that the density of samples points (rather than weights) for each pixel approximates a Gaussian (or other) reconstruction filter as closely as possible. The result is a supersampling kernel that implements importance sampling with Poisson-disk-distributed samples. The method incurs no additional run-time expense over standard weighted-average supersampling methods, supports successive-refinement, and can be implemented on any high-performance system that point samples accurately and has sufficient frame-buffer storage for two color buffers.
    [Show full text]
  • Designing Commutative Cascades of Multidimensional Upsamplers And
    IEEE SIGNAL PROCESSING LETTERS: SPL.SP.4.1 THEORY, ALGORITHMS, AND SYSTEMS 0 Designing Commutative Cascades of Multidimensional Upsamplers and Downsamplers Brian L. Evans, Member, IEEE Abstract In multiple dimensions, the cascade of an upsampler by L and a downsampler by L commutes if and only if the integer matrices L and M are right coprime and LM = ML. This pap er presents algorithms to design L and M that yield commutative upsampler/dowsampler cascades. We prove that commutativity is p ossible if the 1 Jordan canonical form of the rational resampling matrix R = LM is equivalent to the Smith-McMillan form of R. A necessary condition for this equivalence is that R has an eigendecomp osition and the eigenvalues are rational. B. L. Evans is with the Department of Electrical and Computer Engineering, The UniversityofTexas at Austin, Austin, TX 78712-1084, USA. E-mail: [email protected], Web: http://www.ece.utexas.edu/~b evans, Phone: 512 232-1457, Fax: 512 471-5907. This work was sp onsored in part by NSF CAREER Award under Grant MIP-9702707. July 31, 1997 DRAFT IEEE SIGNAL PROCESSING LETTERS: SPL.SP.4.1 THEORY, ALGORITHMS, AND SYSTEMS 1 I. Introduction 1 Resampling systems scale the sampling rate by a rational factor R = L=M = LM , or 1 equivalently decimate by H = M=L = L M [1], by essentially upsampling by L, ltering, and downsampling by M . In converting compact disc data sampled at 44.1 kHz to digital audio tap e 48000 Hz 160 data sampled at 48 kHz, R = = . Because we can always factor R into coprime 44100 Hz 147 integers L and M , we can always commute the upsampler and downsampler which leads to ecient p olyphase structures of the resampling system.
    [Show full text]
  • Super-Sampling Anti-Aliasing Analyzed
    Super-sampling Anti-aliasing Analyzed Kristof Beets Dave Barron Beyond3D [email protected] Abstract - This paper examines two varieties of super-sample anti-aliasing: Rotated Grid Super- Sampling (RGSS) and Ordered Grid Super-Sampling (OGSS). RGSS employs a sub-sampling grid that is rotated around the standard horizontal and vertical offset axes used in OGSS by (typically) 20 to 30°. RGSS is seen to have one basic advantage over OGSS: More effective anti-aliasing near the horizontal and vertical axes, where the human eye can most easily detect screen aliasing (jaggies). This advantage also permits the use of fewer sub-samples to achieve approximately the same visual effect as OGSS. In addition, this paper examines the fill-rate, memory, and bandwidth usage of both anti-aliasing techniques. Super-sampling anti-aliasing is found to be a costly process that inevitably reduces graphics processing performance, typically by a substantial margin. However, anti-aliasing’s posi- tive impact on image quality is significant and is seen to be very important to an improved gaming experience and worth the performance cost. What is Aliasing? digital medium like a CD. This translates to graphics in that a sample represents a specific moment as well as a Computers have always strived to achieve a higher-level specific area. A pixel represents each area and a frame of quality in graphics, with the goal in mind of eventu- represents each moment. ally being able to create an accurate representation of reality. Of course, to achieve reality itself is impossible, At our current level of consumer technology, it simply as reality is infinitely detailed.
    [Show full text]
  • Efficient Multidimensional Sampling
    EUROGRAPHICS 2002 / G. Drettakis and H.-P. Seidel Volume 21 (2002 ), Number 3 (Guest Editors) Efficient Multidimensional Sampling Thomas Kollig and Alexander Keller Department of Computer Science, Kaiserslautern University, Germany Abstract Image synthesis often requires the Monte Carlo estimation of integrals. Based on a generalized con- cept of stratification we present an efficient sampling scheme that consistently outperforms previous techniques. This is achieved by assembling sampling patterns that are stratified in the sense of jittered sampling and N-rooks sampling at the same time. The faster convergence and improved anti-aliasing are demonstrated by numerical experiments. Categories and Subject Descriptors (according to ACM CCS): G.3 [Probability and Statistics]: Prob- abilistic Algorithms (including Monte Carlo); I.3.2 [Computer Graphics]: Picture/Image Generation; I.3.7 [Computer Graphics]: Three-Dimensional Graphics and Realism. 1. Introduction general concept of stratification than just joining jit- tered and Latin hypercube sampling. Since our sam- Many rendering tasks are given in integral form and ples are highly correlated and satisfy a minimum dis- usually the integrands are discontinuous and of high tance property, noise artifacts are attenuated much 22 dimension, too. Since the Monte Carlo method is in- more efficiently and anti-aliasing is improved. dependent of dimension and applicable to all square- integrable functions, it has proven to be a practical tool for numerical integration. It relies on the point 2. Monte Carlo Integration sampling paradigm and such on sample placement. In- The Monte Carlo method of integration estimates the creasing the uniformity of the samples is crucial for integral of a square-integrable function f over the s- the efficiency of the stochastic method and the level dimensional unit cube by of noise contained in the rendered images.
    [Show full text]
  • Signal Sampling
    FYS3240 PC-based instrumentation and microcontrollers Signal sampling Spring 2017 – Lecture #5 Bekkeng, 30.01.2017 Content – Aliasing – Sampling – Analog to Digital Conversion (ADC) – Filtering – Oversampling – Triggering Analog Signal Information Three types of information: • Level • Shape • Frequency Sampling Considerations – An analog signal is continuous – A sampled signal is a series of discrete samples acquired at a specified sampling rate – The faster we sample the more our sampled signal will look like our actual signal Actual Signal – If not sampled fast enough a problem known as aliasing will occur Sampled Signal Aliasing Adequately Sampled SignalSignal Aliased Signal Bandwidth of a filter • The bandwidth B of a filter is defined to be between the -3 dB points Sampling & Nyquist’s Theorem • Nyquist’s sampling theorem: – The sample frequency should be at least twice the highest frequency contained in the signal Δf • Or, more correctly: The sample frequency fs should be at least twice the bandwidth Δf of your signal 0 f • In mathematical terms: fs ≥ 2 *Δf, where Δf = fhigh – flow • However, to accurately represent the shape of the ECG signal signal, or to determine peak maximum and peak locations, a higher sampling rate is required – Typically a sample rate of 10 times the bandwidth of the signal is required. Illustration from wikipedia Sampling Example Aliased Signal 100Hz Sine Wave Sampled at 100Hz Adequately Sampled for Frequency Only (Same # of cycles) 100Hz Sine Wave Sampled at 200Hz Adequately Sampled for Frequency and Shape 100Hz Sine Wave Sampled at 1kHz Hardware Filtering • Filtering – To remove unwanted signals from the signal that you are trying to measure • Analog anti-aliasing low-pass filtering before the A/D converter – To remove all signal frequencies that are higher than the input bandwidth of the device.
    [Show full text]
  • Deep Image Prior for Undersampling High-Speed Photoacoustic Microscopy
    Photoacoustics 22 (2021) 100266 Contents lists available at ScienceDirect Photoacoustics journal homepage: www.elsevier.com/locate/pacs Deep image prior for undersampling high-speed photoacoustic microscopy Tri Vu a,*, Anthony DiSpirito III a, Daiwei Li a, Zixuan Wang c, Xiaoyi Zhu a, Maomao Chen a, Laiming Jiang d, Dong Zhang b, Jianwen Luo b, Yu Shrike Zhang c, Qifa Zhou d, Roarke Horstmeyer e, Junjie Yao a a Photoacoustic Imaging Lab, Duke University, Durham, NC, 27708, USA b Department of Biomedical Engineering, Tsinghua University, Beijing, 100084, China c Division of Engineering in Medicine, Department of Medicine, Brigham and Women’s Hospital, Harvard Medical School, Cambridge, MA, 02139, USA d Department of Biomedical Engineering and USC Roski Eye Institute, University of Southern California, Los Angeles, CA, 90089, USA e Computational Optics Lab, Duke University, Durham, NC, 27708, USA ARTICLE INFO ABSTRACT Keywords: Photoacoustic microscopy (PAM) is an emerging imaging method combining light and sound. However, limited Convolutional neural network by the laser’s repetition rate, state-of-the-art high-speed PAM technology often sacrificesspatial sampling density Deep image prior (i.e., undersampling) for increased imaging speed over a large field-of-view. Deep learning (DL) methods have Deep learning recently been used to improve sparsely sampled PAM images; however, these methods often require time- High-speed imaging consuming pre-training and large training dataset with ground truth. Here, we propose the use of deep image Photoacoustic microscopy Raster scanning prior (DIP) to improve the image quality of undersampled PAM images. Unlike other DL approaches, DIP requires Undersampling neither pre-training nor fully-sampled ground truth, enabling its flexible and fast implementation on various imaging targets.
    [Show full text]
  • ELEG 5173L Digital Signal Processing Ch. 3 Discrete-Time Fourier Transform
    Department of Electrical Engineering University of Arkansas ELEG 5173L Digital Signal Processing Ch. 3 Discrete-Time Fourier Transform Dr. Jingxian Wu [email protected] 2 OUTLINE • The Discrete-Time Fourier Transform (DTFT) • Properties • DTFT of Sampled Signals • Upsampling and downsampling 3 DTFT • Discrete-time Fourier Transform (DTFT) X () x(n)e jn n – (radians): digital frequency • Review: Z-transform: X (z) x(n)zn n0 j X () X (z) | j – Replace z with e . ze • Review: Fourier transform: X () x(t)e jt – (rads/sec): analog frequency 4 DTFT • Relationship between DTFT and Fourier Transform – Sample a continuous time signal x a ( t ) with a sampling period T xs (t) xa (t) (t nT ) xa (nT ) (t nT ) n n – The Fourier Transform of ys (t) jt jnT X s () xs (t)e dt xa (nT)e n – Define: T • : digital frequency (unit: radians) • : analog frequency (unit: radians/sec) – Let x(n) xa (nT) X () X s T 5 DTFT • Relationship between DTFT and Fourier Transform (Cont’d) – The DTFT can be considered as the scaled version of the Fourier transform of the sampled continuous-time signal jt jnT X s () xs (t)e dt xa (nT)e n x(n) x (nT) T a jn X () X s x(n)e T n 6 DTFT • Discrete Frequency – Unit: radians (the unit of continuous frequency is radians/sec) – X ( ) is a periodic function with period 2 j2 n jn j2n jn X ( 2 ) x(n)e x(n)e e x(n)e X () n n n – We only need to consider for • For Fourier transform, we need to consider 1 – f T 2 2T 1 – f T 2 2T 7 DTFT • Example: find the DTFT of the following signal – 1.
    [Show full text]
  • F • Aliasing Distortion • Quantization Noise • Bandwidth Limitations • Cost of A/D & D/A Conversion
    Aliasing • Aliasing distortion • Quantization noise • A 1 Hz Sine wave sampled at 1.8 Hz • Bandwidth limitations • A 0.8 Hz sine wave sampled at 1.8 Hz • Cost of A/D & D/A conversion -fs fs THE UNIVERSITY OF TEXAS AT AUSTIN Advantages of Digital Systems Perfect reconstruction of a Better trade-off between signal is possible even after bandwidth and noise severe distortion immunity performance digital analog bandwidth Increase signal-to-noise ratio simply by adding more bits SNR = -7.2 + 6 dB/bit THE UNIVERSITY OF TEXAS AT AUSTIN Advantages of Digital Systems Programmability • Modifiable in the field • Implement multiple standards • Better user interfaces • Tolerance for changes in specifications • Get better use of hardware for low-speed operations • Debugging • User programmability THE UNIVERSITY OF TEXAS AT AUSTIN Disadvantages of Digital Systems Programmability • Speed is too slow for some applications • High average power and peak power consumption RISC (2 Watts) vs. DSP (50 mW) DATA PROG MEMORY MEMORY HARVARD ARCHITECTURE • Aliasing from undersampling • Clipping from quantization Q[v] v v THE UNIVERSITY OF TEXAS AT AUSTIN Analog-to-Digital Conversion 1 --- T h(t) Q[.] xt() yt() ynT() yˆ()nT Anti-Aliasing Sampler Quantizer Filter xt() y(nT) t n y(t) ^y(nT) t n THE UNIVERSITY OF TEXAS AT AUSTIN Resampling Changing the Sampling Rate • Conversion between audio formats Compact 48.0 Digital Disc ---------- Audio Tape 44.1 KHz44.1 48 KHz • Speech compression Speech 1 Speech for on DAT --- Telephone 48 KHz 6 8 KHz • Video format conversion
    [Show full text]
  • Lecture 12: Sampling, Aliasing, and the Discrete Fourier Transform Foundations of Digital Signal Processing
    Lecture 12: Sampling, Aliasing, and the Discrete Fourier Transform Foundations of Digital Signal Processing Outline • Review of Sampling • The Nyquist-Shannon Sampling Theorem • Continuous-time Reconstruction / Interpolation • Aliasing and anti-Aliasing • Deriving Transforms from the Fourier Transform • Discrete-time Fourier Transform, Fourier Series, Discrete-time Fourier Series • The Discrete Fourier Transform Foundations of Digital Signal Processing Lecture 12: Sampling, Aliasing, and the Discrete Fourier Transform 1 News Homework #5 . Due this week . Submit via canvas Coding Problem #4 . Due this week . Submit via canvas Foundations of Digital Signal Processing Lecture 12: Sampling, Aliasing, and the Discrete Fourier Transform 2 Exam 1 Grades The class did exceedingly well . Mean: 89.3 . Median: 91.5 Foundations of Digital Signal Processing Lecture 12: Sampling, Aliasing, and the Discrete Fourier Transform 3 Lecture 12: Sampling, Aliasing, and the Discrete Fourier Transform Foundations of Digital Signal Processing Outline • Review of Sampling • The Nyquist-Shannon Sampling Theorem • Continuous-time Reconstruction / Interpolation • Aliasing and anti-Aliasing • Deriving Transforms from the Fourier Transform • Discrete-time Fourier Transform, Fourier Series, Discrete-time Fourier Series • The Discrete Fourier Transform Foundations of Digital Signal Processing Lecture 12: Sampling, Aliasing, and the Discrete Fourier Transform 4 Sampling Discrete-Time Fourier Transform Foundations of Digital Signal Processing Lecture 12: Sampling, Aliasing,
    [Show full text]
  • Multidimensional Sampling Dr
    Multidimensional Sampling Dr. Vishal Monga Motivation for the General Case for Sampling We need the more general case to treat three important applications. 1. Human Vision System: the human vision system is a nonlinear, spatially- varying, non-uniformly sampled system. Rods and cones on the retina, which spatially sample are not arranged in rows and columns. a. Hexagonal Sampling: when modeled as a linear shift-invariant system, the human visual system is circularly bandlimited (lowpass in radial frequency). The optimal uniform sampling grid is hexagonal. Optimal means that we need the fewest discrete-time samples to sample the continuous-space analog signal without aliasing. b. Foveated grid: This is based on the fovea in the retina. When you focus on an object, you sample the object at a high resolution, and the resolution falls off away from the point-of-focus. Shown below is a simple example of a foveated grid. The grid is a 4 x 4 uniform sampling with each of the middle four grids subdivided into 4 x 4 grids themselves. The point of focus is at the middle of the grid. We can convert this grid to a uniform grid in several ways. For example, we could start with a rectangular grid and keep the resolution at the point-of-focus. Then, away from the point-of-focus, we can average the pixel values in increasingly larger blocks of samples. This approach allows the use a foveated grid while maintaining compatibility with systems that require rectangular sampling (e.g. image and video compression standards). 2. Television 650 samples /row 362.5 rows /interlace 2 interlaces /frame 30 frames /sec No two samples taken at the same instant of time Can signals be sampled this way without losing information? How can we handle a.
    [Show full text]
  • JASON Manual
    Weiss Engineering Ltd. Florastrasse 42, 8610 Uster, Switzerland www.weiss-highend.com JASON OWNERS MANUAL OWNERS MANUAL FOR WEISS JASON CD TRANSPORT INTRODUCTION Dear Customer Congratulations on your purchase of the JASON CD Transport and welcome to the family of Weiss equipment owners! The JASON is the result of an intensive research and development process. Research was conducted both in analog and digital circuit design, as well as in signal processing algorithm specification. On the following pages I will introduce you to our views on high quality audio processing. These include fundamental digital and analog audio concepts and the JASON CD Transport. I wish you a long-lasting relationship with your JASON. Yours sincerely, Daniel Weiss President, Weiss Engineering Ltd. Page: 2 Date: 03/13 /dw OWNERS MANUAL FOR WEISS JASON CD TRANSPORT TABLE OF CONTENTS 4 A short history of Weiss Engineering 5 Our mission and product philosophy 6 Advanced digital and analog audio concepts explained 6 Jitter Suppression, Clocking 8 Upsampling, Oversampling and Sampling Rate Conversion in General 11 Reconstruction Filters 12 Analog Output Stages 12 Dithering 14 The JASON CD Transport 14 Features 17 Operation 21 Technical Data 22 Contact Page: 3 Date: 03/13 /dw OWNERS MANUAL FOR WEISS JASON CD TRANSPORT A SHORT HISTORY OF WEISS ENGINEERING After studying electrical engineering, Daniel Weiss joined the Willi Studer (Studer - Revox) company in Switzerland. His work included the design of a sampling frequency converter and of digital signal processing electronics for digital audio recorders. In 1985, Mr. Weiss founded the company Weiss Engineering Ltd. From the outset the company concentrated on the design and manufacture of digital audio equipment for mastering studios.
    [Show full text]