[go: up one dir, main page]

CN114565919A - Tumor microenvironment spatial relationship modeling system and method based on digital pathological image - Google Patents

Tumor microenvironment spatial relationship modeling system and method based on digital pathological image Download PDF

Info

Publication number
CN114565919A
CN114565919A CN202210060093.1A CN202210060093A CN114565919A CN 114565919 A CN114565919 A CN 114565919A CN 202210060093 A CN202210060093 A CN 202210060093A CN 114565919 A CN114565919 A CN 114565919A
Authority
CN
China
Prior art keywords
layer
image
cells
spatial
distribution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210060093.1A
Other languages
Chinese (zh)
Other versions
CN114565919B (en
Inventor
秦文健
刁颂辉
何佳慧
侯嘉馨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN202210060093.1A priority Critical patent/CN114565919B/en
Publication of CN114565919A publication Critical patent/CN114565919A/en
Application granted granted Critical
Publication of CN114565919B publication Critical patent/CN114565919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/213Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computational Linguistics (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Image Analysis (AREA)
  • Investigating Or Analysing Biological Materials (AREA)

Abstract

本发明公开一种基于数字病理图像的肿瘤微环境空间关系建模系统与方法。该系统包括:图像染色标准化模块,其用于确定病理图像的像素分布类型,以对染色分布变化进行颜色标准化,获得染色标准化图像;结构区域分割模块,其用于针对染色标准化图像,利用弱监督深度学习模型检测感兴趣区域,进而分割得到目标结构区域;细胞检测模块,其用于从目标结构区域提取多种类型的细胞信息;空间关系构建模块,其用于采用多层图建模多层网络来表征多种类型细胞之间的共空间分布,并对多层图进行聚类分析,得到空间分布定量模型。本发明能够准确揭示肿瘤内异质性与肿瘤微环境细胞和组织空间分布规律的关联性,为肿瘤演化机制提供新的定量分析思路。

Figure 202210060093

The invention discloses a system and method for modeling the spatial relationship of tumor microenvironment based on digital pathological images. The system includes: an image staining normalization module, which is used to determine the pixel distribution type of the pathological image, so as to perform color normalization on the staining distribution change to obtain a staining normalized image; a structural region segmentation module, which is used for the staining normalized image, using weak supervision. The deep learning model detects the region of interest, and then segmentes to obtain the target structure region; the cell detection module is used to extract various types of cell information from the target structure region; the spatial relationship building module is used to use a multi-layer graph to model multiple layers The network is used to characterize the co-spatial distribution among various types of cells, and the multi-layer graph is clustered to obtain a quantitative model of the spatial distribution. The invention can accurately reveal the correlation between the heterogeneity in the tumor and the spatial distribution law of cells and tissues in the tumor microenvironment, and provide a new quantitative analysis idea for the tumor evolution mechanism.

Figure 202210060093

Description

基于数字病理图像的肿瘤微环境空间关系建模系统与方法A system and method for modeling the spatial relationship of tumor microenvironment based on digital pathological images

技术领域technical field

本发明涉及医学图像处理技术领域,更具体地,涉及一种基于数字病理图像的肿瘤微环境空间关系建模系统与方法。The invention relates to the technical field of medical image processing, and more particularly, to a system and method for modeling the spatial relationship of tumor microenvironment based on digital pathological images.

背景技术Background technique

肿瘤组织是由癌症细胞和周围非癌细胞(如基质细胞和淋巴细胞等)形成肿瘤微环境构成的复杂结构,其空间异质性非常复杂,虽然可以利用弱监督学习算法实现对数字病理图像中的癌细胞、淋巴细胞、基质细胞和其他类型细胞(如巨噬细胞、T细胞或非鉴别细胞)的识别并定位出空间位置,然而现有方法由于仅靠简单的距离测量、细胞密度统计或聚类方式而无法实现完全表达。此外,由于肿瘤微环境中的细胞种类丰富,目前利用图神经网络构建的细胞空间组织关系无法适用于同时对多种细胞类型空间组织分布进行全自动综合性的定量化分析。因此,有必要研究面向多细胞类型的多层网络拓扑聚类新方法。Tumor tissue is a complex structure composed of cancer cells and surrounding non-cancer cells (such as stromal cells and lymphocytes) forming a tumor microenvironment, and its spatial heterogeneity is very complex. However, existing methods rely only on simple distance measurements, cell density statistics or The clustering method cannot achieve full expression. In addition, due to the abundance of cell types in the tumor microenvironment, the spatial organization relationship of cells constructed by using graph neural network cannot be applied to fully automatic and comprehensive quantitative analysis of the spatial organization distribution of multiple cell types at the same time. Therefore, it is necessary to study a new method for topological clustering of multi-layer networks oriented to multi-cell types.

肿瘤微环境控制着实体瘤的形成、发展、转移及耐药性的产生,它是肿瘤细胞与间质细胞、免疫细胞等非肿瘤细胞和组织相互作用产生抗肿瘤免疫反应的结果,已有强有力的临床和实验证据支持肿瘤微环境在癌症进展和介导耐药中的重要。然而,复杂的解剖结构和局部微环境对代谢和免疫反应的关系还有待深入探索。病理学家常规的定性或半定量参数视觉检查很难捕捉到肿瘤与其微环境之间的相互作用,因此利用数字病理图像计算分析来解密肿瘤微环境的特性,尤其是肿瘤内的空间异质性,不仅为解决肿瘤微环境分析难题提供了新的思维方式,更重要的是可以挖掘出癌症治疗相关的潜在生物标志物,从而为患者设计最合适的精准医学治疗方案。The tumor microenvironment controls the formation, development, metastasis and drug resistance of solid tumors. It is the result of the interaction between tumor cells and non-tumor cells and tissues such as stromal cells and immune cells to produce anti-tumor immune responses. Strong clinical and experimental evidence supports the importance of the tumor microenvironment in cancer progression and in mediating drug resistance. However, the relationship of complex anatomical structures and local microenvironments to metabolic and immune responses remains to be further explored. Routine qualitative or semi-quantitative parametric visual inspection by pathologists can hardly capture the interaction between the tumor and its microenvironment, so computational analysis of digital pathology images is used to decipher the properties of the tumor microenvironment, especially the spatial heterogeneity within the tumor , not only provides a new way of thinking to solve the problem of tumor microenvironment analysis, but more importantly, it can dig out potential biomarkers related to cancer treatment, so as to design the most suitable precision medicine treatment plan for patients.

随着数字病理全景成像和基于深度学习的病理图像处理算法的发展,计算病理不仅可以辅助病理医生以高通量,定量和客观的方式检查患者的组织学数据,还能利用自动检测算法获得的各类细胞来构建肿瘤内的细胞空间关系图,联合空间分析方法实现对肿瘤治疗反应及预后的精准评估。最初基于数字病理的肿瘤微环境的空间分析研究工作通常采用聚类算法,将从数字病理图像中提取到的细胞特征进行空间定位和形态测量,来描述免疫细胞空间分布模式与疾病之间的关系。例如,首先利用卷积神经网络实现对肿瘤浸润性淋巴细胞(TIL)的识别和肿瘤坏死区域的分割,然后采用仿射聚类算法对浸润性淋巴细胞进行空间模式建模,进而提取相应的聚类特征描述TIL的空间模式,揭示了TIL模式与免疫亚型、肿瘤类型、免疫细胞碎片和患者生存之间的关系。还有一些研究采用欧几里得距离测量细胞分布密度来定量表示癌症与微环境成分之间的空间关系,探究其临床意义。这些研究表明,使用图像分析可以超越样本细胞计数,以空间距离为基础进行肿瘤微环境的空间分析。为了更好利用高层次的空间分布信息,KunHuang等人采用了基于delaunay三角化图对深度学习特征的拓扑空间建模,首先采用堆叠自编码网络学习细胞的高层次语义特征,然后利用K-means聚类获取细胞核的空间模式,最后通过边直方图统计方式证实了肾脏肿瘤微环境的空间拓扑特征与生存期显著关联,还验证了在生存预测方面,拓扑特征与临床特征和细胞形态特征相比具有更优越的性能。Guanghua Xiao等人采用了基于细胞统计密度方式构建区域的空间组织图,使用深度卷积网络全自动识别细胞类型,最后计算2个空间分布的特征来预测肺癌患者的生存。With the development of digital pathology panoramic imaging and deep learning-based pathological image processing algorithms, computational pathology can not only assist pathologists to examine patients' histological data in a high-throughput, quantitative and objective manner, but also utilize automatic detection algorithms to obtain histological data. Various types of cells are used to construct a spatial relationship map of cells in the tumor, and combined with spatial analysis methods to achieve accurate evaluation of tumor treatment response and prognosis. The initial spatial analysis research work of tumor microenvironment based on digital pathology usually uses clustering algorithms to perform spatial localization and morphometric measurements of cell features extracted from digital pathology images to describe the relationship between the spatial distribution pattern of immune cells and disease. . For example, the identification of tumor-infiltrating lymphocytes (TILs) and the segmentation of tumor necrosis regions are first realized by using convolutional neural networks, and then the affine clustering algorithm is used to model the spatial patterns of infiltrating lymphocytes, and then the corresponding clusters are extracted. Class signatures describe spatial patterns of TILs, revealing associations between TIL patterns and immune subtypes, tumor types, immune cell debris, and patient survival. Other studies have used Euclidean distance to measure cell distribution density to quantify the spatial relationship between cancer and microenvironment components, and to explore its clinical significance. These studies demonstrate that the use of image analysis can go beyond sample cell counts for spatial analysis of the tumor microenvironment based on spatial distance. In order to make better use of high-level spatial distribution information, KunHuang et al. adopted the topological space modeling of deep learning features based on delaunay triangulation graphs, firstly using stacked autoencoder network to learn high-level semantic features of cells, and then using K-means The spatial patterns of nuclei were obtained by clustering. Finally, the statistical method of edge histogram confirmed that the spatial topological features of the renal tumor microenvironment were significantly correlated with survival. It was also verified that in terms of survival prediction, topological features were compared with clinical features and cell morphological features. Has better performance. Guanghua Xiao et al. used a cell statistical density method to construct a spatial organization map of the region, used a deep convolutional network to automatically identify cell types, and finally calculated two spatially distributed features to predict the survival of lung cancer patients.

综上,肿瘤微环境十分复杂,并具有空间异质性,现有方法单靠简单距离测量、细胞统计或聚类方式无法做到完全表达,虽然最新研究尝试了利用图的方式构建空间组织关系,但是图的空间分析还是依靠人工提取图的邻节点连接数、边直方图等特征,只能对简单几种细胞相互关系进行分析。由于肿瘤微环境中的细胞种类丰富,目前的空间分析方法难以做到同时对多种类型成分(包括血管等结构,淋巴细胞,基质细胞等不同类型细胞)的空间组织分布进行全自动综合性的定量化分析。To sum up, the tumor microenvironment is very complex and has spatial heterogeneity. Existing methods cannot fully express only simple distance measurement, cell statistics or clustering methods. Although the latest research attempts to use graphs to construct spatial organization relationships. , but the spatial analysis of the graph still relies on the artificial extraction of the number of adjacent nodes, the edge histogram and other characteristics of the graph, and can only analyze the relationship between several simple cells. Due to the abundance of cell types in the tumor microenvironment, it is difficult for current spatial analysis methods to simultaneously perform a fully automatic and comprehensive analysis of the spatial organization distribution of various types of components (including structures such as blood vessels, lymphocytes, stromal cells and other different types of cells). Quantitative analysis.

发明内容SUMMARY OF THE INVENTION

本发明的目的是克服上述现有技术的缺陷,提供一种基于数字病理图像的肿瘤微环境空间关系建模系统与方法,是面向多细胞类型的多层网络拓扑聚类的新技术方案。The purpose of the present invention is to overcome the above-mentioned defects of the prior art, and to provide a system and method for modeling the spatial relationship of tumor microenvironment based on digital pathological images, which is a new technical solution for multi-cell type multi-layer network topology clustering.

根据本发明的第一方面,提供一种基于数字病理图像的肿瘤微环境空间关系建模系统。该系统包括:According to a first aspect of the present invention, a system for modeling the spatial relationship of tumor microenvironment based on digital pathological images is provided. The system includes:

图像染色标准化模块:用于确定病理图像的像素分布类型,根据病理图像各像素的整体分布情况对染色分布变化进行颜色标准化,获得染色标准化图像;Image staining standardization module: used to determine the pixel distribution type of the pathological image, and color-standardize the staining distribution changes according to the overall distribution of each pixel of the pathological image to obtain a staining-standardized image;

结构区域分割模块:用于针对所述染色标准化图像,利用弱监督深度学习模型检测感兴趣区域,进而分割得到目标结构区域;Structural region segmentation module: for the dyed standardized image, the weakly supervised deep learning model is used to detect the region of interest, and then segmented to obtain the target structural region;

细胞检测模块:用于从获得的目标结构区域中提取多种类型的细胞信息;Cell detection module: used to extract various types of cell information from the obtained target structure area;

空间关系构建模块:用于采用多层图建模多层网络来表征多种类型细胞之间的共空间分布,并对所述多层图进行聚类分析,得到空间分布定量模型,其中所述空间分布定量模型用于定量表征肿瘤细胞与肿瘤微环境相互之间的作用,所述多层图包含层内关系和层间相互作用,同层节点表示同一类型细胞,不同层之间的连接表示不同类型细胞或结构之间的空间连接关系。Spatial relationship building module: used to model a multi-layer network using a multi-layer graph to characterize the co-spatial distribution between multiple types of cells, and perform cluster analysis on the multi-layer graph to obtain a quantitative model of spatial distribution, wherein the The spatial distribution quantitative model is used to quantitatively characterize the interaction between tumor cells and the tumor microenvironment. The multi-layer graph contains intra-layer relationships and inter-layer interactions, nodes in the same layer represent cells of the same type, and connections between different layers represent Spatial connections between different types of cells or structures.

根据本发明的第二方面,提供一种基于数字病理图像的肿瘤微环境空间关系建模方法。该方法包括以下步骤:According to a second aspect of the present invention, a method for modeling the spatial relationship of tumor microenvironment based on digital pathological images is provided. The method includes the following steps:

步骤S1:确定病理图像的像素分布类型,根据病理图像各像素的整体分布情况对染色分布变化进行颜色标准化,获得染色标准化图像;Step S1: Determine the pixel distribution type of the pathological image, and perform color standardization on the staining distribution change according to the overall distribution of each pixel of the pathological image to obtain a staining standardized image;

步骤S2:针对所述染色标准化图像,利用弱监督深度学习模型检测感兴趣区域,进而分割得到目标结构区域;Step S2: For the dyed standardized image, use a weakly supervised deep learning model to detect a region of interest, and then segment to obtain a target structure region;

步骤S3:从获得的目标结构区域中提取多种类型的细胞信息;Step S3: extracting various types of cell information from the obtained target structure region;

步骤S4:用于采用多层图建模多层网络来表征多种类型细胞之间的共空间分布,并对所述多层图进行聚类分析,得到空间分布定量模型,其中所述空间分布定量模型用于定量表征肿瘤细胞与肿瘤微环境相互之间的作用,所述多层图包含层内关系和层间相互作用,同层节点表示同一类型细胞,不同层之间的连接表示不同类型细胞或结构之间的空间连接关系。Step S4: using a multi-layer graph to model a multi-layer network to characterize the co-spatial distribution among various types of cells, and performing cluster analysis on the multi-layer graph to obtain a spatial distribution quantitative model, wherein the spatial distribution The quantitative model is used to quantitatively characterize the interaction between tumor cells and the tumor microenvironment. The multi-layer graph contains intra-layer relationships and inter-layer interactions, nodes in the same layer represent cells of the same type, and connections between different layers represent different types Spatial connections between cells or structures.

与现有技术相比,本发明的优点在于,由于肿瘤细胞种类的丰富性和空间异质性,肿瘤微环境多种成份同时与癌细胞之间存在很强的空间相关性,本发明提供构建肿瘤细胞与肿瘤微环境多成份的拓扑空间数学模型,能够揭示肿瘤内异质性与肿瘤微环境细胞和组织空间分布规律的关联性,为肿瘤演化机制提供全新的定量化分析思路。Compared with the prior art, the advantage of the present invention is that, due to the richness and spatial heterogeneity of tumor cell types, various components of the tumor microenvironment have strong spatial correlation with cancer cells at the same time. The multi-component topological spatial mathematical model of tumor cells and tumor microenvironment can reveal the correlation between intratumor heterogeneity and the spatial distribution of tumor microenvironment cells and tissues, and provide a new quantitative analysis idea for tumor evolution mechanism.

通过以下参照附图对本发明的示例性实施例的详细描述,本发明的其它特征及其优点将会变得清楚。Other features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings.

附图说明Description of drawings

被结合在说明书中并构成说明书的一部分的附图示出了本发明的实施例,并且连同其说明一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention.

图1是根据本发明一个实施例的基于数字病理图像的肿瘤微环境空间关系建模系统的架构图;1 is an architectural diagram of a system for modeling the spatial relationship of tumor microenvironment based on digital pathological images according to an embodiment of the present invention;

图2是根据本发明一个实施例的基于数字病理图像的肿瘤微环境空间关系建模方法的流程图。FIG. 2 is a flowchart of a method for modeling the spatial relationship of tumor microenvironment based on digital pathological images according to an embodiment of the present invention.

具体实施方式Detailed ways

现在将参照附图来详细描述本发明的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the invention unless specifically stated otherwise.

以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本发明及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods, and apparatus should be considered part of the specification.

在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。In all examples shown and discussed herein, any specific values should be construed as illustrative only and not limiting. Accordingly, other instances of the exemplary embodiment may have different values.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further discussion in subsequent figures.

参见图1所示,所提供的基于数字病理图像的肿瘤微环境空间关系建模系统包括图像染色标准化模块、结构区域分割模块、细胞检测模块和空间关系构建模块。其中染色标准化模块用于解决不同切片颜色分布不一致问题;结构区域分割模块用于结合病理图像多尺度成像特性,通过可正则化弱监督学习方法实现高分辨率下的病变区域和结构的分割;细胞检测模块用于对群集小目标各类型细胞进行检测和识别;空间关系构建模块用于通过图像配准算法实现免疫细胞类型的鉴别,并通过多层图网络构建多类型结构-细胞与肿瘤细胞之间的拓扑空间关系模型,实现肿瘤微环境量化分析。Referring to Figure 1, the provided system for modeling the spatial relationship of tumor microenvironment based on digital pathological images includes an image staining standardization module, a structural region segmentation module, a cell detection module and a spatial relationship building module. The staining standardization module is used to solve the problem of inconsistent color distribution in different slices; the structural region segmentation module is used to combine the multi-scale imaging characteristics of pathological images to achieve high-resolution segmentation of lesion regions and structures through a regularizable weakly supervised learning method; cells The detection module is used to detect and identify various types of cells in clustered small targets; the spatial relationship building module is used to realize the identification of immune cell types through image registration algorithm, and to construct multi-type structure-cells and tumor cells through multi-layer graph network. The topological spatial relationship model between them can realize the quantitative analysis of the tumor microenvironment.

在下文中将介绍各模块功能和具体实施例。The functions and specific embodiments of each module will be introduced hereinafter.

(1)图像染色标准化模块(1) Image staining standardization module

病理图像的染色像素分布通常符合高斯分布或偏正态分布,可采用基于分布模型的参数估计的自监督算法来确定,其中多元偏正态分布的概率密度函数(PDF)为:The distribution of stained pixels in pathological images usually conforms to a Gaussian distribution or a skewed normal distribution, which can be determined by a self-supervised algorithm based on parameter estimation of the distribution model, where the probability density function (PDF) of the multivariate skewed normal distribution is:

Figure BDA0003477870860000051
Figure BDA0003477870860000051

式中,θ=(μT,aTT)T为未知参数向量,a是矩阵Σ上三角部分的元素,

Figure BDA0003477870860000052
是一个对称矩阵的平方根,
Figure BDA0003477870860000053
φd(·;u,∑)为带有μ均值向量的d变量高斯分布的PDF和协方差矩阵,(·)是指φd(·;u,∑))为标准单变量高斯分布的累积分布函数。多元的混合高斯分布的概率密度函数为:In the formula, θ=(μ T , a T , λ T ) T is the unknown parameter vector, a is the element of the upper triangular part of the matrix Σ,
Figure BDA0003477870860000052
is the square root of a symmetric matrix,
Figure BDA0003477870860000053
φ d (·;u,∑) is the PDF and covariance matrix of the d-variable Gaussian distribution with μ-mean vector, (·) means that φ d (·;u,∑)) is the accumulation of the standard univariate Gaussian distribution Distribution function. The probability density function of the multivariate mixture Gaussian distribution is:

