www.pudn.com > Watermark.rar > .m, change:2009-06-25,size:416b


A=imread('\ʵͼƬ\lenna.bmp'); 
A=double(A); 
[M,N]=size(A); 
 
 
T=[1,1;1,2]; 
    A_temp=A; 
   for i=1:M 
       for j=1:N 
            
            ss1=T^1*ss; 
            ss1=mod(ss1,M); 
           if ss1(1,1)==0 
              ss1(1,1)=M; 
           end 
               if ss1(2,1)==0 
                  ss1(2,1)=M; 
               end 
            A_temp(ss1(1,1),ss1(2,1))=A(i,j); 
       end 
   end