1. An X-ray imaging apparatus comprising: an imaging device configured to capture a camera image; a controller configured to stitch a plurality of X-ray images of respective divided regions to generate one X-ray image; and a display configured to display a setting window, which provides a graphical user interface (GUI) configured to receive a selection input of a setting of an X-ray irradiation condition for the respective divided regions, and to display the camera image, on which positions of the respective divided regions are displayed, wherein the setting window comprises a plurality of GUIs that are interoperatively matched with the respective divided regions displayed on the camera image.