Figure BDA0003477870860000054
Figure BDA0003477870860000054

其中,参数πd被称为混合系数(mixing coefficients),

Figure BDA0003477870860000055
且0≤πd≤1。
Figure BDA0003477870860000056
为选择的第k个分布的先验概率,密度
Figure BDA0003477870860000057
Figure BDA0003477870860000058
为给定第k个分布时x的概率。where the parameter π d is called the mixing coefficients,
Figure BDA0003477870860000055
and 0≤π d ≤1.
Figure BDA0003477870860000056
is the prior probability of the selected k-th distribution, the density
Figure BDA0003477870860000057
Figure BDA0003477870860000058
is the probability of x given the kth distribution.

在一个实施例中,可采用雅克-贝拉检验(Jarque-Bera test)病理图像的像素进行实际分布模型类型确认,如基于像素数据的偏度和峰度进行检验,进一步对分布模型的参数进行求解时,可采用深度卷积的方法对模型的参数进行估计更新,从而得到病理图像各像素的整体分布情况,最终实现待分析的图像通过染色分布变化模型进行颜色标准化。In one embodiment, the Jarque-Bera test can be used to confirm the actual distribution model type of the pixels of the pathological image, such as the test based on the skewness and kurtosis of the pixel data, and the parameters of the distribution model are further checked. When solving, the parameters of the model can be estimated and updated by the method of depth convolution, so as to obtain the overall distribution of each pixel of the pathological image, and finally realize the color standardization of the image to be analyzed through the staining distribution change model.

