Unrecognized function or variable 'steg_lsb_enc'.

1 view (last 30 days)
Mert Aydin
Mert Aydin on 8 May 2021
Commented: DGM on 9 May 2021
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')

Answers (1)

DGM
DGM on 8 May 2021
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 Comments
Walter Roberson
Walter Roberson on 8 May 2021
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 on 9 May 2021
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.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!