1. A method for generating synthetic electron density information based on an acquired magnetic resonance, MR, image stack, said method comprising: analyzing the acquired MR image stack in order to automatically segment the acquired MR image stack such that structure information defining locations and/or geometry of structures in the acquired MR image stack is determined; generating warp information for a template dataset, said template dataset comprising at least one template electron density information map and at least one template structure information, said generating comprising utilizing said structure information and said template structure information representing locations and/or geometry of template structures in order to determine transformations bringing the template structures in spatial correspondence with the structures in the acquired MR image stack, wherein said generated warp information describes at least one transformation bringing the at least one template electron density information map in spatial correspondence with the acquired MR image stack; and forming synthetic electron density information corresponding to the acquired MR image stack based on at least part of the at least one template electron density information map, wherein the at least part of the at least one template electron density information map is warped using the generated warp information.