由于不同厂家的保存液、染色剂和制片过程存在各种差异以及数字化扫描仪不同会导致病理图像的颜色显著变化,通过染色标准化可以解决因染色操作、染色条件或设备影像导致病理图像颜色分布不一致问题,从而改善后续分析识别的结果。Due to various differences in the preservation solutions, dyes, and production processes of different manufacturers, as well as differences in digital scanners, the color of pathological images will change significantly. Standardization of staining can solve the color distribution of pathological images caused by staining operations, staining conditions or equipment images. inconsistencies, thereby improving the results identified by subsequent analysis.

(2)结构区域分割模块(2) Structural area segmentation module

结构区域分割模块通过多染色标准化图像依次进行正则化编码、正则化解码、弱监督学习、感兴趣区域检测等获得结构区域预约分割图。The structural region segmentation module obtains the structural region reservation segmentation map by performing regularization encoding, regularization decoding, weakly supervised learning, and region-of-interest detection through multi-colored standardized images in sequence.

具体地,对于构建弱监督分割模型,其中一个关键问题是利用有限的信息提取足够的关键特征编码,从而有效地辅助分割。根据图像级标签构建出数据中的关键区域的特征,去除不相关的冗余信息和噪声,将原有的数据信息抽象为两个大类的数据矩阵,目标结构信息为低秩矩阵,冗余及噪声信息为稀疏矩阵,分别对两个矩阵求解,最终得到目标结构数据的特征信息,将此方法用在多尺度病理图像分割模型上,并针对上述损失设计了正则化器来进行模型训练。例如,设图像为I及其标签为Y,设fθ(I)为θ参数化的分割网络的输出,可使用联合正则化损失的卷积神经网络训练对应的优化问题,表示为:Specifically, for building weakly supervised segmentation models, one of the key issues is to extract enough key feature codes with limited information to effectively assist segmentation. The features of key regions in the data are constructed according to the image-level labels, irrelevant redundant information and noise are removed, and the original data information is abstracted into two categories of data matrices. The target structure information is a low-rank matrix, and the redundant and the noise information are sparse matrices, solve the two matrices respectively, and finally obtain the feature information of the target structure data. This method is used in the multi-scale pathological image segmentation model, and a regularizer is designed for the above loss for model training. For example, let the image be I and its label be Y, and let f θ (I) be the output of the θ-parameterized segmentation network, the corresponding optimization problem can be trained using a convolutional neural network with joint regularization loss, expressed as:

