A medical imaging system (100, 400) comprising: - a memory for storing machine executable instructions; - a processor for controlling the medical imaging system, wherein execution of the machine executable instructions causes the processor to: • reconstruct a preliminary image for a region of interest of a subject from quantitative susceptibility mapping, QSM, magnetic resonance imaging data, calculate a preliminary segmentation by segmenting the preliminary image using a QSM image imaging segmentation algorithm, wherein the preliminary segmentation comprises preliminary segmentation edges; • reconstruct a first QSM image for the region of interest from the QSM magnetic resonance imaging data, wherein the reconstruction of the QSM image is at least partially performed using a regularization function, wherein the regularization function is dependent upon the preliminary segmentation edges during reconstruction of the first QSM image; • calculate a first segmentation by segmenting the first QSM image using the QSM image segmentation algorithm, wherein the first segmentation comprises first segmentation edges; and • reconstruct a second QSM image for the region of interest from the QSM magnetic resonance imaging data, wherein the reconstruction of the second QSM image is at least partially performed using the regularization function, wherein the regularization function is dependent upon the first segmentation edges and • wherein execution of the machine executable instructions further causes the processor to iteratively: • recalculate the first segmentation by segmenting the second QSM image using the QSM image segmentation algorithm; and • reconstruct the second QSM image for the region of interest from the QSM magnetic resonance imaging data. - a memory for storing machine executable instructions; - a processor for controlling the medical imaging system, wherein execution of the machine executable instructions causes the processor to: • reconstruct a preliminary image for a region of interest of a subject from quantitative susceptibility mapping, QSM, magnetic resonance imaging data, calculate a preliminary segmentation by segmenting the preliminary image using a QSM image imaging segmentation algorithm, wherein the preliminary segmentation comprises preliminary segmentation edges; • reconstruct a first QSM image for the region of interest from the QSM magnetic resonance imaging data, wherein the reconstruction of the QSM image is at least partially performed using a regularization function, wherein the regularization function is dependent upon the preliminary segmentation edges during reconstruction of the first QSM image; • calculate a first segmentation by segmenting the first QSM image using the QSM image segmentation algorithm, wherein the first segmentation comprises first segmentation edges; and • reconstruct a second QSM image for the region of interest from the QSM magnetic resonance imaging data, wherein the reconstruction of the second QSM image is at least partially performed using the regularization function, wherein the regularization function is dependent upon the first segmentation edges and • reconstruct a preliminary image for a region of interest of a subject from quantitative susceptibility mapping, QSM, magnetic resonance imaging data, calculate a preliminary segmentation by segmenting the preliminary image using a QSM image imaging segmentation algorithm, wherein the preliminary segmentation comprises preliminary segmentation edges; • reconstruct a first QSM image for the region of interest from the QSM magnetic resonance imaging data, wherein the reconstruction of the QSM image is at least partially performed using a regularization function, wherein the regularization function is dependent upon the preliminary segmentation edges during reconstruction of the first QSM image; • calculate a first segmentation by segmenting the first QSM image using the QSM image segmentation algorithm, wherein the first segmentation comprises first segmentation edges; and • reconstruct a second QSM image for the region of interest from the QSM magnetic resonance imaging data, wherein the reconstruction of the second QSM image is at least partially performed using the regularization function, wherein the regularization function is dependent upon the first segmentation edges and • wherein execution of the machine executable instructions further causes the processor to iteratively: • recalculate the first segmentation by segmenting the second QSM image using the QSM image segmentation algorithm; and • reconstruct the second QSM image for the region of interest from the QSM magnetic resonance imaging data.