Effacer les filtres
Effacer les filtres

how can embed on dwt decomposed image?

2 vues (au cours des 30 derniers jours)
Rezaur Rahman
Rezaur Rahman le 27 Nov 2015
Modifié(e) : Geoff Hayes le 27 Nov 2015
i've only decomposed my cover img. bt cant failing to code for embedding. i can reconstruct the img, only need to embed with watermark img.. plz hlp...
///////////////////
img = imread('home.jpg'); %input image
img = rgb2gray(img); %Convert to grayscale image
figure,imshow(uint8(img)),title('Cover Image');
img = double(img);
[Lo_D,Hi_D,Lo_R,Hi_R] = wfilters('haar'); %to Obtain fiters associated with haar
[ca,ch,cv,cd] = dwt2(img,Lo_D,Hi_D); %Compute 2D wavelet transform
y = [ca ch;cv cd];
figure,imshow(uint8(y)),title('dwt imag');

Réponses (0)

Catégories

En savoir plus sur Wavelet Toolbox dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by