Gravar-mail: Euler’s elastica and curvature based model for image restoration