An X-ray system comprises: (a) a source providing an X-ray diverging beam having treatment and imaging angular portions (b) one or more lenses transforming the treatment portion of the X-ray beam into a converging beam directed to a target (c) a first shutter located between the X-ray source and the target in the imaging portion of the X-ray radiation the first shutter being selectively openable such that imaging portion of X-ray beam reaches the target and (d) a detector configured to detect at least a portion of the imaging radiation after the imaging radiation has interacted with the target to provide imaging information of the target.