On inverse problems and finite elements in shape analysis