1. A detector comprising: a wavelength filter configured to transmit near infrared rays or rays of longer wavelengths than near infrared rays; a phosphor configured to transmit near infrared rays, and to generate fluorescence with respect to incident X-rays; and a semiconductor sensor configured to sense near infrared rays.