The invention relates to a method for radiographic inspection and compensation. The key point is to use a comparison method to measure the blackness value of different films, and use the characteristic curve test data of different films to make different film characteristic curves and select the film suitable for radiographic inspection. ; Verify the rationality and reliability of the effective transillumination area selection by measuring the beam uniformity of the X-ray machine; finally, before the parts are transilluminated, the density of the filling compensation powder should be the same or similar to the density of the material to be inspected, At the same time, the absorption and attenuation of rays should be similar. The particle size of the filling powder should be 0.1-0.3 mm, and the powder filling should be dense without leaving gaps. The advantages and effects of the present invention are that a reasonable and effective radiographic inspection process is provided, the inspection quality can be guaranteed, the method is simple, the operation is convenient, the efficiency is high, the equipment cost is low, and the cost can be greatly reduced. This method is suitable for general industrial production environment in the application.