1. An X-ray imaging apparatus comprising: an imaging device configured to capture a camera image of a target; a controller configured to stitch a plurality of X-ray images of respective divided regions of the target to generate one X-ray image of the target; and a display configured to display a settings window that provides a graphical user interface (GUI) for receiving a setting of an X-ray irradiation condition for the respective divided regions, and display the camera image in which positions of the respective divided regions are displayed.