1-DREAM: 1D Recovery, Extraction and Analysis of Manifolds in noisy environments