Embed new message to a image

Embed new message to a image

4 comentarios

matlabgeek
matlabgeek el 10 de En. de 2016
I understanding is: We have a image, then we have matrix of it. Then we calculate the quantized DCT coeffcient. Then add something to this image, then we have a new quantized DCT coefficient? Am I correct of understanding above sentence. Any idea or sample code or reference link to do that?
matlabgeek
matlabgeek el 10 de En. de 2016
I went through these 152 posted questions, I did not find the suitable one for my questions? Could you provide me more information. Thanks
Walter Roberson
Walter Roberson el 11 de En. de 2016
Try again. I went through and tagged more that were missing the tag. However, with there being over 500 questions about steganography, I got tired and gave up after about 100.

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 10 de En. de 2016

0 votos

I'm not using DCT, but I attach some hiding demos for you. One to encode text and one to encode images.
P.S. We need to be careful about what code we share, and what language we use because the Mathworks is very cautious about hosting anything that can be considered encryption or steganography (I know from personal experience).

8 comentarios

Walter Roberson
Walter Roberson el 10 de En. de 2016
You can use dct2(), then do LSB watermarking on one or more of the coefficient arrays, and then idct2().
matlabgeek
matlabgeek el 11 de En. de 2016
Editada: matlabgeek el 11 de En. de 2016
Hi Image Analyst, For your hide_text_in_image.m, when you insert hidden string into image, how do you check if you insert successfully since we cannot see the inserted string using our eyes
matlabgeek
matlabgeek el 11 de En. de 2016
Hi Walter,
Do you have sample code to do that? Thanks
Walter Roberson
Walter Roberson el 11 de En. de 2016
Insertion is always successful if the array is changed. Whether the insertion is in the right place is a different matter.
Image Analyst
Image Analyst el 11 de En. de 2016
If you run my demos, you see I first hide stuff, then you observe that you cannot see the hidden stuff, then I recall it and get the exact stuff that I hid, so that's how I check that I hid it successfully.
matlabgeek
matlabgeek el 11 de En. de 2016
Hi Image Analst, "If you run my demos, you see I first hide stuff, then you observe that you cannot see the hidden stuff, then I recall it and get the exact stuff that I hid, so that's how I check that I hid it successfully."
You have two files: hide_text_in_image.m and LSB_Watermarking.m. Which file do you refer to in your sentences. Thanks
Image Analyst
Image Analyst el 11 de En. de 2016
Both of them. Both demos first hide, then recover.
For that other person's question in your link, I doubt it's still a problem for them after 7 months of no activity. Anyway, I don't research compression methods. It's not worth my time when I can just use built in compression methods, like imwrite(), that other people have already written and perfected.

Iniciar sesión para comentar.

Preguntada:

el 10 de En. de 2016

Editada:

el 11 de Feb. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by