The present disclosure provides a system and method for medical imaging. The method may include obtaining a treatment plan, a planning image, and one or more treatment images of the subject, wherein the one or more treatment images are generated by performing at least a portion of the treatment plan including delivering at least a radiation beam towards the subject using a radiation device. The method also includes determining primary images of the subject based on the one or more treatment images, and determining inversely-attenuated primary images of the subject by inversely attenuating the primary images to a plane located between the subject and a collimator assembly of the radiation device. The method may further include estimating machine parameters of the radiation device corresponding to the inversely-attenuated primary images.