A method of scanning parameter optimization, which method may be useful with image-guided radiation therapy (IGRT), allows for controlling exposure of a beam from an x-ray source and/or controlling the detection mechanism for an x-ray detector of imaging radiation of a radiation-delivery device based on one or more parameters of a region of interest of a patient. The one or more parameters of the region of interest may include a dimension, outer contour, density, location relative to an outlet of the beam, location relative to isocenter, location to the whole patient body, etc. Exposure of the patient to the beam may be varied via modulation of one or more scanning parameters for controlling an aspect of the beam and/or the detector to provide for targeted and or reduced radiation exposure of the patient or portion of the patient, and/or for improved quality of guiding images. The modulation may be varied depending on a view angle of the region of interest from a portion of the radiation-delivery device.