how to perform the watermarking with cryptography?

2 次查看(过去 30 天)
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 个评论
Neethu
Neethu 2014-11-21
I just want to encrypt the watermark before embedding to the cover image.Also decrypt it after the extraction...what should i do for that? can you please help me
Geoff Hayes
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?

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2014-11-21
If op is uint8, then r must be uint8. If op is uint16, then r must be uint16. It does not let you mix integer types when doing operations on them together. In other words, if op is uint8 and r is uint16, it won't allow that. Your code is more than I want to take the time to read and understand, so it's up to you to figure out what integer type they are and what you need, and make them match. You can use the functions cast(), typecast(), uint8() and uint16() to do any necessary conversion(s).

更多回答(1 个)

Neethu
Neethu 2014-11-22
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?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by