Figure BDA0003477870860000061
Figure BDA0003477870860000061

其中,

Figure BDA0003477870860000062
是真实值与预测值之间的损失,R(S)是正则化损失,参数S=fθ(I)∈[0,1]|Ω|×K,即网络生成的K通道的softmax分割结果,λ和μ是设定的相应项权重参数。in,
Figure BDA0003477870860000062
is the loss between the true value and the predicted value, R(S) is the regularization loss, and the parameter S=f θ (I)∈[0,1] |Ω|×K , which is the softmax segmentation result of the K channel generated by the network , λ and μ are the corresponding item weight parameters set.

为了将不同倍率下图像的特征信息融合进算法的学习过程中,模型的输入可融合多个倍率的图像信息,以实现对高倍率下细胞、中低倍率组织的不同注意,从而充分考虑数据样本的特异性和通性,学习数据的关键特征。同时模拟临床病理医师的诊断流程,对不同倍率的图像特征予以不同的注意权重,以充分考虑各倍率图像下的数据特征。例如,相应的多倍率正则化损失的优化函数为:In order to integrate the feature information of images at different magnifications into the learning process of the algorithm, the input of the model can fuse the image information of multiple magnifications to realize different attention to cells at high magnifications and tissues at medium and low magnifications, so as to fully consider the data samples The specificity and generality of learning data are key features. At the same time, it simulates the diagnosis process of clinical pathologists, and gives different attention weights to image features of different magnifications, so as to fully consider the data features of images with different magnifications. For example, the optimization function for the corresponding multi-rate regularization loss is:

Figure BDA0003477870860000063
Figure BDA0003477870860000063

其中,Id表示d倍率下的图像输入,fθ,η表示在θ参数下、η的注意权重下的特征计算;另外,η主要由Softmax(fθ(I))进行计算。通过深度卷积网络对上述参数进行学习并优化求解,具有高效的提取特征的能力,使得模型可以较好、较快得学习数据先验。Among them, I d represents the image input under the d magnification, f θ, η represents the feature calculation under the θ parameter and the attention weight of η; in addition, η is mainly calculated by Softmax (f θ (I)). The above parameters are learned and optimized through a deep convolutional network, which has the ability to efficiently extract features, so that the model can learn data priors better and faster.

参数化模型完成学习后,根据识别的目标类别,通过对多个尺度的特征进行融合计算,得到加权类别激活映射图,经后处理后可得到目标组织和结构区域。After the parametric model completes the learning, according to the identified target category, the weighted category activation map is obtained by fusing the features of multiple scales, and the target tissue and structural area can be obtained after post-processing.

弱监督学习可使用更容易获得的真值标注替代逐像素的真值标注,从而降低了数据标注成本并提高了图像分割的效率。结构区域分割网络可使用AlexNet、VGG、GoogleNet、ResNet等多种类型,本发明对此不进行限制。Weakly supervised learning can replace pixel-wise ground-truth labels with more readily available ground-truth labels, thereby reducing data labeling costs and improving the efficiency of image segmentation. The structural region segmentation network can use various types such as AlexNet, VGG, GoogleNet, ResNet, etc., which is not limited in the present invention.

(3)细胞检测模块(3) Cell detection module

由于病理图像的大尺度性,在获得了癌症的感兴趣结构区域,以及传递了癌与非癌组织判别特性的关键特征之后(即关键判别矩阵,其根据不同类型图像的高维特征相对应矩阵的概率距离计算获得,且以肿瘤区域作为基准参考,即癌症的距离近,其他的距离远),需要从这一目标结构区域中提取不同类型的细胞信息,然而由于细胞的分布众多且占比小,算法是否能准确检测面临巨大的挑战。Due to the large-scale nature of pathological images, after obtaining the structural region of interest of cancer and delivering the key features of the discriminative properties of cancer and non-cancer tissues (ie, the key discriminant matrix, which corresponds to the matrix according to the high-dimensional features of different types of images) The probabilistic distance is obtained by calculation, and the tumor area is used as the benchmark reference, that is, the distance of the cancer is short, and the distance of others is far). It is necessary to extract different types of cell information from this target structural area. However, due to the large number of cells and the proportion of It is a huge challenge whether the algorithm can detect accurately.

在一个实施例中,根据细胞与结构本身的差异性和相关性,基于自注意力的变换网络实现对图像各细胞、结构的编码与解码计算,同时结合关键判别矩阵进行融合分析,具体如下:In one embodiment, according to the difference and correlation between the cells and the structure itself, the transformation network based on self-attention realizes the encoding and decoding calculation of each cell and structure of the image, and performs fusion analysis in combination with the key discriminant matrix, as follows:

首先,将经过卷积网络提取的系列特征图X转换为视觉标记(visual tokens)T,表示为:First, convert the series of feature maps X extracted by the convolutional network into visual tokens T, which are expressed as:

T=SOFTMAXHW(XWA)TX (5)T=SOFTMAX HW (XW A ) T X (5)

其中,

