A medical data processing method of determining a transformation for determining a breathing state-dependent geometry of an anatomical body part of a patient's body, the method comprising: a) acquiring planning image data describing a set of tomographic medical planning images describing each a different part of the anatomical body part in the same respiratory state called reference planning respiratory state, wherein the anatomical body part is subject to respiratory movement and wherein the planning images comprise a planning image called reference planning image describing a part of the anatomical body part which is called reference planning body part; b) acquiring breathing image data describing a set of tomographic medical breathing images of the anatomical body part, wherein the breathing images comprise a reference breathing image describing the reference planning body part in a respiratory state called reference breathing respiratory state, which is different from the reference planning respiratory state, and a target breathing image describing at least another part of the anatomical body part, wherein the other part of the anatomical body part is called target body part, in a respiratory state called target respiratory state which is different from the reference planning respiratory state; c) determining, based on the planning image data and the breathing image data, reference transformation data describing a transformation, called reference transformation, between the geometry of the reference planning body part in the reference planning respiratory state and the geometry of the reference planning body part in the reference breathing respiratory state; d) acquiring scaling factor data describing a scaling factor which describes a relationship between the geometry of the reference planning body part in the reference breathing respiratory state and the geometry of the target body part in the target respiratory state; e) determining, based on the reference tr