Embed new message to a image

댓글 수: 4

matlabgeek
matlabgeek 2016년 1월 10일
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 2016년 1월 10일
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 2016년 1월 11일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2016년 1월 10일

0 개 추천

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

Walter Roberson
Walter Roberson 2016년 1월 10일
You can use dct2(), then do LSB watermarking on one or more of the coefficient arrays, and then idct2().
matlabgeek
matlabgeek 2016년 1월 11일
편집: matlabgeek 2016년 1월 11일
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 2016년 1월 11일
Hi Walter,
Do you have sample code to do that? Thanks
Walter Roberson
Walter Roberson 2016년 1월 11일
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 2016년 1월 11일
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 2016년 1월 11일
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 2016년 1월 11일
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

질문:

2016년 1월 10일

편집:

2016년 2월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by