X-Ray Residual Measurement