i want to hide an image into audio file

i need a coding by using lsb algorithm

6 comentarios

Geoff Hayes
Geoff Hayes el 27 de Dic. de 2014
What have you tried so far? Please discuss what you have attempted and where you are getting stuck in the code. If you are observing errors, then please include the full error message in your post.
Image Analyst
Image Analyst el 27 de Dic. de 2014
Since images are usually much much larger than audio signals, your audio file would have to be very long. I have an LSB algorithm for hiding images into a 2D array - I suppose you could adapt it for a 1D signal as long as the signal was long enough.
hemalatha
hemalatha el 5 de En. de 2015
not yet started sir.i need the algorithm..which algorithm is suitable for audio steganography. i studied lsb algorithm produce noise in output audio file.then which algorithm is suited..help me
hemalatha
hemalatha el 24 de En. de 2015
the audio samples are in floating point..if i convert the floating point into binary and then i hide the image pixels(binary value) means i got some other values..help me binary value of speech signal value is 1 0 1 1 0 1 1 1 like tat means i want to replace the last bit by image first binary value(1) means i get 1 0 1 1 0 1 1 49..what is the reason for 49?
Image Analyst
Image Analyst el 24 de En. de 2015
49 is the ASCII value of 1. I'm not sure what you are doing.
hemalatha
hemalatha el 2 de Feb. de 2015
audio steganography...i want to hide an image into .wav file..in that i faced the above problem..

Iniciar sesión para comentar.

Respuestas (2)

Parameswaran Bose
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
Image Analyst
Image Analyst el 5 de En. de 2015

0 votos

Attached is my LSB watermarking code. I think it should work with some minor modifications to handle 1D audio signal.

Categorías

Más información sobre Signal Processing Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 25 de Dic. de 2014

Comentada:

el 2 de Feb. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by