1. A non-transitory computer-readable storage medium on which a program is stored which, when running on a computer of an associated medical treatment apparatus, causes the computer of the associated medical treatment apparatus to perform a method for determining a treatment plan to be used for selective delivery of a therapeutic treatment beam to an anatomical body part moving in a body of an associated patient due to a breathing motion of the associated patient, the method comprising: operating the associated medical treatment apparatus at a first imaging frequency to obtain a first dataset describing a first sequence of images describing the anatomical body part of the associated patient which have been taken at different first times during the moving of the body part due to the breathing motion of the associated patient at the different first times, wherein the first imaging frequency defines a first cycling rate of an image acquisition beam directed at the anatomical body part during the breathing motion of the associated patient at the different first times, wherein the first sequence of images comprises a first plurality of segment bins of image sequence portions of the first sequence of images; determining, for each segment bin of image sequence portions of the first plurality of segment bins, a different respiratory state of the breathing motion of the associated patient at the different first times; operating the associated medical treatment apparatus at a second imaging frequency to obtain a second dataset describing a second sequence of images describing the anatomical body part of the associated patient which have been taken at different second times during a moving of the body part due to the breathing motion of the associated patient at the different second times, wherein the second imaging frequency defines a second cycling rate of the image acquisition beam directed at the anatomical body part during the breathing motion of the associated patient at the different second times, wherein the second sequence of images comprises a second plurality of segment bins of image sequence portions of the second sequence of images, each segment bin of image sequence portions of the second plurality of segment bins corresponding to a different unknown respiratory state of the breathing motion of the associated patient at the different second times, wherein the second imaging frequency is an integer multiple of the first imaging frequency; determining, by the processor, a match between two or more of the first plurality of segment bins of image sequence portions described by the first dataset and two or more of the second plurality of segment bins of image sequence portions described by the second dataset; assigning the determined respiratory state of the two or more of the first plurality of segment bins to the two or more of the second plurality of segment bins matching the two or more of the first plurality of segment bins; determining, by the processor, the treatment plan to be used for selective delivery of the therapeutic treatment beam to the anatomical body part during the second times in accordance with the assigned determined respiratory states; and generating, by the processor, an output signal representative of the determined treatment plan, the output signal being operative to control an associated source of the therapeutic treatment beam for the selective delivery of the therapeutic treatment beam to the anatomical body part of the associated patient during the different second times based on the treatment plan.