Unrecognized function or variable 'steg_lsb_enc'.

2 ビュー (過去 30 日間)
Mert Aydin
Mert Aydin 2021 年 5 月 8 日
コメント済み: DGM 2021 年 5 月 9 日
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 Center および File ExchangeLogical についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by