how to perform the watermarking with cryptography?
显示 更早的评论
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 个评论
Geoff Hayes
2014-11-19
Which is line 96?
neetha k k
2014-11-20
d=bitxor(op,r); error during this operation
Geoff Hayes
2014-11-20
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
2014-11-21
Geoff Hayes
2014-11-21
Neethu - you need to explain what your code is attempting with the decryption. Why have you written it this way?
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Watermarking 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!