how to perform the watermarking with cryptography?
Show older comments
hi....
I want to embedded an encrypted watermark to a cover medium and to evaluate the quality of extracted watermark after decryption...The watermark embedding must be in DCT domain. How should I write the code for performing this operation? Anybody having the code for reference?
5 Comments
Geoff Hayes
on 19 Nov 2014
Which is line 96?
neetha k k
on 20 Nov 2014
d=bitxor(op,r); error during this operation
Geoff Hayes
on 20 Nov 2014
You may want to review this decryption code
for i=1 :256
for j=1:256
d=bitxor(op,r);
end
end
What is r, as it hasn't been defined previously? What is the data type for op? Note also that this loop doesn't do anything different on each iteration as it just repeats the same bitxor operation without making use of the indices i and j. (As an aside, you should name these indices to something else because i and j are also used as representations for the imaginary number.)
Neethu
on 21 Nov 2014
Geoff Hayes
on 21 Nov 2014
Neethu - you need to explain what your code is attempting with the decryption. Why have you written it this way?
Accepted Answer
More Answers (1)
Categories
Find more on Watermarking in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!