Figure BDA0003477870860000071
WA为可学习的权重且
Figure BDA0003477870860000072
H、W、C分别代表的特征的各向维度,L代表视觉标记T的个数,且L<<HW。in,
Figure BDA0003477870860000071
W A is a learnable weight and
Figure BDA0003477870860000072
H, W, and C represent the respective dimensions of the features, L represents the number of visual markers T, and L<<HW.

在获得视觉标记T之后,利用自注意力变换进行T之间依赖关系的建模,并投射到正常特征图的维度,并结合前序的关键判别矩阵G,表示为:After obtaining the visual label T, the self-attention transformation is used to model the dependencies between T, and projected to the dimension of the normal feature map, combined with the pre-order key discriminant matrix G, which is expressed as:

Xout=Xin+SOFTMAXL((XinWQ)(TWK)T)T+G (6)X out =X in +SOFTMAX L ((X in W Q )(TW K ) T )T+G (6)

其中,Xin表示多尺度病理图像肿瘤区域检测时获得的图像特征,Xout表示细胞检测模块的最后输出结果,WQ和WK分别为可学习的权重参数,构建完图像各特征关系之后进行大量数据学习,实现对不同类别的细胞、结构识别和定位。Among them, X in represents the image features obtained during the detection of tumor regions in multi-scale pathological images, X out represents the final output result of the cell detection module, W Q and W K are respectively learnable weight parameters. A large amount of data is learned to realize the identification and localization of different types of cells and structures.

(4)空间关系构建模块(4) Spatial relationship building blocks

空间关系构建模块依次执行图像切块、图像特征编码、低倍率刚性配准、高倍率非刚性配准、多层图网络构建、图嵌入降维、获取点云分布数据、持续同调建模和特征聚类分析等过程,最终获得空间分布定量模型。以下重点说明多层图网络构建和特征聚类分析。The spatial relationship building module sequentially performs image dicing, image feature encoding, low-magnification rigid registration, high-magnification non-rigid registration, multi-layer graph network construction, graph embedding dimensionality reduction, acquisition of point cloud distribution data, continuous coherence modeling and features Cluster analysis and other processes, and finally obtain a quantitative model of spatial distribution. The following focuses on multi-layer graph network construction and feature clustering analysis.

具体地,为了分析多类型细胞之间的共空间分布表达来定量表征肿瘤细胞与肿瘤微环境的相互之间的作用,在一个实施例中,采用多层图建模多层网络方式实现,多层图是带有权重的单层图邻接矩阵的一个集合,包含层内关系和层间相互作用。具体实现包括基于多层图构建的多层网络和针对多层网络的聚类计算,从而最终实现出肿瘤细胞与肿瘤微环境多成分之间的空间分布表达模型的构建。Specifically, in order to analyze the co-spatial distribution of expression between multiple types of cells to quantitatively characterize the interaction between tumor cells and the tumor microenvironment, in one embodiment, a multi-layer graph is used to model a multi-layer network. A layer graph is a set of weighted adjacency matrices of a single-layer graph containing intra-layer relationships and inter-layer interactions. The specific implementation includes multi-layer network based on multi-layer graph and clustering calculation for multi-layer network, so as to finally realize the construction of spatial distribution expression model between tumor cells and multi-components of tumor microenvironment.

1)、多层网络的空间高阶关系的建模1) Modeling of spatial higher-order relationships of multi-layer networks

单层图网络定义为:G=(V,E,ω),其中V是节点的集合,

Figure BDA0003477870860000081
是边的集合。图G中点的总数为n=|V|。ω:
Figure BDA0003477870860000082
是一个边权重函数,边euv∈E的权重表示为ωuv,邻接矩阵A是一个对称矩阵,即Aij=Aji,表示每个节点是否有连接关系,也就是不同类型细胞节点的信息。A single-layer graph network is defined as: G = (V, E, ω), where V is the set of nodes,
Figure BDA0003477870860000081
is the set of edges. The total number of points in graph G is n=|V|. ω:
Figure BDA0003477870860000082
is an edge weight function, the weight of edge e uv ∈ E is expressed as ω uv , the adjacency matrix A is a symmetric matrix, that is, A ij =A ji , indicating whether each node has a connection relationship, that is, the information of different types of cell nodes .

根据基于单层图的定义,可以构建出多层网络

Figure BDA0003477870860000083
Figure BDA0003477870860000084
由不重叠的m层组成,每一层都由邻接矩阵为Ai,i=1,…,m的加权图Gi建模。集合A={A1,A2,…,Am}中的元素称为层内矩阵,表示单层内的连接,即层内连接。对于两个图之间联系的建模,Gk和Gl以及它们的邻接矩阵可分别表示为,Ak和Al(k,l=1,2,…,m;k≠l),其代表了两个相关图的节点之间一对一的对称内部连接。通过这种方式,可以获得一个跨层邻接矩阵的集合Cp={Al,k,k≠l},表示不同层的节点之间的边,p代表联系图的数量。According to the definition based on a single layer graph, a multi-layer network can be constructed
Figure BDA0003477870860000083
Figure BDA0003477870860000084
It consists of non-overlapping m layers, each layer is modeled by a weighted graph G i with adjacency matrix A i , i=1,...,m. The elements in the set A= { A 1 , A 2 , . For modeling the relationship between two graphs, G k and G l and their adjacency matrices can be expressed as, respectively, A k and A l (k,l=1,2,...,m; k≠l), which Represents a one-to-one symmetric internal connection between nodes of two correlation graphs. In this way, a set of cross-layer adjacency matrices C p ={A l,k ,k≠l} can be obtained, representing edges between nodes in different layers, and p represents the number of connection graphs.

综上,一个多层网络

Figure BDA0003477870860000085
具有一个连接跨层节点的层间连接集合
Figure BDA0003477870860000086
对于边
Figure BDA0003477870860000087
有u∈V(Gk)以及v∈V(Gl),且k≠l。定义的多层网络
Figure BDA0003477870860000088
的超邻接矩阵具有一个块矩阵结构:In summary, a multi-layer network
Figure BDA0003477870860000085
A collection of inter-layer connections with one connecting nodes across layers
Figure BDA0003477870860000086
for edge
Figure BDA0003477870860000087
There are u∈V(G k ) and v∈V(G l ), and k≠l. Defined Multilayer Network
Figure BDA0003477870860000088
The superadjacency matrix of has a block matrix structure:

Figure BDA0003477870860000091
Figure BDA0003477870860000091

集合A中的对角元素是层内矩阵,非对角元素Akl(k,l=1,2,…,m;k≠l)表示将Gk层中节点与Gl层中节点连接起来的层间连接。在一个实施例中,定义同层节点表示同一类型细胞,不同层之间连接表示不同类型细胞或结构之间的空间连接关系。以血管结构和肿瘤细胞为例,细胞-结构层间关系的建立可以基于空间距离大小获得层间非对角元素Akl的值,距离血管近的肿瘤或免疫细胞与结构层有强联系,反之有弱联系;对角元素是层内矩阵也是通过细胞之间欧氏距离来获取。The diagonal elements in set A are intra-layer matrices, and the off-diagonal elements A kl (k,l=1,2,...,m; k≠l) represent the connection between nodes in layer G k and nodes in layer G l interlayer connections. In one embodiment, nodes at the same layer are defined to represent cells of the same type, and connections between different layers represent spatial connection relationships between cells or structures of different types. Taking the vascular structure and tumor cells as examples, the establishment of the relationship between the cell-structure layer can be based on the size of the spatial distance to obtain the value of the off-diagonal element A kl between the layers. The tumor or immune cells close to the blood vessel have a strong connection with the structural layer, and vice versa. There is a weak connection; the diagonal elements are the intra-layer matrix and are also obtained by the Euclidean distance between cells.

在构建完多层图网络后,考虑到从复杂网络中提取有意义的信息需要大量的计算和内存,为解决这两个问题,通过节点嵌入将网络转换到一个低维空间并保留其结构信息,例如采用图嵌入的方法实现降维。After building a multi-layer graph network, considering that extracting meaningful information from a complex network requires a lot of computation and memory, to solve these two problems, the network is transformed into a low-dimensional space through node embedding and preserves its structural information , such as using graph embedding to achieve dimensionality reduction.

2)、基于持续性图聚类的多层网络拓扑分析方法2), a multi-layer network topology analysis method based on persistent graph clustering

