Patent ID: 8059783

Claim:
A non-transitory computer-readable storage medium storing instruction that, when executed, cause a processor to perform the following operations: receive, during a scanning period in which a portion of a region is imaged by an electron-beam scanner, first data produced by the electron-beam scanner, the first data including a first indication of a characteristic of the portion; determine, during the scanning period, a characteristic of the portion from the first data; provide, during the scanning period, a first input derived from the characteristic to a source of a treatment beam, the first input being sufficient to cause the source of the treatment beam to modify a property of the treatment beam; receive, during the scanning period, second data produced by the electron-beam scanner, the second data being received after the first data and the second data including a second indication of the characteristic of the portion; determine, during the scanning period, the characteristic of the portion from the second data; and provide, during the scanning period, a second input derived from the characteristic determined from the second data to the source of an irradiation beam, the second input being sufficient to cause the source of the treatment beam to modify the property of the treatment beam to account for the characteristic determined from the second data.