image scrambling using arnold scramble
Afficher commentaires plus anciens
does anyone knows about arnolg's image scrambling ? i am scrambling an image using arnold scramble as :
wname='_copyright.bmp';
I=imread(wname);
[rown,coln]=size(I);
ct=input('Enter Key');
for inc=1:ct
for row=1:rown
for col=1:coln
nrowp = row;
ncolp=col;
for ite=1:inc
newcord =[1 1;1 2]*[nrowp ncolp]';
nrowp=newcord(1);
ncolp=newcord(2);
end
arnold(row,col)=I((mod(nrowp,rown)+1),(mod(ncolp,coln)+1));
end
end
end
can anyone plz tell how to get back original image by applying reverse arnold scramble ???
1 commentaire
Manpreet
le 1 Mai 2015
Please explain the code for the key.
Réponses (0)
Catégories
En savoir plus sur Image Transforms 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!