1. A computer-implemented method for generating synthetic electron density information based on an acquired magnetic resonance (MR) image stack, said method comprising: analyzing, with a processor, the acquired MR image stack which is stored in a first memory location 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, with the processor, 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, which is stored in a second memory location, said generating comprising utilizing said structure information and said at least one template structure information, wherein said at least one template structure information is configured to represent 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; forming, with the processor, synthetic electron density information, which is stored in a third memory location, 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, and controlling radiation treatment based on a radiation treatment plan, wherein the synthetic electron density information provides attenuation information for forming the radiation treatment plan.