Patent ID: 11875549
Assignee: BOE TECHNOLOGY GROUP CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. A non-transient computer-readable medium storing a computer program, wherein when the computer program is executed by a computer, the computer is caused to:
acquire a biochip image to be detected;
perform binarization processing on the biochip image to obtain a binary image;
perform a morphological dilation operation on the binary image in a row direction to obtain a first image, and perform a morphological dilation operation on the binary image in a column direction to obtain a second image; and
perform connected domain detection on the first image in the row direction, and perform connected domain detection on the second image in the column direction, to determine the number of rows and the number of columns of a sample point array and center position information of each sample point;
wherein the computer is further caused to:
perform binarization processing on the biochip image to obtain a target image, or perform binarization processing and a morphological operation on the biochip image to obtain a target image, wherein a threshold used in the binarization processing performed to obtain the target image is greater than a threshold used in the binarization processing performed to obtain the binary image; and
perform sample point detection on the target image based on the number of rows and the number of columns of the sample point array and the center position information of each sample point to determine the position of a positive sample point in the sample point array;
wherein the computer is further caused to:
obtain an initialized sample point detection matrix based on the number of rows and the number of columns of the sample point array;
traverse a pixel value corresponding to a center position of each sample point in the target image and a pixel value corresponding to a neighborhood of the center position of the sample point based on the center position information of each sample point in the sample point array; in response to detecting that a pixel value corresponding to a center position of any sample point in the target image or a pixel value corresponding to a neighborhood of the center position of the sample point is a first numerical value, update an element value at a position corresponding to the sample point in the sample point detection matrix to a third numerical value; in response to detecting that a pixel value corresponding to a center position of any sample point in the target image or a pixel value corresponding to a neighborhood of the center position of the sample point is a second numerical value, maintain the element value at the position corresponding to the sample point in the sample point detection matrix to an initial value; and
determine the position of the positive sample point in the sample point array according to the position of the third numerical value in the sample point detection matrix obtained by traversing the target image.