An X-ray imaging apparatus and a method of controlling the same according to one aspect of the present invention provide an X-ray imaging apparatus, which can precisely set an imaging region and reduce user fatigue by designating a segmentation imaging region using an image of a target object taken by a camera and automatically controlling an X-ray generation unit according to the designated segmentation imaging region, and a method of controlling the same. Also, an X-ray imaging apparatus and a method of controlling the same according to another aspect of the present invention provide an X-ray imaging apparatus, which can designate an imaging region using an image of an object taken by a camera and adjust the position of an X-ray detection unit according to the designated imaging region, and a method of controlling the same. The X-ray imaging apparatus according to one aspect of the present invention comprises: an X-ray generation unit for generating and irradiating an X-ray to perform X-ray imaging of an object; an image acquisition unit for acquiring an image of the object; an image display unit for displaying the image acquired by the image acquisition unit; an input unit for receiving setting for a region, where segmentation imaging is to be performed, on the image displayed by the image display unit; and a control unit for controlling the X-ray generation unit to perform the segmentation imaging of the designated region. [Reference numerals] (110) Image acquisition unit; (120) Control unit; (130) X-ray generation unit; (140) X-ray detection unit; (150) Image display unit; (160) Input unit본 발명의 일 측면에 따른 엑스선 영상 장치 및 그 제어 방법은, 카메라에 의해 촬영된 피검사체 영상을 이용해 분할 촬영 영역을 지정하고, 지정된 분할 촬영 영역에 따라 엑스선 발생부를 자동으로 제어함으로써 촬영 영역의 세밀한 설정 및 사용자의 작업 피로도 감소를 가능하게 하는 엑스선 영상 장치 및 그 제어 방법을 제공한다.또한, 본 발명의 다른 측면에 따른 엑스선 영상 장치 및 그 제어 방법은, 카메라에 의해 촬영된 대상체의 영상을 이용해 촬영 영역을 지정하고, 지정된 촬영 영역에 따라 엑스선 검출부의 위치를 조절할 수 있는 엑스선 영상 장치 및 그 제어 방법을 제공한다.본 발명의 일 측면에 따른 엑스선 영상 장치는 엑스선을 발생시켜 조사함으로써 대상체에 대한