The generalized Legendre transform and its applications to inverse spectral problems. (3rd December 2015)