为了从肿瘤微环境多细胞类型与癌细胞的节点嵌入中推理出肿瘤演化结论,需要对节点嵌入进行聚类计算。通过基于形状动力学形成簇,有助于发现具有相似模式的持久性节点簇,在一个实施例中,将拓扑数据分析(topological data analysis,TDA)的概念引入到复杂的多层网络拓扑分析中。In order to infer tumor evolution conclusions from the node embeddings of multiple cell types and cancer cells in the tumor microenvironment, it is necessary to perform clustering calculations on the node embeddings. By forming clusters based on shape dynamics, it is helpful to discover persistent node clusters with similar patterns, in one embodiment, the concept of topological data analysis (TDA) is introduced into complex multi-layer network topology analysis .

假设一个加权图G,如果选择一个阈值∈j>0,并只保留权重满足ωuv≤∈j的边,就能得到一个邻接矩阵为

Figure BDA0003477870860000092
的图Gj。如果将阈值改为∈1<∈2<…<∈n得到图的分层嵌套序列
Figure BDA0003477870860000093
称为“网络过滤”。以广泛应用的单纯复形Vietoris–Rips(VR)复形为例,阈值vj处的VR复形定义为
Figure BDA0003477870860000094
借助于网络过滤,采用评估网络拓扑归纳的变化来检测大范围阈值∈j上的持久性特征,其目标就是检测超过不同阈值∈的持久性特征,而这种持久性特征就是内在空间组织分布的特征。这种持续性图聚类算法能够获得更准确的聚类结果。Assuming a weighted graph G, if you choose a threshold ∈ j > 0 and keep only edges whose weights satisfy ω uv ≤ ∈ j , an adjacency matrix can be obtained as
Figure BDA0003477870860000092
Graph G j . If the threshold is changed to ∈ 1 < ∈ 2 <…< ∈ n we get a hierarchically nested sequence of graphs
Figure BDA0003477870860000093
It's called "network filtering". Taking the widely used simplicial complex Vietoris–Rips (VR) complex as an example, the VR complex at the threshold vj is defined as
Figure BDA0003477870860000094
With the help of network filtering, we use the evaluation of changes in network topology induction to detect persistent features over a wide range of thresholds ∈ j . The goal is to detect persistent features that exceed different thresholds ∈, and such persistent features are inherently spatially organized and distributed. feature. This persistent graph clustering algorithm can obtain more accurate clustering results.

综上,目前大多数多层网络的聚类方法都是基于图谱分解将图嵌入到欧几里德空间,并没有显式的考虑局部图几何和拓扑,而本发明实施例采用的多层网络聚类方法是从多分辨率记录的数据形状相似性的角度出发,在无监督的情况下对多层网络进行聚类计算。为了在演化相似尺度下量化多层网络的形状动力学,在聚类计算中引入了TDA的多透镜工具,其核心思想是如果两个点的局部邻域在所有分辨率尺度上形状相似,则它们之间的距离足够近,可以聚类为一个簇。因此,持续性图聚类利用了距离函数和点周围的局部空间信息,对于多层图网络可以获得更准确的聚类结果。To sum up, most current clustering methods of multi-layer networks embed graphs into Euclidean space based on graph decomposition, and do not explicitly consider local graph geometry and topology. The clustering method is to perform clustering computations on multi-layer networks in an unsupervised situation from the perspective of data shape similarity recorded at multiple resolutions. To quantify the shape dynamics of multilayer networks at evolutionarily similar scales, the multi-lens tool of TDA is introduced into the clustering computation, the core idea of which is that if the local neighborhoods of two points are similar in shape at all resolution scales, then They are close enough to each other to cluster into a cluster. Therefore, persistent graph clustering utilizes the distance function and local spatial information around points, and more accurate clustering results can be obtained for multi-layer graph networks.

相应地,本发明还提供一种基于数字病理图像的肿瘤微环境空间关系建模方法,用于实现上述系统中各模块的功能。例如,该方法包括:步骤S110,确定病理图像的像素分布类型,根据病理图像各像素的整体分布情况对染色分布变化进行颜色标准化,获得染色标准化图像;步骤S120,针对所述染色标准化图像,利用弱监督深度学习模型检测感兴趣区域,进而分割得到目标结构区域;步骤S130,从获得的目标结构区域中提取多种类型的细胞信息;步骤S140,用于采用多层图建模多层网络来表征多种类型细胞之间的共空间分布,并对所述多层图进行聚类分析,得到空间分布定量模型。其中所述空间分布定量模型用于定量表征肿瘤细胞与肿瘤微环境相互之间的作用,所述多层图包含层内关系和层间相互作用,同层节点表示同一类型细胞,不同层之间的连接表示不同类型细胞或结构之间的空间连接关系。Correspondingly, the present invention also provides a method for modeling the spatial relationship of tumor microenvironment based on digital pathological images, which is used to realize the functions of each module in the above system. For example, the method includes: step S110, determining the pixel distribution type of the pathological image, performing color standardization on the changes of the staining distribution according to the overall distribution of each pixel of the pathological image, and obtaining a staining standardized image; step S120, for the staining standardized image, using The weakly supervised deep learning model detects the region of interest, and then segmentes to obtain the target structure region; step S130, extracts various types of cell information from the obtained target structure region; The co-spatial distribution among various types of cells is characterized, and the multi-layer graph is clustered to obtain a quantitative model of the spatial distribution. The spatial distribution quantitative model is used to quantitatively characterize the interaction between tumor cells and the tumor microenvironment, and the multi-layer graph includes intra-layer relationships and inter-layer interactions. The connections represent the spatial connections between different types of cells or structures.

综上所述,相对于现有技术,本发明至少具有以下技术效果:To sum up, with respect to the prior art, the present invention has at least the following technical effects:

1)、设计了基于可学习正则化约束编解码弱监督学习的多尺度病理图像快速计算方法,针对病理图像单张超十亿像素的计算困难和不同倍率尺度下的信息利用不完全的问题,结合弱监督思想和深度学习技术,无需依赖大规模数据标注并充分利用跨尺度信息,实现数字全景病理图像快速病变感兴趣区域的检测和细胞核准确定位。1), designed a multi-scale pathological image fast calculation method based on weakly supervised learning of learnable regularization constraint encoding and decoding, aiming at the computational difficulty of a single pathological image exceeding one billion pixels and the incomplete information utilization under different magnification scales, Combining weak supervision and deep learning technology, it does not need to rely on large-scale data annotation and makes full use of cross-scale information to achieve rapid detection of lesion regions of interest and accurate positioning of cell nuclei in digital panoramic pathological images.

