A derivation unit acquires imaging conditions corresponding to order information received by a receiving unit based on a table stored in a storage unit and sets the imaging conditions in a radiation source control unit. The radiation source control unit controls a radiation source based on the set imaging conditions such that a radiographic image is captured. An acquisition unit acquires the actual values of the imaging conditions from the radiation source control unit. The derivation unit derives virtual grid characteristics based on the actual values of the imaging conditions. An execution unit acquires a captured radiographic image through a detector control unit. The execution unit performs a virtual grid process for the acquired radiographic image based on the virtual grid characteristics derived by the derivation unit and the acquired imaging conditions to generate a radiographic image from which the influence of scattered radiation has been removed.