1. A system for radiotherapy comprising; a first imaging system that generates projection images of an area of interest of an object; a second imaging system that generates portal images of the area of interest of the object synchronously with the generation of the projection images; and a processing system that receives data associated with the projection images and data associated with the portal images and reconstructs 3D and 4D portal images from the projection images and the portal images.