how to perform the watermarking with cryptography?

N
Neethu · Mar 4, 2022 · 2K views
Question
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?
Expert Answer
Profile picture of Neeta Dsouza
Neeta Dsouza PhD Expert
Answered Aug 17, 2026

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).

100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!