An unrecognizable error in LSB based steganography

1 回表示 (過去 30 日間)
Gottumukkala Sai
Gottumukkala Sai 2020 年 12 月 15 日
コメント済み: Gottumukkala Sai 2020 年 12 月 21 日
I have embedded text-data into green and blue channels of an RGB image according to the LSB's of pixels in R channel.
The embedding is done by LSB based steganography method.
While extracting the text-data I have followed the reverse logic.
Embedding and Extracting are going on as expected but the PSNR of the Embedded image is high i.e., the image we get after embedding is looking much different from the cover image.
Please look into the code I have attached and help me out.
Thanks in advance.
Note : Directories of the images are to be given appropriately.

採用された回答

Uday Pradhan
Uday Pradhan 2020 年 12 月 18 日
Hi,
Looking at the "Embed.m" script, I can see you have made a small assignment error here:
greenChannel = imresize(blueChannel,[512,512]);
Fixing this to the appropiate channel(green) makes the embedded and original image visually similar.
  1 件のコメント
Gottumukkala Sai
Gottumukkala Sai 2020 年 12 月 21 日
Thats a silly mistake. My bad. Thank you very much.

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2020 年 12 月 18 日
You might want to compare to how I did it. My old demo is attached.

カテゴリ

Help Center および File ExchangeEncryption / Cryptography についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by