Artificial intelligence segmentation of tissue image

The multi-tile analysis with a multi-resolution FCN addresses inefficiencies in traditional AI methods for histology slide analysis, enhancing efficiency and accuracy in cancer diagnosis by reducing computational redundancy and providing objective tissue and cell classification.

JP2024138043AInactive Publication Date: 2024-10-07TEMPUS AI INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024114901
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2018-12-31
Filing Date
2024-07-18
Publication Date
2024-10-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Manual analysis of histology slides for cancer diagnosis is time-consuming and subjective, with traditional AI methods like CNNs and FCNs facing inefficiencies due to redundant calculations and high computational requirements for pixel-level classification.

Method used

A method utilizing a multi-tile analysis approach with a multi-resolution fully convolutional network (FCN) to classify tissue regions and cellular objects in histology slides, generating digital overlay maps for accurate tissue and cell classification, reducing computational redundancy by analyzing tiles in context with their surroundings.

Benefits of technology

Enhances the efficiency and accuracy of tissue and cell classification in histology slides, providing quantitative and objective analysis for cancer diagnosis, aiding in treatment decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024138043000001_ABST
    Figure 2024138043000001_ABST
Patent Text Reader

Abstract

To provide a technique for generating an overlay map onto a digital medical image on a slide, including cell detection and tissue classification processes.SOLUTION: A technique of the present invention includes the steps of: receiving a medical image; separating the image into tiles; and executing a tile classification and a tissue classification on the basis of a multi-tile analysis. The technique further includes the steps of: identifying a cell object in the image; separating the image; and displaying a polygon identifying the cell object and a cell classification. A generated display may be overlaid on an initial digital image.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of priority under 35 U.S.C. §119(e)(1) to, and claims the benefit of the filing date of, U.S. Provisional Patent Application No. 62 / 787,047, filed December 31, 2018, the entire disclosure of which is incorporated herein by reference.

[0002] The present disclosure relates to techniques for the analysis of medical images, and more particularly, to techniques for the analysis of histological slides or other images of cancerous tissue. [Background technology]

[0003] The description of the background art provided herein is for the purpose of generally presenting the context of the present disclosure. The work of the presently named inventors to the extent described in this background art section, and aspects of the description that may not otherwise be considered prior art at the time of filing, are not admitted, expressly or impliedly, as prior art to the present disclosure.

[0004] It is common to extract and examine tumor samples from patients to guide medical professionals in the diagnosis, prognosis, and treatment evaluation of a patient's cancer. Visual inspection can reveal the growth pattern of cancer cells within the tumor in relation to nearby healthy cells, and the presence of immune cells within the tumor. A pathologist, a member of a pathology team, other trained medical professionals, or other human analysts visually analyze thin slices of tumor tissue mounted on glass microscope slides to classify each area of ​​tissue as one of many tissue classes present in the tumor sample. This information helps the pathologist determine the characteristics of the patient's cancer tumor and may aid in treatment decisions. Pathologists often assign one or more numerical scores to the slide based on their visual approximation. Numerical scores assigned during microscope slide analysis include tumor purity, which is the percentage of tissue formed by tumor cells.

[0005] Tumor characteristics include tumor grade, tumor purity, the degree of tumor invasiveness, the degree of immune infiltration of the tumor, the stage of the cancer, and the anatomical site of origin of the tumor, which are particularly important in the diagnosis and treatment of metastatic tumors. These details about the cancer can help doctors monitor the progression of the cancer within a patient and predict which anti-cancer treatments are likely to be successful in eliminating cancer cells from the patient's body.

[0006] Manual analysis of microscope slides is time consuming and requires trained medical professionals. Furthermore, numerical scores are assigned approximately, meaning that these scores are subjective and not quantitative.

[0007] High-resolution digital images of microscope slides allow artificial intelligence to be used to analyze the slides and classify tissue components into tissue classes.

[0008] A Convolutional Neural Network ("CNN") is a deep learning algorithm that analyzes digital images by assigning a single class label to each input image. However, slides contain multiple types of tissues, including boundaries between adjacent tissue classes. To study the boundaries between adjacent tissue classes and the presence of immune cells among tumor cells, it is necessary to classify partially distinct regions as different tissue classes. For a traditional CNN to assign multiple tissue classes to a single slide image, the CNN must process each section of the image separately that requires the assignment of a tissue class label. Because adjacent sections of an image overlap, processing each section separately creates a lot of redundant calculations, which is time consuming.

[0009] Fully Convolutional Networks (FCNs) are more useful for analyzing images that represent objects with multiple classifications because FCNs can analyze an image and assign a classification label to each pixel in the image. FCNs generate an overlay map that shows the location of each classified object in the original image. However, FCN deep learning algorithms that analyze digital slides require training on a dataset of images where each pixel is labeled as a tissue class, which requires too much annotation and processing time to be practical. In a digital image of a slide, each edge of the image may exceed 10,000-100,000 pixels. A complete image may contain at least 10,000^2-100,000^2 pixels, which requires a large amount of computation and therefore increases the running time of the algorithm. Due to the large number of pixels, it is not possible to segment digital images of slides using traditional FCNs. Summary of the Invention

[0010] According to one example, a method for creating an overlay map on a digital image of a slide includes receiving the digital image, separating the digital image into a plurality of tiles, and identifying a majority class of tissue visible within each tile of the plurality of tiles based on a multi-tile analysis.

[0011] In some examples, the method includes generating a digital overlay drawing of the outer edge of each cell in the image.

[0012] In some instances, the digital overlay drawing is produced at a resolution level of individual pixels.

[0013] According to another example, a method for tissue classification of a digital image of a slide includes receiving the digital image, generating a digital overlay drawing of a tissue region in the digital image, and displaying tiles in the digital overlay drawing over the tissue region and visually identifying the predicted content of each tile to generate a classification map that classifies the digital image.

[0014] In some examples, the method further includes determining a predicted content of each tile using the classification model configured as a multi-resolution fully convolutional network, the multi-resolution fully convolutional network configured to perform classification on digital images at different zoom levels.

[0015] In some examples, the method further includes determining, for each tile, a classification from the multiple classifications using the classification model.

[0016] In some instances, the multiple classifications include tumor epithelium, normal epithelium, immune, stromal, necrotic, blood, and fat.

[0017] According to yet another example, a method for cell detection in a digital image of a slide includes receiving a digital image, identifying cell objects within the digital image, generating a digital overlay drawing of the digital image, and displaying in the digital overlay drawing a polygon outlining each of the identified cell objects.

[0018] In some instances, the cell objects include lymphocyte cells and are not lymphocyte cells.

[0019] In some instances, the cellular objects include CD3, CD8, CD20, pancytokeratin, and smooth muscle actin.

[0020] According to yet another example, a method for tissue classification of a digital image of a slide includes receiving a digital image, dividing the digital image into a plurality of tiles, determining a predicted class for each tile, identifying a plurality of cell objects within the digital image, determining a predicted class for each of the plurality of cell objects, and for each of a plurality of tiles corresponding to one of the plurality of cell objects, assigning the predicted class of the corresponding cell object to the tile in place of the predicted class of the tile.

[0021] In some examples, the method further includes, for each tile, storing in a first file the location of the tile and the predicted class of the tile, and, for each cell object, storing in a second file a polygon outlining the cell object and the predicted class of the cell object.

[0022] In some examples, the method further includes generating a digital overlay drawing of the digital image, the digital overlay drawing being a cell mask that displays a polygon around each cell object.

[0023] In some examples, the method further includes generating a digital overlay drawing of the digital image, the digital overlay drawing being a histology mask displaying the plurality of tiles and the predicted class of each tile.

[0024] In some examples, the method further includes generating a digital overlay drawing of the digital image and displaying, in the digital overlay drawing, a plurality of tiles that do not correspond to cell objects and a predicted class for each tile, and a plurality of cell objects and a predicted class for each cell object.

[0025] In some examples, the method further includes generating a digital overlay drawing of the digital image, where the digital overlay drawing includes the digital image, and displaying the digital overlay drawing.

[0026] In some examples, the method further includes generating a digital overlay drawing of the digital image, the digital overlay drawing including a generated version of the digital image, and displaying the digital overlay drawing.

[0027] In some examples, the method further includes generating a plurality of digital overlay drawings of the digital image, each digital overlay drawing corresponding to a different prediction class, and selectively displaying one of the plurality of digital overlay drawings.

[0028] In some examples, the method further includes generating a digital overlay drawing of the digital image, the digital overlay drawing including a percentage of the predicted classes corresponding to the digital image.

[0029] In some examples, the method further includes generating a digital overlay drawing of the digital image, the digital overlay drawing including a total number of predicted classes corresponding to the digital image.

[0030] According to another example, a system includes a processor and is provided with a computer readable memory that stores instructions that, when executed by the processor, cause the processor to perform a method described herein.

[0031] According to one example, the system includes a processor and computer-readable memory storing instructions that, when executed by the processor, cause the processor to receive a digital image, separate the digital image into a plurality of tiles, and identify a majority class of tissue visible within each tile of the plurality of tiles based on a multi-tile analysis.

[0032] According to one example, a system includes a processor and computer-readable memory storing instructions that, when executed by the processor, cause the processor to receive a digital image, generate a digital overlay drawing of a tissue area in the digital image, display tiles over the tissue area in the digital overlay drawing and visually identify the predicted content of each tile to generate a classification map that classifies the digital image.

[0033] According to one example, the system includes a processor and computer-readable memory storing instructions that, when executed by the processor, cause the processor to receive a digital image, identify cellular objects within the digital image, generate a digital overlay drawing of the digital image, and display in the digital overlay drawing a polygon outlining each of the identified cellular objects.

[0034] According to one example, the system includes a processor and computer-readable memory storing instructions that, when executed by the processor, cause the processor to receive a digital image, divide the digital image into a plurality of tiles, determine a predicted class for each tile, identify a plurality of cell objects within the digital image, determine a predicted class for each of the plurality of cell objects, and for each of a plurality of tiles corresponding to one of the plurality of cell objects, assign the predicted class of the corresponding cell object to the tile instead of the predicted class of the tile. [Brief description of the drawings]

[0035] The drawings described below depict various aspects of the systems and methods disclosed herein. It should be understood that each figure depicts an example of an aspect of the systems and methods.

