An X-ray generation system and an X-ray detection system can be used in a method for taking X-ray images. The X-ray generation system includes an X-ray generator that generates X-rays and emits the generated X-rays to an external device. A three-dimensional (3D) posture information detector generates 3D posture information for the X-ray generator, and a communicator transmits the 3D posture information to the external device.