Signal Waveform Extraction in the Presence of Regular and Random Noise