This invention relates to a tomographic gamma-
ray scanning method for transmission imaging and a method for solving the track matrix, including: establishing a
voxel model of a rectangular container of nuclear waste; performing layer-by-layer scanning measurements on the
voxel model to acquire scanning data; solving the track matrix of TGS transmission imaging using the above method: dividing the two-dimensional plane into 9 regions using the four sides of a rectangular clipping window; denoting the codes at both ends of the
line segment to be clipped as code1 and code2 respectively, and determining the relationship between code1 and code2 and the clipping window: if code1=code2=0, the
line segment is completely visible and is selected; if code1&code2≠0, & is a bitwise AND operation, the
line segment is completely invisible and is discarded; if neither code1=code2=0 nor code1&code2≠0 is satisfied, a perpendicular line is drawn from the vertex of the clipping window to the line segment; if the foot of the perpendicular is within the clipping window, an intersection operation is performed on the line segment; if the foot of the perpendicular is outside the clipping window, it is discarded; and reconstructing the linear
attenuation coefficient. This invention effectively avoids the shortcomings of the traditional Cohen-Sutherland
algorithm and improves the efficiency of track matrix solving.