An X-ray detector of the present invention comprises: a housing; an image intensifier tube installed in the housing, having a scintillator film evaporation-coated on a subject-side surface thereof, and converting visible light, which is converted by the scintillator film, into a photoelectron and converting the photoelectron into the amplified visible light by colliding the photoelectron with a fluorescent surface in an accelerating manner; an auto focus magnification changing camera unit installed in the housing; and a depth compensation unit installed in the housing to be spaced apart from the image intensifier tube by a predetermined distance and compensating for the depth of the auto focus magnification changing camera unit by amplifying the visible light, which is amplified by the image intensifier tube, at a predetermined magnification, wherein the depth compensation unit slides forward and backward. Accordingly, the position of the depth compensation unit can be adjusted, variable roles can be performed according to subjects and imaging environments, and when there is a problem that the compensation of the depth is not smooth, the problem can be actively solved through the adjustment of the position of the depth compensation unit.본 발명의 엑스레이 디텍터는, 하우징;과 상기 하우징에 설치되며 피사체측 일면에 신틸레이터막이 증착코팅되고, 상기 신티레이터막에 의해 변환된 가기광선을 광전자로 변환한 후 이를 형광면에 가속 충돌시켜 증폭된 가시광선으로 변환하는 영상증폭관;과 상기 하우징에 설치되는 자동초점 배율 변환 카메라부; 및 상기 영상증폭관으로부터 소정 거리 이격되도록 상기 하우징에 설치되고, 상기 영상증폭관에서 증폭된 가시광선을 일정 배율 증폭시켜 상기 자동초점 배율 변환 카메라부의 심도를 보상하는 심도보상부;로 구성되되, 상기 심도보상부는 전방과 후방으로 슬라이딩 이동하는 것을 특징으로 한다. 이에 따라, 상기 심도보상부의 위치조절이 가능하고, 피사체와 촬영환경에 따라 가변적인 역할 수행이 가능하며, 심도보상이 원할하지 않는 등 문제점이 발생 시 상기 심도보상부의 위치조절을 통해 능동적인 문제해결이 가능하다.