The application discloses a
bone density phantom leakage failure detection and early warning method and
system, relates to the technical field of early warning systems, and specifically comprises the following steps: generating a bubble distribution map by CT
image analysis and identification, calculating the distance from a
voxel to a container wall and forming an edge aggregation index, generating an aggregation space map based on
cluster algorithm analysis of
bubble density, generating a core map by superimposed analysis and screening of abnormal aggregation clusters, calculating a leakage index by combining a
risk evaluation index method, marking a failure area when the leakage index exceeds a threshold value, and generating an early warning information table, thereby achieving accurate identification and risk early warning of
bone density phantom leakage. In the application, bubbles are distinguished and a
spatial distribution map is generated by depth analysis of a scanning image, a distance is calculated to form an edge aggregation index to reveal potential hidden dangers, high-risk aggregation clusters are distinguished by combining
cluster analysis, the risk of a leakage channel is highlighted by superimposed identification of quantity and continuity, a
risk index is combined for quantitative evaluation and early warning information is output, and the improvement from
signal collection to
spatial cognition is realized.