Gap interpolation by inpainting methods : Application to Ground and Space-based Asteroseismic data