1. An X-ray apparatus comprising: a source configured to emit X-rays to an object; a detector configured to detect the X-rays that have penetrated the object; an arm configured to connect the source to the detector and move centering on a stand fixed to a bottom; a controller configured to control a movement of the arm so that the controller changes a direction of the X-rays, which are radiated to the object, and the arm rotates on the stand to move the detector in a first direction, to obtain images for a plurality of parts of the object; and an image processor configured to obtain the images for the plurality of parts of the object based on the X-rays detected by the detector.