Distance-based tissue state determination
The image analysis method addresses the challenge of subjective and divergent tissue sample assessments by calculating a proximity score based on observed and reference cell distributions, enhancing reproducibility and accuracy in determining biomedical conditions.
Patent Information
- Application Number
- JP2024106349
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2018-10-23
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Current image analysis methods for determining biomedical conditions of tissue samples are insufficient in accurately and reproducibly quantifying the spatial aspects of cell distribution, leading to subjective and divergent results across laboratories.
An image analysis method that calculates a proximity score by comparing the observed relative distribution of different cell types to a reference distribution, integrating both spatial distance and density information, allowing for reproducible determination of tissue conditions.
Provides a reproducible and non-subjective quantitative measure of the spatial distribution of cells, enabling accurate and harmonized assessment of tissue samples across different laboratories.
Smart Images

Figure 2024150478000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to the field of image analysis, and more specifically to image-based classification of the biomedical state of tissue samples. [Background technology]
[0002] Today, several different image analysis methods are used to automatically determine biomedical characteristics of tissue samples. For example, image analysis is used to automatically identify cells, to segment digital pathology images into background and tissue regions, and to automatically identify and / or quantify biomedical conditions, such as specific diseases.
[0003] An example is the detection of biomarkers, e.g., tumor markers, in the diagnosis of, e.g., leukemia, breast cancer, colon cancer, and other types of cancer. This involves labeling cells with antibodies against proteins that are specifically expressed or overexpressed in certain types of cells, e.g., tumor cells or other types of cells. By choosing the appropriate antibodies, the different types of cells can be accurately determined.
[0004] Immunophenotyping is a technique commonly used for basic science research and laboratory diagnostic purposes. It uses antibodies specifically directed against a particular target molecule to identify the "phenotype" of a cell based on the expression level of one or more proteins. The cellular phenotype of one or more cells within a tissue can also be used to gain insight into the biomedical state of the tissue, for example, whether the tissue is a healthy tissue, a primary tumor tissue, or a metastatic tissue.
[0005] A common problem associated with many image analysis algorithms currently used to analyze digital pathology images is that the expression level of a particular protein alone may enable correct identification of cells of a particular cell type, but may not be sufficient to accurately, reproducibly, and automatically determine the biomedical status of the tissue.
[0006] In "Measuring multiple parameters of CD8+ tumor-infiltrating lymphocytes in human cancers by image analysis" (J Immunother Cancer. 2018 Mar 6;6(1):20. doi:10.1186 / s40425-018-0326-x), Steele KE et al. characterize the immune response to cancer based on the number and location of CD8+ tumor-infiltrating lymphocytes (TILs). The strength of the immune response is considered to be a potentially prognostic, pharmacodynamic, and predictive parameter.
[0007] However, the ability of known approaches to provide accurate quantitative data in a manner that also addresses spatial aspects of cell distribution remains limited. Moreover, the subjectivity and diversity of methods used to examine spatial associations performed by multiple laboratories hinders the ability to compare histopathological results. Summary of the Invention
[0008] The object of the present invention is to provide an improved method and image analysis system for determining a biomedical state of a tissue sample as specified in the independent claims. Embodiments of the invention are set out in the dependent claims. The embodiments of the invention can be freely combined with one another if they are not mutually exclusive.
[0009] In one aspect, the present invention relates to an image analysis method for determining a biomedical condition of a tissue sample, the method being implemented in an image analysis system, the method comprising: - receiving a digital image of the tissue sample; - analyzing the received image to identify the number and location of type A cells and type B cells observed in an area of the received image, where type A and type B are different cell types; - analyzing the locations of type A and type B cells in the region to obtain an observed relative distribution, the observed relative distribution indicating an observed distance between type A cells and type B cells in the region; - obtaining a reference relative distribution, the reference relative distribution indicating an expected distance between reference type A cells and reference type B cells; - Calculating the proximity score as the difference between the reference relative distribution and the observed relative distribution; - calculating a combination score, the combination score including a proximity score and including a density of type A cells and / or a density of type B cells; - using the combined score to determine a biomedical state of the tissue sample and / or outputting the combined score to a user to enable the user to determine a biomedical state of the tissue sample. Includes.
[0010] Said feature may be advantageous because, in contrast to state-of-the-art methods, the spatial distribution of different cell types is not subjectively determined by a pathologist. Rather, the observed relative distribution is compared to a reference relative distribution, i.e. a distribution that represents the expected distance between reference type A cells and reference type B cells in the region. The expected distance may be, for example, the expected distance assuming that type A cells and / or type B cells are distributed according to a certain predefined mathematical distribution, e.g. a Poisson distribution. Alternatively, the expected distribution may be experimentally determined based on the analysis of type A and type B cells in one or more other tissue samples with known biomedical conditions. By defining a reference relative distribution and calculating a proximity score as the difference between the reference relative distribution and the observed relative distribution, a reproducible measure of the relative spatial location of two different cell types in a tissue sample is provided. The proximity score may provide a reproducible quantitative measure of the deviation of the observed relative distribution / distance of type A and type B cells from the expected relative distribution / distance of type A and type B cells.
[0011] The proximity score may be considered to represent the "delta" between the observed relative distribution and the reference relative distribution. The proximity score integrates the spatial difference in A-cell-B-cell distances represented in the observed relative distribution and the reference relative distribution. Preferably, the proximity score is a single numerical data value that integrates distance information obtained from multiple A-cell and B-cells. For example, the "delta" may be calculated as the difference in radius as shown in FIG. 7 or the difference in area as shown in FIG. 8.
[0012] In a further beneficial aspect, the proximity score may be a highly aggregated data value, since the proximity score value may be a single data value obtained by processing multiple observed and expected A-cell and B-cell distances. Therefore, the information encoded in the spatial distribution of hundreds, possibly thousands, of cells can be considered, which can be used to reproducibly determine the biomedical state of a particular tissue. The information encoded in the spatial location of cells is complex, and their interpretation is also complex. By providing a single score value calculated as a function of the observed and expected A-cell-B-cell distances, a parameter value is provided that encodes a lot of biomedical information, and therefore may have high predictive relevance for various predictive tasks, such as determining the biomedical state of a tissue or tissue region.
[0013] In a further beneficial embodiment, the proximity scores are combined with additional information, namely the density of type A and / or type B cells in the image region, to provide a final, combined score. The combined scores may be advantageous because they are both "relative" information (i.e., the deviation of the observed A cell-B cell distance from the expected A cell-B cell distance) and "absolute" information, namely the density of type A or type B cells in the image region examined. The combination of absolute and relative information may be beneficial, since this combination may also allow for resolving differences in the biomedical state of the tissue sample that cannot be identified based on the proximity score alone or on the density of one of the cell types alone. For example, there may be multiple different biological tissue states that have the same proximity score but can be distinguished based on differences in the absolute density of type B or type A cells. Additionally or alternatively, there may be multiple different biomedical tissue states that have the same density of type B cells (or type A cells) but can be distinguished based on differences in the proximity scores.
[0014] Embodiments of the present invention allow one to identify the hypothesis that a particular biomedical condition, e.g., a particular tumor type and stage, removes the observed distribution of cells from an expected distribution (e.g., a random distribution such as a Poisson distribution), and to easily explore this hypothesis by calculating a proximity score. If the proximity score is zero or close to zero, then essentially there is no difference between the observed relative distribution and the expected reference relative distribution, and the hypothesis can be accepted. For example, the hypothesis can be that, when the tissue sample is a tumor tissue sample taken from a tumor of a particular type and stage, the tumor microenvironment removes the observed relative distribution of tumor cells (type A cells) and immune cells (type B cells) from a random reference distribution.
[0015] The combined score may therefore provide a highly aggregated parameter that has high predictive power and may enable reproducible characterization of spatial information related to the relative distribution of type A and type B cells in a tissue. The proximity score and combined score may have the additional advantage that they can be used to characterize the relative distribution of any two different cell types and therefore can be used to automatically determine the biomedical status associated with many different biological problems. Thus, a highly reproducible, non-subjective but generic score value is provided that can be used to automatically, reproducibly and accurately determine the biomedical status of a tissue sample.
[0016] Embodiments of the present invention may allow for avoidance of discrepancies when results of IHC biomarker analyses performed by multiple laboratories are compared, allowing for better inter-laboratory concordance.
[0017] Furthermore, it was observed that the combined score is able to capture more complex histopathological information than state-of-the-art image analysis based techniques for determining biomedical tissue status.
[0018] According to an embodiment, cells of one of the two cell types having a higher cell density in the image area are referred to as type A cells, and cells of the other cell type are referred to as type B cells.
[0019] According to a preferred embodiment, the distance between type A cells and type B cells is measured starting from the type A cells and the density used to calculate the combination score is the density of type B cells in the image area.
[0020] According to an embodiment, the density of the reference type A cells is the same as or similar to the density of the observed type A cells in the image area. For example, the reference type A cells can be simulated in the same image area where the type A cells are observed, so that the number of simulated reference type A cells is the same as or similar to the number of observed type A cells in the image area (e.g., + / - 10%). Furthermore, the density of the reference type B cells is the same as or similar to the density of observed type B cells in the image area. For example, the reference type B cells can be simulated in the same image area where the type B cells are observed, so that the number of simulated reference type B cells is the same as or similar to the number of observed type B cells in the image area (e.g., + / - 10%).
[0021] Alternatively, the reference type A cells and reference type B cells are cells observed in a reference tissue sample. The reference tissue sample is selected such that the number and density of type A and B cells in the reference tissue sample can be expected to be similar to the density of type A and B cells in the tissue sample shown in the received image. This may ensure that differences in the observed and reference relative distributions are caused by factors other than cell density.
[0022] According to an embodiment, obtaining the observed relative distribution includes, for each identified type A cell (e.g., tumor cell) observed in the image region: a) selecting said type A cell as the center of a circle having a radius of 0; b) increasing the radius by one step to produce an increased cycle; c) determining the number of B type cells contained in the cycles generated in step b); d) storing in a storage medium the current radius of the circle associated with the number of type B cells determined in step b) and repeating steps b), c) and d) until a termination criterion is reached; and e) selecting one of the unselected type A cells and continuing a) with said newly selected type A cell until all type A cells have been selected.
[0023] The associated radius and number of observed type B cells obtained for each identified type A cell and radius are stored as the observed relative distribution.
[0024] For example, the termination criteria may be a maximum radius, a maximum number of steps, reaching a maximum execution time, or a maximum number of iterations. This feature may be advantageous since a stepwise increase in radius may allow covering a wide range of cell-cell distances with a relatively low computational effort. For example, the steps may be selected such that the radius is increased in size at each step from 1 to 100 μm, e.g., 10 μm. The radius may be increased, for example, until a predefined maximum radius is reached, e.g., about 500 μm, or about 200 μm. By selecting the size, and therefore the number of steps and cell counting operations, a discrete data set may be obtained that reflects the observed relative spatial distribution of type A and type B cells.
[0025] According to an embodiment, the observed relative distribution is calculated based on a bivariate Ripley's K(t) function of observed type A and type B cells in the image domain.
[0026] For example, Ripley's K function was described by Philip M. Dixon in Volume 3, pp 1796-1803 of the Encyclopedia of Environmetrics (ISBN 0471 899976) Edited by Abdel H. El-Shaarawi and Walter W. Piegorsch, John Wiley & Sons, Ltd, Chichester, 2002. A generalization of Ripley's K(t) function to several types of points (multivariate spatial point processes) is given by This is described in the above document as equation (11) in TIFF2024150478000002.tif15170.
[0027] This generalization can be advantageous because the Ripley K(t) function allows for recording and modeling the relative spatial distribution of two or more point patterns in two-dimensional space. It is relatively fast and is an integral part of several computational tools, e.g., mathematical software such as "R".
[0028] According to an embodiment, the observed relative distribution is According to TIFF2024150478000003.tif13170, TIFF2024150478000004.tif7170 is calculated as: - During the ceremony, TIFF2024150478000005.tif7170 is the bivariate Ripley's K(t) function, - where i is the occurrence of the object type "observed type A cell"; - where j is the occurrence of the object type "observed B cells"; - During the ceremony, TIFF2024150478000006.tif7170 is the density of observed B-cells (number per image area); - During the ceremony, TIFF2024150478000007.tif6170 is the total number of observed type A cells identified within the image area; - During the ceremony, TIFF2024150478000008.tif6170 is the total number of observed B-cells identified within the image area; - During the ceremony, TIFF2024150478000009.tif6170 is a cell that is an observed type A cell (also considered the "currently investigated cell"); where r is the incremental radius located at the center of the observed A-type cell; - where t is the sum of u, r, and A function for TIFF2024150478000010.tif6170 that counts the number of observed type B cells in a circle of radius r around an observed type A cell u in the image region; - During the ceremony, TIFF2024150478000011.tif6170 means "overall u, which is the observed A-type cell"; where E is the expectation of t obtained over all u.
[0029] In general, the "expectation" E of t obtained over all u describes the expected value of a variable (in this case t). For example, the expectation E can be calculated as the average, e.g., the probability-weighted average, of all possible values of t obtained over all u. Intuitively, E is like an "average outcome." For example, E of t obtained over all u can be calculated as the average t obtained over all u.
[0030] As used herein, an "average" is a single number taken as representative of a list of numbers. The "average" can be, for example, the arithmetic mean, i.e., the sum of the numbers divided by the number being averaged. Alternatively, the average can be the median or mode. The average is a measure of the central tendency of a set of numbers.
[0031] According to an embodiment, the observed relative distribution is calculated based on the derivative of the bivariate Ripley's K(t) function of type A and type B cells observed in the image region.
[0032] According to one example, the derivative bivariate Ripley's K(t) function is a linear or non-linear transformation of the bivariate Ripley's K(t) function. In particular, the derivative bivariate Ripley's K(t) function can be a linear transformation of the bivariate Ripley's K(t) function. A linear transformation can be, for example, According to TIFF2024150478000012.tif15170, For TIFF2024150478000013.tif6170 It could be the square root of TIFF2024150478000014.tif7170.
[0033] TIFF2024150478000015.tif7170 is also called the "L function" or "Besag's L function". A linear transformation approximately stabilizes the variance of the estimate K when the process is Poisson, and the benchmark value TIFF2024150478000016.tif7170 Convert to TIFF2024150478000017.tif7170.
[0034] According to an embodiment, the reference relative distribution is calculated based on a bivariate Ripley's K(t) function of simulated type A cells and simulated type B cells in the image region.
[0035] According to an embodiment, obtaining the reference relative distribution comprises: - simulating, by a computer, a distribution of simulated reference type A cells, wherein the density of the simulated reference type A cells is identical to the density of observed type A cells in the image region; - simulating, by a computer, a distribution of simulated reference B cells, wherein the density of the simulated reference B cells is identical to the density of observed B cells in the image region; - calculating a reference relative distribution as a function of the computer-simulated distribution of the simulated reference type A cells and the simulated reference type B cells, the reference relative distribution being indicative of the distance between the simulated reference type A cells and the simulated reference type B cells in the region. Includes.
[0036] The computational generation of simulated reference type A cells and simulated reference type B cells in an image region (a "simulation" of type A and B cells and their distribution based on a predetermined, expected distribution) may have the advantage that no additional (typically rare) tissue is required as a reference, and that if the number of simulated reference type A and type B cells is large enough, it is guaranteed that the distribution of reference type A and type B cells accurately represents the expected distribution. Thus, the simulation of a "virtual" tissue image region containing the expected (e.g. Poisson) distribution of simulated reference type A and type B cells is computationally inexpensive and does not require the acquisition and staining of one or more reference tissue samples to provide an experimental reference base and individual reference images. Furthermore, the simulation of reference type A and type B cells is very flexible and allows the simulated distribution to be arbitrarily modified. This may allow the "fine-tuning" of biomedical hypotheses and may allow complex bivariate co-distribution patterns that do not follow a Poisson distribution to be accurately determined. For example, a complex co-distribution pattern could correspond to a high fraction of reference type A cells with reference type B neighbors in exactly two concentric "belts" around the reference type A cells. Such complex patterns may be rarely observed in nature. However, simulations allow generating "idiotypic" co-distributions that may be rarely observed in their "ideal" morphology in real tissue samples, but may nevertheless be useful for formulating and validating biological hypotheses related to the spatial distribution of cells in tissue samples.
[0037] According to an embodiment, the reference relative distribution is derived from a simulated distribution of reference type A and reference type B cells, whereby the simulated reference type A cell distribution and / or the simulated reference type B cell distribution may be, for example, a Poisson distribution.
[0038] According to a preferred embodiment, the distribution of the simulated reference type A cells is a Poisson distribution and the distribution of the simulated reference type B cells is a Poisson distribution.
[0039] The Poisson distribution is a discrete probability distribution that represents the probability of a certain number of events occurring in a fixed time or space interval, when these events occur at a known constant rate and independent of the time since the last event. The Poisson distribution can also be used for the number of events in other specific intervals, such as distances, areas, or volumes. If the occurrence of any particular type of event does not affect the time occurrence probability of future events, i.e., if observed events occur independently of each other, a reasonable assumption is that the number of events occurring in a day follows a Poisson distribution. Thus, by generating a Poisson-distributed set of simulated type A cells in the image domain and a Poisson-distributed set of simulated type B cells in the image domain, and by determining a reference relative distribution of simulated reference type A and reference type B cells, the hypothesis that the distribution of type A cells is completely independent of the distribution of reference type B cells, and vice versa, can be simulated and tested for the tissue sample currently under investigation.
[0040] According to an embodiment, the density of simulated reference type A cells in the region is identical or highly similar to the density of observed type A cells in the region of the image. Here, the term "highly similar" means that the number of simulated reference type A cells in the image region is + / - 10% identical to the number of observed type A cells in the region of the image. The number of simulated reference type B cells in the region is identical or highly similar to the number of observed type B cells in the region of the image.
[0041] This may be advantageous, since it ensures that the total number and density of the simulated reference type A and type B cells in the image area are identical or highly similar to the respective number and density of the observed cells. Therefore, any deviation of the observed relative distribution from the reference relative distribution is not due to any deviation in the number or density of the simulated cells, but only due to differences in the relative spatial distribution of the cells of the two cell types. Thus, although the reference relative distribution may be based on simulated reference type A and type B cells, the simulation is strictly bound to the density of the observed type A and type B cells in the tissue sample shown in the image area. This may make it possible to perform a simulation specific to the tissue sample, in which any deviation in the relative spatial distribution of the cells of the two cell types in the tissue sample can be accurately determined compared to the expected, simulated distribution. The difference in the spatial distribution from the reference distribution based on the simulation is not affected by any other distribution factors that may be relevant when using a reference tissue sample to experimentally create the reference relative distribution.
[0042] According to an embodiment, calculating the reference relative distribution as a function of the computer-simulated distribution of reference type A and reference type B cells comprises: For each of the randomly distributed simulated reference type A cells (e.g., tumor cells), perform the following steps: a) selecting the simulated reference type A cell as the center of a circle having a radius of 0; b) increasing the radius by one step to produce an increased cycle; c) determining the number of simulated reference B-type cells (e.g., immune cells) contained in the cycles generated in step b); d) storing in a storage medium the current radius of the circle associated with the number of simulated reference B-type cells determined in step b) and repeating steps b), c) and d) until a termination criterion is reached; and e) selecting an unselected one of the simulated reference type A cells and continuing step a) using said newly selected simulated reference type A cell until all simulated reference type A cells have been selected. will be carried out This includes:
[0043] The method further includes providing an associated radius and number of the simulated reference B cells as a reference relative distribution.
[0044] The advantage of this stepwise calculation of the number of reference type B cells in stepwise increasing circles around each reference type A cell may have the advantages already described for the similar determination of the radius and number of type B cells stored during the calculation of the observed relative distribution.
[0045] According to an embodiment, the reference relative distribution is According to TIFF2024150478000018.tif15170, TIFF2024150478000019.tif7170 is calculated as: - During the ceremony, TIFF2024150478000020.tif7170 is the K(t) function of the bivariate replay, - where i is the occurrence of the object type of the "simulated reference A-type cell"; - where j is the occurrence of the object type "simulated reference B-cell"; - During the ceremony, TIFF2024150478000021.tif7170 is the simulated density of reference B cells (number per image area); - During the ceremony, TIFF2024150478000022.tif6170 is the total number of simulated reference type A cells in the image area; - During the ceremony, TIFF2024150478000023.tif6170 is the total number of simulated reference type B cells in the image area; - During the ceremony, TIFF2024150478000024.tif6170 is a simulated reference A-type cell; where r is the incremental radius located at the center of the simulated reference A-type cell; - where t is the sum of u, r, and A function for TIFF2024150478000025.tif6170 that counts the number of simulated reference type B cells in a circle of radius r around a simulated reference type A cell u in the image region; - During the ceremony, TIFF2024150478000026.tif6170 means "over all of u, the simulated reference A-type cells"; where E is the expected value of t over all u.
[0046] As defined above, the "expectation" E of t taken over all u describes the expected value of a variable, in this case t. For example, the expectation E can be calculated as the average, e.g., the probability-weighted average, of all possible values of t taken over all u. For example, E of t taken over all u can be calculated as the average t taken over all u.
[0047] According to an embodiment, the reference relative distribution is calculated based on the derivative of the bivariate Ripley's K(t) function of the simulated type A cells and the simulated type B cells. According to one example, the derivative bivariate Ripley's K(t) function is a linear or non-linear transformation of the bivariate Ripley's K(t) function. In particular, the derivative bivariate Ripley's K(t) function can be a linear transformation of the bivariate Ripley's K(t) function. A linear transformation can be, for example, According to TIFF2024150478000027.tif15170, For TIFF2024150478000028.tif6170 It could be the "L function" or "Besag's L function" calculated as the square root of TIFF2024150478000029.tif6170.
[0048] According to an embodiment, the reference relative distribution and / or the observed relative distribution can be It is calculated as a version of Ripley's K(t) function described in equation (12) of the above-referenced paper by Philip M. Dixon according to TIFF2024150478000030.tif10170, where: TIFF2024150478000031.tif7170 is a region of radius d within the research area. ik,jl is the fraction of the circumference of a circle centered at the kth position of process I with
[0049] According to an embodiment, obtaining the reference relative distribution includes calculating a plurality of initial reference relative distributions according to any one of the embodiments and examples described herein, and the method includes calculating an average reference relative distribution from the plurality of initial reference relative distributions and using the average reference relative distribution as the reference relative distribution.
[0050] Preferably, the proximity score is calculated as the difference ("delta") between the average reference relative distribution and the observed relative distribution. This includes the difference between parameter values associated with the average reference relative distribution and the observed relative distribution. For example, this difference could be the difference in radii associated with the two distributions shown in FIG. 7, respectively, or the difference in areas shown in FIG. 8.
[0051] For example, a number n of initial reference relative distributions may be calculated, where n is preferably greater than 10, more preferably greater than 30, e.g., 39. Then, an "average relative distribution" is calculated by calculating the average number of observed type B cells in a circle of each radius for each of a number of radii used to count type B cells in the spatial vicinity of type A cells defined by the circle with each radius (or vice versa). For example, if n=5 and the four investigated radii are 10 μm, 30 μm, 60 μm and 100 μm, a first average type B cell number is calculated for the 10 μm radius from the five values obtained from the individual n initial relative distributions, a second average type B cell number is calculated for the 30 μm radius from the five values obtained from the individual n initial relative distributions, and so on until an average type B cell number is calculated for each investigated radius.
[0052] According to some embodiments, for each radius (or each of a number of other predetermined distances that define the spatial neighborhood of type A cells used to calculate the relative distribution), not only is the average reference type B cell count (or the reference type A cell count, if the number of type A cells in the spatial neighborhood of the reference type B cells is examined), but also the minimum and maximum reference type B cell counts are calculated in any one of the initial reference relative distributions and for any one of the examined radii / distances. The average reference relative distribution is used to calculate a proximity score, and the minimum / maximum cell counts are used to calculate a confidence band, where the minimum / maximum values represent the boundaries of the confidence band and the width of the confidence band indicates the "significance area" in the plot. If the observed relative distribution is within the confidence band, it is considered to be the same as the reference relative distribution or at least not significantly different from it.
[0053] For example, n=39 initial reference relative distributions can be calculated based on simulations of Poisson-distributed reference cells of type A and type B, respectively. Thereby, the density of the simulated reference type A cells is identical to the density of "real" type A cells observed in the image area of the tissue sample, and the cell density of the simulated reference type B cells is identical to the density of "real" type B cells observed in the image area. The simulation is performed 39 times for a given density of type A and type B cells to obtain a "p-value" in combination with the observed relative distribution 1 / (39+1)=0.025=alpha / 2, where alpha is a predetermined significance level. A 2D plot is then created, where one dimension represents cell distance and one dimension represents cell number. The average reference relative distribution obtained by averaging the 39 initial reference distributions is then shown in the 2D plot. Additionally, a "confidence band" is plotted. Here, the lower boundary of the confidence band is calculated as the minimum number of cells observed at a particular distance (e.g., radius) in all 39 initial reference relative distributions, and the upper boundary of the confidence band is calculated as the maximum number of cells observed at a particular distance (e.g., radius) in all 39 initial reference relative distributions. Thus, for each distance / radius r around a cell of a particular cell type (e.g., type A cells), the minimum, maximum and average observed cell counts of each other cell type (e.g., type B cells) from all 39 simulations are plotted. Furthermore, the observed relative distributions are plotted in a 2D plot. This can be beneficial because it allows the user to intuitively evaluate whether the observed relative distribution is inside or outside the confidence band surrounding the average reference relative distribution. When the observed reference relative distribution is outside the confidence band, the observed reference relative distribution differs from the average reference relative distribution at a predetermined significance level of alpha, where alpha can be, for example, .05 (0.025 two-sided).
[0054] The above 2D plot may also be referred to as a "significance plot". An example of a significance plot is shown in FIG. 7. The significance plot may include a first dimension representing the radius of a circle drawn around each tumor cell and its nearest immune cells in the image area, and a second dimension representing the number of immune cells located within said circle. The number of immune cells is normalized by the density of immune cells and tumor cells. The plot may include a confidence band around the reference relative distribution, the confidence band showing the confidence interval of the number of immune cells observed for each radius value according to the plotted reference relative distribution. According to a preferred embodiment, the confidence band represents a 95% confidence band derived from 39 simulations (it is possible to show that these 39 simulations correspond to a 95% confidence level for a task of determining a particular type of biomedical condition). The observed relative distribution is also plotted in the significance plot. The observed relative distribution may be graphically represented as a curve visually showing the number of immune cells observed and identified to occur in each circle around the observed tumor cell, said number being normalized by the density of immune cells and tumor cells.
[0055] According to other embodiments, the reference relative distribution is not obtained by simulating a particular cell distribution, but is instead obtained experimentally from one or more other tissue samples of known biomedical conditions and respective digital pathology images of said samples.
[0056] According to another embodiment, obtaining the reference relative distribution comprises: - receiving a further digital image for each of the one or more further tissue samples, where each further tissue sample is derived from tissue at a known biomedical state; the further digital image may also be referred to as a "reference image" and the further tissue sample may also be referred to as a "reference sample"; - analyzing each received further image to identify the number and location of observed reference type A cells and observed reference type B cells in a region of the received further image; - analyzing the locations of observed reference type A and observed reference type B cells in the region of each further image to obtain an observed reference relative distribution, the observed reference relative distribution being indicative of an observed distance between the reference type A cells and the reference type B cells observed in the region of the further received image; and - Using the observed reference relative distribution as the reference relative distribution Includes.
[0057] Therefore, the generation of the reference relative distribution described in the above embodiment is not based on a computer simulation, but on the evaluation of the relative spatial distribution of reference type A and reference type B cells in one or more other tissue samples with a known biomedical state. This may be advantageous when suitable simulation software is not available, or when the mathematical function for generating a specific relative distribution representing a known biomedical state has not yet been defined and implemented in the software. For example, when the biomedical state, such as the type and stage of cancer or the immune cell infiltration level of a specific tumor tissue, is clearly identified by one or more pathologists, it may be more convenient to use the experimental information implicitly contained in such additional tissue samples to provide a reference relative distribution, rather than performing a computer simulation. For example, when the relative spatial distribution of two different cell types in a tissue sample with a known biomedical state does not follow a Poisson distribution, it may be easier to simply determine the relative distribution of the cells of the two cell types to obtain a reference relative distribution representing the "hypothesis" that a tissue sample with a similar relative distribution also has the biomedical state of one or more other tissue samples from which the experimentally determined reference relative distribution is derived.
[0058] The experimentally determined reference relative distribution can for example be obtained from a tissue sample of the same "currently investigated" organism as the tissue sample from which the observed relative distribution is obtained using image analysis methods. For example, the "other tissue sample" can be a tissue sample adjacent to the tissue sample shown in the digital image from which the observed relative distribution is obtained. Alternatively, the other tissue sample can be from another organism than the "currently investigated" organism, the other organism preferably from a species that is the same or closely related to the "currently investigated" organism. It is merely necessary that the biomedical state of the other organism is known. This is to ensure that the reference relative distribution obtained from said other organism represents a particular known biomedical state.
[0059] The reference relative distribution may also be experimentally determined from each of a plurality of other sample tissues having the same known biomedical condition. An average reference relative distribution is then obtained by calculating the average of each of the initial experimentally determined reference relative distributions. According to some embodiments, obtaining the average reference relative distribution includes performing curve fitting.
[0060] The reference relative distribution or initial reference relative distribution may be obtained from one or more other tissue samples via image analysis in the same manner as the observed relative distribution was obtained.
[0061] According to one embodiment, a pathologist can manually annotate the biomedical condition of a reference tissue sample on an image of said reference tissue sample of a patient. A reference relative distribution is obtained based on image analysis of the image of the reference tissue sample. A plurality of tissue samples adjacent to the reference tissue sample are obtained from the patient. From each of the plurality of other adjacent tissue samples, a separate digital image can be obtained that is automatically analyzed to calculate an observed relative distribution. By comparing the observed relative distribution of each of the adjacent tissue samples to the reference relative distribution of the reference tissue sample, it can be determined whether the patient's tissue from which the plurality of tissue samples, including the reference sample, are derived exhibits a homogenous or heterogenous spatial relationship and distribution of type A and type B cells.
[0062] According to an embodiment, calculating the proximity score as a difference between the reference relative distribution and the observed relative distribution comprises: - providing a predetermined number representing a predetermined minimum number of B-type cells (e.g. "1"); - Within the observed relative distribution, the observed radius r o-最小 and identifying the observation radius r o-最小 Within the observed relative distribution, there is an observed radius r, which is the radius that defines a circle that, when drawn around each of the observed type A cells, contains, on average, a given number of observed type B cells. o-最小 Identifying; - Within the reference relative distribution, the reference radius r r-最小 and identifying a reference radius r r-最小 is a radius that defines a circle that, when drawn around each of the type A cells observed in the further digital image of the simulated or further tissue sample to provide the reference relative distribution, contains on average a predetermined number of type B cells observed in the further digital image of the simulated or further tissue sample to provide the reference relative distribution, r-最小 Identifying; - Proximity score, given the observation radius r o-最小 and the reference radius r r-最小 as a function of. Preferably, the function is the difference between the observation radius and the reference radius. Includes.
[0063] For example, the predetermined number representing a predetermined minimum number of B type cells can be any number greater than 0. Preferably, the predetermined minimum number is 1.
[0064] Said feature may be advantageous, since the complexity of the information contained in the observed relative distribution and in the reference relative distribution is reduced in some initial steps to two specific distance measurements, i.e. two specific radii, and in further steps to a proximity score value. In the simplest case, the proximity score is calculated as the difference between the two radii. However, the calculation of the proximity score may also be more complex, for example including additional normalization steps, steps for performing error correction, steps for multiplying the difference between the two radii by an error correction factor, etc. The proximity score may be a numerical value.
[0065] According to an alternative embodiment, calculating the proximity score as the difference between the reference relative distribution and the observed relative distribution comprises: - defining a first distance threshold (t1); for example, the first distance threshold may have a value between 10 μm and 20 μm, for example 15 μm; - defining a second distance threshold (t2); for example, the second distance threshold may have a value between 30 μm and 40 μm, for example 35 μm; - plotting the reference relative distribution and the observed relative distribution, respectively, in the form of a curve on a plot, a first dimension of the plot representing a radius r used to determine the observed and reference relative distributions, and a second dimension of the plot representing the number of type B cells that are closer to type A cells than r (or vice versa); - identifying a first region on the plot, the first region defined by first and second thresholds, a baseline corresponding to a second dimension value of zero, and a curve segment of the observed relative distribution between the first and second thresholds; - identifying a second region on the plot, the second region defined by the first and second thresholds, a baseline corresponding to a second dimension value of zero, and a curve segment of the reference relative distribution between the first and second thresholds; - calculating a proximity score as a function of the first and second regions, the function being in particular the difference between the first and second regions; Includes.
[0066] In some embodiments, the proximity scores are normalized within a predefined scale range. This may allow the proximity scores obtained for the currently investigated tissue sample to be mapped to a predefined proximity score scale. The scale with the score values may be displayed to the user, for example via a display of an image analysis system, and may allow the user to quickly and intuitively assess how much of the relative distribution of A and B cells in the currently investigated tissue sample originates from a reference relative distribution of A and B cells, thereby allowing the user to evaluate whether the reference relative distribution represents a random distribution or other type of expected relative distribution.
[0067] The difference in the radii at which a given minimum number of B cells is observed indicates the deviation of the observed distribution from the expected, eg, random, relative distribution of A and B cells.
[0068] According to some embodiments, Ripley's K of the observed relative distribution is multiplied by the cell density of type B cells observed in the image region. Furthermore, Ripley's K of the reference relative distribution is multiplied by the cell density of type B cells observed in an image region of the same size in an image of the simulated or reference tissue sample to obtain a reference cell count of type B cells in the vicinity of type A cells. Then, the difference between the observed number of type B cells and the reference number of type B cells is calculated.
[0069] According to some embodiments, the method comprises graphically representing the observed relative distribution as a curve of the observed distribution in a 2D plot, the first dimension of which represents the radius r (Ro) and the second dimension of which represents the number of observed B cells relative to said radius, the 2D plot being displayed on a display device of the image analysis system.
[0070] Additionally or alternatively, the method comprises graphically representing the reference relative distribution as a curve of the reference distribution in a 2D plot, the first dimension of which represents the radius r (Rs) and the second dimension of which represents the number of simulated B type cells associated with said radius.
[0071] Preferably, the curves of the observed distribution and the curves of the reference distribution are plotted in the same 2D plot, which makes it easy for the user to compare the two treatments.
[0072] The 2D plot comprising the curve of the observed distribution and / or the curve of the reference distribution is then displayed on a display device of the image analysis system. Preferably, a confidence band is also calculated from the minimum and maximum values of a plurality of simulated or experimentally obtained initial reference relative distributions, and the confidence band is also plotted in the 2D plot such that the confidence band surrounds the curve of the reference distribution.
[0073] This can be advantageous, since the 2D plot allows even users with limited statistical knowledge to intuitively and quickly assess whether an observed relative distribution differs significantly from a given reference relative distribution.
[0074] According to an embodiment, the type A cells are tumor cells and / or the type B cells are immune cells. Preferably, the relative distribution is obtained by counting the number of immune cells observed or simulated in each spatial vicinity of tumor cells. This approach may be preferred for most tumor types where tumor cells have a higher density than immune cells, since it may ensure that a sufficient number of "counting results" are obtained. The number of "counting results" corresponds to the number of tumor cells, which is often "zero" when immune cells are very rare in tissue.
[0075] According to another embodiment, the type B cells are tumor cells and / or the type A cells are immune cells. Preferably, the relative distribution is obtained in the spatial vicinity of each of the immune cells by counting the number of tumor cells observed or simulated in said spatial vicinity. This approach may be preferred for some tumor types where immune cells have a greater density than tumor cells or are for other reasons a better starting point for determining the number of cells of other cell types in their respective vicinity.
[0076] According to an embodiment, the tissue sample is a tumour tissue sample and determining the biomedical state of the tissue sample comprises determining an infiltration state of the tumour tissue represented in areas of the received digital image that contain immune cells.
[0077] This may be advantageous, since the determination of the infiltration status is an important prognostic parameter for characterizing tumors and selecting appropriate treatment options. The density of immune cells and tumor cells alone is not sufficient to distinguish, for example, tumor tissues that show an "excluded" infiltration pattern from tumor tissues that show an "infiltrated" infiltration pattern. Similarly, the spatial proximity of tumor cells and immune cells alone is not sufficient to distinguish, for example, tumor tissues that show an "excluded" infiltration pattern from tumor tissues that show an "exhausted" infiltration pattern. However, a combined score that includes density and spatial proximity information allows the distinction of many different infiltration states, such as "infiltration", "excluded" and "exhausted". Thus, the calculation of the combined score described herein is particularly useful in the context of determining the immune cell infiltration status of tumor tissues. The immune set point value before immunotherapy may be very useful to achieve a truly personalized treatment. The combined score may allow a better characterization of tumor patients to predict sensitivity to drugs of different mechanisms of action and to evaluate the response to a given immunotherapy and provide decision support for the need for additional drugs per continuation of treatment, shift to another drug with a different mechanism of action.
[0078] The proximity value can be a numerical value that can be represented at a specific point on a continuous scale, which allows for greater granularity and sensitivity than the currently used manually defined classifications. This can be very beneficial, since the majority of cases cannot be clearly assigned to a specific, extreme state like "invasion", "depletion" or "elimination", but rather belong to a moderately inflammatory state, and the difference between a slightly inflamed tumor and a slightly elimination tumor can be very difficult to identify and characterize in a clear, reproducible and non-subjective way.
[0079] For example, tumor cells can be identified in a digital image of a tissue sample by staining the tissue sample with a stain specific for one or more tumor markers (e.g., stains that selectively stain cytokeratin, BRAC1, etc.) and applying image analysis methods to identify cells expressing the biomarkers as tumor cells. In some cases, the tissue can be stained with a stain specific for immune cells, and image analysis methods are performed such that non-immune cells that express tumor markers or proliferation markers are selectively identified as tumor cells. For example, cells that express the biomarker KI67 and do not express the lymphocyte biomarker CD8 (or CD3) are identified as tumor cells.
[0080] In some cases, it has been observed that not all tumor cells express Ki67, however, Ki67+ cells provide a representative sample of tumor cells and provide accurate results.
[0081] According to an embodiment, immune cells are identified as cells expressing a biomarker selectively expressed in immune cells. For example, cytotoxic T cells can be identified as CD8A+ cells.
[0082] According to some embodiments, the region in the received digital image where cells are identified includes sub-regions that are manually or automatically annotated as "tumor regions". In this case, preferably, only cells expressing proliferation biomarkers such as Ki67 and / or further tumor markers within this "tumor region" are identified as "tumor cells". Furthermore, only cells expressing immune cell specific biomarkers within this "tumor region" are identified as "tumor cells". This may ensure that the biomedical specificity of tissues outside the tumor region does not affect the analysis results of whether the spatial relative distribution of tumor cells and immune cells is the same as the expected relative distribution.
[0083] According to some embodiments, the method further comprises graphically representing the combined scores as symbols in a 2D score plot. A first dimension of the 2D score plot represents the proximity scores and a second dimension of the 2D score plot represents the density of type B cells or the density of type A cells. Preferably, the density of type B cells is plotted, where type B cells are immune cells and type A cells are tumor cells. The 2D score plot is output on a display of an image analysis system for enabling a human to determine the biomedical state of the tissue sample. Additionally or alternatively, the determination of the biomedical state of the tissue sample is performed by the image analysis system by automatically identifying the biomedical state of the tissue sample within a limited set of predefined biomedical states or within a predefined continuous spectrum of biomedical states. The identified biomedical state is then output, e.g., displayed, as a determined biomedical state.
[0084] Preferably, the density represented by one dimension of the 2D score plot is the observed density of one of the two types of cells having a lower density, for example type B cells. Preferably, type B cells are one of the two cell types whose numbers are counted in the vicinity of each type A cell.
[0085] The determined biomedical state of the tissue may be identified in or mapped to a continuous spectrum of biomedical states. Additionally or alternatively, the biomedical state may be one of a limited set of predefined discrete biomedical tissue states.
[0086] In some embodiments, determining the immune cell infiltration status of the tumor sample comprises dividing the tumor into different predefined infiltration statuses, such as "depleted," "eliminated," or "inflamed." For example, a threshold combination score value is derived from experimental data of multiple tissue samples, and the resulting threshold combination score can be used to classify a tissue sample represented in an image field into one of the predefined infiltration statuses.
[0087] According to another embodiment, determining the invasion state comprises identifying the invasion state of the tissue sample on a predefined continuous spectrum representing the grade of invasion in the tumor, the extremes of the spectrum representing a highly inflamed tumor versus a complete lack of immune cells, in which case one of a predefined set of limited invasion states is not identified, providing a continuous score that allows mapping the tumor in the image area depicted on the spectrum between the most extreme invasion states.
[0088] Infiltration of tumors by immune cells is triggered by the presentation of mutated tumor antigens presented in the context of MHC on the tumor cell surface. Tumor antigens are recognized as non-self and are eliminated mainly by natural killer cells and cytotoxic T cells. Elimination is dependent on complex signaling pathways that may be altered or disrupted by the tumor. This balance between tumor growth and the immune system's attempts to kill tumor cells has been described as an elimination-balance-escape mechanism. Current developments in immunotherapy have great potential to change the dismal prognosis of many cancer patients by altering the tumor immune microenvironment in favor of the tumor cell elimination side of the balance.
[0089] There have been many proposals in the field to measure the immune phenotype of tumors to describe the state of the elimination-equilibrium-escape balance, but no consensus has been reached. The main hurdle to be overcome is characterized by the lack of a deeper understanding of how the theory of the continuum between elimination and escape can be translated into biologically meaningful information presented in histological tumor samples. Manual scoring systems suggest the number of classes into which the spectrum needs to be divided, and in general there is no agreement on how to find the threshold or objective definition of these categories. Embodiments of the present invention make it possible to overcome these obstacles and provide an automatic, calibrated, individualized measurement of the infiltration status of tumors based on both the presence and distribution of tumor-infiltrating immune cells. Thus, embodiments of the present invention make it possible to obtain information about biological trends such as when the balance of the immune system is focused on the elimination of tumor escapes, and when the immune system is globally activated or silent.
[0090] According to an embodiment, the image analysis method comprises: receiving digital images of tissue samples from each of a plurality of different patients; calculating a combined score for each of the patients using each received image according to any one of the preceding claims; and graphically representing the biomedical condition of each patient on a 2D score plot by a symbol specific to the individual biomedical condition, wherein the position of each patient's symbol in the plot depends on the density of B cells and the proximity score calculated for the patient.
[0091] This can be advantageous because it provides a plot that allows the user to quickly and intuitively determine the biomedical status, e.g., immune cell infiltration status, of a tissue sample based on the x and y coordinates of the points in the plot, where the points represent tissue samples and the x and y coordinates of the plot represent the proximity score and the observed density of immune B cells in the tissue sample.
[0092] Immune infiltration in tumors is the host's response to foreign bodies in the body. It is caused by the presence of tumor antigens (mutated proteins) presented by tumor cells. If the immune system is suppressed or the tumor downregulates the expression of tumor antigens, the tumor may lack immune cells. In practice, the amount of immune infiltration is seen as a spectrum from no infiltration to severe infiltration.
[0093] According to an embodiment, the identified biomedical condition is: - "Inflammation", where "inflammation" refers to an immunological tissue condition in which immune cells have a significantly increased cellular density in all compartments of the tumor indicating massive infiltration of immune cells into the tumor tissue, where the higher the observed immune cell density in an image area and the higher the proximity score, the more likely the tissue sample is classified as "inflamed". - "Exclusion", where "exclusion" refers to an immunological tissue condition in which immune cells are present in a tissue sample but are prevented from being in close proximity to tumor cells, such that the immune cells are concentrated at the invasive margin and / or intratumoral stroma but separated from the tumor cells, where the higher the observed immune cell density in an image area and the lower the proximity score, the more likely the tissue sample is classified as "exclusion". - "Depleted", where "depleted" refers to an immunological tissue condition in which immune cells have zero or near-zero cell density in tumor tissue regions, where the lower the observed immune cell density in an image region, the more likely the tissue sample is classified as "depleted" regardless of the high proximity score. The compound is selected from the group consisting of:
[0094] Applicant has observed that many tumors display images that do not completely fit into any of the above extreme categories. Therefore, the calculation of a combined score value is advantageous because it is a combination of two consecutive numerical score values (proximity score, cell density), and thus allows to provide an accurate prediction / determination of the biomedical status of the tissue based on two important features. The density indicates whether the organism is capable of eliciting an immune response. The proximity score indicates whether the tumor is immunogenic and adapted to attract immune cells. If not, the tumor may have developed a means to evade immune cells (e.g., HLA-upregulation or cytokine production that renders immune cells dormant or stimulates regulatory immune subsets).
[0095] According to an embodiment, if the biomedical state of the tissue sample is determined to be "inflammation" in an infiltrative state, the image analysis method includes outputting, via a user interface, a treatment recommendation to prescribe a drug that acts as a checkpoint inhibitor, e.g., anti-PD-L1 / PD-1, CTL4.
[0096] Additionally or alternatively, if the biomedical state of the tissue sample is determined to be "exclusion" of the invasion state, the image analysis method includes outputting, via a user interface, a treatment recommendation for prescribing a drug adapted to attract immune cells in close proximity to the tumor cells. For example, the drug may be a bispecific antibody against the tumor cells. An example of this bispecific antibody is CEA-TCB, which simultaneously binds one arm to CD3 on T cells and two arms to CEA on tumor cells, thereby bringing the T cells in close proximity to the cancer cells. This results in the activation of the T cells and the subsequent killing of the tumor cells. Another example of a suitable drug recommended in the case of an "exclusion" invasion state may be a drug that disrupts tumor escape mechanisms, such as a drug that blocks HLA-G or upregulates MHC I.
[0097] Additionally or alternatively, if the biomedical condition of the tissue sample is determined to be an "exhausted" infiltration condition, the image analysis method includes outputting, via the user interface, a treatment recommendation to prescribe IL-2, a drug adapted to generally boost the immune system.
[0098] According to an embodiment, the shapes of tumor cells and immune cells in the image region are stored in the form of points in a spatial database. The simulated and measured distances are identified using spatial database operations provided by the spatial DBMS, in particular the WITHIN_DISTANCE() and DISTANCE() operations. This can be advantageous, since the relative distribution can be greatly enhanced. This can be of particular interest when many self-referenced relative distributions need to be simulated in order to provide a confidence band of a desired width. For example, the SDO_GEOM functionality of the Oracle Spatial DBMS can be used.
[0099] According to another embodiment, the scores are calculated outside the DB using R.
[0100] According to an embodiment, the expected distribution indicates the distance between the reference type A cells and the reference type B cells expected based on the assumption of a Poisson distribution of the type A cells and type B cells in the region. Preferably, this assumption is further based on the same density of the observed type A cells and the reference type A cells and the same density of the observed type B cells and the reference type B cells.
[0101] In a further aspect, the present invention relates to a method for determining the effectiveness of a drug for treating a particular type of cancer, the method comprising: - receiving a plurality of first digital images, each first image showing a tissue sample of an individual organism having a particular type of cancer before the organism is treated with a drug; - calculating from each image region of the first digital image a first combination score according to any one of the preceding claims, wherein the biomedical condition is an immune cell infiltration condition of a tumor, type A cells are tumor cells and type B cells are cancer cells; - receiving a plurality of second digital images, each second image showing a tissue sample of an individual organism having a particular type of cancer before the organism is treated with the drug; - calculating a second combination score of any one of the preceding claims from each image region of the second digital image, wherein the biomedical condition is an invasion condition, the type A cells are tumor cells and the type B cells are cancer cells; - displaying a 2D score plot on the display device, where each first combination score is represented by a first symbol in the 2D score plot and each second combination score is represented by a second symbol in the 2D score plot, where the position of the first and second symbols in the plot is dependent on the immune cell density observed in the image region of the respective image and a proximity score calculated for the image region of the respective image, and where first and second symbols representing the same organism are visually linked in the 2D plot score from any one of the first symbols to its individually linked second symbol to visualize any shift in x and / or y coordinates. Includes.
[0102] This can be advantageous because the above approach allows visually representing the effectiveness of a particular drug tested on multiple different patients, thereby visualizing the effect of the drug on the spatial distribution of immune cells and tumor cells. Already, it is difficult to visually represent the modification of the relative spatial distribution of cells of one patient. Here, the response of multiple patients to a particular drug is visualized in terms of the modification of the relative distribution of tumor and immune cells, allowing medical professionals to easily evaluate whether the drug had an effect and what type of biomedical condition (e.g., tumor infiltration condition) was promoted or suppressed by the drug. Visual association can be performed, for example, by connecting symbols (e.g., circles, triangles, etc.) that come from the same patient with lines.
[0103] In a further aspect, the present invention relates to a storage medium comprising computer-interpretable instructions which, when executed by a processor, cause the processor to perform an image analysis method according to any one of the embodiments and examples described herein.
[0104] In a further aspect, the present invention relates to an image analysis system for determining a biomedical condition of a tissue sample, the system comprising: - receiving a digital image of the tissue sample; - analyzing the received image to identify the number and location of type A cells and type B cells observed in an area of the received image, where type A and type B are different cell types; - analyzing the locations of type A and type B cells in the region to obtain an observed relative distribution, the observed relative distribution indicating an observed distance between type A cells and type B cells in the region; - obtaining a reference relative distribution, the reference relative distribution indicating an expected distance between a reference type A cell and a reference type B cell; - Calculating the proximity score as the difference between the reference relative distribution and the observed relative distribution; - calculating a combination score, the combination score including a proximity score and including a density of type A cells and / or a density of type B cells; - using the combined score to determine a biomedical state of the tissue sample and / or outputting the combined score to a user to enable the user to determine a biomedical state of the tissue sample. The present invention includes a processor and computer-interpretable instructions configured to execute instructions for performing a method including the steps of:
[0105] As used herein, a "relative distribution" is a function that describes the spatial variance between two types of objects. According to a preferred embodiment, the "relative distribution" is a function that captures the distance of a second type of object from a first type of object. According to a preferred embodiment, the "relative distribution" quantifies the spatial variance in a manner that is invariant to rotations and reflections. Several concise measures of spatial variance can be defined, for example, using the covariance matrix of the coordinates of the objects. The trace, determinant, and maximum eigenvalue of the covariance matrix can be used as measures of spatial variance. An example of a measure of spatial variance that is not based on the covariance matrix is the average distance between nearest neighbors. A further preferred measure of spatial variance is Ripley's K function.
[0106] A "reference relative distribution" as used herein is a relative distribution that captures the degree of spatial dispersion between two types of objects (e.g., reference type A cells and reference type B cells) and is used as a reference. A "reference" is a kind of "standard" or "baseline" against which other information, e.g., another relative distribution of two object types, can be compared. A reference relative distribution can be obtained by computational simulation based on the expected distribution of objects, e.g., based on a Poisson distribution, or can be obtained experimentally from the relative distribution of objects observed in one or more reference samples. A reference relative distribution can represent a "baseline". It allows the relative distribution of different cell types in the tissue sample currently under investigation to be compared with the relative distribution of the same cell types in one or more reference tissue samples with known biomedical conditions. Comparison of the observed relative distribution with the reference relative distribution can allow determining whether the relative distribution of cells in the tissue sample deviates significantly from the relative distribution of said cell types in the simulated or experimentally determined reference relative distribution.
[0107] As used herein, an "observed relative distribution" is a relative distribution that captures the degree of spatial dispersion between two types of objects (e.g., two cell types) within the tissue sample represented in the digital image currently being analyzed.
[0108] A "proximity score" as used herein is a score value calculated as a function of the observed relative distribution and the reference relative distribution. Preferably, the proximity score is calculated by calculating the difference between one or more distances or distance measurements coded in the observed relative distribution and the reference relative distribution. According to an embodiment of the present invention, the score value is a numerical data value. According to an embodiment of the present invention, the score value is calculated as the difference (delta) between the reference distribution and the observed distribution. For example, the score value can be calculated as the difference between two distances r1, r2, where r1 can be the distance from type A cells where a certain number of type B cells is observed on average according to the observed relative distribution, and r2 can be the distance from type A cells where a certain number of type B cells is observed on average (simulated or experimentally determined) according to the reference relative distribution. Alternatively, the difference can be the difference between two regions. One region is defined by two predefined distance thresholds, a baseline of "0 observed occurrences", and the interval of the reference relative distribution curve between the two distance thresholds, and the second region is defined by the two predefined distance thresholds, the baseline, and the interval of the observed relative distribution curve between the two distance thresholds.
[0109] "Tumor-immunophenotyping" or "spatial immune infiltration phenotyping" as used herein is a method to separate tumors into different groups or map them onto a continuous or discrete spectrum based on the grade of tumor inflammation. The two extremes of the spectrum represent highly inflamed tumors versus tumor tissue that is completely devoid of immune cells.
[0110] As used herein, "Ripley's K" is a spatial descriptive statistic that can be used to generate a reference relative distribution and / or an observed relative distribution. More specifically, it is a measure of spatial dispersion between two types of objects. Ripley's K function was described by Philip M. Dixon in Volume 3, pp 1796-1803 of Encyclopedia of Environmetrics (ISBN 0471 899976)Edited by Abdel H. El-Shaarawi and Walter W. Piegorsch, John Wiley & Sons, Ltd, Chichester, 2002. Ripley's K(t) function (also called "K function" or "Ripley's K") is a mathematical expression of the expected value of the distance between type A cells and type B cells.
[0111] As used herein, a "biomedical state" is any disease, metabolic, genomic, proteomic, related or morphological state of a tissue that is known or of predictive or therapeutic use in the context of biology and / or medicine. For example, the "biomedical state" of a tissue may relate to the degree of infiltration by immune cells of tumor tissue, may relate to the degree of differentiation of tumor tissue or tissue of a young, developing organism.
[0112] In the following, embodiments of the invention will be described in more detail, by way of example only, with reference to the drawings, in which: [Brief description of the drawings]
[0113] [Figure 1] FIG. 1 is a block diagram of an image analysis system. [Diagram 2] FIG. 1 is a flow diagram of an image analysis method for determining the biomedical condition of a tissue sample. [Diagram 3] Images of three tumor tissue samples with different degrees of immune cell infiltration and a schematic of individual cell distribution are shown. [Figure 4] FIG. 3 shows the immune cell and tumor cell densities of the three tissue samples, respectively. [Diagram 5]1 shows the use of radius to define spatial cell neighborhoods and to calculate the relative distribution of cells of different cell types. [Figure 6] The observed relative distributions obtained from images showing "invaded" and "excluded" invasion states are shown. [Figure 7] Shown are two 2D plots containing the observed relative distribution, the reference relative distribution, the confidence bands, and the "delta" used as the proximity score. [Figure 8] 13 shows an alternative, area-based analysis of the 2D plot to determine the "delta" used as the proximity score. [Figure 9] Fluorescence images of two tumor tissue samples with "excluded" or "infiltrated" immune cell infiltration status are shown. [Figure 10] A 2D score plot containing a cluster of combination scores is shown, where each combination score represents one representative from multiple different tissue samples. [Figure 11] 1 shows a logarithmic 2D score plot with points representing combined score values obtained from multiple patients. [Figure 12] FIG. 1 shows a logarithmic 2D score plot with pairwise connected points representing combined score values obtained from multiple patients before and after treatment. [Figure 13] A logarithmic 2D score plot containing three clusters of combined scores obtained from multiple patients is shown. [Figure 14] A logarithmic 2D score plot containing five clusters of combined scores obtained from multiple patients is shown. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0114] FIG. 1 is a block diagram of an image analysis system 100 according to an embodiment of the present invention. The system comprises one or more processors 104, a main memory 106, and a non-volatile storage medium 108. The storage medium includes one or more application programs or modules 110, 114, 112, 116, 120, 122 configured to perform one or more data processing tasks, such as automatic detection of cells of different cell types (module 110), measurement of cell-cell distances (module 112), simulation of cell distribution at a given density (module 116), plotting various scores and curves (module 122), calculation of proximity scores and combination scores (module 120), and automatic detection or prediction of a biomedical state of a tissue sample based on the combination scores (module 114). The various modules can be combined in any manner in one or more application programs. For example, the functions provided by the modules can be combined in a single application program. Alternatively, some functions can be implemented by separate application programs. For example, simulation of a given distribution can be performed by a mathematical program such as R, distance calculations can be performed by interaction with or within a spatial DBMS, and identification of cells of a particular cell type can be implemented by digital pathology image analysis software.
[0115] The storage medium 108, e.g., an electromagnetic hard disk drive, may contain one or more digital pathology images 118, each representative of a tissue sample. For example, the digital images 118 may be monochrome images or multi-channel images. For example, the images 118 may be RGB images. The images 118 may be bright field microscopy images or fluorescent images. Typically, the images are multi-channel images obtained by fluorescent microscopy from tissue samples stained with dyes specific for one or more biomarkers having different colors.
[0116] The cell type detection module may be configured to automatically detect tumor cells and immune cells, and to store the location and type of the automatically detected cells in a spatial database. Identification of cells and respective cell types may perform connected component analysis and edge detection routines to identify pixel blobs representing cells. Information coded in color or other image features can be used to identify cell types. Color information coded in the digital image 118 typically indicates a particular biomarker or a particular set of biomarkers. For example, a particular set of cytokeratins may be stained with an appropriate antibody that binds to a fluorescent dye or a colored dye. A plurality of monochrome images 118 may be obtained from a multispectral fluorescence image of a particular tissue sample by applying a color deconvolution algorithm.
[0117] For example, cells that express a specific tumor or proliferation marker that does not express an immune cell specific marker may be considered tumor cells. Cells that express an immune cell specific marker, such as CD8A, may be identified as immune cells.
[0118] According to another example, the primary antibody Anti-Pan Keratin "AE1 / AE3 / PCK26" from Ventana Medical Systems can be used to stain poorly differentiated malignant tumors. The set of anti-Pan keratin antibodies "AE1 / AE3 / PCK26" specifically binds to an antigen located in the cytoplasm of simple and complex epithelial cells. It is a mouse monoclonal antibody cocktail raised against epitopes found in human epidermal keratins reported by Woodcock-Mitchell et al. This antibody cocktail reacts with 56.5 kD, 50 kD, 50' kD, 48 kD and 40 kD cytokeratins of the acidic subfamily and 65-67 kD, 64 kD, 59 kD, 58 kD, 56 kD and 52 kD cytokeratins of the basic subfamily.
[0119] According to an embodiment, one or more digital images 118 are generated by a color deconvolution algorithm or are stored directly on a storage medium after acquiring them by a camera or other image acquisition device. The image analysis system may optionally include an image acquisition device, such as a camera (not shown).
[0120] Additionally, the system 100 is coupled to or includes a display 102, such as an LCD display, which is used to display digital images 118 of various patient tissue samples, to display various plots including density, relative distribution and combined score values, and / or to display the results of cluster analyses of biomedical tissue conditions that have been automatically identified by the combined scores obtained from particular tissue samples.
[0121] FIG. 2 is a flow diagram of an image analysis method for determining the biomedical state of a tissue sample. The method is described below using tumor cells and immune cells as examples of different cell types, and the immune cell infiltration state of the tumor tissue sample as the automatically determined biomedical tissue state. The method may allow for the automatic stratification of patients with respect to their potential response to immunotherapy using image analysis with spatial information. However, this is only one example of how the calculation of the combination score described herein can be used in the context of biology and medicine from the relative distribution of two different cell types to quickly, automatically, and accurately determine the biomedical state of a particular tissue. The difference in the distribution of the two cell types from the expected reference distribution can be used to determine and subclassify many other diseases or physiological conditions, and / or to identify appropriate treatment modalities or drugs.
[0122] The method may be implemented in, and for example performed by, the image analysis system 100 shown in Figure 1. In a first step 202, the image analysis system 100 receives a digital image of a tissue sample. For example, the digital image may be received directly from an image acquisition device, such as a microscope, or may be received over a network, such as the Internet, or may be read from a non-volatile storage medium 108.
[0123] Next, in step 204, the image analysis system analyzes the received image to identify the number and location of type A cells (e.g., tumor cells) and type B cells (e.g., immune cells) observed in the region of the received image. Image analysis may include application of various image processing and analysis techniques such as color deconvolution, image segmentation, blob detection, connected component analysis, feature extraction, future clustering, etc.
[0124] Next, in step 206, the image analysis system analyzes the location of type A and type B cells in the region to obtain an observed relative distribution, which indicates the observed distance between type A cells and type B cells in the region. Additionally, the image analysis system determines the density of observed tumor cells and immune cells, respectively, in the image region.
[0125] Next, in step 208, the image analysis system obtains a reference relative distribution. The reference relative distribution can be obtained, for example, by performing multiple simulations to generate expected distributions of tumor cells and immune cells, respectively, and determining the distance between the different types of simulated cells. The expected distribution can in particular be a random distribution, for example a Poisson distribution, which assumes the same density of tumor cells and immune cells as observed in the image area.
[0126] Next, in step 210, a proximity score is calculated as the difference between the reference relative distribution and the observed relative distribution. As used herein, the phrase "calculating the difference between the reference relative distribution and the observed relative distribution" means that a proximity score is calculated as a function of the observed and relative distributions, where the function includes at least one operation of calculating the difference between one or more "observed" distances coded in the observed relative distribution and one or more "reference" distances coded in the reference relative distribution.
[0127] Next, in step 212, the image analysis system combines the proximity score with the immune cell density measured in the received digital image 118 to obtain a "combined score."
[0128] The image analysis system then uses the combination score to automatically determine the biomedical status of the tissue sample, such as a particular invasion status, in step 214. Additionally or alternatively, the image analysis system displays the resulting combination score for the tissue sample to a user on the image analysis system's display 102 in step 216, thereby allowing the user to visually cleanse the current biomedical status of the tissue and draw conclusions accordingly regarding disease progression and appropriate treatment options. For example, the combination score for the tissue sample can be represented as a data point in a 2-D score plot as shown in Figures 9, 10-13.
[0129] According to a preferred embodiment, the observed relative distribution and the reference relative distribution are calculated using Ripley's K function.
[0130] According to alternative embodiments, a simpler approach can also be used. For example, the image analysis system 100 can receive 202 a digital image 118 of a tissue sample. The image analysis system analyzes 204 the received image and identifies CD8+ immune cells and Ki-67+ tumor cells in the image or in a particular sub-region of the image. For example, the sub-region can be an image tile of a predefined size or an automatically detected tumor tissue region. For each identified tumor cell, the image analysis system determines 206 the distance of its recent immune cells from the tumor cell. After the distances of all tumor cells from their respective recent immune cells have been determined, the totality of the distances can correspond to and represent the "observed relative distribution" of the tumor cells and immune cells in the tissue. In a next step, the identified densities of tumor cells and immune cells in the image or in the tumor tissue region are determined and used to simulate a Poisson distribution of simulated tumor cells and simulated immune cells, respectively. Thereby, the densities of the simulated tumor cells and simulated immune cells are identical to the observed densities of the tumor cells and immune cells in the tissue. The distance of each of those respective recent simulated immune cells from all simulated tumor cells is then determined 208 and represented as the "reference relative distribution". A proximity score is then calculated 210 as a function of the determined distances. For example, the distance at which on average every tumor cell contains one immune cell in its neighborhood can be determined for both the observed relative distribution and the reference relative distribution, and the difference between these two can be used as the proximity score. The image analysis system then provides a combined score 212 including the proximity score and the immune cell density observed in the image 118, and uses the combined score 214 to automatically determine the biomedical state of the tissue (e.g., infiltration state) and / or to display the combined score 216 on the display 102 of the image analysis system, e.g., on a 2-D score plot as shown in Figures 9, 10-13, to allow a user to visually assess the current biomedical state of the tissue sample.
[0131] FIG. 3 shows images of three tumor tissue samples with different degrees of immune cell infiltration and a schematic diagram of individual cell distribution.
[0132] Image 302 shows a digital pathology image of tumor tissue with an "infiltrated" state, i.e. the tumor tissue is densely infiltrated with immune cells. The relative spatial distribution of immune cells (triangles) and tumor cells (dots) in the "infiltrated" tumor tissue is shown in the schematic diagram 308 below.
[0133] Image 304 shows a digital pathology image of tumor tissue with a "cleared" state, i.e. the tumor has created a kind of "border" that prevents immune cells from migrating to the tumor cells. The relative spatial distribution of immune cells and the relative spatial distribution of tumor cells in the "cleared" tumor tissue is shown in the schematic diagram 310 below.
[0134] Image 306 shows a digital pathology image of tumor tissue with a "depleted" / "desired" state, i.e. the tumor tissue is essentially free of immune cells. The relative spatial distribution of immune cells and the relative spatial distribution of tumor cells in the "depleted" tumor tissue is shown in the schematic diagram 312 below.
[0135] The three images and distributions shown are clearly representative of the three different biomedical states described above. However, in most cases, tissue samples fall somewhere between the two different states. As a result, currently available methods are not capable of providing a reliable, objective, and reproducible method for determining the biomedical state of tissue samples that do not fall clearly into one of the three categories.
[0136] Figure 4 shows the immune cell and tumor cell densities, respectively, of the three tissue samples of Figure 3. Additionally, Figure 4 includes plots 402, 404, 406 showing the immune cell density (CD8A+) and tumor cell density (Ki-67+) for each condition. This figure shows that immune cell density is an important prognostic parameter for distinguishing "depleted" tissue from the other two tissue types, but is insufficient to distinguish between "excluded" and "invaded" tissue samples.
[0137] FIG. 5 illustrates the use of radii to define spatial cell neighborhoods and to calculate the relative distribution of cells of different cell types. The image shows six tumor cells 504, indicated by small circles, and a number of immune cells, indicated by small triangles. To obtain the observed relative distribution between immune cells and tumor cells in the image, each identified tumor cell is used as the center of a circle with radius r. The radius r defines the circle neighborhood. By stepwise increasing the radius of the circle around the tumor cell and counting the number of immune cells contained in each created circle, a cumulative measurement of the number of immune cells around the tumor cell can be obtained. The number of steps and the respective radii can be freely selected as a compromise between the consumption of computational resources and accuracy. For example, each step may increase the radius by 1 μm, or 5 μm, or 10 μm, etc. The relationship between each radius and the number of immune cells counted in the circle neighborhood defined by the radius can be represented by a variety of different mathematical expressions and distributions. Preferably, Ripley's K function is used to describe the relative spatial distribution of immune cells and tumor cells obtained by stepwise increasing the radius.
[0138] FIG. 6 shows the observed relative distribution obtained from images showing the "invaded" and "excluded" invaded states. The top part of FIG. 6 shows the scheme of the spatial distribution of immune and tumor cells already shown and explained in FIG. 3. The bottom part of FIG. 6 shows plots 602, 604, 606, respectively, with the y-axis representing the result of Ripley's K function K(r) and the x-axis representing the radius (increased stepwise). In the example shown, the radius increases by 1 μm. Thus, one data point is obtained for every micrometer of the x-axis. The curves in the plots are obtained by curve fitting of the obtained data points in the plots. As can be seen in the invaded case, the results obtained by Ripley's K function are positively correlated with the increase in radius r. However, in the "excluded" case, there is almost no increase in K(r) with increasing r. In the "excluded" case, there is a slight increase in K(r) with increasing r. Thus, although the relative spatial distribution may not always be sufficient to distinguish between the excluded and the depleted states, it is possible to clearly distinguish between the excluded or depleted and the invaded states. Thus, the combination of proximity scores that code for differences in relative spatial distribution and density information may allow for unambiguous identification of the current biomedical state of tissues across a complex continuum.
[0139] FIG. 7A shows a 2D plot 702 in which the y-axis represents the number of immune cells observed in a circular vicinity around a tumor cell defined by the circle radius r, and the x-axis represents the radius r.
[0140] A first plot 702 shows the observed mean number of immune cells within a circle of radius r around tumor cells of different radii in tissue samples having an "invaded" state. Curve 706 represents the observed relative distribution and was obtained by curve fitting of each data point in plot 702.
[0141] A second plot 704 shows the observed average number of immune cells within a circle of radius r around tumor cells of different radii in tissue samples with a "removed" state. Curve 708 represents the observed relative distribution and was obtained by curve fitting of each data point in plot 704.
[0142] FIG. 7B shows 2D plots 702, 704 supplemented with additional information.
[0143] The plot 702 was supplemented with an average reference relative distribution 714. The average reference relative distribution was obtained by generating a plurality (e.g., 40) of initial reference relative distributions. Each initial relative distribution is calculated by simulating a Poisson distribution of simulated tumor cells having the same cell density as the observed tumor cells, by simulating a Poisson distribution of simulated immune cells having the same cell density as the observed immune cells, and by determining a distance measurement (e.g., immune cell counts obtained in a circular vicinity of tumor cells using radius r) that provides information about the relative spatial distribution of immune cells and tumor cells. For each of the investigated radii (r=1 μm, 2 μm, ..., 98 μm, 99 μm, 100 μm) and for each of the 40 simulations, the average number of immune cells in a circle of radius r around the tumor cells is determined. Then, for each of the investigated radii, the minimum, average, and maximum number of immune cells in a circle of radius r around the tumor cells are determined. The average numbers are plotted as data points to generate a curve 714 based on a curve fit. The curve 714 represents a reference relative distribution based on the simulation. The minimum number is plotted for each r data point to generate a lower edge of a confidence band 716 by curve fitting the data points. The maximum number is plotted for each r data point to generate an upper edge of a confidence band 716 by curve fitting the data points. The confidence band 716 represents the region within which any observed relative distribution is assumed not to differ significantly from the reference relative distribution 714.
[0144] "Delta=19" is the proximity score obtained by identifying a first point RP in the reference relative distribution 714 where the average number of immune cells in the tumor cell environment is "1", by identifying a second point OP in the observed relative distribution 706 where the average number of immune cells in the round tumor cell environment is "1", and by subtracting the x-values (radius) of the first and second points. The resulting difference ("radius delta" or "distance delta") is used as the proximity score of the tissue sample. The user can easily infer from the fact that the second point OP is outside the confidence band 716 that the observed relative distribution 706 is significantly different from the expected / reference relative distribution 714.
[0145] Plot 704 was supplemented with an average reference relative distribution 710. The average reference relative distribution was obtained by generating a plurality (e.g., 40) of initial reference relative distributions. Each initial relative distribution is calculated by simulating a Poisson distribution of simulated tumor cells having the same cell density as the observed tumor cells of the tissue represented in plot 704 as described above for plot 702. Curve 710 represents the reference relative distribution based on the simulation. A minimum number is plotted for each r data point to generate a lower edge of a confidence band 712 by curve fitting the data points. A maximum number is plotted for each r data point to generate an upper edge of a confidence band 712 by curve fitting the data points. The confidence band 712 represents a region within which any observed relative distribution is assumed not to be significantly different from the reference relative distribution 710.
[0146] "Delta = 32" is a proximity score obtained by identifying a first point RP in a reference relative distribution 710 where the average number of immune cells in a tumor cell environment is "1", identifying a second point OP in an observed relative distribution 708 where the average number of immune cells in a circular tumor cell environment is "1", and subtracting the x-values (radii) of the first and second points. The resulting difference ("delta in radius") is used as the proximity score for the tissue sample. From the fact that the second point OP is outside the confidence band 714, the user can easily infer that the observed relative distribution 708 is significantly different from the predicted / reference relative distribution 710.
[0147] Figure 8 shows a plot 750 which is a modified version of the plot 702 shown in Figure 7B. The plot 750 can be used to automatically or manually determine an alternative, region-based "delta" that is used as a proximity score.
[0148] The plot 750 shows an average reference relative distribution 714 and an observed relative distribution 706. Further, the plot 750 shows a first predetermined distance threshold t1 having a value of, for example, 10 - 20 μm, in this example 15 μm, and a second predetermined distance threshold t2 having a value of, for example, 30 - 40 μm, in this example 35 μm. The two thresholds t1, t2 each correspond to a reference line.
[0149] The two reference lines corresponding to t1 and t2, the baseline of "number of CD8# T cells < r = 0", and the observed relative distribution curve 706 define a first region that is graphically represented by a " / / / " hatching. For example, the vertical line 754 is the boundary of the first region defined by the second distance threshold t2.
[0150] The two reference lines corresponding to t1 and t2, the baseline of "number of CD8# T cells < r = 0", and the average reference relative distribution curve 714 define a second region that is graphically represented by a "\\\\" hatching. For example, the vertical line 752 is the boundary of the second region defined by the second distance threshold t2.
[0151] The area where the first and second regions overlap is indicated by shading "XXX."
[0152] Here, a "delta value" can be calculated as the difference or ratio of the size of the first region and the second region. This "delta value" (also called "region size delta") is used as the proximity score for the tissue sample. A user can easily infer that the observed relative distribution 706 is significantly different from the reference relative distribution 714 from the location of the curve section of curve 706 that is far outside the gray confidence band around curve 714.
[0153] FIG. 9 shows a fluorescent image 804 of a tumor tissue sample with an invasion status of “excluded” and a fluorescent image 806 of a tumor tissue sample with an invasion status of “invaded”. Tumor samples from clinical trials were formalin fixed, cut into 2.5 μm thick sections, and stained with dual chromogenic assays for CD8 and Ki-67. The stained slides were scanned, imported into a digital pathology form, and manually annotated by a pathologist to identify tumor regions, normal tissue regions, and necrotic regions. Areas with artifacts were excluded. The images were subjected to automated whole-slide image analysis using software logic adapted to automatically detect CD8-Ki-67 double positive cells, CD8 negative Ki-67 negative T cells, and Ki-67 positive and CD8 negative tumor cells. The accuracy of the detection was checked by a pathologist before entering the results into a database. Only objects detected in the annotated regions of the tumor were used for further analysis. The densities of CD8+ T cells, CD8+ / Ki-67+ cells, CD8+ / Ki-67- cells and CD8- / Ki-67+ tumor cells were calculated. This type of fluorescence image can be used to stratify patients, as shown in the following figure.
[0154] Figure 10 shows a 2D score plot containing 80 combined scores divided into three groups, each representing a representative one of 80 different patients from whom tissue samples were taken.
[0155] The x-axis of the 2-D score plot 902 represents the logarithm of the density of immune cells (CD8A+ cells). The y-axis represents the proximity score. Cluster 906 represents tumor tissues that are "infiltrated" with immune cells. Cluster 908 represents tumor tissues that are determined to have an "exhausted" infiltration state. Cluster 910 represents tumor tissues that are determined to have an "excluded" infiltration state. As can be inferred from the 2-D score plot, the density of immune cells is an important parameter for distinguishing between infiltrated and depleted tissue samples. However, density alone may not be sufficient to distinguish between "infiltrated" and "excluded" tissue samples. However, the further dimension (y-axis) representing the proximity score distinguishes between "excluded" and "infiltrated" tumor samples.
[0156] The thick line 904 indicates that a combination of immune cell density and proximity scores may allow for improved discrimination of biological tissue states over density information alone.
[0157] Figure 11 shows a logarithmic 2D score plot with points representing combined score values obtained from multiple patients. In general, it can be inferred that an increase in immune cell density correlates with an increase in immune cell and tumor cell engagement. However, there are large differences between different patients and even between different tissue samples of the same patient. These differences may be used to determine the current biomedical state of the tissue and to identify appropriate treatment options.
[0158] FIG. 12 shows a logarithmic 2D score plot with pairwise connected points representing combined score values obtained from multiple patients before and after treatment. Each of the two data points connected by an arrow represents the combined score of a tissue sample obtained from a patient before the patient is treated with a drug, and the combined score of another sample obtained from the same patient several days or weeks after the patient is treated with the drug. For example, the drug may be a drug that enhances the immune system. The drug may be a drug that is applied during immunotherapy of the patient.
[0159] From the plots, it can be inferred that in response to treatment of patients with a particular drug, the engagement of immune cells and tumor cells increased significantly in almost all patients (most of the arrows point upwards in the plots). Furthermore, the density of immune cells increased in almost all patients in response to application of the drug (most of the arrows point from left to right). However, some patients showed no response or even a decrease in immune cell number and / or immune cell-tumor engagement.
[0160] Thus, by repeating the combined score over time from one or many patients, it becomes possible to detect trends in disease progression or other physiological conditions. In many cases, the mechanisms caused by biology are reflected in tissues as relative changes in the distribution of different cell types. Applicant has observed that the relative changes in distribution between tumor cells and immune cells, in addition to immune cell density, provide meaningful information about where the patient is in the tumor elimination-equilibrium-escape balance, as well as an indication of the direction of the process over time towards more elimination or more escape.
[0161] FIG. 13 shows a logarithmic 2D score plot containing the combined score values obtained from multiple patients. The patients are grouped into three clusters based on the location of their respective combined score values in the plot. The combined scores therefore allow the invasive status of a particular patient's tumor to be mapped onto a continuous scale representing different invasive statuses of the tumor. The samples and patients can be grouped into three different clusters, although more detailed classifications are also possible, as shown in FIG. 14. Cluster 972 represents the "invasive" status, cluster 974 represents the "elimination" status, and cluster 976 represents the "exhaustion" status.
[0162] Figure 14 shows a logarithmic 2D score plot containing five clusters of combined scores obtained from multiple patients. In addition to the three different biomedical conditions represented by each cluster in Figure 13, Figure 14 further includes combined score clusters for "marginally inflamed" and "moderately inflamed" conditions.
Claims
1. 1. An image analysis method for determining a biomedical condition of a tissue sample, implemented by an image analysis system (100), comprising: - receiving (202) a digital image (118) of a tissue sample; - analyzing (204) the received image to identify the number and location of type A cells (504) and type B cells (506) observed in an area of the received image, where types A and B are different cell types; - analysing (206) the locations of type A and type B cells in the region to obtain an observed relative distribution (708, 706), the observed relative distribution indicating the observed distance between type A cells and type B cells in the region; - obtaining (208) a reference relative distribution (710, 714), the reference relative distribution indicating the expected distance between a reference type A cell and a reference type B cell; - calculating (210) a proximity score (718, 720) as the difference between the reference relative distribution and the observed relative distribution; - calculating (212) a combination score (912), the combination score including the proximity score and including the density of type A cells and / or the density of type B cells; - using the combined score to determine the biomedical state of the tissue sample (214) and / or outputting the combined score to a user to enable the user to determine the biomedical state of the tissue sample (216); A method comprising:
2. Observation relative distribution can be obtained as follows: For each identified type A cell observed in the image field: a) selecting said type A cell as the center of a circle having a radius of 0; b) increasing the radius by one step to produce an increased cycle; c) determining the number of B type cells contained in the cycles produced in step b); d) storing in a storage medium the current radius of the circle associated with the number of type B cells determined in step b) and repeating steps b), c) and d) until a termination criterion is reached; e) selecting an unselected one of the type A cells and continuing a) using said newly selected type A cell until all type A cells have been selected; - Providing the relative radius and number of observed B-cells as the observed relative distribution 2. The image analysis method of claim 1, comprising:
3. The observed relative distribution is as, or is calculated as the derivative of but the following: [ - In the formula, is the bivariate replay K(t) function, where i is the occurrence of the object type "observed type A cell"; where j is the occurrence of the object type "observed B-cells"; - During the ceremony, is the density of observed B cells (number per image area); - During the ceremony, is the total number of observed type A cells identified within the image region; - During the ceremony, is the total number of observed B cells identified within the image region; - During the ceremony, is a cell that is an observed type A cell; where r is the stepwise increasing radius located at the center of the observed A-type cell; - t is u, r, and , which is a function of u, and counts the number of observed type B cells in a circle of radius r around observed type A cells u in the image region; - During the ceremony, means "over all u's that are observed type A cells"; where E is the expectation of t obtained over all u.
3. The image analysis method according to claim 1, wherein the image is calculated according to:
4. Obtaining a reference relative distribution (208) may include the following: - simulating by a computer a distribution of simulated reference type A cells in the region, where the number of simulated reference type A cells is the same as the identified number of observed type A cells in the image region; - simulating by a computer a distribution of simulated reference type B cells in the region, where the number of simulated reference type B cells is the same as the identified number of observed type B cells in the image region; - calculating a reference relative distribution as a function of the computer-simulated distribution of reference type A and reference type B cells, the reference relative distribution indicating the distance between the simulated reference type A cells and the simulated reference type B cells in the region; The method according to any one of claims 1 to 3, comprising:
5. 5. The image analysis method of claim 4, wherein the distribution of the simulated reference type A cells is a Poisson distribution and the distribution of the simulated reference type B cells is a Poisson distribution.
6. Calculating a reference relative distribution as a function of the computer-simulated distribution of reference type A and reference type B cells comprises: For each of the randomly distributed simulated reference type A cells: a) selecting the simulated reference type A cell as the center of a circle having a radius of 0; b) increasing the radius by one step to produce an increased cycle; c) determining the number of simulated reference B cells contained in the cycles generated in step b); d) storing in a storage medium the current radius of the circle associated with the number of simulated reference B-cells determined in step b) and repeating steps b), c) and d) until a termination criterion is reached; and e) selecting an unselected one of the simulated reference type A cells and continuing step a) using said newly selected simulated reference type A cell until all simulated reference type A cells have been selected. - Providing the associated radius and number of simulated reference B-cells as a reference relative distribution 6. The image analysis method according to claim 4 or 5, comprising:
7. The reference relative distribution is as, or is calculated as the derivative of but the following: [ - In the formula, is the bivariate replay K(t) function, where i is the occurrence of the object type "simulated reference type A cell"; where j is the occurrence of the object type "simulated reference B cell"; - During the ceremony, is the simulated density of reference B cells (number per image area); - During the ceremony, is the total number of simulated reference type A cells in the image region; - During the ceremony, is the total number of simulated reference B cells in the image region; - During the ceremony, is a cell that is a simulated reference type A cell; where r is the stepwise increasing radius located at the center of the simulated reference A-type cell; - t is u, r, and , which is a function of u, and counts the number of simulated reference type B cells in a circle of radius r around a simulated reference type A cell u in the image region; - During the ceremony, means "over all of the simulated reference A-type cells, u"; where E is the expectation of t obtained over all u.
7. The image analysis method according to claim 4, wherein the image is calculated according to:
8. below: - calculating a number of initial reference relative distributions according to any one of claims 4 to 7; - calculating an average reference relative distribution from a plurality of initial reference relative distributions; and - Using the average reference relative distribution as the reference relative distribution 8. The image analysis method according to claim 1 , further comprising:
9. Obtaining a reference relative distribution (208) may include the following: - receiving a respective further digital image of the one or more further tissue samples, where each further tissue sample is derived from tissue of a known biomedical state; - analyzing each received further image to identify the number and location of observed reference type A cells and observed reference type B cells observed in the area of the received further image; - analyzing the positions of observed reference type A and observed reference type B cells in the area of each further image to obtain a further observed relative distribution, the further observed relative distribution indicating the observed distance between the observed reference type A cells and the observed reference type B cells observed in the area of the further digital image; and - Using the observed reference relative distribution as the reference relative distribution The method according to any one of claims 1 to 3, comprising:
10. Calculating 210 the proximity score as the difference between the reference relative distribution and the observed relative distribution as follows: - providing a predetermined number representing a predetermined minimum number of B type cells; - within the observed relative distribution, the observed radius r o-最小 and identifying an observation radius r o-最小 Within the observed relative distribution, there is an observed radius r, which is the radius that defines a circle that, when drawn around each of the observed type A cells, contains, on average, a given number of observed type B cells. o-最小 Identifying; - Reference radius r within the reference relative distribution r-最小 and identifying a reference radius r r-最小 is a reference radius r within the reference relative distribution, which is a radius that, when drawn around each of the reference type A cells, defines a circle that contains, on average, a predetermined number of reference type B cells to provide a reference relative distribution. r-最小 Identifying; - Proximity score, observation radius r o-最小 and the reference radius r r-最小 , where the function is in particular the difference between the observation radius and the reference radius, o-最小 and the reference radius r r-最小 Calculate as a function of 10. The image analysis method according to claim 1 , comprising:
11. below: - graphically representing the observed relative distribution as an observed distribution curve in a 2D plot, the first dimension of which represents the radius r (Ro) and the second dimension of which represents the observed number of B-cells related to said radius; and displaying the 2D plot on a display device of the image analysis system; and / or - graphically representing the reference relative distribution as a reference distribution curve in a 2D plot, the first dimension of which represents the radius r (Rs) and the second dimension of which represents the number of reference B-type cells related to said radius; and displaying the 2D plot on a display device of the image analysis system.
11. The image analysis method according to claim 1, further comprising:
12. 12. The image analysis method according to claim 1, wherein the type A cells are tumor cells and the type B cells are immune cells.
13. 13. The image analysis of any one of claims 1 to 12, wherein the tissue sample is a tumour tissue sample and determining the biomedical state of the tissue sample comprises determining the infiltration state of the tumour tissue shown in areas of the received digital image that contain immune cells.
14. below: - graphically representing the combined scores as symbols in a score 2D plot, where a first dimension of the 2D plot represents the proximity score and a second dimension of the 2D plot represents the density of type B cells or type A cells; outputting (214) the 2D score plot on a display of the image analysis system to enable a human to determine the biomedical status of the tissue sample; and / or - determining a biomedical state of the tissue sample by the image analysis system by automatically identifying the biomedical state of the tissue sample within a limited set of predefined biomedical states or within a predefined continuous spectrum of biomedical states, and outputting the identified biomedical state as a determined biomedical state. The image analysis method according to any one of claims 1 to 13, further comprising:
15. below: - receiving digital images of tissue samples from each of a plurality of different patients; - calculating a combined score for each of the patients using each received image according to any one of claims 1 to 14; - graphically representing the biomedical condition of each patient on a 2D score plot by a symbol specific to each biomedical condition, the position of each patient's symbol in the plot depending on the B-cell density and proximity scores calculated for the patient; 15. The image analysis method of claim 14, further comprising:
16. The identified biomedical condition is: - "inflammation" refers to an immunological tissue state with a marked increase in immune cell density, indicating massive infiltration of immune cells into the tumor tissue in all compartments of the tumor; - "exclusion" refers to an immunological tissue state in which immune cells are present in the tissue sample but are prevented from coming into close contact with the tumor cells, thereby concentrating them at the invasive margin and / or intratumoral stroma but separated from the tumor cells; - "Depleted" refers to an immunological tissue state in which immune cells in the tumor tissue area have zero or close to zero cell density 16. The image analysis method according to any one of claims 1 to 15, selected from the group comprising:
17. below: - if the tissue sample is classified as tumor infiltration type "inflammation", outputting, via the user interface, a treatment recommendation for prescribing a drug acting as a checkpoint inhibitor, e.g. anti-PD-L1 / PD-1, CTL4; outputting, via a user interface, a treatment recommendation for prescribing a drug adapted to attract immune cells close to the tumor cells, if the tissue sample is classified as a tumor infiltration type "exclusion"; - if the tissue sample is classified as "exhausted" in the tumor infiltration state, outputting, via the user interface, a treatment recommendation to prescribe a drug adapted to boost the immune system in general, for example IL-2; 17. The image analysis method of claim 1, further comprising:
18. 18. The image analysis method of claim 1 , wherein the density of the reference type A cells is the same as the density of type A cells observed in the image area, and the density of the reference type B cells is the same as the density of type B cells observed in the image area.
19. 1. A method for determining the effectiveness of a drug for treating a particular type of cancer, comprising: - receiving a plurality of first digital images, each first image showing a tissue sample of an individual organism having a particular type of cancer before said organism has been treated with a drug; - calculating from each image region of the first digital image a first combination score according to any one of the preceding claims, wherein the biomedical condition is an immune cell infiltration condition of a tumor, type A cells being tumor cells and type B cells being cancer cells; - receiving a plurality of second digital images, each second image showing a tissue sample of an individual organism having a particular type of cancer before said organism has been treated with a drug; - calculating from each image region of the second digital image a second combination score according to any one of the preceding claims, wherein the biomedical condition is a tumor infiltration condition, the type A cells are tumor cells and the type B cells are cancer cells; - displaying a 2D score plot on a display device, wherein each first combination score is represented by a first symbol in the 2D score plot and each second combination score is represented by a second symbol in the 2D score plot, the position of the first and second symbols in the plot being dependent on the immune cell density observed in the image region of the respective image and a proximity score calculated for the image region of the respective image, and wherein first and second symbols representing the same organism are visually linked in the 2D score plot from any one of the first symbols to its individually linked second symbol in order to visualize any shift in x and / or y coordinates. A method comprising:
20. 20. A storage medium comprising computer-interpretable instructions which, when executed by a processor, cause the processor to perform the image analysis method of any one of claims 1 to 19.
21. 1. An image analysis system (100) for determining a biomedical condition of a tissue sample, comprising: - receiving (202) a digital image (118) of a tissue sample; - analyzing the received image to identify (204) the number and location of type A cells (604) and type B cells observed in an area of the received image, where types A and B are different cell types; - analysing (206) the locations of type A and type B cells in the region to obtain an observed relative distribution, the observed relative distribution indicating the observed distance between type A cells and type B cells in the region; - obtaining a reference relative distribution (208), the reference relative distribution indicating the expected distance between reference type A cells and reference type B cells; - calculating (210) a proximity score as the difference between the reference relative distribution and the observed relative distribution; - calculating a combination score (212), the combination score including a proximity score and including a density of type A cells and / or a density of type B cells; - using the combined score to determine the biomedical state of the tissue sample (214) and / or outputting the combined score to a user to enable the user to determine the biomedical state of the tissue sample (216); A system including a processor and computer-interpretable instructions configured to execute instructions for performing a method including:
22. 1. A data processing system for determining a biomedical state of a tissue sample, the system comprising a spatial DBMS and an application program; The spatial DBMS is: - observation space data, comprising positions of type A cells (604) and type B cells observed in a region of the digital image (118) of the tissue sample, where types A and B are different cell types; - reference spatial data, comprising the positions of reference type A cells and reference type B cells; Including, The application programs are: - analyzing the observed spatial data to obtain an observed relative distribution, the observed relative distribution indicating observed distances between type A cells and type B cells in the region, where the application program is configured to use spatial operations provided by the spatial DBMS to calculate the observed distances; - analyzing the reference spatial data to obtain a reference relative distribution, the reference relative distribution indicating an expected distance between an identified number of reference type A cells and reference type B cells in the region, where the application program is configured to use spatial operations provided by the spatial DBMS to calculate the expected distance; - calculating (210) a proximity score as the difference between the reference relative distribution and the observed relative distribution; - calculating a combination score (212), the combination score including a proximity score and including a density of type A cells and / or a density of type B cells; - using the combined score to determine the biomedical state of the tissue sample (214) and / or outputting the combined score to a user to enable the user to determine the biomedical state of the tissue sample (216); is configured to Data processing system.
