|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[WM]: to anyone who can solve my problem
I did some watermarking based on the Tyrkel and Schyndell method using bw picture, and array with 127 elements.
The Matlab code is as shown below:
[s,MAP]=imread('D:\My Documents\Djordje\My Pictures\slike2\Automobil.bmp');
s=double(s);
INFO=IMFINFO('D:\My Documents\Djordje\My Pictures\slike2\Automobil.bmp');
MaxY=INFO.Width;
MaxX=INFO.Height;
L127=[0 1 1 -1 1 -1 -1 -1 1 1 -1 1 -1 1 -1 1 1 1 1 1 -1 1 1 -1 -1 1 1 -1 -1 -1 1 1 1 -1 1 1 1 1 1 -1 -1 1 1 -1 1 -1 -1 1 -1 1 1 -1 1
-1 -1 -1 -1 -1 -1 -1 1 1 1 -1 1 -1 -1 -1 1 1 1 1 1 1 1 -1 1 -1 -1 1 -1 1 1 -1 1 -1 -1 1 1 -1 -1 -1 -1 -1 1 -1 -1 -1 1 1 1 -1 -1 1 1
-1 -1 1 -1 -1 -1 -1 -1 1 -1 1 -1 1 -1 -1 1 1 1 -1 1 -1 -1];
X=[1:MaxY];
for I=1:MaxX
for J=1:MaxY
if s(I,J)>247 s(I,J)=247; end
if s(I,J)<8 s(I,J)=8; end
end
end
for I=1:1:MaxX
s(I,X)=s(I,X)+8*L127(X);
end
imwrite(s,MAP,'D:\MyDocuments\Djordje\MyPictures\slike2AutomobilM.bmp','bmp');
>> imshow('D:\My Documents\Djordje\My Pictures\slike2\AutomobilM.bmp');
My problem is simple, I dont know how to examine basic geometric transformations, such as rotation,translation,cropping of the
watermark.As a matter of fact,I dont know the Matlab code for it!
If you are willing to help me please write to kristinapvo@yahoo.com
Sincerelly,
K.
______________________________________________________________________________
Watermarking Mailing List - http://www.watermarkingworld.org/ml.html
To unsubscribe send email to "majordomo@watermarkingworld.org" with
"unsubscribe watermarking YOURMAIL" in the body.
______________________________________________________________________________
|