# I am trying to transform a signal into multiple images but the images are not clear

I have a signal that contains three distinct images, this means that I have three frequencies or peaks, and each one corresponds to a picture.

I have a function that converts a signal into an image. I'm using the low pass, high pass, and band pass filters in Matlab to filter out the frequencies I want. When I use the LP filter, the image I get is clear. But when I use both the HP and BP filter, the images I get are not clear/(contain noise?). I'm using the "butter" and "filter" functions. I'm not really sure how to clear up the images or if I'm doing the wrong steps. What I'm doing is using the filter, then using a tdft function, then I plot that and use the signal-to-image function I have to get the image. I'd appreciate any help.

Examples:

Signal with all three images:

TDFT of image:

First image after lowpass:

Second image after bandpass:

• Your question lacks a lot of context and details. It's entirely unclear how your signal and your pictures are related to start with. – Jazzmaniac May 20 '15 at 11:15
• Could you post some examples and explain what is not clear in the images? – JRE May 20 '15 at 11:45
• Well, the signal contains the information that is then converted into images. It contains the info for the 3 pictures, meaning I need to isolate each 'peak'. I'm not really sure how to explain that in more detail. As for the code, I'm mostly going with : [b,a] = butter(9,0.3,'low'); Y = filter(b,a,z); Y_t = tdftfast(Y); figure plot(nu,abs(Y_t)) title('LOW') figure present_image(Y) %function I got from my teacher I use this with low,high and band pass. As to what is not clear in the picture, I guess it's that it's got grey lines going across the image. – Bassam May 20 '15 at 11:59
• Could you please post the images? If you can't put them directly into the question, then post them somewhere and put links to them in your question and someone here can edit them into your question – JRE May 20 '15 at 12:20
• signal with all three images: imgur.com/jhKYMGT , how it looks likes with tdft: imgur.com/tMIMimt , first image with low pass filter: imgur.com/PQ78Yce , second image when using a bandpass filter : imgur.com/vMmOakA . – Bassam May 20 '15 at 12:40