CPC G06T 7/337 (2017.01) [C12Q 1/6869 (2013.01); G01N 21/6458 (2013.01); G01N 21/6486 (2013.01); G06T 7/66 (2017.01); G06T 7/73 (2017.01); G06T 2207/10064 (2013.01); G06T 2207/30072 (2013.01); G06T 2207/30168 (2013.01)] | 15 Claims |
1. A fluorescence image registration method applied to a gene sequencing instrument, wherein the fluorescence image registration method comprises:
obtaining at least one fluorescence image of a biochip;
selecting a preset local region of the fluorescence image, the preset local region having at least one borderline frame in a first direction and a second direction, the borderline frame comprising a plurality of image points of fluorescent molecules, and the first direction being perpendicular to the second direction;
acquiring, in the preset local region, a position of a minimum value of a stun of brightness values of pixels in the first direction and the second direction, and acquiring pixel-level registration points according to the position of the minimum value of the sum of brightness values of pixels;
dividing the pixel-level registration points into non-defective pixels and defective pixels according to a preset classification rule;
determining whether the fluorescence image meets a preset standard according to a number of the non-defective pixels;
correcting positions of the defective pixels according to positions of the non-defective pixels, if the fluorescence image meets the preset standard; and reobtaining the fluorescence image if the fluorescence image does not meet the preset standard;
detecting image points of fluorescent molecules on a cross line where the pixel-level registration points are located, of borderline frames in the first direction and the second direction, and acquiring a position of a center of gravity of image points of fluorescent molecules according to a center of gravity method;
fitting straight lines in the first direction and the second direction respectively according to the position of the center of gravity of the image points of fluorescent molecules, a cross point of the straight line fitted in the first direction and the straight line fitted in the second direction being a sub-pixel level position of the registration point;
acquiring boundary points of the fluorescence image according to the straight lines fitted in the first direction and the second direction, and calculating positions of the boundary points.
|