i want to hide an image into audio file
조회 수: 3 (최근 30일)
이전 댓글 표시
i need a coding by using lsb algorithm
댓글 수: 6
답변 (2개)
Parameswaran Bose
2014년 12월 27일
hi, you can hide an image with audio file. Since I don't know matlab coding, I want to know more details about your problem. what kind of audio file matlab supports. The general thing is convert your image in to color bytes and embed those bytes in to audio data bytes. The code I have used in java is as follows,
int audioByteCount=0;
for(int i=0;i<colorBytes.length;i++){
int colorByte = colorBytes[i];
for(int bit=7; bit>=0; --bit){
int b = (colorByte >>> bit) & 1;
audioBytes[audioByteCount] = ((audioBytes[audioByteCount] & 0xFE) | b );
colorByteCount++;
}
}
rgds Parameswaran Bose
댓글 수: 0
Image Analyst
2015년 1월 5일
Attached is my LSB watermarking code. I think it should work with some minor modifications to handle 1D audio signal.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!