[0036] [Figure 1] 1 shows an example of a digital image of a histology slide, by way of example. [Diagram 2] 1 is an overview of a digital tissue segmenter, by way of example. [Figure 3A] 1 shows a tissue segmentation overlay map produced by digital tissue segmentation, according to an example. [Figure 3B] 13 shows a cell perimeter overlay map produced by the digital tissue segmenter, according to an example. [Figure 3C] 13 shows a tumor probability overlay heatmap produced by the digital tissue segmenter, according to an example. [Figure 4] 1 is a flowchart of a method for preparing a digital image of a histology slide for tissue segmentation and mapping analysis, according to an example. [Figure 5A] Each shows an exemplary grid overlay used for tissue segmentation on a digital image of a histology slide, according to an example. [Figure 5B] Each shows an exemplary grid overlay used for tissue segmentation on a digital image of a histology slide, according to an example. [Figure 5C] Each shows an exemplary grid overlay used for tissue segmentation on a digital image of a histology slide, according to an example. [Figure 6A] 1 illustrates layers of an exemplary tissue segmentation algorithm, according to an example. [Figure 6B] By way of example, layers of known image classification algorithms are compared with an exemplary tissue segmentation algorithm. [Figure 6C]1 is a layer visualization of an exemplary 3D input image matrix being convolved with two exemplary 3D filter matrices, according to an example. [Figure 7] 1 shows an exemplary grid overlay showing lymphocyte detection (small red dots) and tile classification, according to an example. [Figure 8] 1 shows exemplary training set images for a cell type locator, according to an example. [Figure 9] 1 shows an example of an exemplary overlay map identifying programmed death ligand 1 (PD-L1) tumor positivity score (TPS) using different immunohistochemistry (IHC) stained images, according to an example. [Figure 10] 1 is a schematic diagram of an exemplary computer processing system having a digital tissue image segmenter for implementing the techniques and methods herein, according to an example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0037] FIG. 1 shows an example of a digital image of a histology slide, also known as a pathology slide. In one example, the digital image is created by a scanner that visually captures the histology slide. In another example, the digital image is created by a digital camera attached to a microscope. A histology slide is made of two clear glass layers with a slice of tissue affixed between the two glass layers. The thin slice of tissue can be very thin, for example, about 5 microns thick. The tissue can be preserved in a fixative, including formaldehyde, formalin, and paraffin. The tissue includes a combination of many individual living cells that are displayed on the slide. The scanner can include a Philips Digital Pathology Slide Scanner, or any scanner known in the art that can create a digital image file.

[0038] In one example, tissue slices contain stains that attach to specific types of cells or parts of cells within the tissue. Stains may include hematoxylin and eosin (H&E) stains, as well as immunohistochemistry (IHC) stains. Hematoxylin is a stain that binds to DNA and makes the nucleus of the cell appear blue or purple. Eosin is a stain that binds to proteins and makes the rest of the cell, everything inside the cytoplasm, appear red or pink. IHC stains consist of antibodies conjugated with molecules that display one of many colors. Antibodies can be designed to bind to any surface shape to target a specific molecule, such as a protein or sugar. IHC stains concentrate dyes of a selected color near several copies of a specific target molecule present on the slide. Some commonly monitored proteins in tumor samples include programmed death ligand 1 (PD-L1), whose presence in tumor areas can indicate whether the tumor will respond to immunotherapy, and cluster of differentiation 3 (CD3), which is associated with T-lymphocyte immune cells. The presence of CD3 in tumor areas may be associated with tumor-infiltrating lymphocytes, which may indicate that the tumor is amenable to anti-cancer immunotherapy.

[0039] In some instances, slides may also contain additional control slices of tissue not from the tumor sample, which serve as positive and / or negative controls for the staining process. Control tissue slices are more common on slides with IHC staining.

[0040] 2 is an overview of the digital tissue image segmenter 201. The digital tissue segmenter 201 may include a computational method and apparatus that receives a digital image of a slide, represents a slice of a tumor sample, and creates a dense grid-based digital overlay map that identifies the majority class of tissue visible within each grid tile of the digital image. The digital tissue segmenter 201 may also generate a digital overlay drawing of the outer edge of each cell in the slide image at an individual pixel resolution level.

[0041] In another example, the digital tissue segmenter 201 is a computational method and apparatus that receives a digital radiographic image and efficiently creates a dense grid-based digital overlay map that identifies the majority classes of tissue visible within each grid tile of the digital image. The radiographic image may show a tumor within a patient's body. The radiographic image may be three-dimensional (3D) and the digital tissue segmenter 201 may receive as an input image a two-dimensional slice of the three-dimensional image. Radiographic images include, but are not limited to, x-rays, CT scans, MRIs, ultrasounds, and PETs.

[0042] The digital tissue segmenter 201 shown in FIG. 2 includes a tissue detector 204 for detecting areas of the digital image having tissue and storing data including the locations of the areas detected as having tissue. The tissue detector 204 transfers the tissue area location data to a tissue class tile grid projector 208 and a cell tile grid projector 212. The tissue class tile grid projector 208 receives the tissue area location data as described in more detail below and with reference to FIG. 5A and FIG. 5C. For each of several tissue class labels, the tissue class locator 216 calculates a percentage representing the likelihood that the tissue class label accurately describes the image in each tile to determine where each tissue class is located in the digital image. For each tile, all percentages calculated for all tissue class labels sum to 1, reflecting 100%. In one example, the tissue class locator 216 assigns one tissue class label to each tile to determine where each tissue class is located in the digital image. The tissue class locator stores the calculated percentages and the assigned tissue class labels associated with each tile.

[0043] Examples of tissue classes include, but are not limited to, tumor, stroma, normal, immune cluster, necrosis, hyperplasia / dysplasia, erythrocyte, and tissue classes or cell types that are positive (including the target molecule of IHC staining) or negative (not including the molecule) for an IHC staining target molecule. Examples also include tumor positive, tumor negative, lymphocyte positive, and lymphocyte negative. The grid-based digital overlay map or individual digital overlay may also highlight individual immune cells, including lymphocytes, cytotoxic T cells, B cells, NK cells, macrophages, etc.

[0044] In one example, the digital tissue segmenter 201 includes a multi-tile algorithm that simultaneously analyzes many tiles in an image, both individually and in combination with the portion of the image surrounding each tile. The multi-tile algorithm can provide multi-scale, multi-resolution analysis that captures both the content of the individual tiles and the context of the portion of the image surrounding the tile. The multi-tile algorithm is further described with reference to FIGS. 5A-5C and 6A-6B. Because portions of the image surrounding two adjacent tiles overlap, analyzing many tiles and their surroundings simultaneously, rather than analyzing each tile individually with its surroundings, reduces computational redundancy and improves processing efficiency.

[0045] In one example, the digital tissue segmenter can store the analysis results in a three-dimensional probability data array, which includes one one-dimensional data vector for each tile analyzed. In one example, each data vector includes a list of percentages that sum to 100%, each indicating the probability that each grid tile contains one of the analyzed tissue classes. The location of each data vector in the orthogonal two-dimensional plane of the data array relative to the other vectors corresponds to the location of the tile associated with that data vector in the digital image relative to the other tiles.

[0046] The cell type tile grid projector receives the tissue area location data and projects a cell type tile grid onto areas of the image having tissue, as described in further detail with respect to Figure 8. The cell type locator can detect each biological cell of the digital image within each grid, contour the outer edge of each cell, and classify each cell by cell type. The cell type locator stores data including each pixel that includes the location of each cell and the outer edge of the cell, as well as a cell type label assigned to each cell.

[0047] The overlay map generator and metric calculator may obtain the stored three-dimensional probability data array from the tissue class locator and convert it into an overlay map that displays the tissue class label assigned to each tile. The tissue class assigned to each tile may be displayed as a transparent color unique to each tissue class. In one example, the tissue class overlay map displays the probability of each grid tile for a user-selected tissue class. The overlay map generator and metric calculator also obtains the stored cell location and type data from the cell type locator and calculates a metric related to the number of cells in the entire image or in a tile assigned to a particular tissue class.

[0048] 3A and 3B show examples of digital overlays created by the digital tissue segmenter 201. FIG. 3A shows a tissue class overlay map created by the overlay map generator of the digital tissue segmenter 201. FIG. 3B shows a cell perimeter overlay map created by the overlay map generator of the digital tissue segmenter 201. The overlay map generator can display the digital overlay as a transparent or opaque layer over the slide image and align the slide location and slide image displayed in the overlay to be in the same location on the display. The transparency of the overlay map can vary. The transparency may be user adjustable. The overlay map generator may report the percentage of labeled tiles associated with each tissue class label, the proportion of the number of tiles classified into each tissue class, the total area of ​​all grid tiles classified into a single tissue class, and the proportion of the area of ​​tiles classified into each tissue class. FIG. 3C shows a tumor probability overlay heatmap created by the digital tissue segmenter according to another example.

[0049] The digital tissue segmenter 201 may also report the total number of cells or the percentage of cells located in an area defined by the user, either for the entire slide, a single grid tile, all grid tiles classified under each tissue class, or cells classified as immune cells. The digital tissue segmenter 201 may also report the number of cells classified as immune cells located within an area classified as tumor or any other tissue class.

[0050] In one example, the digital tissue segmenter 201 can calculate the percentage of cells stained by an IHC stain to highlight specific cells that contain the molecule targeted by the stain. The percentage of cells may be specific to a tissue class region or cell type (or cell object). For example, if the IHC stain targets the programmed death ligand 1 (PD-L1) protein, the digital tissue segmenter 201 may determine the percentage of cancer cells in a tumor tissue class that contain the PD-L1 protein. If the IHC stain targets the cluster of differentiation 3 (CD3) protein, the digital tissue segmenter 201 may determine the percentage of lymphocytes or total cells that contain CD3. In another example, the digital tissue segmenter 201 may determine the percentage of CD8, CD20, pancytokeratin, and / or smooth muscle actin in the digital image.

[0051] The map generator and metric calculator 224 may also create a digital overlay map, showing predicted IHC staining on a digital image of the slide that does not contain IHC staining. In one example, the tissue class locator 216 can predict where IHC staining for a particular molecule will be present on a slide, or the percentage of cells expressing a particular protein, based on an input image that contains only H and E staining.

