Learning And Mapping Energy Functions Of High-Dimensional Image Data