LSB in audio stegnography
显示 更早的评论
% 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 个评论
Walter Roberson
2016-3-31
Note: the proper term is "steganography" not "stegnography"
采纳的回答
更多回答(2 个)
Muhammad fayyaz
2014-4-29
0 个投票
2 个评论
Walter Roberson
2014-4-29
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
2014-4-30
Muhammad fayyaz
2014-5-1
编辑:Walter Roberson
2016-3-31
类别
在 帮助中心 和 File Exchange 中查找有关 Numbers and Precision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!