1. A method of obtaining an image, the method comprising: obtaining a first X-ray image of an object with an X-ray source configured to emit an X-ray beam having a first beam width; after obtaining the first image, performing, via an image processor, an image analysis of the first image to determine whether the first image includes an entirety of a region of interest (ROI) of the object by comparing the first image and a reference image; in response to the performing the image analysis, determining, via the image processor, if a portion of the ROI is absent in the first image with respect to the reference image; obtaining a second beam width of the X-ray beam to capture the portion of the ROI absent in the first image when it is determined that the portion of the ROI is absent in the first image; configuring the X-ray source to emit the X-ray beam having the second beam width by adjusting at least one among a size and a position of a collimator of the X-ray source, the second beam width made narrower than the first beam width; and obtaining a second image of the object to include the portion of the ROI which is absent in the first image with the X-ray source configured to emit the X-ray beam with the second beam width.