Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
demon99
Posts: 5
Registered: ‎10-28-2011
0

2D DCT for image computation

How to build 2D DCT for image computing

i am going to make watermarking model in system generator using DCT for that i need to build 2D DCT for 64*64 gray scale image.. and then going to apply watermarking algoritm to embbed binary secret image..

 

need help if somebody can provide some literature or any material.

Thnks

Super Contributor
vlavruhin
Posts: 195
Registered: ‎12-08-2010
0

Re: 2D DCT for image computation

Hi.

 

So you need to implement 64x64 2D DCT.

 

First of all, design input/output interfaces for your model. Perhaps the following thread will be helpful:

http://forums.xilinx.com/t5/DSP-Tools/SYSGEN-How-to-deliver-image-inside-quot-Gateway-In-quot/td-p/1...

 

Concerning 2D DCT, it can be calculated applying 1D DCT to all rows and then to all columns (or vice versa) of input image.

 

There are different ways of implementing 1D DCT. 1D DCT is essentially array of correlations of input signal and cosine functions.

For example, you can use multipliers and directly calculate sums of products. Or you can use 1D FFT to calculate 1D DCT (by selecting only real outputs of FFT).

Best Regards,
Vitaly.
Visitor
demon99
Posts: 5
Registered: ‎10-28-2011
0

Re: 2D DCT for image computation

thnks vitaly...


vlavruhin wrote:

Hi.

 

So you need to implement 64x64 2D DCT.

 

First of all, design input/output interfaces for your model. Perhaps the following thread will be helpful:

http://forums.xilinx.com/t5/DSP-Tools/SYSGEN-How-to-deliver-image-inside-quot-Gateway-In-quot/td-p/1...

 

Concerning 2D DCT, it can be calculated applying 1D DCT to all rows and then to all columns (or vice versa) of input image.

 

There are different ways of implementing 1D DCT. 1D DCT is essentially array of correlations of input signal and cosine functions.

For example, you can use multipliers and directly calculate sums of products. Or you can use 1D FFT to calculate 1D DCT (by selecting only real outputs of FFT).