image scrambling using arnold scramble

3 views (last 30 days)
kush
kush on 2 Apr 2012
Commented: Manpreet on 1 May 2015
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 ???

Answers (0)

Community Treasure Hunt

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

Start Hunting!