An unrecognizable error in LSB based steganography
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
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개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!