Re: Aliasing in MDCT



casper.ptrsn@xxxxxxxxx wrote:
(snip on symmetry and transforms)

So what you're saying with the symmetry condition is that if I input X
samples, the symmetry condition applies only to the X/2 samples, and
thereby the X/2 + 1 ... X samples can be either symmetric or
asymmetric or zero or... whatever?

If you are used to the symmetry of the DFT (exponential
transform) then the symmetry of the DST and DCT can be
confusing. In all cases, N input points should result
in N output points.

For the exponential transform, the basis functions
have frequencies that are integer multiples
of the fundamental, where the fundamental
has one cycle over the length of the transform.

For DST and DCT the fundamental has one half cycle
over the length of the transform. The DST with
boundary conditions of zero at the ends does not
have sample points at the ends. Some forms of
DCT also don't have sample points at the ends.

If that's correct, giving the alternating even and odd boundary
conditions used in DCT Type-IV, then I should be able to see:
a) The other half of the input exactly mirrored / exactly symmetric to
the first half ?
and,

I am not sure what you mean by alternating even/odd boundary
conditions. For DCT the derivative goes to zero at the
boundary. (Which is not at a sample point for Type-IV.)

Consider the modes of an closed end tube or open end
transmission line. They either reflect with inversion
(DST) or without inversion (DCT).

b) The other half of the input exactly mirrored BUT with its sign
changed (i.e. if X is my inputvector then X(1) could be 4, and X/2 + 1
would be -4) ?

I hope that made more sense.

-- glen
.



Relevant Pages

  • Re: dft : property of symmetry for real & even seq
    ... priori that your data has real-even symmetry, ... you should use a discrete cosine transform (DCT). ... DST has the function go to zero at the boundary, ... optimization for a special case of the DFT inputs). ...
    (comp.dsp)
  • Re: Wavelets and Reflection image question
    ... forward transform that a "reflection image" of the original image ... symmetry of the wavelet. ... the symmetric extension of the wavelet ... For DCT, for example, you need to keep DCT coefficients at the boundary that belong to "invented" data, namely those belonging to coefficients ...
    (comp.compression)
  • Re: having trouble with Discrete Cosine Transform program
    ... out with no transform; I say 'if you can' because the code seems pretty ... Jon C. ... 256x256 pixels of image, the output comes out so ridiculously. ... there's something wrong with my looping for DCT and IDCT functions. ...
    (comp.graphics.algorithms)
  • Re: Lossless & Non-Degrading Lossing DCT-Based Coding
    ... standard that replaces the ideal DCT ... algorithms published in the literature, ... Discrete Cosine Transform Algorithms for Image ... For the inverse transform, write down the inverses of the respective ...
    (comp.compression)
  • Re: Zero padding fftw
    ... applicable in the case that the source signal is actually zero ... If that property were true then the inverse transform would be infinite. ... Sample sequence N samples representing a period of duration N*T and N samples each. ... If we inverse transform the "new" length 2N sequence this can be represented with, we get a zero-filled time sequence with the non-zero samples exactly the same as we started with. ...
    (comp.dsp)