helllo every body i did this code insert mark on image cameraman.tif and it's greate working but if i wante to extract the mark i don't know how this my code insert
thanks every body i need help as soon as pleaseeeeeeeeeeeCode:disp('insertion du watermark') mark=[1 0 1 0 1 0 1 0 ] for B=1:compt-1 %c à d de 1:1024 j'ai 1024 blocs if mark(kk)==1 bloc(B).dctd(3,2)=bloc(B).dctd(3,2)+C; %par exemple bloc(1)pixel(3,2) bloc(B).dctd(3,3)=bloc(B).dctd(3,3)+C; else bloc(B).dctd(3,2)=bloc(B).dctd(3,2)-C; bloc(B).dctd(3,3)=bloc(B).dctd(3,3)-C; end kk=kk+1; if kk==9 kk=1; end end
-----