electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Discrete Cosine Transform


Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing -> Discrete Cosine Transform
Author Message
nlulani



Joined: 29 Nov 2004
Posts: 26
Helped: 1


Post31 Jan 2006 7:15   

Discrete Cosine Transform


Hi all,
I have tried to implement fast DCT and fast IDCT in C by using separable property and taking 8X8 block at a time of an image. But results are a little bit strange. I see verticle and horizntal lines throughout the image. these lines seems to be obvious from the fact that I am taking one block at a time for DCT processing. However as per this assumption as I am increasing the size of a block from 8X8 to 16X16 or higher these lines get separated accordingly more.

But still I am searching for its solution. If anyone has come across the same problem and solved it then please let me know about it. I am attaching here the results for your convenience.

thanks and regards
Nitin
Back to top
Google
AdSense
Google Adsense




Post31 Jan 2006 7:15   

Ads







Sorry, but you need login in to view this attachment

Back to top
kalyanram



Joined: 03 Jan 2005
Posts: 558
Helped: 346


Post01 Feb 2006 14:33   

Re: Discrete Cosine Transform


Hi,
THis could be due to the Endianness od the system. I hope you are using the PC environment (i.e Intel based system...which is little endian) in this case the samples have their bytes swapped try reversinfg the byte order before transfoemation and before writing to the file. This could be the case as far as I can see.

~Kalyan.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing -> Discrete Cosine Transform
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Discrete cosine transform .. help!! (24)
Help needed Discrete cosine Transform (4)
Discrete cosine transform DCT (urgent) (1)
Discrete Cosine Transform (DCT) Coefficient (1)
Solution manual of "Discrete Cosine Transform" (1)
dicsrete cosine transform (8)
Radix-4 Fast Cosine Transform (5)
Diff between discrete cosine and wavelet (5)
Discrete Time Fourier Transform or Discrete Fourier Transfor (4)
discrete fourier transform basics (73)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS