摘要:Most traditional methods for detecting the quality of tiny particles are manually detected by measurement tools. Manual detection has the limitations of low efficiency, high false detection rate and low detection accuracy, and is gradually replaced by non-contact measurement. In this paper, a new denoising algorithm based on median and mean filtering is proposed in diamond particle image analysis. Dynamic threshold segmentation is combined with the Canny algorithm for edge extraction. In the edge extraction process of the particle edge, it will lead to non-closed problems. A contour edge location method based on Hough transform is proposed. Thereby, parameters such as particle size, roundness and ellipticity of the diamond particles are measured.