[0052] The digital overlays and reports generated by the digital tissue segmenter 201 can be used to assist medical professionals in more accurately estimating tumor purity and identifying areas of concern or diagnoses, including invasive tumors that have tumor cells protruding into non-tumor tissue areas surrounding the tumor. They can also assist medical professionals in prescribing treatments. For example, the number of lymphocytes in an area classified as tumor can predict whether immunotherapy will be successful in treating a patient's cancer.

[0053] The digital overlay and report generated by the digital tissue segmenter 201 can also be used to determine whether a slide sample has sufficient high quality tissue for successful genetic sequence analysis of the tissue. Genetic sequence analysis of tissue on a slide may be successful if the slide contains a certain amount of tissue and / or has a tumor purity value that exceeds user-defined tissue amount and tumor purity thresholds. In one example, the digital tissue segmenter 201 can label a slide as accepted or rejected for sequence analysis depending on the amount of tissue present on the slide and the tumor purity of the tissue on the slide. In some examples, the digital tissue segmenter 201 is configured to determine tumor infiltrating lymphocytes (TILS). Examples of TILS processes and engines are disclosed, for example, in U.S. Provisional Patent Application No. 62 / 889,521, entitled “Determining Therapeutic Tumor-Infiltrating Lymphocytes (TILS) from Histopathology Slide Images,” filed on August 20, 2019, which is incorporated herein by reference and in its entirety for all purposes.

[0054] The digital tissue segmenter 201 may also label the slide as uncertain and recommend that it be manually reviewed by a trained analyst, who may be a member of the pathology team. In one example, the digital tissue segmenter 201 may label the slide as uncertain if the amount of tissue present on the slide is approximately equal to or within a user-defined range of a user-defined tissue amount threshold. In one example, the digital tissue segmenter 201 may label the slide as uncertain if the tumor purity of the tissue present on the slide is approximately equal to or within a user-defined range of a user-defined tumor purity threshold.

[0055] In one example, the overlay map generator and metric calculator calculates the amount of tissue on a slide by measuring the total area covered by tissue or by counting the number of cells on the slide. The number of cells on a slide may be determined by the number of cell nuclei visible on the slide. In one example, the digital tissue segmenter 201 calculates the percentage of tissue that is cancer cells by dividing the number of cell nuclei in a grid area labeled tumor by the total number of cell nuclei on the slide. The digital tissue segmenter 201 may exclude cell nuclei or outer edges of cells that are located in tumor areas but belong to cells characterized as lymphocytes. The percentage of tissue that is cancer cells is known as the tumor purity of the sample. In some examples, the overlay map generator and metric calculator are configured to predict the aligned tumor purity, for example, by calculating the fraction of tumor cells within the microdissected tissue area rather than within the entire tissue. These techniques herein may be configured into other tumor purity models that incorporate one or more definitions of tumor purity definitions from pathologists.

[0056] In one example, the digital tissue segmenter 201 compares the tumor purity to a user-selected minimum tumor purity threshold, compares the cell count in the digital image to a user-selected minimum cell threshold, and accepts the slide if both thresholds are exceeded. In one example, the user-selected minimum tumor purity threshold is 0.20, or 20%.

[0057] In one example, a slide is given a composite tissue volume score by multiplying the total area covered by tissue detected on the slide by a first multiplier value, multiplying the number of cells counted on the slide by a second multiplier value, and summing the products of these multiplications.

[0058] The digital tissue segmenter 201 can calculate whether the grid areas labeled as tumor are spatially integrated or dispersed among the non-tumor grid areas. If the digital tissue segmenter 201 determines that the tumor areas are spatially integrated, the digital tissue segmenter 201 can generate a digital overlay of a recommended cutting boundary that separates the areas of the slide classified as tumor and the areas of the slide classified as non-tumor or proximal to the areas classified as tumor within the areas classified as non-tumor. This recommended cutting boundary can be a guide to assist a technician in dissecting the slide to separate the maximum amount of tumor or non-tumor tissue from the slide, particularly for gene sequence analysis.

[0059] The digital tissue segmentation 201 may include a clustering algorithm that calculates and reports information about spacing and density of type-classified cells, tissue-classified tiles, or visually detectable features on a slide. For example, this may be accomplished by selecting a clustering algorithm and a set of objects to cluster, and the output may be either a qualitative description or a numerical value. An exemplary clustering algorithm for cells detects spacing information of cells, such as the center location of tumor cells or lymphocytes, the size of each cell group, and the distance between the centers of each cell group, and such spacing information is used for further outcome-related analysis. The spacing information includes distribution patterns and heat maps of immune cells, tumor cells, or other cells. These patterns may include clustered, dispersed, dense, and absent. This information helps determine whether immune cells and tumor cells cluster together and what percentage of the cluster areas overlap, which may facilitate predicting immune infiltration and patient response to immunotherapy.

[0060] The digital tissue segmenter 201 can also calculate and report the average tumor cell circularity, the average tumor cell perimeter, and the average tumor nuclear density.

[0061] The interval information also includes the level of mixing of tumor and immune cells: clustering algorithms can calculate the probability that two adjacent cells on a given slide are either two tumor cells, two immune cells, or one tumor cell and one immune cell.

[0062] The clustering algorithm can also measure the thickness of several stromal patterns located around areas classified as tumors. The thickness of this stroma surrounding the tumor area can be a predictor of the patient's response to treatment.

[0063] The digital tissue segmenter 201 can also calculate and report statistics including mean, standard deviation, sum, etc. for the following information in each grid tile, either in a single slide image or aggregated from many slide images: red, green, blue (RGB) values, brightness, hue, saturation, grayscale, and stain deconvolution. Deconvolution involves the removal of visual signals created by several individual stains or combinations of stains, including hematoxylin, eosin, or IHC stains.

[0064] The digital tissue segmenter 201 can also incorporate known mathematical formulas from the fields of physics and image analysis to calculate basic visually detectable features of each grid tile. Basic visually detectable features including lines, alternating brightness patterns, and outlineable shapes can be combined to create complex visually detectable features including cell size, cell circularity, cell shape, and staining patterns referred to as texture features.

[0065] The digital overlays, reports, statistics, and estimates generated by the digital tissue segmenter 201 may help predict patient survival, PD-L1 status of the tumor or immune cluster, microsatellite instability, TILS%, and tumor origin when the tumor origin is unknown or the tumor is metastatic. Such overlay of status information may, in some instances, provide an illustrated estimate of how well a patient will respond to a particular immunotherapy. The overlay reports are inherently unbiased to any class of therapy and may be used to show, for example, cell-based therapy, vaccine therapy, and cytokine therapy. The visualized reports may be tailored to better display tissue type, cell type, TILS%, etc., for the purpose of identifying a particular immunotherapy. For example, the techniques herein may be adapted to the training data required for identification of a particular cell type and tumor type. For example, various models may be selected to predict tumor subtype (one model may predict DCIS, a tumor subtype of breast cancer associated with a higher risk of developing invasive breast cancer, and two models may predict squamous cell carcinoma vs. adenocarcinoma in lung cancer). Another example is that the model can be tuned to predict subtypes of cells within lymphoid tissues, such as lymphocytes versus plasma cells.

[0066] The digital tissue segmenter 201 can calculate the relative density of each type of immune cell across the entire slide in an area designated as tumor or another tissue class. Immune tissue classes include lymphocytes, cytotoxic T cells, B cells, NK cells, macrophages, etc.

[0067] In one example, the act of scanning or otherwise digitally capturing a histology slide automatically triggers the digital tissue segmenter 201 to analyze the digital image of the histology slide.

[0068] In one example, the digital tissue segmenter 201 allows a user to edit the cell edges or the boundary between two tissue classes on a tissue class overlay map or a cell edge overlay map and saves the modified map as a new overlay.

[0069] FIG. 4 is a flow chart of a method for preparing digital images of histology slides for tissue classification and mapping analysis.

[0070] In one example, each digital image file received by the digital tissue segmenter 201 contains multiple versions of the same image content, each version having a different resolution. The file stores these copies in stacked layers, arranged by resolution, with the highest resolution image containing the greatest number of bytes at the bottom. This is known as a pyramid structure. In one example, the highest resolution image is the highest resolution achievable by the scanner or camera that created the digital image file.

[0071] In one example, each digital image file also includes metadata indicating the resolution of each layer. The digital tissue segmenter 201 can detect the resolution of each layer in this metadata and compare it to a user-selected resolution criteria to select the layer with the optimal resolution for analysis. In one example, the optimal resolution is 1 pixel per micron (downsampled by 4).

[0072] In one example, the digital tissue segmenter 201 receives a tagged image file format (TIFF) file with a lowest resolution of 4 pixels per micron. This resolution of 4 pixels per micron corresponds to the resolution achieved by a microscope objective with a magnification of "40x". In one example, the area where tissue may be present on the slide is up to 100,000 x 100,000 pixels in size.

[0073] In one example, a TIFF file has about 10 layers, with each layer having half the resolution of the layer below it. If the resolution of the high-resolution layer is 4 pixels per micron, then the resolution of the layer above it will be 2 pixels per micron. The area represented by one pixel of the upper layer is the size of the area represented by four pixels of the lower layer, i.e., the length of each side of the area represented by one upper layer pixel is twice the length of each side of the area represented by one lower layer pixel.

[0074] Each layer may be twice the downsampling of the layer below it. Downsampling is a method by which a new version of an original image can be created at lower resolution values ​​than the original image. There are many methods known in the art for downsampling, including nearest neighbor, bilinear, Hermite, Bell, Mitchell, bicubic, and Lanczos resampling.

[0075] In one example, downsampling by a factor of 2 means that the red, green, and blue (RGB) values ​​from three of four pixels in a square in the high-resolution layer are replaced with the RGB values ​​from the fourth pixel, creating a new, larger pixel in the layer above that occupies the same space as the four averaged pixels.

[0076] In one example, the digital image file does not contain a layer or image at the optimal resolution, in which case the digital tissue segmenter 201 can receive an image from a file having a higher resolution than the optimal resolution and downsample the image at a ratio that achieves the optimal resolution.

[0077] In one example, the optimum resolution is 2 pixels per micron, or a "20x" magnification, but the bottom layer of the TIFF file is 4 pixels per micron, with each layer downsampled by 4 times compared to the layer below it. In this case, the TIFF file has one layer with 40x magnification and the next layer with 10x magnification, but no layer with 20x magnification. In this example, the digital tissue segmenter 201 reads the metadata and compares the resolution of each layer to the optimum resolution and does not find a layer with the optimum resolution. Instead, the digital tissue segmenter 201 finds the layer with 40x magnification and then downsamples the image in that layer by a downsampling ratio of 2x to create an image with an optimum resolution of 20x magnification.

[0078] After the digital tissue segmenter 201 acquires the image at optimal resolution, it sends the image to the tissue detector 204, which locates all portions of the image that depict tumor sample tissue and digitally removes debris, pen marks, and other non-tissue objects.

[0079] In one example, the tissue detector 204 distinguishes between tissue and non-tissue regions of the image and uses Gaussian blur removal to edit out pixels with non-tissue objects. In one example, any control tissue on the slide that is not part of the tumor sample tissue can be detected by the tissue detector and labeled as control tissue or manually labeled by a human analyst as control tissue that should be excluded from downstream tile grid projections.

[0080] Non-tissue objects include artifacts, markings, and debris in the images. Debris includes keratin, badly compressed or pulverized tissue that cannot be visually analyzed, and objects that were not collected with the sample.

[0081] In one example, the slide image includes marker ink or other writing that the tissue detector 204 detects and digitally removes. The marker ink or other writing may be transparent on the tissue, meaning that the tissue on the slide may be visible through the ink. Because the ink of each marking is one color, the ink causes a consistent shift in the RGB values ​​of pixels that contain stained tissue underneath the ink compared to pixels that contain stained tissue without the ink.

[0082] In one example, the tissue detector 204 locates portions of the slide image that contain ink by detecting portions that have RGB values ​​that are different from the RGB values ​​of the remainder of the slide image, where the difference in RGB values ​​from the two portions is consistent. The tissue detector can then subtract the difference between the RGB values ​​of the pixels of the ink portions and the pixels of the non-ink portions from the RGB values ​​of the pixels of the ink portions to digitally remove the ink.

[0083] In one example, the tissue detector 204 eliminates pixels in the image that have low local variability: these pixels represent artifacts, markings, or blurry areas caused by an out-of-focus tissue slice, an air bubble trapped between two glass layers of a slide, or a pen mark on a slide.

[0084] In one example, the tissue detector 204 removes these pixels by converting the image to a grayscale image and passing the grayscale image through a Gaussian blur filter to mathematically adjust the original grayscale value of each pixel to a blurred grayscale value to create a blurred image. Other filters can be used to blur the image. Then, for each pixel, the tissue detector 204 subtracts the blurred grayscale value from the original grayscale value to create a difference grayscale value. In one example, if the difference grayscale value of the pixel is less than a user-defined threshold, it may indicate that the blur filter did not significantly change the original grayscale value and the pixel in the original image was in a blurred region. The difference grayscale value may be compared to a threshold to create a binary mask that indicates where the blurred regions are, which may be designated as non-tissue regions. The mask may be a copy of the image, with the colors, RGB values, or other values ​​in the pixels adjusted to indicate the presence or absence of a particular type of object and the location of all objects of that type. For example, a binary mask may be generated by setting the binary value of each pixel to 0 if the pixel has a differential grayscale value below a user-defined blur threshold, and setting the binary value of each pixel to 1 if the pixel has a differential grayscale value equal to or greater than the user-defined blur threshold. Regions of the binary mask with pixel binary values ​​of 0 indicate blurred areas of the original image that may be designated as non-tissue.

[0085] The tissue detector 204 can also mute or remove extreme brightness or darkness in an image. In one example, the tissue detector 204 converts the input image to a grayscale image, with each pixel receiving a numerical value depending on how bright the pixel is. In one example, the grayscale values ​​range from 0 to 255, where 0 represents black and 255 represents white. For pixels with grayscale values ​​above the brightness threshold, the tissue detector replaces the grayscale values ​​of those pixels with the brightness threshold. For pixels with grayscale values ​​below the darkness threshold, the tissue detector replaces the grayscale values ​​of those pixels with the darkness threshold. In one example, the brightness threshold is about 210. In one example, the darkness threshold is about 45. The tissue detector stores the image with the new grayscale values ​​in a data file.

[0086] In one example, the tissue detector 204 analyzes the altered image for artifacts, debris, or markings remaining after the initial analysis. The tissue detector scans the image and classifies remaining groups of pixels having a particular color, size, or smoothness as non-tissue.

[0087] In one example, a slide has H and E stains and most of the tissue in the slide image has pink staining. In this example, the tissue detector 204 classifies all objects that do not have a pink or red hue as non-tissue, as determined by the RGB values ​​of the pixel representing the object. The tissue detector 204 can interpret any color or the absence of any color in a pixel to indicate the presence or absence of tissue in that pixel.

[0088] In one example, the tissue detector 204 detects the contours of each object in the image to measure the size and smoothness of each object. Very dark pixels may be debris and very bright pixels may be background, both of which are non-tissue objects. Thus, the tissue detector 204 may detect the contours of each object by converting the image to grayscale, comparing the grayscale value of each pixel to a user-determined range of values ​​that are not too light or too dark, and determining if the grayscale value is within the range to generate a binary image in which each pixel is assigned one of two numeric values.

[0089] For example, to threshold an image, tissue detector 204 may compare the grayscale value of each pixel to a user-defined range of values ​​and replace each grayscale value outside the user-defined range with a value of 0, and each grayscale value within the user-defined range with a value of 1. Tissue detector 204 then plots all contours of all objects as the outer edge of each group of adjacent pixels that have a value of 1. A closed contour indicates the presence of an object, and tissue detector 204 measures the area within the contour of each object to measure the size of the object.

[0090] In one example, tissue objects on a slide are unlikely to come into contact with the outer edge of the slide, and the tissue detector 204 classifies all objects that come into contact with the edge of the slide as non-tissue.

[0091] In one example, after measuring the size of each object, the tissue detector 204 ranks the sizes of all objects and designates the maximum value as the size of the largest object. The tissue detector 204 divides the size of each object by the size of the largest object and compares the resulting size quotient to a user-defined size threshold. If the size quotient of an object is less than the user-defined size threshold, the tissue detector 204 designates the object as non-tissue. In one example, the user-defined size threshold is 0.1.

[0092] Before measuring the size of each object, the tissue detector 204 may first downsample the input image to reduce the likelihood of designating a portion of a tissue object as non-tissue. For example, a single tissue object may appear as a first tissue object portion surrounded by one or more additional tissue object portions having smaller sizes. After thresholding, the additional tissue object portions may have a size quotient smaller than a user-defined size threshold and may be erroneously designated as non-tissue. Downsampling before thresholding may result in a small group of adjacent pixels with a value of 1 surrounded by pixels with a value of 0 in the original image being included in a large group of proximal pixels with a value of 1. The opposite may also be true where a small group of adjacent pixels with a value of 0 surrounded by pixels with a value of 1 in the original image being included in a large group of proximal pixels with a value of 0.

[0093] In one example, the tissue detector 204 downsamples an image having a magnification of 40x by a ratio of 16x, so that the resulting downsampled image has a magnification of 40 / 16x, and each pixel in the downsampled image represents 16 pixels of the original image.

[0094] In one example, the tissue detector 204 detects the boundary of each object on a slide as a cluster of pixels with binary or RGB values ​​not equal to zero surrounded by pixels with RGB values ​​equal to zero that indicate the boundary of the object. If the pixels forming the boundary lie relatively in a straight line, the tissue detector 204 classifies the object as non-tissue. For example, the tissue detector 204 outlines shapes with closed polygons. If the number of vertices in a polygon is less than a user-defined minimum vertex threshold, the polygon is deemed to be a simple inorganic shape that is too smooth and is marked as non-tissue.

[0095] 5A, 5B, and 5C show an example grid overlay on a digital image of a histology slide for tissue classification. 5A and 5B show an example of what a multi-view image tile input looks like. 5A is the input image used to obtain a prediction result of a single central small tile. 5B is the input of an image to obtain a prediction result of a matrix of central small tiles. The grid overlay shown in 5A and 5B represents the tiling of an image performed by the PhiNet architecture as described herein, for example, in 6A. In 5A, a single tile (teal) and its center (yellow) are shown. In 5B, a grid of tiles is shown that is what is actually input to the PhiNet architecture for inference. The PhiNet architecture processes each tile in parallel, where each of the small yellow central squares receives a probability for each possible class (which sums to 100% as described herein). 3A shows one possible output overlay map of a breast cancer model. There are as many overlay maps as there are possible models to be displayed. For example, if the technology includes models of the breast, colorectum, and lung, three overlay maps can be generated, and the technology can also display a heat map (probability map) of a single class overlaid on the image.

[0096] After removing the non-tissue pixels from the image, tissue detector 204 stores data including the locations of the remaining pixels that represent tissue. In one example, the locations are stored as an image of the remaining pixels, which may be a grayscale mask, a list of the locations of each vertex of a polygon that encloses the remaining pixels, and / or other coordinates that indicate the locations of the tissue pixels.

[0097] The tissue class tile grid projector 208 receives data including the locations of pixels representing tissue and overlays a tile grid over those pixels. In one example, the grid is made up of small, non-overlapping square tiles.

[0098] The tissue class locator 216 includes a tissue classification algorithm (see FIGS. 6A-6C) that assigns a tissue class label to the image represented by each small square tile. In one example, the digital tissue segmenter 201 can report the assigned tissue class label associated with each small square tile by displaying a grid-based digital overlay map where each tissue class is represented by a unique color (see FIG. 3A).

[0099] A small tile size may increase the time required for the tissue class locator 216 to analyze the input image. Alternatively, a large tile size may increase the likelihood that a tile contains multiple tissue classes, making it difficult to assign a single tissue class label to the tile. In this case, instead of calculating a higher probability that one of the tissue class labels describes the image in a small square tile compared to the other tissue class labels, the tissue class locator 216 may calculate an equal probability that two or more tissue class labels will be accurately assigned to a single small square tile.

[0100] In one example, each side of each small square tile is approximately 32 microns long, allowing approximately 5-10 cells to fit into each small square tile. This small tile size allows the algorithm to create more spatially accurate boundaries when determining the boundary between two adjacent small square tile regions representing two different tissue classes. In one example, each side of the small square tile can be as short as 1 micron.

[0101] In one example, the size of each tile is set by the user to contain a particular number of pixels. In this example, the resolution of the input image will determine the length of each side of the tile measured in microns. At different resolutions, the tile sides may have different lengths in microns, and each tile may have a different number of cells.

[0102] The algorithm recognizes various pixel data patterns in portions of the digital image within or near each small square tile and assigns a tissue class label to each small square tile based on those detected pixel data patterns. In one example, a medium square tile centered on a small square tile contains an area of ​​the slide image that is sufficiently close to the small square tile to contribute to the label assignment of the small square tile.

[0103] In one example, each side of the medium square tile is approximately 466 microns long, and each medium square tile contains approximately 225 (15x15) small square tiles. In one example, this medium tile size increases the likelihood that structural tissue features can fit within a single medium tile, providing context to the algorithm when labeling the central small square tile. Structural tissue features may include glands, ducts, blood vessels, immune clusters, etc.

[0104] In one example, this medium tile size is chosen to counteract the shrinkage that occurs during convolution.

[0105] During convolution, the input image matrix is ​​multiplied by a filter matrix to create a result matrix, and shrinkage refers to when the result matrix is ​​smaller than the input image matrix. The dimension of the filter matrix of a convolutional layer affects the number of rows and columns lost by shrinkage. The total number of matrix entries lost by shrinkage by processing an image through a particular CNN can be calculated depending on the number of convolutional layers in the CNN and the dimension of the filter matrix of each convolutional layer. (See Figures 6A-6C)

[0106] In the example shown in FIG. 6B, the combined convolutional layer loses a total of 217 matrix rows or columns from the top, bottom, and two side edges of the matrix, so the medium square tile is set to be equal to the small square tile plus 217 pixels on either side of the small square tile.

[0107] In one example, two adjacent small square tiles share a side, each at the center of a medium square tile. The two medium square tiles overlap. Of the 466*466 small pixels in each medium square tile, the two medium square tiles share all but 32*466 pixels. In one example, each convolutional layer of the algorithm (see Figures 6A and 6B) analyzes both medium square areas simultaneously, such that the algorithm produces two vectors of values, one for each of the two small square tiles.

[0108] The value vector contains a probability value for each tissue class label, indicating the likelihood that the small square tile represents that tissue class. The value vectors are arranged in a matrix to form a three-dimensional probability data array. The location of each vector in the three-dimensional probability data array relative to other vectors corresponds to the location of its associated small square tile relative to other small square tiles included in the algorithmic analysis.

[0109] In this example, 434x434 (188, 356) of the 466x466 (217, 156) pixels in each medium square tile are common to both medium square tiles. By analyzing both medium square tiles simultaneously, the algorithm increases efficiency.

[0110] In one example, the algorithm can be further efficient by analyzing large tiles formed by multiple overlapping medium square tiles, each containing many small square tiles surrounding one central small square tile that receives a tissue class label. In this example, the algorithm generates a data structure in the form of a three-dimensional probability data array that contains one vector of probabilities for each small square tile, with the location of the vectors in the three-dimensional array corresponding to the location of the small tiles within the large tile.

[0111] The tissue class locator 216 stores this three-dimensional probability data array, and the overlay map generator 224 converts the tissue class label probability for each small square tile into a tissue class overlay map. In one example, the overlay map generator 224 can compare the probabilities stored in each vector to determine the maximum probability value associated with each small square tile. The tissue class label associated with that maximum value can be assigned to that small square tile, and only the assigned labels will be displayed in the tissue class overlay map.

[0112] In one example, the matrices generated by each layer of the tissue class locator 216 for the large square tiles are stored in graphics processing unit (GPU) memory. The capacity of the GPU memory and the amount of GPU memory required for each entry of the 3D probability data array may determine the maximum possible size of the large square tiles. In one example, the GPU memory capacity is 250 MB, and each entry of the matrix requires 4 bytes of GPU memory. This allows for a large tile size of 4,530 pixels by 4,530 pixels, calculated as follows: 4 bytes / entry * 4530 * 4530 * 3 entries for each large tile = 246 (approximately 250) MB of GPU memory is required for each large square tile. In another example, each entry of the matrix requires 8 bytes of GPU memory. In this example, a 16 GB GPU can process 32 large tiles simultaneously, with the size of each large tile having dimensions of 4,530 pixels by 4,530 pixels, calculated as follows: 32 big tiles * 8 bytes / entry * 4530 * 4530 * 3 entries for each big tile = 14.7 (approximately 16) GB of GPU memory required.

[0113] In one example, each entry in the three-dimensional probability data array is a data entry in single-precision floating-point format (float32).

[0114] In one example, there are 16,384 (128) small non-overlapping square tiles that form a large square tile.2 ) Each small square tile is the center of a medium square tile with sides each approximately 466 pixels long. The small square tiles form a central region of a large square tile with sides each approximately 4,096 pixels long. The medium square tiles all overlap, creating a border around all four sides of the central region that is approximately 217 pixels wide. Including the border, each large square tile has sides each approximately 4,530 pixels long. (See Figure 5C.)

[0115] In this example, this large square tile size allows for simultaneous computations and reduces the percentage of redundant computations by 99%. This can be calculated as follows: First, select a pixel that is inside the large square tile (any pixel at least 434 pixels from the edge of the large square tile). Build a region the size of a medium square tile (466 pixels per edge) centered on this model pixel. Then, for a small square tile that is in the center of this built region, the model pixel is contained within the corresponding medium square tile of that small square tile. There are (466 / 32)^2=approximately 217 such small square tiles within the large square tile. For pixels that are not inside the large square tile, the number of small square tiles that satisfy this condition will be smaller. As the distance between the selected small square tile and the edge of the large square tile decreases, the number decreases linearly, and then as the distance between the selected small square tile and the corner decreases, a small number of pixels (approximately 0.005%) will only contribute to the classification of a single small square tile. Performing the classification on a single large square tile means that the calculation for each pixel is performed only once, instead of once for each small square tile, and thus the redundancy is reduced by a factor of almost 217. In one example, a slide may contain several large square tiles, each of which may overlap slightly with adjacent tiles, so the redundancy is not completely eliminated.

[0116] An upper limit can be set on the redundant calculation percentage (the slight deviation from this upper limit depends on the number of large square tiles required to cover the tissue and the relative placement of these tiles). The redundancy percentage is 1-1 / r, where r is the redundancy ratio, and r can be calculated as (T / N+1)(sqrt(N)*E+434)^2 / (sqrt(T)*E+434)^2, where T is the total number of small square tiles on the slide, N is the number of small square tiles per large square tile, and E is the border size of the small square tiles.

[0117] Figure 6A shows the layers of an exemplary tissue segmentation algorithm, and Figure 6B compares layers of known image classification algorithms with the exemplary tissue segmentation algorithm.

[0118] In one example, the tissue class locator 216 includes a convolutional neural network (CNN), a deep learning algorithm trained with a training set to recognize pixel data patterns.

[0119] In one example, the tissue class locator 216 includes a tile-resolution fully convolutional network (FCN) black-box deep learning model based on the known CNN ResNet-18 image recognition model. In one example, the tile-resolution FCN is a multi-tile algorithm known as PhiNet, whose layers are shown in FIG. 6A.

[0120] FIG. 6B illustrates the difference between the ResNet-18 algorithm on the left and the tile-resolution FCN PhiNet shown in the right half of FIG. 6A and FIG. 6B. Compared to the ResNet-18 algorithm, the tile-resolution FCN PhiNet included in the digital tissue segmenter 201 has an additional layer of 1×1 convolution with skip connections, has 8x downsampling and belief map layers with skip connections, replaces the average pooling layer with a concatenation layer, and replaces the fully connected (fcN) layer with a 1×1 convolution and softmax layer.

[0121] The additional layers transform the classification task into a classification-segmentation task, meaning that instead of receiving and classifying the entire image as one tissue class label, the additional layers allow the tile-resolution FCN to classify each small tile in a user-defined grid as a tissue class.

[0122] These addition and substitution layers convert the CNN into a tile-resolution FCN without the need for upsampling, which is performed in later layers of a traditional pixel-resolution FCN. Upsampling is a method by which a new version of an original image can be created with higher resolution values ​​than the original image. Upsampling is a time-consuming and computationally intensive process.

[0123] There are many methods known in the art for upsampling, including nearest neighbor, bilinear, Hermite, Bell, Mitchell, bicubic, and Lantzos resampling. In one example, 2x upsampling means that a pixel with red, green, and blue (RGB) values ​​may be split into four pixels, and the RGB values ​​of the three new pixels may be selected to match the RGB values ​​of the original pixel. In another example, the RGB values ​​of the three new pixels may be selected as the average of the RGB values ​​from the pixels adjacent to the original pixel and the neighboring pixels.

[0124] Upsampling can introduce errors into the final image overlay map generated by overlay map generator 224 because the RGB values ​​of the new pixels may not accurately reflect the visible tissue of the original slide captured by the digital slide image.

[0125] Furthermore, traditional pixel-resolution FCN requires training data in which each pixel is labeled, which cannot be generated from digital histology slides because it would be too time consuming and each individual pixel does not contain enough contextual information to identify tissue classes.

[0126] In one example, instead of labeling individual pixels, a tile-resolution FCN is programmed to analyze a large square tile made up of smaller square tiles (see Figure 5C) and generate a 3D array of values, each representing the probability that one tissue class classification label matches the tissue class depicted in each smaller tile.

[0127] A convolutional layer, as known in the art, performs the multiplication of at least one input image matrix by at least one filter matrix, after the first convolution, where the input image matrix has values ​​for every pixel of a large square tile input image, representing the visual data of that pixel (e.g., values ​​from 0 to 255 for each channel of RGB).

[0128] The filter matrix may have user-selected dimensions and may contain weight values ​​selected by the user or determined by backpropagation during training of the CNN model. In one example, in the first convolutional layer, the filter matrix has dimensions of 7×7 and has 64 filters. The filter matrix may represent visual patterns that can distinguish one tissue class from another.

[0129] In the example where RGB values ​​are input to the input image matrix, the input image matrix and the filter matrix are three-dimensional (see FIG. 6C).

