how to calculate DWT of an image

2 views (last 30 days)
Prajakta Shende
Prajakta Shende on 4 May 2012
im using forgery detection approach using DWT. and the algorithm says after converting the image into gray scale calculate DWT transform of the image. but i dont know DWT. So kinda stuck in this step. if any one knows kindly post. Thank You.

Answers (2)

Walter Roberson
Walter Roberson on 4 May 2012
Have you considered using the dwt() function?
  1 Comment
Prajakta Shende
Prajakta Shende on 4 May 2012
im suppose to calculate dwt for each block and store it in another array. with every row containing containing coefficients of the dwt.
can u please help me with that?

Sign in to comment.


Wayne King
Wayne King on 4 May 2012
Hi Prajakta, you want to use dwt2() or wavedec2(). However, I think you need to clarify what you mean by "for each block".
Are you saying you have a NxN image, and you want to subdivide that image before obtain the DWT?
  1 Comment
Prajakta Shende
Prajakta Shende on 4 May 2012
okay which function to use i really don't know :$ :(
and yeah i mean the exact thing that u wrote. dividing an nxn sized image into overlapping blocks.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!