Patent Number: 
Section: claims

1. An X-ray apparatus comprising:an X-ray generator configured to emit X-rays to an object;an X-ray detector configured to detect the X-rays emitted from the X-ray generator and generate X-ray image data based on the detected X-rays;an image acquirer configured to acquire at least one object image by imaging the object;a display configured to display an X-ray image generated based on the X-ray image data; andat least one processor configured to obtain a thickness of the object based on the at least one object image and control the display to display an irradiation condition based on the thickness of the object;wherein the X-ray generator is configured to emit X-rays to the object based on the irradiation condition. 2. The X-ray apparatus of claim 1,wherein the image acquirer acquires at least two object images,wherein the at least one processor obtains the thickness of the object by comparing the at least two object images. 3. The X-ray apparatus of claim 2,wherein the at least one processor is further configured to identify a point from each of the at least two object images and obtain the thickness of the object by comparing the identified point of the each of the at least two object images. 4. The X-ray apparatus of claim 3,wherein the at least one processor obtains the thickness of the object based on a difference between a location of the identified point from each of the at least two object images. 5. The X-ray apparatus of claim 2,wherein the at least one processor controls the image acquirer to acquire first object image at first position and acquire second object image at second position by moving the image acquirer from the first position to the second position. 6. The X-ray apparatus of claim 1,wherein the at least one processor identifies a point from the at least one object image, obtains a detector distance based on a location-distance information stored in a memory, and obtains the thickness of the object based on the detector distance,wherein the location-distance information indicates a relationship between a location of the point and detector distance. 7. The X-ray apparatus of claim 1,wherein the display displays the thickness of the object. 8. A method of operating X-ray apparatus comprising:acquiring at least one object image by imaging an object;obtaining a thickness of the object based on the at least one object image;displaying an irradiation condition based on the thickness of the object;emitting X-rays to the object based on the irradiation condition;detecting the X-rays emitted from an X-ray generator;generating X-ray image data based on the detected X-rays; anddisplaying an X-ray image generated based on the X-ray image data. 9. A method of claim 8,wherein the acquiring at least one object image comprises acquiring at least two object images, andwherein the obtaining a thickness of the object comprises obtaining the thickness of the object by comparing the at least two object images. 10. A method of claim 9,wherein the obtaining the thickness of the object comprises identifying a point from each of the at least two object images and obtaining the thickness of the object by comparing the identified point of the each of the at least two object images. 11. A method of claim 10,wherein the obtaining the thickness of the object comprises obtaining the thickness of the object based on a difference between a location of the identified point from the each of the at least two object images. 12. A method of claim 9,wherein the acquiring at least one object image comprises acquiring first object image at first position and acquiring second object image at second position by moving an image acquirer from the first position to the second position. 13. A method of claim 8,wherein the obtaining the thickness of the object comprises identifying a point from the at least one object image, obtaining a detector distance based on a location-distance information stored in a memory, and obtaining the thickness of the object based on the detector distance,wherein the location-distance information indicates a relationship between a location of the point and detector distance. 14. A method of claim 8,wherein the displaying an irradiation condition comprises displaying the thickness of the object. 15. An X-ray apparatus comprising:an X-ray generator configured to emit X-rays to an object;an X-ray detector configured to detect the X-rays emitted from the X-ray generator and generate X-ray image data based on the detected X-rays;an image acquirer configured to acquire an object image by imaging an object; andat least one processor configured to obtain an object distance based on the object image and obtain a thickness of the object based on the object distance,wherein the object distance is a distance between an X-ray source and the object, and,wherein the at least one processor is further configured to determine, based on the thickness of the object, an irradiation condition, andwherein the irradiation condition comprises information related to an X-ray radiation amount and an intensity of the X-rays radiated from the X-ray source. 16. The X-ray apparatus of claim 15,wherein the X-ray apparatus further comprises an display configured to display at least one of the irradiation condition and the thickness of the object. 17. The X-ray apparatus of claim 15,wherein the at least one processor identifies a point from the object image and obtains a detector distance based on a location-distance information stored in a memory, and obtains the thickness of the object based on the detector distance,wherein the location-distance information indicates a relationship between a location of the point and detector distance. 18. A method for imaging X-ray comprising:acquiring an object image by imaging an object;obtaining an object distance based on the object imageobtaining a thickness of the object based on the object distance;determining an irradiation condition based on the thickness of the object;emitting X-rays to the object based on the irradiation condition;detecting the X-rays emitted from an X-ray generator; andgenerating X-ray image data based on the detected X-rays,wherein the object distance is a distance between an X-ray source and the object,wherein the irradiation condition comprises information related to an X-ray radiation amount and an intensity of the X-rays radiated from the X-ray source. 19. A method of claim 18, further comprising:displaying at least one of the irradiation condition and the thickness of the object. 20. A method of claim 18,wherein the obtaining the thickness of the object comprises identifying a point from the object image, obtaining a detector distance based on a location-distance information stored in a memory, and obtaining the thickness of the object based on the detector distance,wherein the location-distance information indicates a relationship between a location of the point and detector distance.