[0130] Each filter matrix is ​​multiplied by each input image matrix to generate a result matrix. All the result matrices generated by the filters of one convolutional layer can be stacked to create a three-dimensional result matrix with dimensions such as row, column, and depth. The last dimension of the 3D result matrix, the depth, has a depth equal to the number of filter matrices.

[0131] The result matrix from one convolutional layer becomes the input image matrix for the next convolutional layer.

[0132] Convolutional layer titles that include " / n" (where n is a number) indicate that there is downsampling (known as pooling) of the result matrix produced by that layer. The n indicates the factor by which the downsampling occurs. Downsampling by a factor of 2 means that a downsampled result matrix with half the rows and half the columns of the original result matrix is ​​created by replacing the squares of four values ​​in the result matrix with one of those values, or a statistic calculated from those values. For example, the minimum, maximum, or average of the values ​​might be replaced with the original value.

[0133] The presented algorithm also adds skip connections (shown in Figure 6A as black lines with arrows directly connecting the blue convolutional layers to the concatenation layers). The skip connection on the left involves an 8x downsampling, while the skip connection on the right involves two convolutional layers that multiply the input image matrix by a filter matrix, each with dimensions 1x1. Because the filter matrices in these layers are of dimension 1x1, only individual small square tiles contribute to the corresponding probability vectors in the result matrix created by the purple convolutional layer. These result matrices represent a small field of view.

[0134] In all other convolutional layers, the large dimensions of the filter matrices allow pixels in each medium square tile, including the small square tile in the center of a medium square tile, to contribute to a probability vector in the result matrix corresponding to that small square tile. These result matrices allow the contextual pixel data patterns surrounding the small square tile to influence the probability that each tissue class label is applied to the small square tile. These result matrices represent a large field of view.

[0135] The 1x1 convolutional layer of skip connections allows the algorithm to consider the pixel data pattern of the small central square tile as more or less important than the remaining pixel data patterns of the medium surrounding square tiles. This is reflected by the weights by which the trained model is multiplied by the final result matrix from the skip connection layer (shown in the right column of FIG. 6A) compared to the weights by which the trained model is multiplied by the final result matrix from the convolutional layer of the medium tile between the connection layers (shown in the middle column of FIG. 6A).

[0136] The downsampling skip connection shown on the left side of Figure 6A creates a result matrix of depth 64. A 3x3 convolution layer with 512 filter matrices creates a result matrix of depth 512. A 1x1 convolution layer with 64 filter matrices creates a result matrix of depth 64. All three of these result matrices have the same number of rows and the same number of columns. The concatenation layer concatenates these three result matrices to form a final result matrix with the same number of rows, the same number of columns, and a depth of 64+512+64 (640) as the three concatenated matrices. This final result matrix combines the large and small foci of the view matrices.

[0137] The final result matrix can be flattened to two dimensions by multiplying every entry by a coefficient and summing the products along each depth. Each element can be selected by the user or by backpropagation during model training. Flattening does not change the number of rows and columns of the final result matrix, but it does change the depth to 1.

[0138] The 1x1 convolutional layer takes the final result matrix and filters it with one or more filter matrices. The 1x1 convolutional layer may contain one filter matrix associated with each tissue class label of the trained algorithm. This convolutional layer produces a 3D result matrix with a depth equal to the number of tissue class labels. Each depth corresponds to one filter matrix, and along the depth of the result matrix, there may be a probability vector for each small square tile. This 3D result matrix is ​​a three-dimensional probability data array, and the 1x1 convolutional layer stores this 3D probability data array.

[0139] A softmax layer can create a 2D probability matrix from a 3D probability data array by comparing all values ​​of each probability vector, selecting the tissue class associated with the maximum value, and assigning that tissue class to the small square tile associated with that probability vector.

[0140] The stored 3D probability data array or 2D probability matrix can then be converted into a tissue class overlay map in the final confidence map layer of FIG. 6A to efficiently assign tissue class labels to each tile.

[0141] In one example, to counteract shrinkage, the input image matrix adds rows and columns to all four outer edges of the matrix, with each value entry of the added rows and columns being zero. These rows and columns are referred to as padding. In this case, the training data input matrix would have the same number of added rows and columns with value entries equal to zero. Any difference in the number of padding rows or columns in the training data input matrix would result in values ​​in the filter matrix that would not cause the tissue class locator 216 to accurately label the input image.

[0142] In the FCN shown in Figure 6B, a total of 217 outer rows or columns on each side of the input image matrix are lost to shrinkage before skip connections for the gray and blue layers. Only pixels that are in the small square tiles have vectors that correspond to the result matrix created in the green layer onwards.

[0143] In one example, each medium square tile is not padded by adding rows and columns with zero value entries around the input image matrix corresponding to each medium square tile, because the zeros replace image data values ​​from adjacent medium square tiles that the tissue class locator 216 needs to analyze. In this case, the training data input matrix is ​​also not padded.

[0144] FIG. 6C is a visualization at each depth of an exemplary 3D input image matrix being convolved with two exemplary 3D filter matrices.

[0145] In an example where the input image matrix contains RGB channels for each medium square tile, the input image matrix and each filter matrix are three-dimensional, in one of which the input image matrix and each filter matrix has three depths, one for the red channel, one for the green channel, and one for the blue channel.

[0146] The red channel (first depth) of the input image matrix is ​​multiplied by the corresponding first depth of the first filter matrix. The green channel (second depth) is multiplied in a similar manner, as is the blue channel (third depth). The red, green, and blue product matrices are then summed to create the first depth of a three-dimensional result matrix. This is repeated for each filter matrix, creating additional depths of three-dimensional result matrices corresponding to each filter.

[0147] A variety of training sets can be used to train the CNN or FCN included in the tissue class locator 216.

[0148] In one example, the training set may include JPEG images of medium-sized square tiles, each with a tissue class label assigned to its central small square tile taken from at least 50 digital images of histology slides at a resolution of about 1 pixel per micron. In one example, a human analyst outlined and labeled all relevant tissue classes or labeled each small square tile of each histology slide as non-tissue or a specific type of cell. The tissue classes may include tumor, stroma, normal, immune cluster, necrosis, hyperplasia / dysplasia, and red blood cells. In one example, each side of each central small square tile is about 32 pixels long.

[0149] In one example, the training set images are transformed into an input training image matrix and processed by the tissue class locator 216 to assign a tissue class label to each training set image. If the tissue class locator 216 does not accurately label the validation set of training images to match the corresponding annotations added by a human analyst, the weights of each layer of the deep learning network can be automatically adjusted by stochastic gradient descent with backpropagation until the tissue class locator 216 accurately labels most of the validation set of training images.

[0150] In one example, a training dataset has multiple classes, where each class represents a tissue class. The training set generates a unique model with certain hyperparameters (e.g., number of epochs, learning rate, etc.) that can recognize the content of digital slide images and classify them into various classes. The tissue classes may include tumor, stroma, immune cluster, normal epithelium, necrosis, hyperplasia / dysplasia, and red blood cells. In one example, if there are sufficient training sets for each tissue class, the model can classify an unlimited number of tissue classes.

[0151] In one example, the training set images are converted into grayscale masks for annotation, where different values ​​(0-255) in the mask image represent different classes.

[0152] Because each histology slide can exhibit significant variation in visual features, including tumor appearance, the training set may contain widely different digital slide images to better train the model for the variety of slides that may be analyzed.

[0153] The training set may also be cancer type specific, where all histology slides from which digital images were generated in a particular training set include tumor samples from the same type of cancer. Cancer types may include breast, colorectal, lung, pancreatic, liver, stomach, skin, etc. Each training set may generate a unique model specific to the cancer type. Each cancer type may also be divided into cancer subtypes known in the art.

[0154] In one example, the training set may be derived from a histology slide pair. The histology slide pair includes two histology slides, each with one slice of tissue, where the two slices of tissue were adjacent in a tumor sample. Thus, the two slices of tissue are substantially similar. One of the slides of the pair is stained with only H and E staining, and another slide of the pair is stained with IHC staining of a specific molecular target. Areas on the H and E stained slide that correspond to areas where IHC staining appears on the paired slide are annotated by a human analyst as containing the specific molecular target, and the tissue class locator receives the annotated H and E slides as a training set.

[0155] In this case, trained tissue class locator 216 receives digital images of H and E stained tissue to predict tiles that may contain a given molecular target, and overlay map generator 224 generates an overlay map indicating which tiles contain the given molecule. In one example, the resolution of the overlay is at the level of individual cells.

[0156] Overlays generated by a model trained on one or more training sets can be reviewed by a human analyst to annotate and add digital slide images to one of the training sets.

[0157] The pixel data patterns that the algorithm detects may represent visually detectable features, some examples of which may include color, texture, cell size, shape, and spatial organization.

[0158] For example, the color of the slide provides contextual information. Purple areas on a slide are more likely to be cellular and invasive tumors. Tumors also make the surrounding stroma more fibrotic in a desmoplastic reaction, making the normally pink stroma appear blue-gray. Color intensity also helps identify individual cells of a particular type (e.g., lymphocytes are uniformly very dark blue).

[0159] Texture refers to the distribution of staining within the cells. Most tumor cells have a rough, heterogeneous appearance with bright pockets in the nucleus and dark nucleoli. A zoomed out view with many tumor cells will give this rough appearance. Many non-tumor tissue classes each have characteristic features. Furthermore, the pattern of tissue classes present in an area can indicate the type of tissue or cellular structure present in that area.

[0160] Additionally, cell size often indicates tissue class: if a cell is several times larger than normal cells elsewhere on the slide, it is more likely to be a tumor cell.

[0161] The shape of individual cells, particularly how round they are, can indicate what type of cell they are. Fibroblasts (stromal cells) are usually elongated and thin, while lymphocytes are very round. Tumor cells may be more irregularly shaped.

[0162] The organization of groups of cells can also indicate tissue classes. Often, normal cells are organized in structured, recognizable patterns, while tumor cells grow in denser, disorganized clusters. Each type and subtype of cancer may produce tumors with specific growth patterns, including the location of cells relative to tissue features, the spacing of tumor cells relative to each other, the formation of geometric elements, etc.

