1. An X-ray imaging apparatus comprising: an X-ray detector comprising pixels, which is configured to change a binning pattern differently applied to the pixels and obtain first resolution X-ray images corresponding to a plurality of binning patterns which are different from each other; and an image processor configured to generate a second resolution X-ray image using the first resolution X-ray images, the second resolution X-ray image having a higher resolution than the first resolution X-ray images.