can u help me sir? I wanna source code for copy move forgery detection using dwt.
Afficher commentaires plus anciens
I need a help I want the source code for discrete wavelet transform can u help me plz?
1 commentaire
esmail alwrafi
le 3 Jan 2017
Modifié(e) : Image Analyst
le 11 Oct 2018
Maybe this will be a little helpful:
clc;
clear all;
close all;
x=imread('image.ext');
% subplot(6,6,1),
figure,imshow(x),title('orginal image');
[xar,xhr,xvr,xdr]=dwt2(x(:,:,1),'db2');
[xag,xhg,xvg,xdg]=dwt2(x(:,:,2),'db2');
[xab,xhb,xvb,xdb]=dwt2(x(:,:,3),'db2');
xa(:,:,1)=xar; xa(:,:,2)=xag;xa(:,:,3)=xab;
xh(:,:,1)=xhr; xh(:,:,2)=xhg;xh(:,:,3)=xhb;
xv(:,:,1)=xvr; xv(:,:,2)=xvg;xv(:,:,3)=xvb;
xd(:,:,1)=xdr; xd(:,:,2)=xdg;xd(:,:,3)=xdb;
% subplot(6,6,2),
figure,imshow(xa/200),title('xa/255');
% subplot(6,6,3),
figure,imshow(xh),title('H');
% subplot(6,6,4),
figure,imshow(xv),title('V');
% subplot(6,6,5),
figure,imshow(xd),title('D');
x1=[xa*0.003 log10(xv)*0.3; log10(xh)*0.3 log10(xd)*0.3];
% subplot(6,6,6),
imshow(x1),title('X1');
[r, c]=size(xa);
figure,imshow([r,c]),title('r,c)');
b=im2col(xa,[8 8],'sliding');
figure,imshow(b);
Réponses (1)
Steven Lord
le 3 Jan 2017
0 votes
3 commentaires
Lana Lawran
le 4 Jan 2017
Modifié(e) : Image Analyst
le 11 Oct 2018
charu shree
le 21 Sep 2017
Hi Lana, I can help you in this.
vinay kumar
le 11 Oct 2018
hi could you send me the code for forgery detection by Wavelet transform
Thank you
Catégories
En savoir plus sur Wavelet Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!