Unrecognized function or variable 'steg_lsb_enc'.

subplot(2,1,1)
imshow(imread('C:\Users\Monster\Desktop\Network Security homework\jesse pinkman.jpg'))
title('sifrelenecek resim')
subplot(2,1,2)
imshow(imread('C:\Users\Monster\Desktop\Network Security homework\walter white.jpg'))
title('orjinal resim')
[enc_img]= steg_lsb_enc('walter white.jpg', 'jesse pinkman.jpg', 2);
subplot(2,1,1)
imshow(imread('walter white.jpg'))
title('orjinal resim')
subplot(2,1,2)
imshow(enc_img)
title('icinde sifre bulunan goruntu')
[enc_img]=steg_lsb_enc('walter white.jpg', 'jesse pinkman.jpg', 7);
subplot(2,1,1)
imshow(imread('walter white.jpg'))
title('orjinal resim')
subplot(2,1,2)
imshow(enc_img)
title('icinde sifre bulunan goruntu')

답변 (1개)

DGM
DGM 2021년 5월 8일

0 개 추천

I don't know of any functions called steg_lsb_enc(). I don't find anything in docs or FEX either. I'm sure I could whip up an LSB steganography tool again, but I doubt that helps you if you're expecting some existing syntax and feature conventions.
I'm assuming you got this example code from somewhere. Perhaps whatever package it came with isn't installed on the search path. If you didn't, you might want to run pathtool().

댓글 수: 4

I suspect that you are expected to write the function.
With this code, I wanted to hide a photo inside the other photo. I wanted to write steganography lsb. This code is giving an error and if it doesn't work, can you give data hiding code to a photo?
The steganography part is the part that the assignment expects that you will study and learn how to implement. Having someone else provide the code would ruin the assignment.
DGM
DGM 2021년 5월 9일
Let me emphasize the bit about "expecting some existing syntax or feature conventions". There are any number of ways to cram some amount of image data into a single-bit channel of sufficient size. There's no guarantee that whatever ridiculous way I choose is the way you were told to do it.

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

카테고리

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

제품

릴리스

R2020b

질문:

2021년 5월 8일

댓글:

DGM
2021년 5월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by