Sign in

username:

password:



Not a member?

Search compdsp



Search tips

comp.dsp by Keywords

Adaptive Filter | ADPCM | ADSP | ADSP-2181 | Aliasing | AMR | Anti-Aliasing | ARMA | Autocorrelation | AutoCovariance | Beamforming | Bessel | Blackfin | Butterworth | C6713 | CCS | Chebyshev | CIC Filter | Circular Convolution | Code Composer Studio | Comb Filter | Compression | Convolution | Cross Correlation | DCT | Decimation | Deconvolution | Demodulation | DM642 | DSP Boards | DSP/BIOS | DTMF | Echo Cancellation | Equalization | Equalizer | ETSI | EZLITE (Ez-kit Lite) | FFT | FFTW | FIR Filter | Fixed Point | FSK | G.711 | G.723 | G.729 | Gaussian Noise | Goertzel | GPIO | Hilbert Transform | IFFT | IIR Filter | Interpolation | Invariance | JTAG | Kalman | Laplace Transform | Levinson | LPC | McBSP | MIPS | Modulation | MPEG | Multirate | Notch Filter | Nyquist | OFDM | Oversampling | Pink Noise | Pitch | PLL | Polyphase | QAM | QDMA | Quantization | Quantizer | Radar | Random Noise | Reed Solomon | Remez | Resampling | RTDX | Sampling | Sharc | TI C6711 | Undersampling | Viterbi | Wavelets | White Noise | Wiener Filter | Windowing | XDS510PP | Z Transform

Ads

Discussion Groups

Free Online Books

Discussion Groups | Comp.DSP | challenge: how to do filtering in DCT domain?

There are 2 messages in this thread.

You are currently looking at messages 0 to 2.


challenge: how to do filtering in DCT domain? - walala - 21:54 20-11-03

Dear all,

I guess this is a little simple... Don't largh at me if it is too simple...

Basicall I have a 3x3 filter, let's say [ -0.1 0.2 -0.1;
                                           0.2 0.6 0.2;
                                          -0.1 0.2 -0.1];
I want to do this in DCT domain...

I know convolution in spatial domain is multiplication in frequency
domain... but here the DCT domain is 8x8 block based DCT...

So please tell me how to compute the value of the 8x8 DCT coefficients which
is equivalent to doing 3x3 convolution in spatial domain? Detailed/example
is appreciated, since I am a little headache about some abstract papers...

Thanks a lot,

-Walala



Re: challenge: how to do filtering in DCT domain? - Andrew Reilly - 23:51 20-11-03



On Thu, 20 Nov 2003 21:54:13 -0500, walala wrote:
> Dear all,
>
> I guess this is a little simple... Don't largh at me if it is too simple...
>
> Basicall I have a 3x3 filter, let's say [ -0.1 0.2 -0.1;
>                                            0.2 0.6 0.2;
>                                           -0.1 0.2 -0.1];
> I want to do this in DCT domain...
>
> I know convolution in spatial domain is multiplication in frequency
> domain... but here the DCT domain is 8x8 block based DCT...
>
> So please tell me how to compute the value of the 8x8 DCT coefficients which
> is equivalent to doing 3x3 convolution in spatial domain? Detailed/example
> is appreciated, since I am a little headache about some abstract papers...

The DCT does not have the convolution property of the DFT, so
you're basically going to have to inverse-DCT back to the time
domain, and then do a time or frequency-domain convolution.

You might think that you can take a short-cut to transform
the DCT into a DFT.  If you do that, though, you'll discover
that you are limited to one tap of coefficient, because of
circular-convolution effects.  You really need overlapping FFT
fields, which brings you back to the first approach (start from
the time domain.)

Sorry wrong sort of "frequency domain".

-- 
Andrew