The invention discloses an
image processing method and
system based on an in-situ hybridization technology and a medium, and relates to the technical field of biological information, and the method comprises the following steps: converting a
cell DAPI dyeing result into two-dimensional data from three-dimensional data by utilizing Z-axis
maximum intensity projection, identifying and separating a single
cell from the two-dimensional data by utilizing
cell segmentation, and when the
cell segmentation is used for
processing an overlapping region, identifying and separating the single cell from the two-dimensional data. Using a registration
algorithm Ashlar to calculate an error between adjacent visual fields of the same round to obtain cell position information; an imaging result after hybridization of the fluorescent probe and the
gene is subjected to multiple rounds of registration through a registration
algorithm Ashlar to generate a spliced image, local maximum values of the spliced image under different rounds are marked by using a fluorescent dot
recognition algorithm, so that position information of each fluorescent dot is obtained, the position information of each fluorescent dot corresponds to the
gene in a transcript, and the position information of each fluorescent dot corresponds to the
gene in the transcript. Obtaining
gene position information; distributing genes into cells by utilizing the cell position information and the
gene position information to obtain a cell gene matrix and displaying the cell gene matrix; according to the
image processing method and
system and the medium, accurate matching of
sequencing data and spatial information is achieved, and then the
distribution rule of
gene expression in space is better revealed.