2)、结合细胞与结构本身的差异性和相关性,采用自注意力变换网络实现各细胞、结构的编解码,从而实现了群集多类型小目标细胞的快速检测和准确识别。2) Combining the differences and correlations between cells and structures themselves, the self-attention transformation network is used to realize the encoding and decoding of each cell and structure, thereby realizing the rapid detection and accurate identification of clustered multi-type small target cells.

3)、基于持续性图聚类的肿瘤微环境拓扑空间建模方法,进一步实现病理诊断指标的定量化计算。常规的距离或统计方法难以实现对复杂的肿瘤微环境空间表达分析,本发明将拓扑数据分析的概念引入到复杂的多层网络聚类计算中,提出一种持续性图聚类的拓扑空间建模方法,揭示肿瘤内异质性与肿瘤微环境细胞和组织空间分布规律关联性,为肿瘤演化机制提供全新的定量化分析新思路。3) The topological space modeling method of tumor microenvironment based on persistent graph clustering further realizes the quantitative calculation of pathological diagnosis indicators. Conventional distance or statistical methods are difficult to realize the spatial expression analysis of complex tumor microenvironment. The present invention introduces the concept of topological data analysis into the complex multi-layer network clustering calculation, and proposes a topological space construction of persistent graph clustering. The model method can reveal the correlation between intratumor heterogeneity and the spatial distribution of cells and tissues in the tumor microenvironment, and provide a new idea for quantitative analysis of tumor evolution mechanism.

本发明可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本发明的各个方面的计算机可读程序指令。The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the present invention.

计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是但不限于电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically coded devices, such as printers with instructions stored thereon Hole cards or raised structures in grooves, and any suitable combination of the above. Computer-readable storage media, as used herein, are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, light pulses through fiber optic cables), or through electrical wires transmitted electrical signals.

这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer readable program instructions described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .

用于执行本发明操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++、Python等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本发明的各个方面。The computer program instructions for carrying out the operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or instructions in one or more programming languages. Source or object code written in any combination, including object-oriented programming languages, such as Smalltalk, C++, Python, etc., and conventional procedural programming languages, such as the "C" language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through the Internet connect). In some embodiments, custom electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), can be personalized by utilizing state information of computer readable program instructions. Computer readable program instructions are executed to implement various aspects of the present invention.

这里参照根据本发明实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本发明的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.

这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams. These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium on which the instructions are stored includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.

也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.

附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation in hardware, implementation in software, and implementation in a combination of software and hardware are all equivalent.

以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。本发明的范围由所附权利要求来限定。Various embodiments of the present invention have been described above, and the foregoing descriptions are exemplary, not exhaustive, and not limiting of the disclosed embodiments. Numerous modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (10)

1. A tumor microenvironment spatial relationship modeling system based on digital pathology images, comprising:
an image staining normalization module: the method comprises the steps of determining the pixel distribution type of a pathological image, and carrying out color standardization on dyeing distribution change according to the overall distribution condition of each pixel of the pathological image to obtain a dyeing standardized image;
a structural region segmentation module: the system is used for detecting the region of interest by utilizing a weak supervision deep learning model aiming at the dyeing standardized image, and further segmenting to obtain a target structure region;
a cell detection module: extracting a plurality of types of cell information from the obtained target structure area;
a spatial relationship construction module: the method is used for adopting a multilayer graph modeling multilayer network to represent the co-spatial distribution among multiple types of cells, and performing cluster analysis on the multilayer graph to obtain a spatial distribution quantitative model, wherein the spatial distribution quantitative model is used for quantitatively representing the interaction between tumor cells and a tumor microenvironment, the multilayer graph comprises an in-layer relation and an interlayer interaction, nodes on the same layer represent the same type of cells, and the connection among different layers represents the spatial connection relation among different types of cells or structures.
2. A tumor microenvironment spatial relationship modeling method based on digital pathological images comprises the following steps:
step S1: determining the pixel distribution type of the pathological image, and carrying out color standardization on the dyeing distribution change according to the overall distribution condition of each pixel of the pathological image to obtain a dyeing standardized image;
step S2: aiming at the dyeing standardized image, detecting an interested region by using a weak supervision deep learning model, and further segmenting to obtain a target structure region;
step S3: extracting various types of cell information from the obtained target structure area;
step S4: the method is used for adopting a multilayer graph modeling multilayer network to represent the co-spatial distribution among multiple types of cells, and performing cluster analysis on the multilayer graph to obtain a spatial distribution quantitative model, wherein the spatial distribution quantitative model is used for quantitatively representing the interaction between tumor cells and a tumor microenvironment, the multilayer graph comprises an in-layer relation and an interlayer interaction, nodes on the same layer represent the same type of cells, and the connection among different layers represents the spatial connection relation among different types of cells or structures.
3. The method of claim 2, wherein the input of the weakly supervised deep learning model fuses image information of multiple magnifications, and the training process employs multiple-magnification regularization loss as an optimization target, expressed as:
Figure FDA0003477870850000021
wherein, IdRepresenting the image input at d magnification, fθ,ηDenotes feature calculation under attention weight of η according to Softmax (f) under θ parameterθ(I) Is calculated) to perform a calculation of,
Figure FDA0003477870850000022
is the loss between true and predicted values, R (S) is the regularization loss, parameter S ═ fθ(I)∈[0,1]|Ω|×KK denotes the number of channels, λ and μ are set weight parameters, I denotes an image, and Y denotes a label corresponding to the image.
4. The method according to claim 2, wherein step S3 includes the sub-steps of:
converting the extracted feature map X of the target structure region into a visual marker T;
and modeling the dependency relationship between T by using self-attention transformation, and projecting the dependency relationship to the dimension of the normal feature map, wherein the dimension is represented as:
Xout=Xin+SOFTMAXL((XinWQ)(tWK)t)T+G
where G is the key discrimination matrix, WQAnd WKIs a weight parameter, XinRepresenting image features, X, obtained in the detection of a tumor region in a multi-scale pathological imageoutRepresenting the output result;
and according to the characteristic relation of the constructed image, recognizing and positioning different types of cells are realized through data learning.
5. The method of claim 2, wherein the multi-layer map comprises non-overlapping m layers, each layer being defined by an adjacency matrix as AiWeighted graph G of 1, …, miModeling, set a ═ a1,A2,…,AmThe elements in the are called intra-layer matrices, representing intra-layer connections; for the modeling of the connection between two graphs, GkAnd GlAnd their adjacency matrices are denoted as AkAnd AlWhich represents a one-to-one symmetric internal connection between the nodes of two related graphs, set C of cross-layer adjacency matricesp={Al,kAnd k ≠ l), which represents an edge between nodes of different layers, and p represents the number of contact maps, wherein k, l ≠ 1,2, …, m, k ≠ l.
6. The method of claim 5, wherein the method is applied to a multi-layer network constructed from a multi-layer graph
Figure FDA0003477870850000023
Inter-layer connection set with one connection cross-layer node
Figure FDA0003477870850000024
To the edge
Figure FDA0003477870850000025
With u e V (G)k) And V ∈ V (G)l) And k ≠ l, said multilayer network
Figure FDA0003477870850000026
The super-adjacency matrix of (a) has a block matrix structure represented by:
Figure FDA0003477870850000031
wherein in set AIs an intralayer matrix, and the off-diagonal elements Akl(k, l ═ 1,2, …, m; k ≠ l) denotes that G is substitutedkNode in layer and GlInter-layer connections where nodes in a layer are connected.
7. The method of claim 6, wherein for inter-layer connections, inter-layer off-diagonal element A is obtained based on spatial distance sizeklFor the intralayer matrix, the value of the diagonal element is obtained by the euclidean distance between the cells.
8. The method of claim 5, further comprising reducing dimensions of the multi-layer network by using graph embedding, and clustering the multi-layer network after dimension reduction according to the shape similarity of local neighborhoods of two points on all resolution scales.
9. The method of claim 2, wherein the type of pixel distribution of the pathology image is determined using the Jacobian test.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 2 to 9.
CN202210060093.1A 2022-01-19 2022-01-19 Tumor microenvironment spatial relationship modeling system and method based on digital pathological image Active CN114565919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210060093.1A CN114565919B (en) 2022-01-19 2022-01-19 Tumor microenvironment spatial relationship modeling system and method based on digital pathological image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210060093.1A CN114565919B (en) 2022-01-19 2022-01-19 Tumor microenvironment spatial relationship modeling system and method based on digital pathological image

