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!