[0163] FIG. 7 illustrates an example of a first classification model for labeling H&E or IHC slides using tile and cell classification. As shown, an example model overlay may include red tiles to identify clusters of lymphocytes, green tiles to identify epithelial cells, and dark blue tiles to identify tumor cells. The tile classifications are shown in the legend and are generated using the PhiNet model architecture. A cell legend is displayed showing example cell classifications, as generated using the UNet model architecture. In some examples, if a tile has a predicted tile classification and the tile corresponds to an identified cell (i.e., a cell object) that has a classification, the cell classification can be overridden such that segmenter 201 assigns the cell classification to the tile instead of the tile classification. In another example, an example overlay may represent individual lymphocytes by coloring the lymphocytes red to distinguish between clusters of lymphocytes and individual lymphocytes that infiltrate other tissues. In one example, individual lymphocytes detected within a tumor tile represent tumor-infiltrating lymphocytes, which are red dots within a dark blue or green tile.

[0164] In one example, cell type locator 220 includes at least one cell contour algorithm to detect the outer edge of each cell and report the coordinates of all pixels that contain the cell's outer edge to create a cell edge overlay map (see FIG. 2B).

[0165] The cell type tile grid projector 212 can overlay a grid on a digital image of a histology slide. A smaller tile size can improve the training data set by increasing the number of tiles in the training data set and can be easier for a human analyst to visually inspect before training the cell type locator 220. The size of the tile can be determined by memory capacity.

[0166] The cell type locator 220 may recognize features including color and brightness changes between adjacent pixels, and the shape of areas where color or brightness changes. The cell type locator 220 may also report the coordinates of the center of each detected cell, and the coordinates of all vertices of a polygon that encloses a single detected cell. The cell type locator 220 may include an edge detector, such as a radial symmetry filter, or a Laplacian edge filter or a Sobel edge filter. In one example, the cell type locator 220 is a UNet model, which is a three-class semantic segmentation FCN model.

[0167] In one example, UNet is a three-class model, meaning that the algorithm can classify each pixel as either the background outside all cells, the outer edge of the cell, or the interior of the cell. This makes it easier to count each individual cell, especially when two or more cells overlap each other. In one example, tumor-infiltrating lymphocytes overlap with tumor cells. In a traditional two-class cell contour model that only labels whether a pixel contains the outer edge of a cell, each clump of two or more overlapping cells is counted as one cell. Two-class UNet models with binary classification (cell vs. background) are known in the art, but three-class UNet models allow for non-binary types of classification and must be adapted using different loss functions. The classified results can be stored as a matrix of different values ​​to indicate the exterior of the cell, the outer edge of the cell, and the interior of the cell. The training process is performed by combining the original image and a mask image as input to the UNet model (e.g., the mask may be an image with pixel values ​​of 0, 128, and 255, where 0 represents the exterior of the cell, 128 represents the outer edge of the cell, and 255 represents the interior of the cell).

[0168] In one example, to avoid the possibility of a cell that spans two tiles being counted twice, the algorithm may add a buffer around all four sides of each tile that is slightly wider than the average cell. The intention is to count only cells that appear in the central unbuffered region of each tile. In this case, the tiles are positioned such that the central unbuffered regions of adjacent tiles are adjacent and do not overlap. Adjacent tiles overlap in their respective buffer regions.

[0169] In one example, the cell segmentation algorithm includes two UNet models. One UNet model may be trained on image patches of mixed tissue classes, where a human analyst has highlighted the boundary polygon of each cell and classified each cell according to tissue class. In one example, the training data includes digital slide images in which every pixel is labeled as either the interior of a cell, the outer edge of a cell, or background, which is outside all cells. In another example, the training data includes digital slide images in which every pixel is labeled "yes" or "no" to indicate whether it indicates the outer edge of a cell. The labels may be a two-dimensional matrix of the same shape as the corresponding image patch, where each matrix element takes one of several values ​​(the exact number of values ​​depends on the number of unique classes in the model).

[0170] Another UNet model may be trained on images of many cells of a single tissue class, or images of a diverse set of cells where only cells of one tissue class are outlined with a binary mask. In one example, the training set is labeled by associating a first value with all pixels indicative of the cell type of interest, a second value with all background pixels, and optionally a third value with pixels along the border of each cell (for a three-class model rather than a two-class model). Visually, an image labeled in this way appears as a black and white image, where all pixels indicative of the tissue class of interest are white and all other pixels are black, and vice versa. (See FIG. 8) For example, an image may have only lymphocytes labeled. This UNet model can recognize the outer edge of that particular cell type and assign a label to cells of that type in the digital image of the slide.

[0171] In one example, a non-UNet model can be used instead of the UNet model to label the cells detected by the first UNet model, which can be another CNN with a different architecture or a non-deep learning model such as a random forest or a support vector machine.

[0172] In one example, the cell label generated by the cell type locator 220 may be augmented by the tissue region label generated by the tissue class locator 216. If a cell is detected but not labeled with a particular class by the cell type locator, the cell may be assigned a default label, which is the label of the tissue region in which it was found.

[0173] In one example, the resolution of the images in both training sets is 2 pixels per micron.

[0174] The techniques herein, applying the PhiNet architecture as described, may also be used to predict other indicators such as microsatellite instability (MSI), consensus molecular subtypes (CMS), and other molecular biomarkers. Classification models may be trained to predict these biomarkers from H&E slides using other additional information, such as other characteristics of the patient that may be included in the patient's electronic health record. Other biomarkers that may be predicted using the trained PhiNet architecture include tumor grade and / or stage, tumor origin (in the case of TUO), histological subtype (such as adenocarcinoma and squamous cell carcinoma), and other biomarkers for cell-based, vaccine, and cytokine therapies.

[0175] Additionally, when the exemplary embodiments disclosed herein are shown on H&E slides prepared by a pathologist, a similar model may also be generated for IHC slides. The exemplary IHC overlay may classify tiles according to the state of PD-L1 "presence" in cells. In an exemplary implementation, a digital tissue segmenter similar to that of segmenter 201 of FIG. 2 may be configured as a digital PD-L1 tumor positive score (TPS) predictor. In one example, this PD-L1 TPS digital tissue segmenter includes a tissue detector, a tissue class tile grid projector, and a tissue class locator, as in segmenter 201 of FIG. 2. The output of tissue class locator 216 may be provided to a PD-L1 TPS metric calculator and overlay map generator (replacing element 224 of segmenter 201) configured to count the number of tumor+ tiles and divide by the total number of tumor tiles (i.e., the sum of tumor+ tiles and tumor- tiles) to determine a predicted PD-L1 TPS. Other quantities, such as the percentage of stained lymphocytes or overall macrophage percentage, can also be calculated. The PD-L1 tissue classifier of this example can be configured to predict any number of classes, including blood, epithelial, lymphocyte+, lymphocyte-, macrophage+, necrotic, stromal, tumor+, tumor-, where "+" indicates positive PD-L1 expression and "-" indicates no PD-L1 expression. Thus, in some examples, the PD-L1 prediction process can be implemented by a digital tissue image segmenter that implements two main processes. First, the digital tissue image segmenter predicts the various tissue classes overlaid on the IHC image (i.e., a similar process as described with reference to the H&E images described herein, but with different classes). Next, the digital tissue image segmenter obtains the PD-L1 TPS by counting the number of predicted tumor+ tiles and dividing it by the total number of tumor tiles (i.e., tumor+ plus tumor-). An exemplary overlay mapping process that may be performed by such a digital PD-L1 tumor positivity score (TPS) predictor is shown in FIG. 9, illustrating various predicted tissue classifications.On the left are the various IHC images, and on the right are the predicted TPS of the various tissue classifications overlaid on the IHC images.

[0176] FIG. 10 illustrates that a system 1000 for performing the methods described herein may include a computing device 1002, and more specifically may be implemented on one or more processing units 1004 (e.g., a central processing unit (CPU)) and / or one or more graphical processing units (GPUs) 1006, including a cluster of CPUs and / or GPUs. The described features and functions may be stored on and implemented from one or more non-transitory computer-readable media 1008 of the computing device. The computer-readable medium 1008 may include an operating system 1010 and software modules, or "engines," that implement the methods described herein, including, for example, a digital tissue image segmenter 1012 that implements the methods and processes shown and described herein. Exemplary processes include tissue detection, tissue class tile grid projection, cell type tile grid projection, tissue class locator, cell type locator, overlay map generator, and metric calculation processes. More generally, the computer-readable medium 1008 may store batch normalization process instructions of the engine for implementing the techniques herein. The computing device 1002 may be a distributed computing system, such as an Amazon Web Services cloud computing solution. The computing device 1002 may be implemented on one network-accessible processing device 1050, or may be distributed across multiple such devices 1050, 1052, 1054, etc.

[0177] The computing device 1002 includes a network interface 1014 communicatively coupled to a network 1016 for communication between a portable personal computer, a smart phone, an electronic document, a tablet, and / or a desktop personal computer, or other computing device for communicating overlay maps, predicted tile classifications and locations, predicted cell classifications and locations, and the like. Such information may also be stored in a database 1024. The computing device 1002 further includes an I / O interface 1018 connected to devices such as, for example, a digital display 1020 for displaying the generator overlay map, a user input device 1022, and the like. A dashboard generator 1026 can be used to generate GUIs and / or other digital displays that allow a user to review, manipulate, and adjust the generated overlay maps, predicted classifications, and the like.

[0178] The engine's functionality may be implemented in distributed computing devices, etc., interconnected via communication links. In other examples, the system's functionality may be distributed across any number of devices, including the illustrated portable personal computer, smartphone, electronic document, tablet, and desktop personal computing devices. The computing device 1002 may be communicatively coupled to a network 1016 and another network. The network 1016 may be a public network, such as the Internet, a private network, such as a research or corporate network, or any combination thereof. The network may include a local area network (LAN), a wide area network (WAN), cellular, satellite, or other network infrastructure, whether wireless or wired. The network may utilize communication protocols, including packet-based and / or datagram-based protocols, such as the Internet Protocol (IP), Transmission Control Protocol (TCP), User Datagram Protocol (UDP), or other types of protocols. Additionally, the network may include many devices that facilitate network communications and / or form the hardware foundation of the network, such as, for example, switches, routers, gateways, access points (such as wireless access points as illustrated), firewalls, base stations, repeaters, backbone devices, etc.

