how to calculate DWT of an image

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.

Réponses (2)

Walter Roberson
Walter Roberson le 4 Mai 2012

0 votes

Have you considered using the dwt() function?

1 commentaire

Prajakta Shende
Prajakta Shende le 4 Mai 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?

Connectez-vous pour commenter.

Wayne King
Wayne King le 4 Mai 2012

0 votes

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 commentaire

Prajakta Shende
Prajakta Shende le 4 Mai 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.

Connectez-vous pour commenter.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by