Unrecognized function or variable 'steg_lsb_enc'.

1 次查看(过去 30 天)
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
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 个评论
Walter Roberson
Walter Roberson 2021-5-8
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by