extracting information in presence of noise
Usually removing noise is a process depends on the type of noise. 
Noises can be high or low frequency , you are using low frequency filters ( average and median) . 
1. You did not describe the source of noise, we can not tell if it is a high frequency or low frequency . 
2. Try to use a higher order low pass filter