Publications (2)

Publication Number Publication Date
CN114565919A true CN114565919A (en) 2022-05-31
CN114565919B CN114565919B (en) 2024-06-07

Family

ID=81712344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210060093.1A Active CN114565919B (en) 2022-01-19 2022-01-19 Tumor microenvironment spatial relationship modeling system and method based on digital pathological image

Country Status (1)

Country Link
CN (1) CN114565919B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115439449A (en) * 2022-09-06 2022-12-06 抖音视界有限公司 Method, device, medium and electronic equipment for processing full-field histological image
CN117237867A (en) * 2023-09-15 2023-12-15 首都机场集团有限公司北京大兴国际机场 Adaptive scene surveillance video target detection method and system based on feature fusion
CN117976170A (en) * 2024-03-01 2024-05-03 陕西中医药大学第二附属医院 Pathology department full-flow quality control and information management method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550651A (en) * 2015-12-14 2016-05-04 中国科学院深圳先进技术研究院 Method and system for automatically analyzing panoramic image of digital pathological section
US20180204085A1 (en) * 2015-06-11 2018-07-19 University Of Pittsburgh-Of The Commonwealth System Of Higher Education Systems and methods for finding regions of interest in hematoxylin and eosin (h&e) stained tissue images and quantifying intratumor cellular spatial heterogeneity in multiplexed/hyperplexed fluorescence tissue images
WO2021144474A1 (en) * 2020-01-17 2021-07-22 Universität Zürich Single cell pathology analysis of tumour samples
CN113450877A (en) * 2021-06-28 2021-09-28 深圳裕泰抗原科技有限公司 Biomarker analysis method based on multiple immunohistochemical technology and application thereof
CN113628157A (en) * 2020-05-06 2021-11-09 德克萨斯大学体系董事会 System and method for characterizing a tumor microenvironment using pathology images
CN113674252A (en) * 2021-08-25 2021-11-19 上海鹏冠生物医药科技有限公司 Histopathology image diagnosis system based on graph neural network
US20210407080A1 (en) * 2020-06-25 2021-12-30 Arrive PTE Ltd. Systems and Methods for Characterizing Cells and Microenvironments

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180204085A1 (en) * 2015-06-11 2018-07-19 University Of Pittsburgh-Of The Commonwealth System Of Higher Education Systems and methods for finding regions of interest in hematoxylin and eosin (h&e) stained tissue images and quantifying intratumor cellular spatial heterogeneity in multiplexed/hyperplexed fluorescence tissue images
CN105550651A (en) * 2015-12-14 2016-05-04 中国科学院深圳先进技术研究院 Method and system for automatically analyzing panoramic image of digital pathological section
WO2021144474A1 (en) * 2020-01-17 2021-07-22 Universität Zürich Single cell pathology analysis of tumour samples
CN113628157A (en) * 2020-05-06 2021-11-09 德克萨斯大学体系董事会 System and method for characterizing a tumor microenvironment using pathology images
US20210407080A1 (en) * 2020-06-25 2021-12-30 Arrive PTE Ltd. Systems and Methods for Characterizing Cells and Microenvironments
CN113450877A (en) * 2021-06-28 2021-09-28 深圳裕泰抗原科技有限公司 Biomarker analysis method based on multiple immunohistochemical technology and application thereof
CN113674252A (en) * 2021-08-25 2021-11-19 上海鹏冠生物医药科技有限公司 Histopathology image diagnosis system based on graph neural network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陆紫箫: "基于深度学习的乳腺癌病理图像量化与影像基因组学分析", 《万方学位论文》, 23 August 2021 (2021-08-23) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115439449A (en) * 2022-09-06 2022-12-06 抖音视界有限公司 Method, device, medium and electronic equipment for processing full-field histological image
CN117237867A (en) * 2023-09-15 2023-12-15 首都机场集团有限公司北京大兴国际机场 Adaptive scene surveillance video target detection method and system based on feature fusion
CN117237867B (en) * 2023-09-15 2025-03-14 首都机场集团有限公司北京大兴国际机场 Self-adaptive field monitoring video target detection method and system based on feature fusion
CN117976170A (en) * 2024-03-01 2024-05-03 陕西中医药大学第二附属医院 Pathology department full-flow quality control and information management method and system

Also Published As

Publication number Publication date
CN114565919B (en) 2024-06-07

Similar Documents

Publication Publication Date Title
Abdelsamea et al. A survey on artificial intelligence in histopathology image analysis
Zhang et al. Concrete crack detection using context‐aware deep semantic segmentation network
WO2023137627A1 (en) Tumor microenvironment spatial relationship modeling system and method based on digital pathology image
CN114565919A (en) Tumor microenvironment spatial relationship modeling system and method based on digital pathological image
Pan et al. Cell detection in pathology and microscopy images with multi-scale fully convolutional neural networks
CN114600155A (en) Weakly supervised multitask learning for cell detection and segmentation
CN113902669B (en) Method and system for reading urine exfoliated cell liquid-based smear
Pati et al. Weakly supervised joint whole-slide segmentation and classification in prostate cancer
Scheurer et al. Semantic segmentation of histopathological slides for the classification of cutaneous lymphoma and eczema
Shu et al. An active learning method with difficulty learning mechanism for crack detection
CN117593253A (en) Method, system, storage medium and device for detecting mitosis of mammary gland pathology image
Mishra et al. Weakly supervised crack segmentation using crack attention networks on concrete structures
Sun et al. Hierarchical conditional random field model for multi‐object segmentation in gastric histopathology images
Chu et al. Recognition of unknown wafer defect via optimal bin embedding technique
Pan et al. A review of machine learning approaches, challenges and prospects for computational tumor pathology
Huang et al. Exploiting memory-based cross-image contexts for salient object detection in optical remote sensing images
Zamanitajeddin et al. Cells are actors: Social network analysis with classical ml for sota histology image classification
Singh et al. Breast cancer detection and classification of histopathological images
Ma et al. FCUnet: Refined remote sensing image segmentation method based on a fuzzy deep learning conditional random field network
Song et al. Simultaneous cell detection and classification with an asymmetric deep autoencoder in bone marrow histology images
Xiang et al. Segmentation method of multiple sclerosis lesions based on 3D‐CNN networks
Marini et al. Semi-supervised learning with a teacher-student paradigm for histopathology classification: a resource to face data heterogeneity and lack of local annotations
Hou et al. Retracted: KSSD: single‐stage multi‐object detection algorithm with higher accuracy
Kong et al. Toward large-scale histopathological image analysis via deep learning
CN114299342B (en) Unknown mark classification method in multi-mark picture classification based on deep learning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant