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!