The invention discloses a
crystal grain detection and
analysis method and related equipment, effective
crystal grains are obtained through
corrosion expansion pretreatment denoising, OfficientNet and bidirectional feature
pyramid network detection, contour obtaining through region segmentation and three-step filtering, qualification is judged in combination with a threshold value, a report is generated, and the existing technical problems are solved in a targeted mode. On the aspect of reducing calculation complexity, preprocessing reduces model data volume and interference, the model abandons complex modules, parameters are few, calculation cost is low, hardware occupation can be reduced, and detection and
training time can be shortened; on the aspect of improving generalization ability, features are preprocessed and purified, interference of imaging conditions and material types is reduced, the number of
layers of the model is simplified, multi-scale fusion ability is achieved, and detection in different fields can be adapted without optimization of a specific
data set; on the aspect of reducing
data dependence, invalid and pseudo
crystal grains are accurately removed through three-step filtering, defects of a small-scale or low-
quality data set are cooperatively made up, dependence on a high-quality large-scale
data set is greatly reduced, and robustness is improved.