i want to hide an image into audio file
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
i need a coding by using lsb algorithm
6 comentarios
Respuestas (2)
Parameswaran Bose
el 27 de Dic. de 2014
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 comentarios
Image Analyst
el 5 de En. de 2015
Attached is my LSB watermarking code. I think it should work with some minor modifications to handle 1D audio signal.
0 comentarios
Ver también
Categorías
Más información sobre Audio I/O and Waveform Generation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!