[0179] The computer-readable medium 1008 may include executable computer-readable code stored thereon for programming a computer (e.g., including the processor(s) and GPU(s)) to the techniques herein. Examples of such computer-readable storage media include hard disks, CD-ROMs, digital versatile disks (DVDs), optical storage devices, magnetic storage devices, ROMs (Read Only Memory), PROMs (Programmable Read Only Memory), EPROMs (Erasable Programmable Read Only Memory), EEPROMs (Electrically Erasable Programmable Read Only Memory), and flash memories. More generally, the processing unit of a computing device may represent a CPU-type processing unit, a GPU-type processing unit, a field programmable gate array (FPGA), another class of digital signal processor (DSP), or other hardware logic components that may be driven by a CPU.

[0180] Throughout this specification, multiple instances may implement components, operations, or structures described as a single instance. Although individual operations of one or more methods are illustrated and described as separate operations, one or more of the individual operations may be performed simultaneously, and the operations need not be performed in the order illustrated. Structures and functions presented as separate components in an example configuration may be implemented as a combined structure or component. Similarly, structures and functions presented as a single component may be implemented as a separate component or multiple components. These and other variations, modifications, additions, and improvements are included within the scope of the subject matter of this specification.

[0181] Further, certain embodiments are described herein as including logic or a number of routines, subroutines, applications, or instructions. These may constitute either software (e.g., code embodied on a machine-readable medium or in a transmission signal) or hardware. In hardware, routines, etc., are tangible units capable of performing certain operations and may be configured or arranged in a particular way. In an exemplary embodiment, one or more computer systems (e.g., standalone, client, or server computer systems) or one or more hardware modules of a computer system (e.g., a processor or processors) may be configured as hardware modules that operate by software (e.g., an application or portion of an application) to perform certain operations described herein.

[0182] In various embodiments, a hardware module can be implemented mechanically or electronically. For example, a hardware module can include dedicated circuitry or logic (e.g., a microcontroller, a special-purpose processor such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC)) that is permanently configured to perform certain operations. A hardware module can also include programmable logic or circuitry (e.g., contained within a processor or other programmable processor) that is temporarily configured by software to perform certain operations. It will be appreciated that the decision as to whether a hardware module is implemented mechanically, with dedicated and permanently configured circuitry, or with temporarily configured circuitry (e.g., configured by software) can be determined based on cost and time considerations.

[0183] Thus, the term "hardware module" should be understood to encompass tangible entities, that is physically constructed, permanently configured (e.g., hardwired), or temporarily configured (e.g., programmed) to operate in a certain manner or to perform certain operations described herein. Considering embodiments in which the hardware modules are temporarily configured (e.g., programmed), each of the hardware modules need not be configured or instantiated at any one instance of time. For example, if the hardware modules include processors configured using software, the processors may be configured as different hardware modules at different times. Thus, the software may configure the processor, for example, to configure a particular hardware module at one time and another hardware module at another time.

[0184] Hardware modules can provide information to and receive information from other hardware modules. Thus, the described hardware modules can be considered to be communicatively coupled. When multiple such hardware modules are present simultaneously, communication can be achieved via signal transmission (e.g., via appropriate circuits and buses) connecting the hardware modules. In embodiments in which multiple hardware modules are configured or instantiated at different times, communication between such hardware modules can be achieved, for example, via storage and retrieval of information in a memory structure accessed by the multiple hardware modules. For example, a hardware module can perform an operation and store the output of that operation in a memory device to which the hardware module is communicatively coupled. Additional hardware modules can then later access the memory device to retrieve and process the stored output. Hardware modules can also initiate communication with input or output devices to operate on resources (e.g., collect information).

[0185] Various operations of the example methods described herein may be performed, at least in part, by one or more processors that are temporarily (e.g., by software) or permanently configured to perform the associated operations. Whether temporarily or permanently configured, such processors may constitute processor-implemented modules that operate to perform one or more operations or functions. Modules referred to herein may, in some example embodiments, include processor-implemented modules.

[0186] Similarly, methods or routines described herein may be at least partially processor-implemented. For example, at least some of the operations of a method may be performed by one or more processors or processor-implemented hardware modules. Certain performance of an operation may be distributed among one or more processors not only present in a single machine, but also deployed across several machines. In some exemplary embodiments, one or more processors may be located at a single location (e.g., in a home environment, in a work environment, or as a server farm), while in other embodiments, the processors may be distributed across multiple locations.

[0187] Certain performance of an operation may be distributed among one or more processors not only residing within a single machine, but also deployed across several machines. In some exemplary embodiments, one or more processors or processor-implemented modules may be located at a single location (e.g., in a home environment, in a work environment, or as a server farm). In other exemplary embodiments, one or more processors or processor-implemented modules may be distributed across multiple locations.

[0188] Unless otherwise indicated, discussions herein using words such as "processing," "computing," "calculating," "determining," "presenting," "displaying," and the like may refer to machine (e.g., computer) operations or processes that manipulate or transform data represented as physical (e.g., electronic, magnetic, or optical) quantities in one or more memories (e.g., volatile memory, non-volatile memory, or a combination thereof), registers, or other machine components that receive, store, transmit, or display information.

[0189] As used herein, any reference to "one embodiment" or "an embodiment" means that a particular element, feature, structure or characteristic described in connection with an embodiment is included in at least one embodiment. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment.

[0190] Some embodiments may be described using the terms "coupled" and "connected," along with their derivatives. For example, some embodiments may be described using the term "coupled" to indicate that two or more elements are in direct physical or electrical contact. However, the term "coupled" can also mean that two or more elements are not in direct contact with each other, but still co-operate or interact with each other. The embodiments are not limited in this context.

[0191] As used herein, the terms "comprises," "comprising," "includes," "including," "has," "having," or any other variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, article, or apparatus that includes a list of elements is not necessarily limited to only those elements and may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Furthermore, unless expressly stated otherwise, "or" means an inclusive or, not an exclusive or. For example, a condition A or B is satisfied by any one of A being true (or present) and B being false (or absent), A being false (or absent) and B being true (or present), and both A and B being true (or present).

[0192] In addition, the use of "a" or "an" is used to describe elements and components of the embodiments herein. This is done merely for convenience and to give a general sense of the description. This description should be read to include one or at least one, and the singular also includes the plural unless it is clear that otherwise is meant.

[0193] This detailed description should be construed as merely exemplary and does not describe every possible embodiment, as describing every possible embodiment would be impractical, if not impossible. Many alternative embodiments can be implemented using either current technology or technology developed after the filing date of this patent application.

Claims

1. 1. A method for creating an overlay map on a digital image of a slide, comprising: receiving the digital image; Separating the digital image into a plurality of tiles; and identifying a majority class of tissue visible in each tile of the plurality of tiles based on multi-tile analysis.

2. The method of claim 1 , further comprising generating a digital overlay drawing of the outer edge of each cell in the image.

3. The method of claim 2 , wherein the digital overlay drawing is created at a resolution level of individual pixels.

4. 1. A method for tissue classification of digital images of a slide, comprising: receiving the digital image; generating a digital overlay drawing of a tissue region within the digital image; and displaying tiles in the digital overlay drawing over the tissue area and visually identifying predicted content of each tile to generate a classification map that classifies the digital image.

5. 5. The method of claim 4, further comprising determining the predicted content of each tile using a classification model configured as a multi-resolution fully convolutional network, the multi-resolution fully convolutional network configured to perform classification on digital images at different zoom levels.

6. The method of claim 4 , further comprising determining, for each tile, a classification from a plurality of classifications using a classification model.

7. 7. The method of claim 6, wherein the plurality of classifications comprises tumor epithelium, normal epithelium, immune, stromal, necrotic, blood, and fat.

8. 1. A method for cell detection in a digital image of a slide, comprising: receiving the digital image; identifying a cellular object within the digital image; generating a digital overlay drawing of said digital image; and displaying in said digital overlay drawing a polygon outlining each of said identified cell objects.

9. The method of claim 8 , wherein the cell objects include lymphocyte cells and are not lymphocyte cells.

10. The method of claim 8, wherein the cellular objects comprise CD3, CD8, CD20, pancytokeratin, and smooth muscle actin.

11. 1. A method for tissue classification of digital images of a slide, comprising: receiving the digital image; Dividing the digital image into a plurality of tiles; determining a predicted class for each tile; identifying a plurality of cellular objects within the digital image; determining a predicted class for each of the plurality of cell objects; and for each of the plurality of tiles corresponding to one of the plurality of cell objects, assigning the predicted class of the corresponding cell object to the tile in place of the predicted class of the tile.

12. storing, for each tile, in a first file, the location of the tile and the predicted class of the tile; The method of claim 11 further comprising: for each cell object, storing in a second file a polygon outlining the cell object and the predicted class of the cell object.

13. 12. The method of claim 11, further comprising generating a digital overlay drawing of the digital image, the digital overlay drawing being a cell mask that displays a polygon around each cell object.

14. 12. The method of claim 11, further comprising generating a digital overlay drawing of the digital image, the digital overlay drawing being a histology mask displaying the plurality of tiles and the predicted class of each tile.

15. generating a digital overlay drawing of said digital image; The method of claim 11, further comprising displaying in the digital overlay drawing the plurality of tiles and the predicted class of each tile that do not correspond to a cell object, and displaying the plurality of cell objects and the predicted class of each cell object.

16. generating a digital overlay drawing of the digital image, the digital overlay drawing including the digital image; The method of claim 11 , further comprising: displaying the digital overlay drawing.

17. generating a digital overlay drawing of the digital image, the digital overlay drawing including a generated version of the digital image; The method of claim 11 , further comprising: displaying the digital overlay drawing.

18. generating a plurality of digital overlay views of the digital image, each digital overlay view corresponding to a different prediction class; The method of claim 11 , further comprising: selectively displaying one of the plurality of digital overlay drawings.

19. The method of claim 11 , further comprising generating a digital overlay drawing of the digital image, the digital overlay drawing including a percentage of predicted classes corresponding to the digital image.

20. The method of claim 11 , further comprising generating a digital overlay drawing of the digital image, the digital overlay drawing including a total number of predicted classes corresponding to the digital image.

Citation Information

Patent Citations

  • A Machine Learning System Based on Tissue Objects for Automatic Scoring of Digital Whole Slides

    JP2016518813A

  • Classification of nuclei in histological images

    JP2018502279A

  • Digital pathology system and associated workflow for providing visualized whole-slide image analysis

    WO2018065434A1