The invention relates to the technical field of measurement and detection, in particular to a test
sieve calibration method based on
machine vision. Comprising the following steps: acquiring a
test screen image by a
microscope, firstly performing graying
processing on an original image, and converting a
color image into a
grayscale image; the method comprises the following steps: carrying out binarization
processing on a grey-scale image, carrying out binarization on the image, setting a grey-scale value of a pixel point on the image to be 0 or 255, enabling the whole image to present an obvious visual effect which is only black and white, and better analyzing the shape and the contour of an object through binarization; and performing connected
domain analysis on the
binary image, finding a pixel point to which each
sieve hole belongs, endowing each pixel point with a
label through the connected
domain analysis, and forming a connected domain by the pixel points with the same
label value so as to realize segmentation of the
region of interest. The method is applied to the measurement calibration work of the test
sieve, the working efficiency of
verification and calibration personnel can be greatly improved by using the method, and human resources are saved.