LSB in audio stegnography
Mostra commenti meno recenti
% Embed message length in the first 16 samples
% (I don't understand how. Can any one explain?)
str = dec2bin(length(message),16);
if length(message) < length(y)
for a = 1 : length(str)
y(a, nbits-1) = str(a);
end
else
disp('error')
end
I don't understand how they are embedding here. Please help me.
1 Commento
Walter Roberson
il 31 Mar 2016
Note: the proper term is "steganography" not "stegnography"
Risposta accettata
Più risposte (2)
Muhammad fayyaz
il 29 Apr 2014
0 voti
2 Commenti
Walter Roberson
il 29 Apr 2014
Assume that the original signal has been converted into binary by using dec2bin(). dec2bin() returns an array of characters, each one being the character '0' or the character '1'. Then y(a,nbits-1) is a straight forward replacement of one element of the array with one element of the character vector "str".
Somewhere after this section of code, you will find a call to bin2dec(y) . That operation will take the character array y and convert the representation back into decimal numbers.
Muhammad fayyaz
il 30 Apr 2014
Muhammad fayyaz
il 1 Mag 2014
Modificato: Walter Roberson
il 31 Mar 2016
Categorie
Scopri di più su Numbers and Precision in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!