Systems and methods for cell classification - Patents.com

The system generates homogeneous cell clusters using a trained object detection engine, addressing the laborious annotation challenge in digital pathology, enabling efficient cell detection and classification for improved disease diagnosis.

JP7534461B2Active Publication Date: 2024-08-14VENTANA MEDICAL SYSTEMS INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023019053
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-04-08
Filing Date
2023-02-10
Publication Date
2024-08-14
Estimated Expiration
2039-10-10

AI Technical Summary

Technical Problem

The challenge in digital pathology is the laborious and time-consuming process of ground truth annotation for cell and nucleus detection in histological images, particularly due to variations in image sizes, resolutions, and staining types, making it difficult to apply models effectively.

Method used

A system and method utilizing a trained object detection engine, such as a convolutional neural network, to rapidly generate homogeneous clusters of cells and nuclei, reducing the annotation burden by transforming the input into clusters rather than individual cells, and enabling accurate cell detection and classification.

Benefits of technology

This approach facilitates rapid and accurate cell detection and classification, reducing the need for extensive pixel-level annotations and improving disease diagnosis and treatment by providing robust ground truth data for digital pathology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007534461000007
    Figure 0007534461000007
  • Figure 0007534461000013
    Figure 0007534461000013
  • Figure 0007534461000005
    Figure 0007534461000005
Patent Text Reader

Abstract

Systems and methods that facilitate ground truth labeling for cell and / or nuclei classification, as well as automated systems and methods for classifying cells in unlabeled images using trained cell detection and classification engines, such as those involving neural networks, are provided. The system 200 includes an object detection engine 210 that may be trained to detect cells in a sample image and components that can identify homogeneous clusters of the detected cells. The object detection engine includes a first portion that includes a neural network 212 and a second portion that includes a region proposal network 214, an architecture derived from region-based convolutional neural networks. The neural network can operate independently of the region proposal network.
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 the filing date of U.S. Application No. 62 / 830,823, filed April 8, 2019, and also claims the benefit of the filing date of U.S. Application No. 62 / 745,953, filed October 15, 2018, the disclosures of each of which are incorporated herein by reference in their entireties. [Background technology]

[0002] Digital pathology involves scanning entire histopathology or cytopathology slides into digital images that can be interpreted on a computer screen. These images are then subsequently processed using imaging algorithms or interpreted by a pathologist. To examine the tissue sections (which are essentially transparent), the tissue sections are prepared using colored histochemical stains that selectively bind to cellular components. The color-highlighted or stained cellular structures are used by clinicians or computer-aided diagnosis (CAD) algorithms to identify morphological markers of disease and direct treatment accordingly. Observing assays enable a variety of processes including diagnosing disease, assessing response to treatment, and developing new drugs to combat disease.

[0003] Immunohistochemical (IHC) slide staining is widely used to study various types of cells, such as cancerous or immune cells, in living tissues, since it can be used to identify proteins in cells of tissue sections. Therefore, IHC staining can be used in studies to understand the distribution and localization of differentially expressed biomarkers of immune cells (such as T cells or B cells) in cancer tissues to examine immune responses. For example, tumors often contain infiltrates of immune cells that can prevent tumor progression or promote tumor growth.

[0004] In situ hybridization (ISH) can be used to look for the presence of genetic abnormalities or conditions such as cancer amplifications that give rise to genes specifically in cells that appear morphologically malignant when viewed under a microscope. In situ hybridization (ISH) uses labeled DNA or RNA probe molecules that are antisense to the target gene sequence or transcript to detect or locate target nucleic acid target genes in a cell or tissue sample. ISH is performed by exposing a cell or tissue sample fixed on a glass slide to a labeled nucleic acid probe that can specifically hybridize to a given target gene in the cell or tissue sample. By exposing the cell or tissue sample to multiple nucleic acid probes labeled with multiple different nucleic acid tags, several target genes can be analyzed simultaneously. By utilizing labels with different emission wavelengths, simultaneous multicolor analysis can be performed in a single step on a single target cell or tissue sample. For example, the INFORM HER2 Dual ISH DNA Probe Cocktail Assay from Ventana Medical Systems, Inc. is intended to determine HER2 gene status by counting the ratio of the HER2 gene to chromosome 17. HER2 and chromosome 17 probes are detected using two-color chromogenic ISH in formalin-fixed, paraffin-embedded human breast cancer tissue specimens. Summary of the Invention

[0005] Cell and / or nucleus detection is a key task in digital pathology and generally refers to identifying and locating individual cells in images of stained cancer tissue. Histological images of cancer come in a variety of sizes, resolutions, and staining types and are crowded with visually heterogeneous overlapping cells. A challenge commonly faced in detecting cells and / or nuclei from these images is that, among other things, it is difficult and sometimes impossible to obtain ground truth annotations and apply models tuned for a particular resolution or staining to datasets with different resolutions and different staining. In fact, the process of ground truth labeling is often tedious and requires a long time of dedication. It would therefore be desirable to develop systems and methods that facilitate ground truth labeling for cell and / or nuclei classification.

[0006] In view of the above, the applicant of the present application has solved the problem of the tedious task of ground truth annotation by developing a system and method that facilitates the generation of ground truth data in a fast and robust manner. To achieve this, as detailed herein, the present system and method facilitates the generation of homogeneous clusters of cells and / or nuclei in a sample image, and can annotate the generated homogeneous clusters themselves (rather than individual cells and / or nuclei). This reduces the burden of ground truth labeling from roughly the number of cells in a dataset to the number of identified clusters in the dataset. The generation of homogeneous clusters of cells and / or nuclei is unconventional and thus converts system inputs into outputs that enable the generation of ground truth quickly and accurately. Thus, the technical problem of ground truth annotation is solved by using a system adapted to generate homogeneous clusters quickly and accurately, such as a system pre-trained on an image dataset unrelated to histological and / or cytological images, and / or a system that has been minimally tuned using histological and / or cytological images. The systems and methods described herein also enable rapid and accurate detection of cells and / or nuclei in test images using a cell detection and classification engine, facilitating accurate diagnosis of diseases such as cancer and thus improved treatments for afflicted subjects such as human patients. The systems and methods described herein are coupled to a tangible data source, i.e., image data corresponding to a biological specimen, such as a biological specimen derived from a patient in need of treatment.

[0007] One aspect of the present disclosure is a system for identifying clusters of cells in a sample image of a biological specimen stained for the presence of one or more biomarkers, the system comprising: (i) one or more processors; and (ii) one or more memories coupled to the one or more processors, the one or more memories storing computer-executable instructions that, when executed by the one or more processors, cause the system to perform operations including: (a) detecting cells in the sample image using a trained object detection engine comprising a convolutional neural network adapted to detect cellular features in the sample image; (b) extracting cellular features from one or more layers of the convolutional neural network; and (c) clustering the detected cells in the sample image based on the extracted cellular features to provide one or more homogenous clusters of the detected cells.

[0008] In some embodiments, the trained object detection engine comprises a region-based convolutional neural network. In some embodiments, the region-based convolutional neural network is comprised of Fast-RCNN. In some embodiments, the trained object detection engine is comprised of Faster-RCNN. In some embodiments, the trained object detection engine further comprises a region proposal network.

[0009] In some embodiments, the convolutional neural network of the trained object detection engine is LeNet, AlexNet, ZF Net, DetectNet , GoogleNet, VGGNet, VGG16, and DenseNet, or any variants thereof. In some embodiments, the convolutional neural network of the trained object detection engine is a deep residual network. In some embodiments, the deep residual network is composed of ResNet. In some embodiments, the neural network is an autoencoder neural network.

[0010] In some embodiments, the convolutional neural network comprises at least one scaling layer. In some embodiments, the at least one scaling layer scales the sample images by a constant factor. In some embodiments, clustering the detected cells comprises performing an agglomerative hierarchical clustering.

[0011] In some embodiments, the convolutional neural network is trained using a dataset including a plurality of training images, each of the plurality of training images being derived from a biological specimen stained with a primary stain or stained for the presence of one or more biomarkers (e.g., a plurality of training images stained for the presence of HER2). In some embodiments, each of the plurality of training images includes at least one class label. In some embodiments, each of the plurality of training images does not include a class label. In some embodiments, each of the plurality of training images does not include any pathologist annotations. In embodiments in which the object detection engine is trained using training images including at least one class label, the system may further include instructions for classifying the detected cells. In some embodiments, the sample image includes a stain that is different from the stain in any of the plurality of training images used to train the object detection engine.

[0012] In some embodiments, the system is adapted to receive an annotation corresponding to at least one of the one or more provided homogenous clusters of cells in the sample image, hi some embodiments, the annotation is provided by a pathologist.

[0013] In some embodiments, the system further includes instructions for training a cell detection and classification engine using the received annotations. In some embodiments, the system further includes instructions for detecting cells in a test image using the trained cell detection and classification engine. In some embodiments, the system further includes instructions for classifying cells in the test image using the trained cell detection and classification engine. In some embodiments, the test image includes at least one stain. In some embodiments, the at least one stain in the test image is a cellular stain. In some embodiments, the at least one stain in the test image is a membrane stain. In some embodiments, the at least one stain in the test image is different from the stain used to train the cell detection and classification engine.

[0014] In some embodiments, the cell detection and classification engine comprises a neural network. In some embodiments, the neural network is comprised of LeNet, AlexNet, ZF Net, DetectNet, GoogleNet, VGGNet, VGG16, DenseNet, or ResNet. In some embodiments, the neural network is an autoencoder neural network. In other embodiments, the cell detection and classification engine comprises a classifier. In some embodiments, the classifier is a support vector machine or an ensemble learning method, such as a random forest supervised learning algorithm. In some embodiments, the cell detection and classification module comprises a neural network and a classifier. In some embodiments, the neural network of the cell detection and classification module is adapted to extract features from an input test image.

[0015] In some embodiments, the system further includes instructions for fine-tuning the trained object detection engine using the received annotations to provide a fine-tuned object detection engine. In some embodiments, the system further includes instructions for detecting cells in a test image using the fine-tuned object detection engine. In some embodiments, the system further includes instructions for classifying cells in the test image using the fine-tuned object detection engine.

[0016] Another aspect of the present disclosure is a non-transitory computer-readable medium storing instructions for identifying clusters of cells in a sample image of a biological specimen stained for the presence of one or more biomarkers, the method comprising: (a) detecting cells in the sample image using a trained object detection engine comprising a first portion and a second portion, the first portion configured to identify cellular features in the sample image and the second portion configured to detect cells based on the identified cellular features; (b) extracting at least a portion of the identified cellular features from one or more layers of the trained object detection engine; and (c) clustering the detected cells in the sample image based on the extracted cellular features to provide one or more homogenous clusters of the detected cells.

[0017] In some embodiments, the first portion comprises a neural network. In some embodiments, the neural network is a convolutional neural network. In some embodiments, the convolutional neural network is comprised of LeNet, AlexNet, ZF Net, DetectNet, GoogleNet, VGGNet, VGG16, and DenseNet. In some embodiments, the convolutional neural network is a deep residual network. In some embodiments, the deep residual network is comprised of ResNet. In some embodiments, the second portion comprises a region proposal network. In some embodiments, the object detection engine is trained using a dataset including a plurality of training images derived from biological specimens stained with a primary stain or stained for the presence of one or more biomarkers. In some embodiments, the object detection engine is trained using a dataset including a plurality of training images, each training image of the plurality of training images stained with a primary stain or stained for the presence of one or more biomarkers, and each training image of the plurality of training images does not include a class label or pathologist annotation.

[0018] Another aspect of the present disclosure is a non-transitory computer-readable medium storing instructions for identifying clusters of cells in a sample image of a biological specimen stained for the presence of one or more biomarkers, the method comprising: (a) detecting cells in the sample image using a trained object detection engine comprising a convolutional neural network adapted to detect cellular features in the sample image; (b) extracting cellular features from one or more layers of the convolutional neural network; and (c) clustering the detected cells in the sample image based on the extracted cellular features to provide one or more homogenous clusters of the detected cells.

[0019] In some embodiments, the object detection engine is trained using a dataset that includes a plurality of training images derived from a biological specimen stained with a primary stain or stained for the presence of one or more biomarkers. In some embodiments, the object detection engine is trained using a dataset that includes a plurality of training images, each training image of the plurality of training images stained with a primary stain or stained for the presence of one or more biomarkers, and each training image of the plurality of training images does not include a class label or pathologist annotation.

[0020] In some embodiments, the convolutional neural network is composed of LeNet, AlexNet, ZF Net, DetectNet, GoogleNet, VGGNet, VGG16, and DenseNet. In some embodiments, the convolutional neural network is a deep residual network. In some embodiments, the deep residual network is composed of ResNet. In some embodiments, the trained object detection engine comprises a network architecture composed of Faster-RCNN. In some embodiments, the neural network is an autoencoder neural network.

[0021] In some embodiments, the non-transitory computer readable medium further comprises instructions for training a cell detection and classification engine using pathologist annotations corresponding to at least one of the one or more homogenous clusters of cells in the sample image. In some embodiments, the non-transitory computer readable medium further comprises instructions for detecting cells in a test image using the trained cell detection and classification engine. In some embodiments, the non-transitory computer readable medium further comprises instructions for classifying detected cells in the test image using the trained cell detection and classification engine. In some embodiments, the cell detection and classification engine comprises a neural network. In some embodiments, the cell detection and classification engine comprises a support vector machine.

[0022] In some embodiments, the non-transitory computer readable medium further comprises instructions for fine-tuning the trained object detection engine using the received annotations for at least one of the one or more homogenous clusters of cells in the sample image to provide a fine-tuned object detection engine. In some embodiments, the non-transitory computer readable medium further comprises instructions for detecting cells in a test image using the fine-tuned object detection engine.

[0023] Another aspect of the present disclosure is a method of identifying clusters of cells in a sample image of a biological specimen stained for the presence of one or more biomarkers, the method including: detecting cells in the sample image using a trained object detection engine comprising a convolutional neural network and a region proposal network, where the convolutional neural network is configured to identify cellular features and the region proposal network is configured to detect cells based on the identified cellular features; extracting the identified cellular features from one or more layers of the convolutional neural network; and clustering the detected cells in the sample image based on the extracted cellular features to provide one or more homogenous clusters of the detected cells.

[0024] In some embodiments, the trained object detection engine comprises a region-based convolutional neural network. In some embodiments, the region-based convolutional neural network is comprised of Fast-RCNN. In some embodiments, the trained object detection engine is comprised of Faster-RCNN. In some embodiments, the convolutional neural network is comprised of LeNet, AlexNet, ZF Net, DetectNet, GoogleNet, VGGNet, VGG16, and DenseNet. In some embodiments, the convolutional neural network is a deep residual network. In some embodiments, the deep residual network is comprised of ResNet. In some embodiments, the convolutional neural network is an autoencoder neural network. It is a network.

[0025] In some embodiments, the object detection engine is trained using a dataset that includes a plurality of training images derived from a biological specimen stained with a primary stain or stained for the presence of one or more biomarkers. In some embodiments, the object detection engine is trained using a dataset that includes a plurality of training images, each training image of the plurality of training images stained with a primary stain or stained for the presence of one or more biomarkers, and each training image of the plurality of training images does not include a class label or pathologist annotation.

[0026] Another aspect of the present disclosure is a method of detecting cells in a test image of a biological specimen stained for the presence of one or more biomarkers, the method including: determining cellular features in the test image of the biological specimen by inputting the test image into a first portion of the trained cell detection and classification engine comprising a convolutional neural network configured to detect cellular features; and detecting cells in the test image based on the determined cellular features by inputting the determined features of the test image into a second portion of the trained cell detection and classification engine comprising at least a region proposal network. In some embodiments, the convolutional neural network is a deep residual network. In some embodiments, the deep residual network is comprised of a ResNet.

[0027] In some embodiments, the method further includes classifying the detected cells in the test image. In some embodiments, the cell detection and classification engine is trained using ground truth data, the ground truth data including pathologist annotations corresponding to one or more identified homogenous clusters of cells from one or more sample images. In some embodiments, the homogenous clusters of cells from one or more sample images are identified by (i) providing the sample images to a trained object detection engine, (ii) detecting cells in the sample images using the trained object detection engine, (iii) extracting a plurality of cellular features from at least one of the convolutional layers in the trained object detection engine, and (iv) clustering the detected cells in the test image based on the extracted cellular features. In some embodiments, the object detection engine is trained on a dataset including a plurality of training images, each training image of the plurality of training images being derived from a biological specimen stained with a primary stain or stained for the presence of one or more biomarkers.

[0028] Another aspect of the present disclosure is a method of detecting cells in a test image of a biological specimen stained for the presence of one or more biomarkers, the method comprising: determining cellular features in the test image of the biological specimen by inputting the test image into a first portion of the trained cell detection and classification engine comprising a neural network configured to detect cellular features; and detecting cells in the test image based on the determined cellular features by inputting the determined features of the test image into a second portion of the trained cell detection and classification engine comprising a trained classifier. In some embodiments, the trained classifier comprises a support vector machine or a random forest ensemble learning method.

[0029] For a general understanding of the features of the present disclosure, reference is made to the drawings, in which like reference numerals are used throughout to identify identical elements. [Brief description of the drawings]

[0030] [Figure 1] 1 illustrates an exemplary digital pathology system including an image acquisition device and a computer system according to one embodiment of the present disclosure. [Figure 2A] 1 illustrates various modules that may be utilized in a digital pathology system or workflow to detect cells in a sample image according to one embodiment of the present disclosure. [Figure 2B] 1 illustrates various modules that may be utilized in a digital pathology system or workflow to detect cells in a sample image according to one embodiment of the present disclosure. [Figure 2C] 1 illustrates various modules that may be utilized in a digital pathology system or digital pathology workflow to detect and / or classify cells in a test image according to one embodiment of the present disclosure. [Figure 3A] 1 shows a flow chart illustrating steps for generating clusters of cells according to one embodiment of the present disclosure. [Figure 3B] 1 shows a flow chart illustrating steps for generating clusters of cells according to one embodiment of the present disclosure. [Figure 4] 1 shows a flowchart illustrating the steps of tuning a pre-trained neural network according to one embodiment of the present disclosure. [Diagram 5] 1 shows a flowchart illustrating steps for detecting and / or classifying cells in a test image according to one embodiment of the present disclosure. [Figure 6A] 1 illustrates an overview of a region-based convolutional neural network (RCNN) methodology according to one embodiment of the present disclosure. [Figure 6B] 1 illustrates an overview of the Fast-RCNN methodology according to one embodiment of the present disclosure. [Figure 6C]1 illustrates an overview of the Faster-RCNN methodology according to one embodiment of the present disclosure. [Figure 7] 1 shows the results of detecting cells in a sample image and then identifying homogeneous clusters of the detected cells. In some embodiments, a neural network is trained using a minimally annotated dataset. In some embodiments, the trained neural network is then used to detect cells in a large image and extract features associated with them. In some embodiments, the cells are then clustered based on their features, providing the pathologist with homogeneous clusters of cells that can be labeled batch by batch instead of one by one, thus greatly reducing the ground truth labeling effort. In some embodiments, the pathologist can annotate the identified homogeneous clusters, and the annotated clusters can be used as ground truth data. By employing Faster-RCNN, it is believed that the pathologist only needs to label the detected bounding boxes of cell candidates in clusters that can be distinguished by different colors. [Figure 8] We show an example of cell detection results using Model A on a Her2 Dual ISH image (top). The figure also shows the ground truth annotations of the corresponding image patches for comparison (bottom). [Figure 9A] We show clustering results using a trained object detection engine, which is based on the Faster-RCNN architecture. [Figure 9B] 1 illustrates cell clustering using RGB values ​​of detected cells. Bounding boxes can be generated by Matlab Image Labeler APP. Clusters are calculated using methods such as K-means. In some embodiments, agglomerative clustering is implemented in scikit-learn, as further described herein. [Figure 10A]Graphs showing evaluation of clustering based on Model A representation of BB data (i.e., 1822 two-class annotations of hematoxylin- and DAB-stained cells). [Figure 10B] Shown are graphs illustrating the evaluation of clustering based on the Model B representation of BBYP data (i.e., IHC duplex stained images containing 1340 annotations classified into five unbalanced classes whose number of members ranges from 10 to 1828). [Figure 11] Shown are examples of T cells (right) and tumor cells (left) in the BBYP dataset. Ki67+ and Ki67- tumor cells have the same color as Ki68+ and Ki67- T cells, respectively. These cells can be distinguished based on cell size, shape, and context. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0031] It is also to be understood that, unless expressly indicated otherwise, in methods claimed herein that include multiple steps or acts, the order of the method steps or acts is not necessarily limited to the order in which the method steps or acts are described.

[0032] As used herein, the singular forms "a," "an," and "the" include plural references unless the context makes clear otherwise. Similarly, the word "or" is intended to include "and" unless the context makes clear otherwise. The term "including..." is defined inclusively, such that "including A or B" means including A, including B, or including A and B.

[0033] As used herein and in the claims, "or" should be understood to have the same meaning as "and / or" as defined above. For example, when separating items in a list, "or" or "and / or" should be interpreted as inclusive, i.e., including at least one of some element or list of elements, but may include more than one, and may optionally include additional items not listed. Only terms that clearly indicate otherwise, such as "only one of" or "exactly one of" or, when used in the claims, "consisting of," mean including exactly one element of some element or list of elements. In general, the term "or" as used herein should be interpreted as indicating exclusive alternatives (i.e., "one or the other, but not both") only when accompanied by terms of exclusivity, such as "either," "one of," "only one of," or "exactly one of." "Consisting essentially of," when used in the claims, has its ordinary meaning as used in the field of patent law.

[0034] As used herein, terms such as "comprising," "including," "having," and the like are used interchangeably and have the same meaning. Similarly, terms such as "comprising," "including," "having," and the like are used interchangeably and have the same meaning. Specifically, each of these terms is defined consistent with the general U.S. patent law definition of "comprising," and thus is interpreted as an open term meaning "at least the following," without excluding additional features, limitations, aspects, and the like. Thus, for example, "a device having components a, b, and c" means that the device includes at least components a, b, and c. Similarly, the phrase "a method including steps a, b, and c" means that the method includes at least steps a, b, and c. Additionally, although steps and processes may be outlined in a particular order herein, one of ordinary skill in the art will appreciate that the order of steps and processes may vary.

[0035] As used in the specification and claims, the phrase "at least one" in reference to a list of one or more elements refers to any one of the elements in the list of elements. It should be understood that the term "at least one" means at least one element selected from one or more of the elements in the list of elements, but does not necessarily include at least one of every element specifically listed in the list of elements, and does not exclude any combination of elements in the list of elements. This definition allows for the optional presence of elements other than those specifically identified in the list of elements referred to by the phrase "at least one," whether or not related to the specifically identified elements. Thus, as a non-limiting example, "at least one of A and B" (or, equivalently, "at least one of A or B" or "at least one of A and / or B") can refer in one embodiment to at least one, optionally more than one, A, and no B (and optionally including elements other than B); in another embodiment to at least one, optionally more than one, B, and no A (and optionally including elements other than A); in yet another embodiment to at least one, optionally more than one, A, and at least one, optionally more than one, B (and optionally including other elements); and so forth.

[0036] As used herein, the term "biological specimen", "sample" or "tissue sample" refers to any sample containing biomolecules (proteins, peptides, cellular acids, lipids, carbohydrates, or combinations thereof, etc.) obtained from any organism, including viruses. Other examples of organisms include mammals (e.g., veterinary animals such as humans, cats, dogs, horses, cows, and pigs, and laboratory animals such as mice, rats, and primates), insects, annelids, arachnids, marsupials, reptiles, amphibians, bacteria, and fungi. Biological specimens include tissue samples (such as tissue sections and needle biopsies of tissues), cell samples (such as cytological smears such as Pap smears or blood smears, or samples of cells obtained by microdissection), or cell fractions, fragments, or organelles (e.g., obtained by lysing cells and separating components by centrifugation, etc.). Other examples of biological specimens include blood, serum, urine, semen, feces, cerebrospinal fluid, interstitial fluid, mucous membranes, tears, sweat, pus, biopsy tissue (e.g., obtained by surgical or needle biopsy), nipple aspirate, earwax, milk, vaginal fluid, saliva, swabs (such as cheek swabs), or any material that contains a biomolecule derived from an initial biological specimen. In certain embodiments, the term "biological specimen" as used herein refers to a sample (such as a homogenized or liquefied sample) prepared from a tumor or portion thereof obtained from a subject.

[0037] As used herein, the term "biomarker" or "marker" refers to a measurable indicator of some biological state or condition. In particular, a biomarker may be a protein or peptide, e.g., a surface protein, that can be specifically stained and represents a biological feature of a cell, e.g., a cell type or a physiological state of a cell. An immune cell marker is a biomarker that selectively represents a feature associated with a mammalian immune response. Biomarkers can be used to determine how well the body responds to treatment of a disease or condition, or whether a subject is predisposed to a disease or condition. In the context of cancer, a biomarker refers to a biological substance that represents the presence of cancer in the body. A biomarker may be a molecule secreted by a tumor, or a specific response of the body to the presence of cancer. Genetic, epigenetic, proteomic, glycomic, and imaging biomarkers can be used in cancer diagnosis, prognosis, and epidemiology. Such biomarkers can be analyzed in non-invasively collected biological fluids, such as blood or serum. Several gene and protein-based biomarkers are already being used in patient care, including, but not limited to, AFP (liver cancer), BCR-ABL (chronic myeloid leukemia), BRCA1 / BRCA2 (breast / ovarian cancer), BRAF V600E (melanoma / colorectal cancer), CA-125 (ovarian cancer), CA19.9 (pancreatic cancer), CEA (colorectal cancer), EGFR (non-small cell lung cancer), HER-2 (breast cancer), KIT (gastrointestinal stromal tumors), PSA (prostate-specific antigen), S100 (melanoma), and numerous other biomarkers. Biomarkers can be useful as diagnostics (to identify cancer at an early stage) and / or prognostics (to predict how aggressive the cancer is and / or how a subject will respond to a particular treatment and / or whether the cancer is likely to recur).

[0038] As used herein, the terms "image," "image scan," or "scanned image" encompass raw image data or pre-processed image data acquired from a biological tissue sample, such as by an optical sensor or sensor array. In particular, the image data can include a matrix of pixels.

[0039] As used herein, the term "image data" encompasses raw image data acquired from a biological tissue sample, such as by an optical sensor or sensor array, or pre-processed image data. In particular, image data can include a pixel matrix.

[0040] As used herein, the term "immunohistochemistry" refers to a method for determining the presence or distribution of an antigen in a sample by detecting the interaction of the antigen with a specific binding agent such as an antibody. The sample is contacted with the antibody under conditions that allow antibody-antigen binding. Antibody-antigen binding can be detected by a detectable label conjugated to the antibody (direct detection) or by a detectable label conjugated to a secondary antibody that specifically binds to the primary antibody (indirect detection).

[0041] As used herein, the term "multichannel image" or "multiplexed image" encompasses a digital image obtained from a biological tissue sample in which different biological structures, such as nuclei, cells, and tissue structures, are simultaneously stained with specific fluorescent dyes, quantum dots, chromogens, etc., each of which fluoresces or is otherwise detectable in a different spectral band, thereby constituting one of the channels of the multichannel image.

[0042] As used herein, the term "slide" refers to any substrate of any suitable dimensions (e.g., substrates made entirely or in part of glass, quartz, plastic, silicon, etc.) on which a biological specimen is placed for analysis, and more specifically refers to a "microscope slide" such as a standard 3" x 1" microscope slide or a standard 75mm x 25mm microscope slide. Examples of biological specimens that can be placed on a slide include, but are not limited to, cytological smears, thin tissue sections (e.g., from a biopsy), and arrays of biological specimens, such as tissue arrays, cell arrays, DNA arrays, RNA arrays, protein arrays, or any combination thereof. Thus, in one embodiment, tissue sections, DNA samples, RNA samples, and / or proteins are placed at specific locations on the slide. In some embodiments, the term slide can refer to SELDI and MALDI chips, as well as silicon wafers.

[0043] overview

[0044] Despite recent successes, modern computer vision techniques such as convolutional neural networks (CNNs) are costly to apply to cell-level prediction problems in cancer histology images due to the difficulty in providing cell-level supervision. In some embodiments, the present disclosure uses deep learning to detect cells in large images of biological specimens and classifies them into homogenous subsets using learned representations of the detected cells. The present disclosure provides a system and method for facilitating ground truth labeling for cell classification by reducing the burden of ground truth labeling from the level of the number of cells in a dataset to the number of clusters identified in the dataset through the use of small annotated patch-based labeling. In some embodiments, the present disclosure provides systems and methods for detecting cells in images of biological specimens (e.g., histological images, cytological images) using models trained with small annotated patches, which further utilize neural network representations of the detected cells to cluster and / or classify the detected cells. The applicants of the present application unexpectedly discovered that even with a small training image set, the proposed systems and methods can achieve excellent cell detection and classification performance, and can even generalize to unseen stain types. Indeed, the applicants of the present application demonstrate that the created models can detect cells in datasets of various sizes and resolutions, and demonstrate that the created models can generalize to a variety of stain types not seen during training.

[0045] Thus, embodiments of the integrated deep learning classification and detection framework described herein have numerous advantages over previously used approaches. For example, the embodiments described herein have several "ease of use" and cost advantages. In one such example, the embodiments described herein significantly reduce the burden on the user to annotate cells at the pixel level for training the detection network. In other words, the embodiments described herein enable bounding box labeling for detection, which significantly reduces the annotation burden on the user. In this way, some embodiments provide "ease of use" for annotation, training, and testing.

[0046] In some embodiments, the present disclosure describes systems and methods for training a pre-trained neural network, such as a convolutional neural network, with a plurality of training images to provide a trained convolutional neural network. In some embodiments, the training images used to train the pre-trained network are images of biological specimens stained for the presence of one or more biomarkers. In some embodiments, the training images include one or more class labels. In other embodiments, the training images do not include class labels. Additionally, the present disclosure provides a trained object detection engine that includes the trained neural network and the region proposal network. As described herein, the trained object detection engine can be used to detect cells.

[0047] In some embodiments, the present disclosure relates to systems and methods for detecting (and optionally classifying) cells in a sample image using a trained object detection engine. In some embodiments, the systems and methods described herein facilitate clustering of detected cells in a sample image to provide one or more homogeneous clusters of detected cells in each sample image. Furthermore, the identified homogeneous clusters of detected cells in each sample image can be annotated by a pathologist or the like, and such annotations can be used in some embodiments to train a classifier or neural network. In other words, the annotated homogeneous clusters can be used as ground truth data.

[0048] In some embodiments, the present disclosure provides automated systems and methods for detecting and / or classifying cells in a test image (e.g., an unlabeled image of a biological specimen derived from a subject, such as a human patient) using a cell detection and classification engine, where the cell detection and classification engine is trained using ground truth data. In some embodiments, the ground truth data is obtained from a pathologist's annotation of homogenous clusters of detected cells in one or more sample images. In some embodiments, the cell detection and classification engine includes a neural network, e.g., a neural network different from the neural network included in the object detection engine described above.

[0049] At least some embodiments of the present disclosure relate to computer systems and methods for analyzing digital images obtained from biological specimens including tissue samples stained with one or more primary stains (e.g., hematoxylin and eosin (H&E)) and one or more detection probes (e.g., probes that include specific binding entities that facilitate labeling of targets within the sample). Although examples herein may refer to the application of specific stains or detection probes for the detection of specific tissues and / or markers, one of skill in the art will understand that different tissues and different stains / detection probes may be applied to detect different markers.

[0050] A digital pathology system 200 for imaging and analyzing specimens is shown in FIG. 1 and FIG. 2A-2C. The digital pathology system 200 can include an imaging device 12 (e.g., a device having means for scanning a microscope slide carrying a specimen) and a computer 14, whereby the imaging device 12 and the computer can be communicatively coupled to each other (e.g., directly or indirectly via a network 20). The computer system 14 can include digital electronic circuitry, firmware, hardware, memory 201, a computer storage medium (240), a computer program or set of instructions (e.g., a program stored in the memory or storage medium), one or more processors (209) (including programmed processors), and any other hardware, software, or firmware modules, or combinations thereof (such as those further described herein), such as a desktop computer, laptop computer, tablet, etc. For example, the computing system 14 shown in FIG. 1 can include a computer having a display device 16 and a housing 18. The computer system can store digital images in binary format (locally, such as in the memory, on a server, or on another networked device). A digital image may also be divided into a matrix of pixels. A pixel may contain one or more bits of digital value defined by a bit depth. Those skilled in the art will appreciate that other computer devices or systems are available and that the computer systems described herein may be communicatively coupled to additional components, such as, for example, specimen analyzers, microscopes, other imaging systems, automated slide preparation devices, etc. Some of these additional components, as well as various available computers, networks, etc., are further described herein.

[0051] In general, the imaging device 12 (or other image source, including pre-scanned images stored in memory) may include, but is not limited to, one or more image acquisition devices. Image acquisition devices may include, but are not limited to, a camera (e.g., analog camera, digital camera, etc.), an optical system (e.g., one or more lenses, a sensor focus lens group, a microscope objective lens, etc.), an imaging sensor (e.g., a charge-coupled device (CCD), a complementary metal oxide semiconductor (CMOS) image sensor, etc.), photographic film, etc. In digital embodiments, the image acquisition device may include multiple lenses that cooperate to demonstrate fast focusing. An image sensor, such as a CCD sensor, may acquire a digital image of the specimen. In some embodiments, the imaging device 12 is a bright field imaging system, a multispectral imaging (MSI) system, or a fluorescence microscope system. The digitized tissue data may be generated by an image scanning system, such as, for example, a VENTANA DP200 scanner by VENTANA MEDICAL SYSTEMS, Inc. (Tucson, AZ) or other suitable imaging device. Additional imaging devices and systems are described further herein. Those skilled in the art will appreciate that the digital color images captured by imaging device 12 are conventionally composed of basic color pixels. Each color pixel may be encoded with three digital components, each containing the same number of bits, and each component corresponding to a primary color, usually red, green, or blue, sometimes referred to by the term "RGB" components.

[0052] 2A-2C provide an overview of the systems 200 and 250 of the present disclosure and the various modules utilized in each system. In some embodiments, the two digital pathology systems 200 and 250 employ a computing device or computer-implemented method having one or more processors 209 and one or more memories 201 that store non-transitory computer readable instructions that are executed by the one or more processors and cause the one or more processors to execute certain instructions as described herein.

[0053] Each of the systems 200 shown in FIG. 2A and FIG. 2B includes an object detection engine 210 that may be trained to detect (and optionally classify) cells in a sample image. Additionally, the system 200 includes components that allow for identifying homogenous clusters of detected cells. In some embodiments, the object detection engine includes a neural network 212. In some embodiments, the object detection engine 210 includes a first portion that includes the neural network 212 and a second portion that includes a region proposal network 214 (see FIG. 2B). In some embodiments, the object detection engine 210 includes an architecture derived from a region-based convolutional neural network. In some embodiments, the neural network 212 can operate independently of the region proposal network 214. For example, the neural network 212 can be trained as described herein (see also FIG. 4). Once the neural network 212 is trained, the trained neural network 212 can be used in conjunction with the region proposal network 214 to detect and / or classify cells in an input image.

[0054] In some embodiments, the system is configured to detect and optionally classify cells in a sample image. With reference to FIGS. 2A, 2B, 3A, and 3B, in some embodiments, one or more sample images are received from either the imaging device 12 or the storage module 240. In some embodiments, the sample images are stained with a primary stain or stained for the presence of one or more biomarkers, such as hematoxylin, DAPI, DAB, etc. In some embodiments, an object detection engine 210 is used to detect and optionally classify cells in the received sample image (step 310). In some embodiments, the object detection engine comprises a neural network 212, such as a convolutional neural network, and a region proposal network 214. In some embodiments, the neural network 212 is used to identify cellular features in the received sample image (step 340). In some embodiments, the region proposal network 214 is used to detect cells in the received sample image based on the cellular features identified by the neural network 212 (step 341). After cells are detected, the feature extraction module 202 is used to extract at least a portion of the features of the identified cells from at least one of the layers of the network 212 (step 311 or 341). The clustering module 204 can then be used to generate homogenous clusters of cells based on the extracted cell features (step 312 or 342). The generated homogenous clusters can then be annotated using the annotation module 206, for example by a pathologist.In some embodiments, the pathologist's annotations can be used as ground truth data, where the ground truth data can be used to train a classifier (e.g., a support vector machine) or other separate neural network (which can be the same type as or different from the neural network in the object detection engine 212) or can be used to fine-tune the trained neural network 212 of the object detection engine 210.

[0055] FIG. 2C presents an overview of modules used in system 250 to detect and / or classify cells in a test image. In some embodiments, system 250 includes a cell detection and classification module 255. In some embodiments, the cell detection and classification module comprises a neural network. In some embodiments, the cell detection and classification module comprises a classifier, such as, for example, a support vector machine. In embodiments where the cell detection and classification module comprises a neural network, the neural network may be the same as or different from the neural network 212 of the object detection engine 210. In some embodiments, system 250 further includes a scoring module for scoring the detected and / or classified cells, e.g., determining an H-score or a positive rate.

[0056] Those skilled in the art will appreciate that additional modules may be incorporated into the workflow or systems 200 and 250. In some embodiments, an image processing or pre-processing module may be operated to apply specific filters to the acquired images or to identify specific histological and / or morphological structures or features within the tissue sample. Additionally, a region of interest selection module may be utilized to select specific portions of the sample image or test for analysis. Additionally, an unmixing module may be operated to unmix multiplexed images prior to further processing.

[0057] Image Acquisition Module

[0058] 2A-2C, in some embodiments, the digital pathology systems 200 and 250 operate the image acquisition module 202 to acquire (e.g., using the imaging device 12) an image of a biological specimen, such as a biological specimen having one or more stains, such as a primary stain or a stain indicative of the presence of a biomarker. In some embodiments, the image is a simplex image. In other embodiments, the image is a multiplex image. In some embodiments, the received or acquired image is an RGB image or a multispectral image. In some embodiments, the acquired image is stored in the memory 201 (or in the storage module 240).

[0059] In some embodiments, the images acquired or stored in storage module 240 are "training images." In some embodiments, the training images are images of biological specimens, which may be histological or cytological specimens or any combination thereof. In some embodiments, the training images are used to train a pre-trained neural network. In this regard, the training images are used for training purposes. In some embodiments, the training images include at least one stain. In some embodiments, the training images include multiple stains. In some embodiments, the training images include one or more class annotations. In some embodiments, multiple training images are used to train a pre-trained neural network. In some embodiments, the training images may be part of a dataset that includes multiple training images, where each training image of the multiple training images is an image of the same stain. Or, different stains may be included, and each training image in the plurality of training images may include a classification label.

[0060] In some embodiments, the acquired image or the image stored in the storage module 240 is a "sample image". In some embodiments, the sample image is an image of a biological specimen, which may be a histological or cytological specimen. In some embodiments, the sample image is fed to a trained neural network so that cells can be detected (and optionally classified) and the detected cells can be clustered (see, for example, FIG. 7). From the sample image, ground truth data can finally be derived, i.e. the ground truth data includes the pathologist's annotations of the generated homogenous clusters of cells detected in the sample image. The generated ground truth data can be used to train a classifier or a neural network.

[0061] In some embodiments, the acquired image or the image stored in the storage module 240 is a "test image." In some embodiments, the test image is an image of a biological specimen, which may be a histological or cytological specimen. The test image is provided to a trained classifier or neural network, such as a classifier or neural network trained using generated ground truth data including annotations by a pathologist, as described above. In this manner, cells in the test image can be detected and / or classified. The test image can be considered as an image of a sample derived from a subject, such as a human patient, and a pathological impression or diagnosis can be arrived at based on the detection and / or classification of cells (or other cellular features) in the test image.

[0062] Any of the training, sample, or test images (collectively referred to herein as "input images") may be images of the entire slide image or any portion thereof (e.g., a predetermined field of view). Furthermore, regardless of whether the image is a training, sample, or test image, the input image may be acquired using any imaging device. The input image may be acquired, for example, in real time, using imaging device 12. In some embodiments, the input image is acquired from a microscope or other instrument capable of acquiring image data of a microscope slide bearing a specimen, as described herein. In some embodiments, the input image is acquired using a 2D scanner, such as a scanner capable of scanning image tiles, such as a VENTANA DP 200 scanner, or a line scanner capable of scanning an image line by line.

[0063] Additionally, the camera platform may include a brightfield microscope, one example of which is the VENTANA iScan HT product from Ventana Medical Systems, Inc., or any microscope having one or more objective lenses and a digital imager and a series of spectral filters. Other techniques for acquiring images at different wavelengths may also be used. Additional camera platforms suitable for imaging stained biological specimens are known in the art and are commercially available from companies such as Zeiss, Canon, Applied Spectral Imaging, and such platforms may be readily adapted for use in the systems, methods, and devices of the subject disclosure.

[0064] Generally, each of the input images includes a signal corresponding to a stain (chromogen, fluorophore, quantum dot, etc.). In some embodiments, the input images are stained with at least one primary stain (hematoxylin or eosin). In other embodiments, at least one image is stained with an IHC or ISH assay to identify a particular biomarker. In some embodiments, multiple simplex images are used as input, and the images may be from consecutive tissue sections, i.e., consecutive sections from the same xenograft tissue block. In some embodiments, the input image may be a multiplex image, i.e., stained for multiple different markers in a multiplex assay, according to methods known to those of skill in the art.

[0065] A typical biological specimen is processed in a staining / assay platform that applies stain to the sample. In some embodiments, the specimen processing device is an automated device, such as the BENCHMARK XT, SYMPHONY, or BENCHMARK ULTRA devices sold by Ventana Medical Systems, Inc. Ventana Medical Systems, Inc. is the assignee of several U.S. patents that disclose systems and methods for performing automated assays, such as U.S. Patent Nos. 5,650,327, 5,654,200, 6,296,809, 6,352,861, 6,827,901, and 6,943,029, and U.S. Patent Application Publication Nos. 20030211630 and 20040052685, each of which is incorporated herein by reference in its entirety. Alternatively, the specimen can be processed manually.

[0066] Examples of commercially available H&E stainers include the VENTANA SYMPHONY (individual slide stainer) and VENTANA HE 600 (individual slide stainer) series H&E stainers from Roche, the Dako CoverStainer (batch stainer) from Agilent Technologies, and the Leica ST4020 Small Linear Stainer (batch stainer), Leica ST5020 Multistainer (batch stainer), and Leica ST5010 Autostainer XL series (batch stainer) H&E stainers from Leica Biosystems Nussloch GmbH. There are other commercially available products on the market that are suitable for use as staining / assay platforms, one example being the Discovery™ product from Ventana Medical Systems, Inc. (Tucson, Arizona).

[0067] As will be appreciated by those skilled in the art, biological specimens can be stained for different types and / or cell membrane biomarkers. Methods for staining tissue structures and guidance in selecting suitable stains for various purposes are discussed, for example, in "Sambrook et al., Molecular Cloning: A Laboratory Manual, Cold Spring Harbor Laboratory Press (1989)" and "Ausubel et al., Current Protocols in Molecular Biology, Greene Publishing Associates and Wiley-Intersciences (1987)," the disclosures of which are incorporated herein by reference.

[0068] By way of example, but not by way of limitation, in the context of detecting breast cancer, in some embodiments, a tissue sample is stained with an IHC assay for the presence of one or a biomarker, including an estrogen receptor marker, a progesterone receptor marker, a Ki-67 marker, or a HER2 marker. Thus, in some embodiments, the biomarker image used as input is an IHC image that includes a signal (e.g., a signal corresponding to a staining that may be chromogenic or fluorescent) corresponding to the presence of at least one of an estrogen receptor (ER) marker, a progesterone receptor (PR) marker, a Ki-67 marker, or a HER2 marker. In some embodiments, the sample can be analyzed, e.g., qualitatively or quantitatively measured, to detect or measure the presence of ER, HER2, Ki-67, and PR proteins in the sample. As another example, but not by way of limitation, in the context of detecting non-small cell lung cancer, in some embodiments, a tissue sample is stained with an IHC assay for the presence of one or a biomarker, including a PD-L1 biomarker. Thus, in some embodiments, the biomarker image used as input is an IHC image that contains signals corresponding to the presence of the PD-L1, CD3, and CD8 markers.

[0069] Whether the acquired image is used as a training image, a sample image for determining ground truth, or a test image for cell detection and / or classification, the input image may contain information that needs to be masked. In some embodiments, the input image is optionally masked with a tissue masking module as described herein. In some embodiments, the input image is masked so that only tissue regions are present in the image. In some embodiments, a tissue region mask is generated to mask non-tissue regions from tissue regions. In some embodiments, the tissue region mask can be created by identifying tissue regions and automatically or semi-automatically (i.e., with minimal user input) excluding background regions (e.g., regions of the entire slide image corresponding to glass where no sample is present, such as regions where only white light from the imaging source is present).

[0070] Those skilled in the art will understand that in addition to masking non-tissue regions from tissue regions, the tissue masking module can also mask other regions of interest, such as parts of tissue identified as belonging to a particular tissue type or as belonging to a suspicious tumor region, if necessary. In some embodiments, a segmentation technique is used to generate a tissue region mask image by masking tissue regions from non-tissue regions in the input image. Suitable segmentation techniques are known per se from the prior art (see Digital Image Processing, 3rd Edition, Rafael C. Gonzalez, Richard E. Woods, Chapter 10, page 689, and Handbook of Medical Imaging, Processing, and Analysis, Isaac N. Bankman, Academic Press, 2000, Chapter 2). Further information and examples regarding generation of tissue region masks are disclosed in International Patent Application PCT / EP / 2015 / 062015, entitled "An Image Processing Method and System for Analyzing a Multi-Channel Image Obtained from a Biological Tissue Sample Being Stained by Multiple Stains," the disclosure of which is incorporated herein by reference in its entirety.

[0071] Object Detection Engine

[0072] The system 200 of the present disclosure includes an object detection engine 210 including at least a neural network 212. In some embodiments, the object detection engine 210 includes a first portion including the neural network 212 (including any of the neural networks described below) and a region proposal network 214. In some embodiments, the trained object detection engine 210, i.e., the object detection engine including the trained neural network 212, is used to detect and / or classify cells in the sample image such that homogenous clusters of cells in the sample image can be identified. In some embodiments, the neural network 212 is configured to determine features and generate a feature map of the sample image. In some embodiments, the object detection engine 210 includes an architecture derived from a region-based convolutional neural network, as described below.

[0073] Object detection is the process of finding and classifying objects in an image. One deep learning approach, region-based convolutional neural network (RCNN), combines rectangular region proposals with the capabilities of convolutional neural networks (described herein). RCNN is a two-stage detection algorithm. The first stage identifies a subset of regions in an image that may contain objects. The second stage classifies the object for each region. The model of object detection using regions with CNN is based on three processes: (a) Find regions in an image that may contain objects. These regions are called region proposals. (b) Extract CNN features from the region proposals. (c) Classify the object using the extracted features.

[0074] There are several variants of RCNN, each of which attempts to optimize, speed up, or enhance the results of one or more of these processes. The RCNN detector (Girshick, R., J. Donahue, T. Darrell, and J. Malik. “Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation.” CVPR '14 Proceedings of the 2014 IEEE Conference on Computer Vision and Pattern Recognition. Pages 580-587, 2014) first generates region proposals using algorithms such as Edge Boxes (Zitnick, C. Lawrence, and P. Dollar. “Edge boxes: Locating object proposals from edges.” Computer Vision-ECCV. Springer International Publishing. Pages 391-4050. 2014). The proposal regions are cropped from the image and resized. Then, the CNN classifies the cropped and resized regions. Finally, the region proposal bounding boxes are refined by a support vector machine (SVM) trained using the CNN features. Figure 6A shows the process of region detection, CNN feature computation, and region classification.

[0075] Similar to the RCNN detector, the Fast RCNN detector (Girshick, Ross. “Fast RCNN.” Proceedings of the IEEE International Conference on Computer Vision. 2015) also generates region proposals using algorithms such as Edge Boxes. Unlike the RCNN detector, which crops and resizes the region proposals, the Fast RCNN detector processes the entire image. While the RCNN detector must classify each region, Fast RCNN pools the CNN features corresponding to each region proposal. Fast RCNN is more efficient than RCNN because the computation of overlapping regions is shared in the Fast RCNN detector. Figure 6B shows the detection using the convolutional feature map and the region of interest (ROI) feature vector.

[0076] The Faster RCNN detector is described by Ren, Shaoqing, Kaiming He, Ross Girshick, and Jian Sun. “Faster RCNN: Towards Real-Time Object Detection with Region Proposal Networks.” Advances in Neural Information Processing Systems, Vol. 28, 2015. Instead of using external algorithms such as Edge Boxes, Faster RCNN adds a region proposal network 214 to generate region proposals directly within the network. The region proposal network uses Anchor Boxes for Object Detection. It is believed that generating region proposals in the network allows for faster and more efficient detection of cells in sample images, especially in light of the large size of the input images provided to the object detection engine 210. In some embodiments, the region proposal network and the classification network share the same feature extraction layer. FIG. 6C shows an object detection engine 210 based on the Faster-RCNN architecture, which includes multiple convolutional layers and a region proposal network.

[0077] Mask-RCNN extends Faster R-CNN by adding a branch for predicting object masks in parallel to the existing branch for bounding box recognition. Mask-RCNN improves the ROI pooling step. In the ROI, warping is digitized and the cell boundaries of the target feature map are realigned to the boundaries of the input feature map. Mask-RCNN uses ROI Align, which does not digitize the cell boundaries and makes all target cells the same size. It also applies interpolation to calculate the feature map values.

[0078] Particular implementations of RCNN, including Fast-RCNN and Faster-RCNN, are described in U.S. Patent Application Publication Nos. 2018 / 0268292, 2018 / 0018535, and 2016 / 034288, the disclosures of which are each incorporated herein by reference in their entirety. Still other particular implementations of RCNN, including Fast-RCNN and Faster-RCNN, are described in U.S. Patent No. 9,971,953, the disclosures of which are incorporated herein by reference in their entirety. Any of these implementations may be adapted for cell detection and / or classification.

[0079] The region proposal network 214 can be generally defined as a fully convolutional network that detects objects in an image and proposes regions corresponding to those detected objects. Proposal networks are attractive for use in the embodiments described herein because they are relatively fast and can detect objects of different sizes. The proposal network can overlay a sliding window on a feature map generated by one or more convolutional layers that generate k anchor boxes. The result of overlaying the sliding window on the feature map can be input to an intermediate layer of the proposal network, which generates 2k scores by a cls layer and 4k coordinates by a reg layer (see Ren, Shaoqing, Kaiming He, Ross Girshick, and Jian Sun. “Faster RCNN: Towards Real-Time Object Detection with Region Proposal Networks.” Advances in Neural Information Processing Systems, Vol. 28, 2015).

[0080] In some embodiments, the region proposal network 214 is configured for cell detection. In other words, the region proposal network 214 uses features from the generated feature map to detect cells in the sample image based on the determined features. In some embodiments, the region proposal network 214 is configured to generate bounding box detection results.

[0081] Neural Networks

[0082] In some embodiments, the present disclosure relates to training a neural network 212, such as a convolutional neural network, and then utilizing the trained neural network to detect and / or classify cells in an input image. Suitable neural networks that can be trained and / or used in cell detection and / or classification are described below.

[0083] In some embodiments, the neural network 212 is configured as a deep learning network. In general, "deep learning" is a branch of machine learning based on a set of algorithms that attempt to model high-level abstractions in data. Deep learning is part of a broad family of machine learning techniques based on learning representations of data. Observations (e.g., input images) can be represented in different ways, such as vectors of intensity values ​​per pixel, or in more abstract ways, such as sets of edges, regions of particular shapes, etc. Some representations are better than others at simplifying the learning task. One of the promises of deep learning is the replacement of hand-crafted features with efficient algorithms for unsupervised or semi-supervised feature learning and hierarchical feature extraction.

[0084] In some embodiments, the neural network 212 is a machine learning network. Machine learning can be generally defined as a type of artificial intelligence (AI) that provides computers with the ability to learn without having to be explicitly programmed. Machine learning focuses on developing computer programs that can teach themselves to grow and change when exposed to new data. In other words, machine learning can be defined as a branch of computer science that gives computers the ability to learn without being explicitly programmed. Machine learning explores the study and construction of algorithms that can learn from and make predictions about data, and such algorithms overcome the need to strictly follow static program instructions by making data-driven predictions or decisions by building models from sample inputs. The machine learning described herein can be further performed as described in “Introduction to Statistical Machine Learning,” by Sugiyama, Morgan Kaufmann, 2016, 534 pages, “Discriminative, Generative, and Imitative Learning,” Jebara, MIT Thesis, 2002, 212 pages, and “Principles of Data Mining (Adaptive Computation and Machine Learning),” Hand et al., MIT Press, 2001, 578 pages, which are incorporated by reference as if fully set forth herein. The embodiments described herein can be further configured as described in these references.

[0085] In some embodiments, the neural network 212 is a generative network. A "generative" network can be generally defined as a model that is probabilistic in nature. In other words, a "generative" network is not a network that performs forward simulation or rule-based techniques. Instead, the generative network can be trained (in that it can learn its parameters) based on an appropriate training data set (e.g., from multiple training images, such as training images of biological specimens stained for the presence of one or more biomarkers). In some embodiments, the neural network is configured as a deep generative network. For example, the network can be configured to have a deep learning architecture, in that the network can include multiple layers that perform several algorithms or transformations.

[0086] In some embodiments, the neural network 212 may be a deep neural network with a set of weights that model the world according to the data provided for training, as described herein. A neural network is typically composed of multiple layers, with signal paths moving from front to back between layers. Any neural network can be implemented for this purpose. Suitable neural networks include LeNet proposed by Yann LeCun, AlexNet proposed by Alex Krizhevsky et al., ZF Net proposed by Matthew Zeiler et al., GoogLeNet proposed by Szegedy et al., VGGNet proposed by Karen Simonyan et al., and ResNet proposed by Kaiming He et al. In some embodiments, the neural network is VGG16 (Simonyan, 2014). In other embodiments, the multi-layer neural network is DenseNet (see Huang et al., “Densely Connected Convolutional Networks,” arXiv:1608.06993). In some embodiments, a fully convolutional neural network is utilized, such as the neural network described in Long et al., “Fully Convolutional Networks for Semantic Segmentation,” Computer Vision and Pattern Recognition (CVPR), 2015 IEEE Conference, June 2015 (INSPEC Accession Number: 15524435), the disclosure of which is incorporated herein by reference.

[0087] In some embodiments, the neural network 212 is configured as AlexNet. For example, the classification network structure may be AlexNet. The term "classification network" is used herein to refer to a CNN that includes one or more fully connected layers. In general, AlexNet includes several convolutional layers (e.g., 5) and several fully connected layers (e.g., 3) that are configured and trained in combination to classify images. An example of a neural network configured as AlexNet is described in "ImageNet Classification with Deep Convolutional Neural Networks" by Krizhevsky et al., NIPS 2012, which is incorporated by reference as if fully set forth herein. The neural networks described herein may be further configured as described in this reference.

[0088] In other embodiments, the neural network 212 is configured as GoogleNet. For example, the classification network structure may be GoogleNet. GoogleNet may include convolutional layers, pooling layers, fully connected layers, such as layers further described herein, configured and trained to classify images. Although the GoogleNet architecture may include a relatively large number of layers (especially compared to some other neural networks described herein), some layers may be operating in parallel, and a group of layers working in parallel with each other is generally referred to as an Inception module. Other layers may operate sequentially. Thus, GoogleNet differs from other neural networks described herein in that not all layers are necessarily arranged in a sequential structure. An example of a neural network configured as GoogleNet is described in “Going Deeper with Convolutions,” by Szegedy et al., CVPR 2015, which is incorporated by reference as if fully set forth herein. The neural networks described herein may be further configured as described in this reference.

[0089] In another embodiment, the neural network 212 is configured as a VGG network. For example, the classification network structure may be VGG. The VGG network was created by increasing the number of convolutional layers while holding other parameters of the architecture fixed. Adding convolutional layers to increase the depth effectively adds a new layer to every layer. This is made possible by the use of small convolutional filters. As with other neural networks described herein, the VGG network was created and trained to classify images. The VGG network further includes a convolutional layer followed by a fully connected layer. An example of a neural network configured as a VGG is described in “Very Deep Convolutional Networks for Large-Scale Image Recognition,” by Simonyan et al., ICLR 2015, which is incorporated by reference as if fully set forth herein. The neural networks described herein can be further configured as described in this reference.

[0090] In some embodiments, the neural network 212 comprises an autoencoder. An autoencoder neural network is an unsupervised learning algorithm that applies backpropagation to set a target value equal to the input. The goal of an autoencoder is to learn a representation (encoding) of a dataset, typically for dimensionality reduction, by training the network to ignore signal "noise". A reconstruction side is trained along with a reduction side, and the autoencoder attempts to generate a representation from the reduced encoding that is as close as possible to the original input. More information on autoencoders can be found at http: / / ufldl.stanford.edu / tutorial / unsupervised / Autoencoders / , the disclosure of which is incorporated herein by reference in its entirety.

[0091] In other embodiments, the neural network 212 is configured as a deep residual network. For example, the classification network structure may be a Deep Residual Net or ResNet. As with some other networks described herein, a deep residual network may include a convolutional layer and a subsequent fully connected layer that are configured and trained to classify images in combination. In a deep residual network, the layers are configured to learn a residual function with respect to the layer inputs, rather than learning an unreferenced function. In particular, instead of expecting each of several stacked layers to directly fit a desired underlying mapping, these layers can be explicitly adapted to a residual mapping realized by a feedforward neural network with shortcut connections. A shortcut connection is a connection that skips one or more layers. A deep residual net can be generated by taking a simple neural network structure that includes a convolutional layer and inserting shortcut connections that take the simple neural network and transform it into its residual learning counterpart. Examples of deep residual nets are described in "Deep Residual Learning for Image Recognition" by He et al., NIPS 2015, which is incorporated by reference as if fully set forth herein. The neural networks described herein can be further configured as described in this reference.

[0092] Tuning a pre-trained neural network

[0093] In some embodiments, the neural network 212 of the object detection engine 210 is first trained, for example, with a plurality of training images or one or more datasets including a plurality of training images. The neural network is typically trained on large publicly available image data archives of natural images (such as ImageNet, Russakovsky et al., 2015, ImageNet Large Scale Visual Recognition Challenge. IJCV, 2015, etc.). Given that there are typically few training images for biological specimens such as tumor samples, transfer learning methods are employed.

[0094] In some embodiments, a "transfer learning" method can be used, in which a pre-trained network as described above, with its trained weights, is used to initialize the training process on a new set of training images, training the weights to adapt to the particular application at hand (see Pan, SJ, & Yang, Q. (2010). A Survey on Transfer Learning. IEEE Transactions on Knowledge and Data Engineering, 22(10), 1345-1359. doi:10.1109 / tkde.2009.191, the disclosure of which is incorporated herein by reference in its entirety). In some embodiments, the pre-trained network is trained on an existing public or private dataset that may or may not be directly related to the application of interest, and may or may not be biological in nature. In some embodiments, the weights of the final layer are randomly initialized to avoid getting stuck in suboptimal local minima, while in other embodiments, the weights of the final layer are imported unchanged.

[0095] In some embodiments, a pre-trained neural network is obtained (step 410). In some embodiments, the pre-trained neural network is a neural network trained using a database including a dataset including a large number of images, such as more than 100,000 images, more than 200,000 images, or more than 300,000 images. In some embodiments, the pre-trained neural network is a neural network pre-trained using the Microsoft Coco dataset (Tsung-Yi Lin, et.al., “Microsoft coco: Common objects in context,” in European conference on computer vision, Springer, 2014, pp. 740-755). In other embodiments, the pre-trained neural network is a neural network pre-trained using the ImageNet dataset (J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei, “ImageNet: A Large-Scale Hierarchical Image Database,” in CVPR, 2009), PASCAL VOC (M. Everingham, L. Van Gool, C.K.I. Williams, J. Winn, and A. Zisserman, “The PASCAL visual object classes (VOC) challenge,” IJCV, vol. 88, no. 2, pp. 303-338, Jun. 2010), or the SUN dataset (J. Xiao, J. Hays, K.A. Ehinger, A. Oliva, and A. Torralba, “SUN database: Large-scale scene recognition from abbey to zoo,” in CVPR, 2010).

[0096] The Microsoft Common Objects in Context (MS COCO) dataset contains 91 common object categories, 82 of which have more than 5,000 labeled instances. In total, the dataset has 2,500,000 labeled instances in 328,000 images. In contrast to the ImageNet dataset, COCO has fewer categories but more instances per category. This may help to learn detailed object models capable of accurate 2D localization. The dataset also has significantly more instances per category than the PASCAL VOC and SUN datasets. MS COCO appears to contain significantly more object instances per image (7.7) compared to ImageNet (3.0) and PASCAL (2.3). In contrast, the SUN dataset, which contains significant contextual information, has a much larger number of instances per category. The dataset has over 17 objects and "things" per image, but the object instances overall are fairly low. Methods for training the neural network are further described in U.S. Patent Application Publication No. 2019 / 0073568, the disclosure of which is incorporated herein by reference in its entirety.

[0097] After the pre-trained neural network is obtained, multiple training images are obtained (step 411) and can be used to train the pre-trained neural network (step 412). To familiarize the pre-trained model with the unique neural network with the unique features of the images of the biological specimen, in some embodiments, the pre-trained neural network is trained using training images of biological specimens stained with a primary stain or stained for the presence of one or more biomarkers. By way of example only, five different training image datasets are shown in Table 1. In some embodiments, the training images of the biological specimens are annotated. In other embodiments, the training images of the biological specimens are not annotated, i.e., they do not include class labels. In some embodiments, each of the training images may have the same resolution or different resolutions. In some embodiments, each of the training images may have the same magnification or different magnifications (e.g., 10x training images, 20x training images, 40x training images, etc.). In some embodiments, the training images are thousands of pixels in each dimension. In some embodiments, patches are randomly extracted to allow for annotation, for example patches having a size of 64x64 pixels or 128x128 pixels. [Table 1]

[0098] Additional information regarding each of the datasets listed in Table 1 is provided below.

[0099] Her2: 560 annotations of Her2 membrane staining cells

[0100] Dual ISH: 1269 annotations of dual in situ hybridization stained cells.

[0101] Combination: Combination of Her2 and Dual ISH datasets

[0102] BB: 1822 two-class annotations of hematoxylin and DAB stained cells

[0103] BBYP: IHC duplex stained images with 1340 annotations divided into 5 unbalanced classes with member numbers ranging from 10 to 1828

[0104] For the "Her2", "Dual ISH", and "Combined" datasets, the annotations are bounding boxes of class-agnostic cells, for the BB dataset, the annotations are bounding boxes with the labels of "blue" or "brown" cells, and for the BBYP dataset, the annotations are bounding boxes with the labels of "blue tumor cells", "purple tumor cells", "yellow T cells", "purple T cells", and "yellow and purple T cells", which correspond to "ki67- tumor", "ki67+ tumor", "cd8+ T cells", "ki67+ T cells", and "cd8+ki67+ T cells", where these classes are mutually exclusive.

[0105] The pre-trained neural networks were tuned (step 412) using the datasets shown in Table 1, resulting in the following trained neural networks: These different trained neural networks were used for specific experiments, as detailed in the Examples section of this specification.

[0106] Model Zero: A Faster RCNN model with a Resnet-50 feature extractor pre-trained on the COCO dataset.

[0107] HER2: Model Zero tuned for cell detection in Her2 data

[0108] DUALISH: Model Zero Tuned for Cell Detection in Dual ISH Data

[0109] Model A: Model Zero tuned for cell detection in combined data

[0110] Model B: Model Zero trained on detection and classification in BB data

[0111] Model C: Model A trained on detection and classification in BB data

[0112] Generate homogeneous clusters of detected cells using a trained object detection engine

[0113] Following training of the pre-trained neural network, e.g., training the pre-trained neural network with multiple training images of biological specimens stained for the presence of one or more biomarkers, the trained neural network 212 is used (along with other modules) to detect and / or classify cells in the sample images such that homogenous clusters of the detected cells can be identified in the sample images (see FIG. 3A). In another embodiment, the trained neural network 212 is used along with a region proposal network 214 (which cooperates to provide the trained object detection engine 210) to detect and / or classify cells in the sample images such that homogenous clusters of the detected cells can be identified in the sample images (see FIG. 3B). These sample images can then be annotated by a pathologist or the like. To the extent that the object detection engine 210 is an object detection engine trained with training images that include one or more class labels, one skilled in the art will appreciate that the trained object detection engine 210 can be adapted to classify the detected cells.

[0114] Referring to FIG. 3A, in some embodiments, one or more sample images are acquired and provided to a trained object detection engine 210 so that cells can be detected (step 310). In some embodiments, the trained object detection engine 210 is derived from a region-based convolutional neural network. In some embodiments, the RCNN architecture is based on the Fast-RCNN architecture. Made.

[0115] In another embodiment, referring to FIG. 3B, the neural network 212 is used to identify cellular features in one or more sample images (step 340), and then the region proposal network 214 is used to detect cells in the one or more sample images based on the identified cellular features (step 341). In another embodiment, the trained object detection engine 210 is derived from Faster-RCNN. In yet another embodiment, the trained object detection engine 210 is based on a Faster-RCNN architecture and the neural network 212 comprises a deep residual network, such as a ResNet.

[0116] In some embodiments, the object detection engine 210 includes a scaling layer. The trained object detection engine is trained on small images (64 x 64 pixels, 128 x 128 pixels, etc.) that can be annotated by humans, but the sample images are larger in size, e.g., 100 times larger in size. In some embodiments, instead of an image resizer typically used in one of the region-based convolutional neural network architectures, a scaling layer is introduced in the trained object detection engine 210 that scales the image by a constant factor regardless of size.

[0117] In some embodiments, the object detection engine is trained over a fixed number of steps (e.g., about 30,000) using hyperparameters proposed in the Tensorflow Object Detection API. In some embodiments, the maximum number of proposals in the inference process is increased to accommodate larger images. Detection performance was measured by the average mean average precision index (mAP @ 50) at a threshold of 0.50.

[0118] A summary of detection (and classification, if class labels are present in the training images) performance is shown in Table 2. mAP @ 50 refers to the average mean precision, which is the average of the maximum precisions at different recall values. In measuring mAP @ 50, a detection is considered correct if it matches the ground truth annotation with an IoU of more than 50%. Here, precision refers to true positive / all positive detections. IoU measures the overlap between two regions. Cell detection results using Model A on Her2 and dual ISHM images, compared to the ground truth annotations of the corresponding patches, are shown in Figure 8. The models listed in Table 2 are used in the examples described later in this specification. [Table 2]

[0119] Table 2 shows that Faster-RCNN, fine-tuned on various staining types (as described in the above embodiment), performs well on each staining type, whether it is Her2, a membrane staining, Dual ISH, a DNA staining, or BB, a cell staining. The results show that it works well. The difference in performance is likely due to the quality of the ground truth annotations used for training and testing.

[0120] As described herein, the neural network 212 can include multiple layers, such as, for example, convolutional layers. In some embodiments, the neural network is designed to determine specific features in one or more sample images. The features determined by the neural network can include any suitable features as described further herein or known in the art that can be inferred from the inputs and used to generate outputs as described further herein. For example, the features can include a vector of intensity values ​​for each pixel. The features can also include any other type of feature described herein, such as, for example, a vector of scalar values, a vector of independent distributions, a joint distribution, or any other suitable feature type known in the art.

[0121] In the context of a biological specimen, the neural network can determine specific cells or cellular features within one or more provided sample images of the biological specimen stained for the presence of one or more biomarkers. Following identification of the cellular features (step 340) and / or detection of cells based on the identified cellular features (step 341), at least a portion of the cellular features can be extracted from one or more layers of the neural network 212 using the feature extraction module 202 (steps 311 or 342). In some embodiments, a deep residual network, such as ResNet or ResNet-50, is used as a first-stage feature extractor of a region-based convolutional neural network. By way of example and not limitation, features from Block 1, Block 2, Block 3, and the convolutional layer prior to Block 1 (referred to as Block 0) of a ResNet-50 architecture can be extracted and used for downstream clustering operations.

[0122] After extracting at least a portion of the cell features from one or more layers of the neural network, clusters of homogeneous detected cells are generated (step 312 or 343). Any clustering method can be used for this task. For example, the clustering can be performed using an agglomerative clustering technique. In some embodiments, agglomerative hierarchical clustering is utilized. Agglomerative hierarchical clustering is a bottom-up clustering method where clusters have sub-clusters, which have sub-clusters, etc. Agglomerative hierarchical clustering starts with all single objects in a single cluster. Then, in each successive iteration, the closest pairs of clusters are agglomerated (combined) by satisfying some similarity criterion until all data are included in one cluster.

[0123] In some embodiments, cell features are extracted from different intermediate layers of a trained region-based convolutional neural network, and agglomerative clustering is performed as implemented in scikit-learn (see F. Pedregosa, et. al., “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825-2830, 2011).

[0124] In other embodiments, agglomerative clustering can be performed according to any of the methods described in U.S. Pat. Nos. 10,162,878, 9,411,632, and 6,625,585, or as in any of U.S. Patent Application Publication Nos. 2016 / 0342677, 2018 / 0329989, or 2014 / 0359626, the disclosures of which are incorporated by reference in their entireties.

[0125] The annotation module 206 can then be used by a pathologist to label one or more of the detected homogenous clusters of cells in each sample image. One example of a suitable annotation module is described in U.S. Patent No. 9,818,190, the disclosure of which is incorporated herein by reference in its entirety.

[0126] The annotations of one or more homogenous clusters in each of the sample images can then be used as ground truth data, such as for training a cell detection and classification engine (see FIG. 7).

[0127] System for detecting and / or classifying cells in a test image - Patent Application 20070123333

[0128] In some embodiments, the present disclosure provides a system 250 for detecting and / or classifying cells in a test image. FIG. 2C and FIG. 5 provide an overview of a system and method for detecting and / or classifying cells in a test image. In some embodiments, the system 250 includes a cell detection and classification engine 255 trained using ground truth data derived herein, i.e., pathologist annotations of identified homogenous clusters of cells in a sample image. In some embodiments, the cell detection and classification engine 255 includes a classifier, such as a support vector machine, or other similar ensemble learning method. Examples of suitable classifiers are further described herein. In embodiments in which the cell detection and classification engine 255 includes a classifier, the cell detection and classification engine 255 can include an automated cell detection module and / or a neural network (such as a neural network adapted for feature extraction).

[0129] In some embodiments, the cell detection and classification engine 255 includes a neural network, such as any type of neural network described herein. In some embodiments, the cell detection and classification engine 255 includes a region-based convolutional neural network. In those embodiments, the cell detection and classification engine 255 can include the object detection engine 210 that is further fine-tuned using the generated ground truth data.

[0130] 5 shows a flow chart illustrating the various steps of detecting and / or classifying cells in a test image. In some embodiments, a trained cell detection and classification engine 5 is first acquired (step 510). In addition, one or more test images are also acquired (step 511). The cell detection and classification engine 255 is then used to detect and / or classify cells in the one or more acquired test images (step 512). Following the detection and / or classification of cells in the one or more acquired test images, the test images can be scored (step 513).

[0131] Automated Cell Detection Module

[0132] The procedures and automated algorithms described herein can be adapted to identify and classify different types of cells or cell nuclei based on features in an input image, such as identifying and classifying tumor cells, non-tumor cells, stromal cells, and lymphatic cells. Those skilled in the art will appreciate that cell nuclei, cytoplasm, and membranes have different characteristics, and tissue samples with different stains can reveal different biological features. Indeed, those skilled in the art will appreciate that certain cell surface receptors can have staining patterns that are membrane-localized or cytoplasm-localized. Thus, a "membrane" staining pattern can be distinguished from a "cytoplasm" staining pattern using analysis. Similarly, a "cytoplasm" staining pattern can be distinguished from a "nuclear" staining pattern using analysis. Each of these distinct staining patterns can be used as a feature to identify cells and / or nuclei.

[0133] Methods for identifying, classifying, and / or scoring nuclei, cell membranes, and cytoplasm in images of biological samples having one or more stains are described in U.S. Patent No. 7,760,927 ("the '927 patent"), the disclosure of which is incorporated herein by reference in its entirety. For example, U.S. Patent No. 7,760,927 describes an automated method for simultaneously identifying a plurality of pixels in an input image of biological tissue stained with a biomarker, the method including: considering a first color plane of a plurality of pixels in the foreground of the input image, the input image having been processed to remove background portions of the input image and counterstained components of the input image, to simultaneously identify cytoplasmic pixels and cell membrane pixels; determining a threshold level between the cytoplasmic pixels and cell membrane pixels in the foreground of the digital image; and using the determined threshold level to simultaneously determine whether the selected pixel is a cytoplasmic pixel, a cell membrane pixel, or a transition pixel in the digital image by the selected pixel from the foreground and its eight neighboring pixels.

[0134] Further, suitable systems and methods for automatically identifying biomarker-positive cells in an image of a biological sample are described in US Patent Application Publication No. 2017 / 0103521, the disclosure of which is incorporated herein by reference in its entirety. For example, US Patent Application Publication No. 2017 / 0103521 describes (i) loading into one or more memories a first digital image and a second digital image depicting the same area of ​​a first slide containing a plurality of tumor cells stained with a first stain and a second stain, (ii) identifying a plurality of nuclei and position information of the nuclei by analyzing light intensity in the first digital image, (iii) identifying a cell membrane containing a biomarker by analyzing light intensity and position information of the identified nuclei in the second digital image, and (iv) identifying a biomarker-positive tumor cell in an area that is a combination of one identified nucleus and one identified cell membrane surrounding the identified nucleus. Methods for detecting staining with the HER2 or EGFR protein biomarkers are disclosed in U.S. Patent Application Publication No. 2017 / 0103521.

[0135] In some embodiments, tumor nuclei are automatically identified by first identifying candidate nuclei and then automatically distinguishing between tumor nuclei and non-tumor nuclei. Many methods for identifying candidate nuclei in tissue images are known in the art. For example, automatic candidate nuclei detection can be performed by applying radial symmetry-based methods to hematoxylin image channels or biomarker image channels after unmixing, etc. (see Parvin, Bahram, et al. "Iterative voting for inference of structural saliency and characterization of subcellular events." Image Processing, IEEE Transactions on 16.3(2007):615-623, the disclosure of which is incorporated herein by reference in its entirety).

[0136] More specifically, in some embodiments, the image received as input is processed for detection of nuclear centers (seeds) and / or segmentation of nuclei, etc. For example, instructions can be provided for detecting nuclear centers based on radial symmetry voting using the technique of Parvin (supra). In some embodiments, nuclei are detected using radial symmetry to detect the centers of nuclei, which are then classified based on the intensity of staining around the cell center. In some embodiments, the radial symmetry based nuclei detection operation is described in detail in a patent application, which is co-assigned and co-pending herewith, namely US Pat. No. 6,393,993, filed on Oct. 23, 2003, and is incorporated herein by reference. The method is used as described in International Publication No. 2014 / 140085, the entirety of which is incorporated herein by reference. For example, the image magnitude can be calculated within the image, and one or more votes at each pixel are accumulated by adding up the sum of the magnitudes within a selected region. Mean shift clustering can be used to find the local center within the region, which represents the actual nucleus location. The nucleus detection based on radial symmetry voting is performed on color image intensity data, and explicitly exploits the a priori domain knowledge that nuclei are elliptical blobs with various sizes and eccentricities. To achieve this, image gradient information, along with the color intensity of the input image, is used in the radial symmetry voting and combined with an adaptive segmentation process for accurate detection and localization of cell nuclei. As used herein, a "gradient" is a pixel intensity gradient calculated for a particular pixel, for example, by taking into account a set of pixel intensity value gradients surrounding the particular pixel. Each gradient can have a particular "direction" with respect to a coordinate system whose x- and y-axes are defined by two orthogonal edges of the digital image. For example, nucleus seed detection involves defining seeds as points that are assumed to be inside the cell nuclei and serve as starting points for locating the cell nuclei. The first step is to detect seed points associated with each cell nucleus using a highly robust approach based on radial symmetry to detect elliptical blobs that are structures similar to cell nuclei. The radial symmetry approach operates on the gradient image using a kernel-based voting procedure. A voting response matrix is ​​created by processing each pixel accumulating votes through a voting kernel. The kernel is based on the gradient direction calculated at that particular pixel and the expected range of minimum and maximum nucleus sizes, and the voting kernel angle (typically in the range [π / 4, π / 8]). In the resulting voting space, the locations of local maxima with voting values ​​higher than a predefined threshold are saved as seed points. Irrelevant seeds can later be discarded in subsequent segmentation or classification processes.Other methods are discussed in U.S. Patent Application Publication No. 2017 / 0140246, the disclosure of which is incorporated herein by reference.

[0137] Nuclei can be identified using other techniques known to those skilled in the art. For example, image magnitude can be calculated from a particular image channel of one of the H&E or IHC images, and each pixel around a specified magnitude can be assigned a vote number based on the sum of the magnitudes in the area around the pixel. Alternatively, a mean shift clustering operation can be performed to find a local center in the vote image that represents the actual location of the nucleus. In other embodiments, nucleus segmentation can be used to segment the entire nucleus based on the currently known center of the nucleus via morphological operations and local thresholding. In yet other embodiments, model-based segmentation can be utilized to detect nuclei (i.e., learn a shape model of the nucleus from a training dataset and use it as prior knowledge to segment the nucleus in the test image).

[0138] In some embodiments, the nuclei are then segmented using a threshold calculated for each nucleus separately. For example, Otsu's method can be used for segmentation in the area around the identified nuclei, since the pixel intensity of the nuclei region is expected to vary. As will be appreciated by those skilled in the art, Otsu's method is used to determine the optimal threshold by minimizing the intra-class variance and is known to those skilled in the art. More specifically, Otsu's method is used to automatically perform clustering-based image thresholding, or reduction of gray-level images to binary images. The algorithm assumes that the image contains two classes of pixels (foreground and background pixels) that follow a bimodal histogram. Thus, two classes of pixels are selected such that their combined spread (intra-class variance) is minimized or equal (since the sum of pairwise squared distances is constant) so that the inter-class variance is maximized. Calculate the optimal threshold that separates the two classes.

[0139] In some embodiments, the system and method further includes automatically analyzing the spectral and / or shape features of the identified nuclei in the image to identify the nuclei of non-tumor cells. For example, a blob can be identified in the first digital image of the first step. A "blob" as used herein may be a region of a digital image in which some characteristics, such as, for example, intensity or gray value, are constant or only vary within a range of predefined values. All pixels within a blob can be considered to be similar to one another in some sense. For example, a blob can be identified using differential methods based on the derivative of a function of position on the digital image, and methods based on local extrema. A nuclear blob is a blob whose pixels and / or its contour shape indicate that the blob is generated by a nucleus possibly stained by a first stain. For example, the radial symmetry of the blob can be evaluated to determine whether the blob should be identified as a nuclear blob or any other structure, such as a staining artifact. For example, if a blob has an elongated shape and is not radially symmetric, the blob can be identified as a staining artifact rather than as a nuclear blob. Depending on the embodiment, a blob identified as a "nuclear blob" may represent a set of pixels that can be identified as a candidate nucleus and further analyzed to determine whether the nuclear blob represents a nucleus. In some embodiments, any kind of nuclear blob is directly used as an "identified nucleus". In some embodiments, a filtering operation is applied to the identified nuclei or nuclear blobs to identify nuclei that do not belong to biomarker-positive tumor cells and remove these identified non-tumor nuclei from the list of already identified nuclei or not add these nuclei to the list of identified nuclei in the first place. For example, additional spectral and / or shape features of the identified nuclear blob may be analyzed to determine whether the nucleus or nuclear blob is a tumor cell nucleus. For example, the nuclei of lymphocytes are larger than the nuclei of other tissue cells, such as lung cells.If the tumor cells originate from lung tissue, the nuclei of lymphocytes are identified by identifying all nuclear blobs with a minimum size or diameter significantly larger than the average size or diameter of the nuclei of normal lung cells. Identified nuclear blobs associated with lymphocyte nuclei can be removed (i.e., "filtered") from the set of already identified nuclei. Filtering out nuclei of non-tumor cells can increase the accuracy of the method. Depending on the biomarker, non-tumor cells may also express the biomarker to some extent and thus may result in intensity signals in the first digital image that do not originate from tumor cells. Identifying and filtering out nuclei that do not belong to tumor cells from the set of already identified nuclei can increase the accuracy of the identification of biomarker-positive tumor cells. These and other methods are described in U.S. Patent Application Publication No. 2017 / 0103521, the disclosure of which is incorporated herein by reference in its entirety. In some embodiments, once a seed is detected, a locally adaptive thresholding method can be used, and a blob is generated around the detected center. In some embodiments, other methods may be incorporated, such as using a marker-based watershed algorithm to identify nuclear blobs around the detected nuclear centers. These and other methods are described in PCT Publication WO 2016 / 120442, the disclosure of which is incorporated herein by reference in its entirety.

[0140] Following detection of nuclei, features (or metrics) are derived within the input image. The derivation of metrics from nuclei features is well known in the art, and any known nuclei feature may be used within the context of this disclosure. Non-limiting examples of metrics that may be calculated include:

[0141] (A) Metrics derived from morphological features

[0142] As used herein, a "morphological feature" is a feature that describes, for example, the shape or dimensions of a nucleus. Without wishing to be bound by a particular theory, it is believed that morphological features provide some important information about the size and shape of a cell or its nucleus. For example, morphological features can be calculated by applying various image analysis algorithms to the surrounding pixels contained in or surrounding a nuclear blob or seed. In some embodiments, morphological features include area, minor and major axis lengths, perimeter, radius, volume, etc. At the cellular level, such features are used to classify nuclei as belonging to healthy or diseased cells. At the tissue level, statistics of these features across the tissue are utilized to classify whether the tissue is diseased or not.

[0143] (B) Color-derived metrics.

[0144] In some embodiments, metrics derived from color include color ratios R / (R+G+B) or color principal components, in other embodiments, metrics derived from color include local statistics (mean / median / variance / standard deviation) of each color and / or color intensity correlation in local image windows.

[0145] (C) Metrics derived from intensity features

[0146] Groups of adjacent cells with certain characteristic values ​​are set between the dark and white shades of grey cells represented in the histopathology slide images. The correlation of the colour features defines the instances of size classes, and thus the intensity of these coloured cells determines the affected cells from the clusters of surrounding dark cells.

[0147] (D) Metrics derived from spatial features

[0148] In some embodiments, the spatial features include the local density of cells, the average distance between two adjacent detected cells, and / or the distance from the cells to the segmented region.

[0149] Of course, other features may also be considered and used as the basis for calculating the features, as would be known to one skilled in the art.

[0150] Classification Module

[0151] In embodiments where the cell detection and classification engine 255 includes a classifier, the classifier may be any classifier known to those skilled in the art. For example, in some embodiments, the trained supervised classifier is a support vector machine ("SVM"). In general, SVM is a classification technique based on statistical learning theory in which a non-linear input data set is transformed into a high-dimensional linear feature space via a kernel for the non-linear case. A support vector machine uses a kernel function K to project a set of training data E representing two different classes into a high-dimensional space. In this transformed data space, the non-linear data is transformed so that a flat line (discrimination hyperplane) can be generated to separate the classes so as to maximize class separation. Then, the test data is projected into the high-dimensional space via K, and the test data (such as the features or metrics listed below) is classified based on its position relative to the hyperplane. The kernel function K defines how the data is projected into the high-dimensional space.

[0152] In another embodiment, the trained supervised classifier is a Random Forest classifier - for example, a Random Forest classifier can be trained by the following method: (i) generate a training set of tumor cells and non-tumor cells, (ii) extract features for each cell, and (iii) train a random forest classifier to distinguish between tumor cells and non-tumor cells based on the extracted features (such as features extracted from the neural network portion of the cell detection and classification engine 255). The trained random forest classifier can then be applied to classify cells in a test image into tumor cells and non-tumor cells. Optionally, the random forest classifier can be further trained to distinguish between different classes of non-tumor nuclei, such as lymphocyte nuclei and stromal nuclei (and even between different types of lymphocytes).

[0153] Scoring Module

[0154] In some embodiments, the derived staining intensity values, number of specific cells, or other classification results can be used to determine various marker expression scores, such as positivity rates, Allred scores, or H scores, using a scoring module 260. Scoring methods are described in WO 2014 / 102130, "Image Synthesis," filed December 19, 2013, which is co-assigned and co-pending herewith. "Tissue object-based machine learning system for automated scoring of digital whole body analysis" and WO 2014 / 140085 filed on March 12, 2014 For example, a score (e.g., a whole slide score, or a score for an annotated region of an image, such as an area annotated by a pathologist or histologist) can be determined based at least in part on the number of biomarker-positive tumor cells / biomarker-positive non-tumor cells. In some embodiments, for each detected cell blob, geometric features such as average blob intensity, color, and area and shape of the detected cell blob can be calculated, and the cell blobs are classified into tumor cells and non-tumor cells. The output number of identified cells corresponds to the total number of biomarker-positive tumor cells detected in a region, as evidenced by the number of tumor cells counted. Other methods of scoring samples are described in PCT Publication No. WO 2017 / 093524, and U.S. Patent Application Publication Nos. 2017 / 0103521 and 2017 / 0270666, the disclosures of which are incorporated herein by reference in their entireties.

[0155] In some embodiments, the expression score is an H-score. The H-score is, for example, a method for evaluating the degree of immunoreactivity of cells. Depending on the biomarker, various methods for the calculation of the H-score can be used. To provide an illustrative example, the H-score of steroid receptor cells can be obtained by the following formula, which gives a range of 0 to 300: 3×(percentage of strongly stained cells)+2×(percentage of moderately stained cells)+(percentage of weakly stained cells).

[0156] In some embodiments, the "H" score is used to assess the percentage of tumor cells with cell membrane staining graded as "weak", "moderate", or "strong". The grades are summed to give an overall maximum score of 300 and a cutoff point of 100 that distinguishes between "positive" and "negative". For example, membrane staining intensity (0, 1+, 2+, or 3+) is determined for each cell in a fixed field (or, as here, for each cell in a tumor or cell cluster). The H score can be based simply on the predominant staining intensity, or more complex, it can include the sum of the individual H scores for each intensity level found. By one method, the percentage of cells at each staining intensity level is calculated, and finally, an H score is assigned using the following formula: [1 x (percentage of cells with 1+) + 2 x (percentage of cells with 2+) + 3 x (percentage of cells with 3+)]. The final score, which ranges from 0 to 300, gives greater relative weight to higher intensity membrane staining in a given tumor sample. Thus, a sample can be considered positive or negative based on a particular discrimination threshold. Further methods for calculating H-scores are described in U.S. Patent Application Publication No. 2015 / 0347702, the disclosure of which is incorporated herein by reference in its entirety.

[0157] By way of example only, in embodiments in which samples are stained for the presence of lymphocyte biomarkers and also for the presence of PD-L1, PD-L1 expression can be scored by: (a) identifying the tumor cells and lymphocytes in the tumor sample, (b) determining the number of tumor cells and lymphocytes that express PD-L1 and / or the relative intensity of PD-L1 expression in these cells, and (c) classifying the tumor according to the PD-L1 expression determined in (b). In some embodiments, expression of PD-L1 is determined by specifically detecting PD-L1 protein and / or PD-L1 mRNA in the tumor. In some embodiments, cells are considered to express PD-L1 if the cells have at least partial membrane staining of PD-L1 protein detected by IHC. In some embodiments, the tumor is classified according to one or both of the Modified H-Score (MHS) or Modified Proportion Score (MPS), both calculated from step (b) (for further information, see U.S. Patent Application Publication No. 2017 / 0372117, the disclosure of which is incorporated by reference herein in its entirety).

[0158] In some embodiments, assigning an MHS involves (i) estimating the four respective percentages of unstained, weakly stained (+1), moderately stained (+2), and strongly stained (+3) cells across all viable tumor cells and stained mononuclear inflammatory cells in all of the examined tumor nests (cells must have at least partial membrane staining to be included in the weakly stained, moderately stained, and strongly stained percentages, the sum of all four percentages equaling 100), and (ii) dividing the estimated percentages by a "100" (Table 1). x (percent weakly staining cells) + 2 x (percent moderately staining cells) + 3 x (percent strongly staining cells) and assigning the result of this formula as the MHS to the tissue section; assigning an MPS includes estimating the percentage of cells having at least partial membrane staining of any intensity across all viable tumor cells and mononuclear inflammatory cells in all of the tumor nests examined and assigning the resulting percentage as the MPS to the tissue section; and when both an MHS and an MPS are assigned, the assignments may be made in either order or simultaneously. For example, four classifications, "none," "weak," "medium," and "strong," can be defined, e.g., as non-overlapping intensity threshold ranges, such that, for example, a cell pixel region can be considered as an "unstained" cell if its average intensity value is less than 5%, as a "weakly stained" cell if its average intensity value is greater than 5% and less than 25%, as a "moderately stained" cell if its average intensity value is greater than 25% and less than 75%, and as a "strongly stained" cell if its average intensity value is greater than 75%.

[0159] In some embodiments, the expression score is the Allred score. The Allred score is a scoring system that examines the percentage of cells that test positive for hormone receptors and how well the receptors show up after staining (this is called "intensity"). This information is then combined to score the sample on a scale from 0 to 8. The higher the score, the more receptors are found and the easier they are to find in the sample. EXAMPLES

[0160] Cell Clustering In the process of learning for cell detection and localization, Model A learns features that can facilitate cell clustering. Although class labels are not provided for Model A, these features lead to better clustering results (see Figure 9A) compared to the original RGB values ​​of cells (see Figure 9B). The qualitative cell clustering performance is shown in Figures 9A and 9B. In Figure 9A, blue boxes are mainly placed on Her2-positive cells, while green boxes are placed on Her2-negative cells, which means that the two types of cells were well separated by clustering using features derived from Faster-RCNN. Even though cell class labels were not provided to fine-tune Faster-RCNN, the pre-trained Faster-RCNN already provided a richer feature representation that was "transferred" to the fine-tuned Faster-RCNN. This revealed that it improved the clustering performance. The features extracted from Block 1 of Model A enable meaningful clustering of cells (see Figure 9A).

[0161] In Figure 9B, blue boxes are placed on some Her2-positive cells, while green boxes are placed on both Her2-positive and -negative cells, indicating that clustering using RGB is insufficient to separate the two types of cells. Clustering of cells based on the original RGB pixel values ​​does not seem meaningful (see Figure 9B). After qualitatively observing meaningful cluster patterns in the HER2 images, we annotated dataset BB with two classes, allowing a quantitative evaluation of the benefits of using Faster-RCNN features for clustering. Figure 10A summarizes the performance of clustering using representations from different convolutional layers of model A and the original RGB representation of the detected cells. When limiting the number of clusters to two, Faster-RCNN features have a clear 8% advantage over the RGB representation. In other words, a classification accuracy of 98% is achieved when using Faster-RCNN features to cluster cells into two clusters and assign cluster labels to all cells in each cluster, while the same procedure results in an accuracy of 90% when using the RGB representation. In addition, features extracted from block0, block1, and block2 had similar performance for the BB dataset, and features from block0 had highly consistent performance for different numbers of clusters.

[0162] We next determined whether training an object detection engine to classify the same type of cells that are subsequently clustered would increase the usefulness of the learned features for the task of clustering, compared to an object detection engine trained simply to detect cells. To answer this question, we measured the clustering performance using features extracted from Model A, Model B, Model C, and Model Zero. Using the representation learned by any of these models provides at least a 7% improvement over the original RGB representation of the cells, but no significant differences were found between the results from these models. This indicates that even features extracted from Model Zero, which was trained only on the COCO dataset, can be used to meaningfully cluster cells, resulting in further improvements in ground truth labeling.

[0163] Clustering unseen classes

[0164] The BBYT image contains five classes of cells. Some of these classes are easily distinguishable by RGB values, while some others are defined by both RGB and morphology or context. One class of tumor cells is represented in blue, similar to the class of normal cells, while another class of tumor cells shares a purple representation with the class of T cells. These classes can be distinguished based on cell density, shape, and context. In this section, we describe the clustering of BBYP cells into homogenous clusters. We investigate the usefulness of the representation learned by Model B in comparison to the original RGB representation. It is hypothesized that CNN features provide a more global view of the object due to multi-level abstraction compared to the original image pixels, and therefore can provide better discrimination between cell classes whose individual appearances are similar but can be distinguished by contextual information (see Figure 10B). In this case, features derived from Faster-RCNN fine-tuned using two class labels (from the BB dataset) are good enough to distinguish five types of cells through clustering, even when the number of clusters is very small (e.g., 5), with a 15% performance improvement compared to the original RGB values. Block0 features appear to have the best performance for all numbers of clusters.

[0165] Further transfers

[0166] BBYP images are stained with Discovery Yellow and Discovery Purple chromogens to identify five classes of cells of interest: ki67+ / - tumor cells, Ki67+ / - T cells, and CD8+ T cells. Some of these classes are easily distinguishable by color, while some others are defined by both color and morphology or context (see Figure 11). It is hypothesized that CNN features provide a more global view of objects due to their multi-level abstraction compared to the original image pixels, and therefore can provide better discrimination between cell classes that are similar in individual appearance but can be distinguished by contextual information. As shown in Figure 10B, clustering BBYT cells using features from model B gives a 15% advantage over using the original RGB representation of these cells, and the advantage continues when increasing the number of clusters, supporting the initial assumption. Using features from other models also yielded similar results.

[0167] conclusion

[0168] It has been shown that pre-training on large publicly available object detection datasets reduces the need for supervision. Bidart, et.al., “Localization and classification of cell nuclei in post-neoadjuvant breast cancer surgical specimen using While the previous paper, entitled “A fully convolutional networks,” in Medical Imaging 2018: Digital Pathology. International Society for Optics and Photonics, 2018, vol. 10581), uses 27K dot annotations by pathologists, Model A is trained using only 1800 bounding box annotations.

[0169] We also demonstrate the utility of Faster R-CNN for simultaneously processing histological images of different resolutions and performing inference on test images 100 times the size of the training patches. The limitations here are memory-related, not algorithmic.

[0170] It was proposed to facilitate ground truth labelling by proposing annotation boxes that can be fine-tuned by a pathologist if necessary, and by clustering the detected cells into several homogeneous subsets, largely reducing the burden of ground truth labelling from the number of cells in the dataset to the number of clusters.

[0171] As shown in Figure 8, the model may be at a disadvantage in detecting cells that the annotators miss. Due to the ambiguity in the nature of objects present in histological images, multiple annotators need to be employed to annotate the same dataset, and the detection and classification models The performance of should be compared with the agreement rate of human annotators.

[0172] Other components for implementing embodiments of the present disclosure

[0173] Other components (eg, systems or modules) that can be used in combination with the systems and methods of the present disclosure are described below.

[0174] Demixing Module

[0175] In some embodiments, the image received as input may be a multiplex image, i.e., the image received is an image of a biological specimen stained with multiple stains. In these embodiments, before further processing, the multiplex image is first unmixed into its constituent channels, with each unmixed channel corresponding to a particular stain or signal. In some embodiments, the unmixed image (often referred to as a "channel image" or "image channel image") can be used as an input for each module described herein. For example, the heterogeneity between markers can be determined by a first H&E image, a second multiplex image stained for multiple clusters of differentiation markers (CD3, CD8, etc.), and multiple simplex images, each stained for a particular biomarker (e.g., ER, PR, Ki67, etc.). In this example, the multiplex image is first unmixed into its constituent channel images, which can be used together with the H&E image and the multiple simplex images to determine the heterogeneity between markers.

[0176] In some embodiments, in samples containing one or more stains and hematoxylin, individual images can be generated for each channel of one or more stains and hematoxylin. Without wishing to be bound by theory, these channels are believed to highlight different tissue structures within the tissue image, and therefore can be referred to as structural image channels. In some embodiments, the unmixing provides at least a hematoxylin image channel image. In some embodiments, the acquired images are unmixed into separate channels that represent local amounts of hematoxylin and highlight cellular regions within the image. One of ordinary skill in the art will appreciate that features extracted from these channels are useful in describing different biological structures present within any image of tissue.

[0177] The multispectral image provided by the imaging system 202 is a weighted mixture of underlying spectral signals associated with individual biomarkers and noise components. At any particular pixel, the weights in the mixture are proportional to the biomarker expression of the underlying co-localized biomarkers at that particular location in the tissue and the background noise at that location. Thus, the weights in the mixture will vary from pixel to pixel. The spectral unmixing method disclosed herein decomposes the multi-channel pixel value vector at every pixel into a collection of end-members or components of the constituent biomarkers and estimates the proportions of the individual constituent stainings of each biomarker.

[0178] Unmixing is a procedure that decomposes the measured spectrum of a mixed pixel into a collection of constituent spectra or endmembers and a set of corresponding fractions or abundances that represent the proportion of each endmember present in the pixel. Specifically, the unmixing process can extract channels for each stain to determine the local concentration of each individual stain using well-known reference spectra for standard types of tissue and stain combinations. Unmixing can use reference spectra taken from a control image or estimated from the image under observation. Unmixing of the component signals for each input pixel can be done by extracting the hematoxylin and eosin channels in H&E images, or the diamine channels in IHC images. It allows for the extraction and analysis of channels per stain, such as a nobenzidine (DAB) channel and a counterstain (e.g., hematoxylin) channel. Terms such as "demixing" and "color deconvolution" (or "deconvolution") (e.g., "deconvolute", "demixed") are used interchangeably in the art.

[0179] In some embodiments, the multiplexed images are unmixed by the unmixing module 205 using linear unmixing. Linear unmixing is described, for example, in Zimmermann “Spectral Imaging and Linear Unmixing in Light Microscopy” Adv Biochem Engin / Biotechnol (2005) 95:245-265 and C.L. Lawson and R.J. Hanson, “Solving least squares Problems”, Prentice Hall, 1974, Chapter 23, p.161, the disclosures of which are incorporated herein by reference in their entirety. In linear stain unmixing, the spectrum (S(λ)) measured at any pixel is considered as a linear mixture of the stain spectral components, and is equal to the sum of the ratios or weights (A) of the color references (R(λ)) of each individual stain expressed at that pixel.

[0180] S(λ)=A1·R1(λ)+A2·R2(λ)+A3·R3(λ),...,A i ·R i (λ)

[0181] This can be expressed more generally in matrix form as follows:

[0182] S(λ)=ΣA i ·R i (λ) or S=R A

[0183] If there are M channel images acquired and N individual stains, the columns of the M×N matrix R are the optimal color system derived herein, the N×1 vector A is the unknown proportion of the individual stains, and the M×1 vector S is the measured multichannel spectrum vector at the pixel. In these equations, the signal (S) at each pixel is measured during acquisition of the multiplexed image, and the reference spectrum, i.e., the optimal color system, is derived as described herein. The contributions of the various stains (A i ) can be determined by calculating their contribution to each point of the measured spectrum. In some embodiments, the solution is obtained using an inverse least squares fitting technique that minimizes the squared difference between the measured and calculated spectra by solving the following set of equations:

[0184] [∂Σ j {S(λ j )-Σ i A i ·R i (λ j )}2] / ∂A i =0

[0185] In this equation, j represents the number of detection channels and i is equal to the number of stains. In solving linear equations, it is often necessary to allow for constrained unmixing so that the weights (A) sum to 1.

[0186] In other embodiments, unmixing is accomplished using the methods described in WO 2014 / 195193, entitled "Image Adaptive Physiologically Plausible Color Separation," filed May 28, 2014, the disclosure of which is incorporated herein by reference in its entirety. In general, WO 2014 / 195193 describes a method of unmixing by separating component signals of an input image using iteratively optimized reference vectors. In some embodiments, image data from an assay is analyzed using a set of methods to determine a quality metric: The quality metrics are correlated to expected or ideal results specific to the characteristics of the assay. If the image quality is poor or correlates poorly to the ideal results, one or more reference column vectors of matrix R are adjusted and the unmixing is repeated iteratively using the adjusted reference vectors until the correlation indicates a high quality image that matches the physiological and anatomical requirements. Anatomical, physiological, and assay information can be used to define rules that are applied to the measured image data to determine the quality metrics. This information includes how the tissue was stained, which structures in the tissue were or were not intended to be stained, and the relationships between structures, stains, and markers specific to the assay being processed. The iterative process provides vectors for each stain that can accurately identify the structures of interest and biologically relevant information, and produce images that are free of noise or undesired spectra and therefore suitable for analysis. The reference vectors are adjusted within a search space. The search space defines the range of values ​​that the reference vectors can take to represent the stains. The search space can be determined by scanning a variety of representative training assays that contain known or commonly occurring problems and determining a high quality set of reference vectors for the training assays.

[0187] In another embodiment, the demixing is carried out in accordance with the method described in "Group Sparsity Model 100001" filed on February 23, 2015, the disclosure of which is incorporated herein by reference in its entirety. This is accomplished using the methods described in WO 2015 / 124772, entitled "Image Unmixing for Image Unmixing." In general, WO 2015 / 124772 describes unmixing using a group sparsity framework, in which the proportions of staining contributions from multiple co-located markers are modeled within the "same group" and the proportions of staining contributions from multiple non-co-located markers are modeled into different groups, feeding colocalization information of the multiple co-located markers into a modeled group sparsity framework, and solving the modeled framework using a group lasso to generate a least squares solution within each group corresponding to unmixing of the co-located markers and a sparse solution between groups corresponding to unmixing of the non-co-located markers. Furthermore, WO 2015 / 124772 describes a method of unmixing by inputting image data obtained from a biological tissue sample, reading from an electronic memory reference data representing a stain color of each stain of a plurality of stains, reading from the electronic memory collocation data representing groups of stains, each group including stains that may be co-located in the physiological tissue sample, each group forming a group with respect to a group lasso criterion, at least one of the groups having a size of 2 or more, and calculating a solution of the group lasso criterion to obtain an unmixed image using the reference data as a reference matrix. In some embodiments, the method for unmixing an image can include generating a group sparsity model in which the proportions of stain contributions from co-located markers are assigned in a single group and the proportions of stain contributions from non-co-located markers are assigned in separate groups, and solving the group sparsity model using an unmixing algorithm to generate a least squares solution within each group.

[0188] Other System Components

[0189] The system 200 of the present disclosure can be coupled to a specimen processing device that can perform one or more preparation processes on the tissue specimen, including, but not limited to, deparaffinizing the specimen, conditioning the specimen (e.g., cell conditioning), staining the specimen, performing antigen retrieval, performing immunohistochemical staining (including labeling) or other reactions, and / or performing in situ hybridization (e.g., SISH, FISH, etc.) staining (including labeling) or other reactions, as well as other processes to prepare the specimen for microscopy, microanalysis, mass spectrometry, or other analytical methods. The process may include:

[0190] The processor can apply fixatives to the specimens, which can include crosslinkers (e.g., aldehydes such as formaldehyde, paraformaldehyde, and glutaraldehyde, as well as non-aldehyde crosslinkers), oxidants (e.g., metal ions and complexes such as osmium tetroxide and chromate), protein denaturants (e.g., acetic acid, methanol, and ethanol), fixatives of unknown mechanism (e.g., mercuric chloride, acetone, and picric acid), compounding reagents (e.g., Carnoy's fixative, methacarn, Bouin's fluid, B5 fixative, Rossman's solution, and Gendre's solution), microwave, and other fixatives (e.g., excluded volume fixation and vapor fixation).

[0191] If the specimen is a paraffin-embedded sample, the sample can be deparaffinized using an appropriate deparaffinization fluid. After removing the paraffin, any number of substances can be applied sequentially to the specimen. The substances can be for pretreatment (e.g., reversing protein crosslinks, exposing cellular acids, etc.), denaturation, hybridization, washing (e.g., stringent washing), detection (e.g., linking visual or marker molecules to probes), amplification (e.g., amplification of proteins, genes, etc.), counterstaining, cover slipping, etc.

[0192] The specimen processor can apply a wide range of substances to the specimen. Substances include, but are not limited to, stains, probes, reagents, rinses, and / or conditioners. Substances can be fluids (e.g., gases, liquids, or gas / liquid mixtures), etc. Fluids can be solvents (e.g., polar solvents, non-polar solvents, etc.), solutions (e.g., aqueous or other types of solutions), etc. Reagents can include, but are not limited to, stains, wetting agents, antibodies (e.g., monoclonal antibodies, polyclonal antigen retrieval solutions, antigen retrieval buffers, etc.), etc. Probes can be isolated cellular acids or isolated synthetic oligonucleotides attached to a detectable label or reporter molecule. Labels can include radioisotopes, enzyme substrates, cofactors, ligands, chemiluminescent or fluorescent agents, haptens, and enzymes.

[0193] After the specimen is processed, the user can transport the slide with the specimen to the imaging device. In some embodiments, the imaging device is a brightfield imager slide scanner. One brightfield imager is the iScan Coreo brightfield scanner sold by Ventana Medical Systems, Inc. In an automated embodiment, the imaging device is a digital pathology device as disclosed in International Patent Application No. PCT / US2010 / 002772 (Publication No. WO 2011 / 049608) entitled "IMAGING SYSTEM AND TECHNIQUES" or as disclosed in U.S. Patent Application Publication No. 2014 / 0377753 or International Patent Application No. PCT / US2010 / 002772, the disclosures of which are incorporated herein by reference in their entireties.

[0194] The imaging system or device may be a multispectral imaging (MSI) system or a fluorescence microscope system. The imaging system used here is MSI. MSI generally comprises the analysis of pathological specimens by a computerized microscope-based imaging system by providing access to the spectral distribution of the image at the pixel level. Although a variety of multispectral imaging systems exist, a common aspect of operation for all of these systems is the ability to form multispectral images. A multispectral image is an image that acquires image data at specific wavelengths or at specific spectral bandwidths within the totality of the electromagnetic spectrum. These wavelengths can be selected by optical filters or can include electromagnetic waves at wavelengths beyond the visible light range, such as infrared (IR). It may be selected by use of other instruments capable of selecting the desired spectral components that comprise the radiation.

[0195] The MSI system may include an optical imaging system, some of which may include a spectral selection system that may be adjusted to define a predetermined number N of discrete optical bands. The optical system may be adapted to image a tissue sample illuminated in transmission by a broadband light source to a photodetector. The optical imaging system, which in one embodiment may include a magnification system such as a microscope, has a single optical axis that is generally spatially aligned with a single optical output of the optical system. The system forms a series of images of the tissue, for example as the spectral selection system is adjusted or adjusted (e.g., by a computer processor) to ensure that images are acquired at different discrete spectral bands. The device may further include a display on which at least one visually perceptible image of the tissue from the series of acquired images appears. The spectral selection system may include an optical dispersive element such as a diffraction grating, a collection of optical filters such as thin film interference filters, or any other system adapted to select a particular passband from the spectrum of light transmitted from the light source through the sample to the detector in response to either user input or preprogrammed processor commands.

[0196] An alternative implementation, a spectrally selective system, defines a number of optical outputs corresponding to N discrete spectral bands. This type of system takes the transmitted optical output from the optical system and spatially redirects at least a portion of the optical output along N spatially distinct optical paths to image the sample in the identified spectral bands to the detector system along optical paths corresponding to the identified spectral bands.

[0197] Embodiments of the subject matter and operations described herein can be implemented in digital electronic circuitry, or computer software, firmware, or hardware, including the structures disclosed herein and their structural equivalents, or a combination of one or more of these. Embodiments of the subject matter described herein can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on a computer storage medium for execution by or control of the operation of a data processing apparatus. Any module described herein may include logic executed by a processor. "Logic," as used herein, refers to any information in the form of instruction signals and / or data that can be applied to affect the operation of a processor. Software is an example of logic.

[0198] A computer storage medium may be or may be included in a computer readable storage device, a computer readable storage substrate, a random or serial access memory array or element, or a combination of one or more of these. Furthermore, a computer storage medium is not a propagating signal, but a computer storage medium may be a source or destination of computer program instructions encoded in an artificially generated propagated signal. Furthermore, a computer storage medium may be or may be included in one or more separate physical components or media (e.g., multiple CDs, disks, or other storage devices). The operations described herein may be implemented as operations performed by a data processing apparatus on data stored in one or more computer readable storage devices or received from other sources.

[0199] The term "programmed processor" encompasses any type of apparatus, device, and machine for processing data, such as, for example, a programmable microprocessor, a computer, a system on a chip, or a combination of these. The apparatus may be an FPGA (Field Programmable Gate Array) or an ASIC. (Application Specific Integrated Circuit). In addition to the hardware, the device may further include code that creates an execution environment for the corresponding computer program, such as code that constitutes a processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or a combination of one or more of these. The device and execution environment may implement a variety of different computing model infrastructures, such as web services, distributed computing, and grid computing infrastructures.

[0200] A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, such as a compiled or interpreted language, declarative or procedural language, and can be deployed in any form, for example as a stand-alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A computer program can, but does not necessarily, correspond to a file in a file system. A program can be stored as part of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to that program, or in multiple coordinated files (e.g., a file that stores one or more modules, subprograms, or portions of code). A computer program can be deployed to be executed on one computer, or on multiple computers located at one site or distributed across multiple sites and interconnected by a communications network.

[0201] The processes and logic flows described herein may be performed by one or more programmable processors executing one or more computer programs to perform actions by manipulating input data to generate output. The processes and logic flows may also be performed by, and devices may be implemented as, special purpose logic circuitry, such as an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).

[0202] Processors suitable for executing computer programs include, for example, both general purpose and special purpose microprocessors, as well as any one or more processors of any kind of digital computer. Generally, a processor receives instructions and data from a read-only memory or a random access memory, or both. The essential elements of a computer are a processor for performing actions according to instructions, and one or more memory devices for storing instructions and data. Generally, a computer further includes one or more mass storage devices for storing data, such as, for example, a magnetic disk, a magneto-optical disk, or an optical disk, or is operatively coupled to such mass storage devices for receiving data and / or transferring data. However, a computer need not have such devices. Furthermore, a computer can be incorporated into another device, such as, for example, a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device (e.g., a universal serial bus (USB) flash drive), to name just a few. Suitable devices for storing computer program instructions and data include, by way of example, all forms of non-volatile memory, media, and memory devices, such as semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices, magnetic disks, e.g., internal hard disks or removable disks, magneto-optical disks, and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.

[0203] To provide for user interaction, embodiments of the subject matter described herein can be implemented on a computer having a display device for displaying information to a user, such as, for example, an LCD (liquid crystal display), an LED (light emitting diode) display, or an OLED (organic light emitting diode) display, and a keyboard and a pointing device, such as a mouse or trackball, through which the user can provide input to the computer. In some implementations, a touch screen can be used to display information and receive input from the user. Other types of devices can also be used to provide user interaction, for example, feedback provided to the user can be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback, and input from the user can be received in any form, such as acoustic, speech, or tactile input. Additionally, the computer can interact with the user by sending and receiving documents to a device used by the user, for example, by sending a web page to a web browser on the user's client device in response to a request received from the web browser.

[0204] An embodiment of the subject matter described herein may be implemented in a computing system that includes a back-end component, e.g., as a data server, or includes a middleware component, such as an application server, or includes a front-end component, such as a client computer having a graphical user interface or web browser that allows a user to interact with an implementation of the subject matter described herein, or includes any combination of one or more such back-end, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication, e.g., a communications network. Examples of communications networks include local area networks ("LANs") and wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad-hoc peer-peer-to-peer networks). For example, the network 20 of FIG. 1 may include one or more local area networks.

[0205] A computing system may include any number of clients and servers. Clients and servers are generally remote from each other and typically interact through a communications network. The relationship of clients and servers arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. In some embodiments, a server transmits data (e.g., HTML pages) to a client device (e.g., for the purpose of displaying the data to a user interacting with the client device and receiving user input from such a user). Data generated at the client device (e.g., the result of a user's operation) can be received from the client device at the server.

[0206] Additional Embodiments Additional Embodiments 1. A system for identifying clusters of cells within a sample image of a biological specimen stained with a primary stain or stained for the presence of one or more biomarkers, comprising: (i) one or more processors; and (ii) one or more memories coupled to the one or more processors, the one or more memories being operable when executed by the one or more processors to: a. detecting cells in a sample image using a trained object detection engine comprising a convolutional neural network adapted to detect cellular features in the sample image; Detecting b. extracting cellular features from one or more layers of a convolutional neural network; and c. clustering the detected cells in the sample image based on the extracted cellular features to provide one or more homogenous clusters of the detected cells; A system storing computer-executable instructions that cause the system to perform operations including: Additional embodiment 2. The system of additional embodiment 1, wherein the trained object detection engine comprises a region-based convolutional neural network. Additional embodiment 3. The system of additional embodiment 2, wherein the region-based convolutional neural network comprises Fast-RCNN. Additional embodiment 4. The system of additional embodiment 2, wherein the trained object detection engine further comprises a region proposal network. Additional embodiment 5. The system of additional embodiment 4, wherein the trained object detection engine comprises Faster-RCNN. Additional embodiment 6. The system of additional embodiment 1, wherein the convolutional neural network comprises LeNet, AlexNet, ZF Net, DetectNet, GoogleNet, VGGNet, VGG16, or DenseNet. Additional embodiment 7. The system of additional embodiment 1, wherein the convolutional neural network is a deep residual network. Additional embodiment 8. The system of additional embodiment 7, wherein the deep residual network includes a ResNet. Additional embodiment 9. The system of additional embodiment 1, wherein the trained object detection engine comprises a convolutional neural network trained using a dataset including a plurality of training images, each training image of the plurality of training images being derived from a biological specimen stained with a primary stain or stained for the presence of one or more biomarkers. Additional embodiment 10. The system of additional embodiment 9, wherein each training image of the plurality of training images does not comprise a class label. Additional embodiment 11. The system of additional embodiment 9, wherein each training image of the plurality of training images does not include any pathologist annotations. Additional embodiment 12. The system of additional embodiment 9, wherein each training image of the plurality of training images includes at least one class label. Additional embodiment 13. The system of additional embodiment 12, wherein the operation further comprises classifying the detected cells. Additional embodiment 14. The system of additional embodiment 1, wherein the convolutional neural network comprises at least one scaling layer. Additional embodiment 15. The system of additional embodiment 14, wherein at least one scaling layer scales the sample images by a constant factor. Additional embodiment 16. The method of additional embodiment 1, wherein clustering the detected cells comprises performing an agglomerative hierarchical clustering. Additional embodiment 17. The system of additional embodiment 1, configured to receive one or more annotations corresponding to at least one of the one or more homogenous clusters of cells in the sample image. Additional embodiment 18. The system of additional embodiment 17, wherein the operations further include training a cell detection and classification engine using the received annotations. Additional embodiment 19. The system of additional embodiment 18, wherein the cell detection and classification engine comprises a neural network. Additional embodiment 20. The system of additional embodiment 19, wherein the neural network of the cell detection and classification engine is comprised of LeNet, AlexNet, ZF Net, DetectNet, GoogleNet, VGGNet, VGG16, DenseNet, or ResNet. Additional embodiment 21. The system of additional embodiment 18, wherein the operations further include detecting cells in the test image using the trained cell detection and classification engine. Additional embodiment 22. The system of additional embodiment 21, wherein the operation further includes classifying cells in the sample image. Additional embodiment 23. The system of additional embodiment 21, wherein the test image includes at least one stain. Additional embodiment 24. The system of additional embodiment 23, wherein at least one stain of the test image is a cellular stain. Additional embodiment 25. The system of additional embodiment 23, wherein at least one stain of the test image is a membrane stain. Additional embodiment 26. The system of additional embodiment 17, wherein the operations further include fine-tuning the trained object detection engine using the received annotations to provide a fine-tuned object detection engine. Additional embodiment 27. The system of additional embodiment 26, wherein the operations further include detecting and / or classifying cells in the test image using the fine-tuned object detection engine. Additional embodiment 28. A non-transitory computer readable medium storing instructions for identifying clusters of cells within a sample image of a biological specimen stained for the presence of one or more biomarkers, comprising: (a) detecting cells in a sample image using a trained object detection engine comprising a convolutional neural network adapted to detect cellular features in the sample image; (b) extracting cellular features from one or more layers of the convolutional neural network; and (c) clustering the detected cells in the sample image based on the extracted cellular features to provide one or more homogenous clusters of detected cells. A non-transitory computer readable medium comprising: Additional embodiment 29. The non-transitory computer-readable medium of additional embodiment 28, wherein the convolutional neural networks are comprised of LeNet, AlexNet, ZF Net, DetectNet, GoogleNet, VGGNet, VGG16, and DenseNet. Additional embodiment 30. The non-transitory computer-readable medium of additional embodiment 28, wherein the convolutional neural network is a deep residual network. Additional embodiment 31. The non-transitory computer-readable medium of additional embodiment 30, wherein the deep residual network is comprised of a ResNet. Additional embodiment 32. The non-transitory computer readable medium of additional embodiment 28, further comprising instructions for training a cell detection and classification engine using pathologist annotations corresponding to at least one of the one or more homogenous clusters of cells in the sample image. Additional embodiment 33. The non-transitory computer-readable medium of additional embodiment 32, further comprising instructions for detecting cells in a test image using the trained cell detection and classification engine. Additional embodiment 34. The non-transitory computer readable medium of additional embodiment 28, further comprising instructions for fine-tuning the trained object detection engine using the received annotations for at least one of the one or more homogenous clusters of cells in the sample image to provide a fine-tuned object detection engine. Additional embodiment 35. The non-transitory computer-readable medium of additional embodiment 34, further comprising instructions for detecting cells in a test image using the fine-tuned object detection engine. Additional embodiment 36. The object detection engine uses a dataset including a plurality of training images from biological specimens stained for the presence of one or more biomarkers. 29. The non-transitory computer-readable medium of additional embodiment 28, wherein the non-transitory computer-readable medium is trained using the Additional embodiment 37. The non-transitory computer-readable medium of additional embodiment 28, wherein the object detection engine is trained using a dataset including a plurality of training images, each training image of the plurality of training images not including a class label. Additional embodiment 38. The non-transitory computer-readable medium of additional embodiment 28, wherein the convolutional neural network includes at least one scaling layer. Additional embodiment 39. A method for detecting cells in a test image of a biological specimen stained for the presence of one or more biomarkers, comprising: (a) determining cellular features in a test image of a biological specimen by inputting the test image to a first portion of a trained cell detection and classification engine, the first portion comprising a convolutional neural network configured to detect cellular features; (b) detecting cells in the test image based on the determined cell features by inputting the determined features of the test image into a second portion of the trained cell detection and classification engine, the second portion comprising at least a region proposal network; and The method includes: Additional embodiment 40. The method of additional embodiment 39, further comprising classifying the detected cells in the test image. Additional embodiment 41. The method of additional embodiment 39, wherein the cell detection and classification engine is trained using ground truth data, the ground truth data including pathologist annotations corresponding to one or more identified homogenous clusters of cells in the sample image. Additional embodiment 42. The method of additional embodiment 41, wherein the homogenous clusters of cells are identified by (i) providing a sample image to a trained object detection engine, (ii) detecting cells in the sample image using the trained object detection engine, (iii) extracting a plurality of cellular features from at least one of the convolutional layers in the trained object detection engine, and (iv) clustering the detected cells in the test image based on the extracted cellular features. Additional embodiment 43. The method of additional embodiment 39, wherein the convolutional neural network is a deep residual network. Additional embodiment 44. The method of additional embodiment 39, wherein the deep residual network is composed of a ResNet. Additional embodiment 45. A method for identifying clusters of cells in a sample image of a biological specimen stained for the presence of one or more biomarkers, comprising: a. detecting cells in a sample image using a trained object detection engine comprising a convolutional neural network and a region proposal network, the convolutional neural network configured to identify cellular features and the region proposal network configured to detect cells based on the identified cellular features; b. extracting identified cellular features from one or more layers of a convolutional neural network; and c. clustering the detected cells in the sample image based on the extracted cellular features to provide one or more homogenous clusters of the detected cells; The method includes: Additional embodiment 46. The method of additional embodiment 45, wherein the trained object detection engine comprises a region-based convolutional neural network. Additional embodiment 47. The method of additional embodiment 46, wherein the region-based convolutional neural network is constructed from Fast-RCNN. Additional embodiment 48. The method of additional embodiment 46, wherein the trained object detection engine further comprises a region proposal network. Additional embodiment 49. The method of additional embodiment 48, wherein the trained object detection engine is comprised of Faster-RCNN. Additional embodiment 50. The method of additional embodiment 45, wherein the convolutional neural network is comprised of LeNet, AlexNet, ZF Net, DetectNet, GoogleNet, VGGNet, VGG16, and DenseNet. Additional embodiment 51. The method of additional embodiment 45, wherein the convolutional neural network is an autoencoder neural network. Additional embodiment 52. The method of additional embodiment 45, wherein the convolutional neural network is a deep residual network. Additional embodiment 53. The method of additional embodiment 52, wherein the deep residual network is composed of a ResNet. Additional embodiment 54. The method of additional embodiment 45, wherein the convolutional neural network is trained using a dataset including a plurality of training images of biological specimens stained for the presence of one or more biomarkers. Additional embodiment 55. The method of additional embodiment 54, wherein each training image of the plurality of training images does not comprise a class label. Additional embodiment 56. The method of additional embodiment 54, wherein each training image of the plurality of training images does not include any pathologist annotations. Additional embodiment 57. The method of additional embodiment 54, wherein each training image of the plurality of training images includes at least one class label. Additional embodiment 58. A method for detecting and classifying cells in a test image of a biological specimen stained for the presence of one or more biomarkers, comprising: (a) determining cellular features in a test image of a biological specimen by inputting the test image into a first portion of a trained cell detection and classification engine, the first portion comprising a neural network configured to detect cellular features; (b) detecting cells in the test image based on the determined cell features by inputting the determined features of the test image into a second portion of the trained cell detection and classification engine, the second portion comprising a trained classifier; and The method includes: Additional embodiment 59. The method of additional embodiment 58, wherein the trained classifier comprises a support vector machine or a random forest ensemble learning method.

[0207] All U.S. patents, U.S. patent application publications, U.S. patent applications, foreign patents, foreign patent applications, and non-patent publications mentioned herein and / or listed in the Application Data Sheet are incorporated herein by reference in their entirety. Aspects of the embodiments can be modified, if necessary, to employ the concepts of the various patents, applications, and publications to provide yet further embodiments.

[0208] Although the present disclosure has been described with reference to certain exemplary embodiments, it should be understood that those skilled in the art can devise numerous other modifications and embodiments that fall within the spirit and scope of the principles of the present disclosure. More specifically, reasonable variations and modifications can be made in the components and / or arrangement of the combined arrangement of the subject matter within the scope of the foregoing disclosure, the drawings, and the appended claims without departing from the spirit of the present disclosure. In addition to the modifications and changes in the components and / or arrangement, alternative uses will also be apparent to those skilled in the art.

Claims

1. 1. A system for identifying clusters of cells in a sample image of a biological specimen stained with a primary stain or stained for the presence of one or more biomarkers, the system comprising: (i) one or more processors; and (ii) one or more memories coupled to the one or more processors, the one or more memories being operable when executed by the one or more processors to a. detecting cells in the sample image using a trained object detection engine comprising a convolutional neural network adapted to detect cellular features in the sample image; b. Extracting cellular features from one or more layers of the convolutional neural network; c. clustering the detected cells in the sample image based on the extracted cellular features to provide one or more homogenous clusters of detected cells, wherein the clustering of the detected cells comprises performing an agglomerative hierarchical clustering; 4. A system comprising: a computer-executable instruction storing computer-executable instructions for causing said system to perform operations including:

2. 2. The system of claim 1, wherein the trained object detection engine comprises one of Fast-RCNN or Faster-RCNN.

3. The system of claim 1 , wherein the trained object detection engine further comprises a region proposal network.

4. 2. The system of claim 1, wherein the convolutional neural network is a deep residual network.

5. 5. The system of claim 1, wherein training of the trained object detection engine is accomplished using a dataset comprising a plurality of training images, each training image of the plurality of training images being derived from a biological specimen stained with a primary stain or stained for the presence of one or more biomarkers.

6. The system of claim 5 , wherein each training image of the plurality of training images does not include any pathologist annotations.

7. The system of claim 5 , wherein each training image in the plurality of training images includes at least one class label.

8. The system of any one of claims 1 to 7, wherein the convolutional neural network comprises at least one scaling layer.

9. 9. The system of claim 1, wherein the operations further comprise training a cell detection and classification engine using one or more class labels associated with the one or more homogenous clusters of cells in the sample image.

10. The system of claim 9 , wherein the cell detection and classification engine comprises a neural network.

11. 10. The system of claim 9, wherein the operations further comprise detecting and / or classifying cells in a test image containing at least one stain using the trained cell detection and classification engine.

12. 1. A non-transitory computer readable medium storing instructions for identifying clusters of cells within a sample image of a biological specimen stained for the presence of one or more biomarkers, the ... a. detecting cells in the sample image using a trained object detection engine comprising a first portion and a second portion, the first portion configured to identify cellular features in the sample image, and the second portion configured to detect the cells based on the identified cellular features; b. extracting at least a portion of the identified cellular features from one or more layers of the first portion of the trained object detection engine; c. clustering the detected cells in the sample image based on the extracted cellular features to provide one or more homogenous clusters of detected cells, wherein the clustering of the detected cells comprises performing an agglomerative hierarchical clustering; A non-transitory computer readable medium comprising:

13. 13. The non-transitory computer-readable medium of claim 12, wherein the first portion comprises a convolutional neural network.

14. 13. The non-transitory computer-readable medium of claim 12, wherein the first portion comprises a deep residual network.

15. The non-transitory computer-readable medium of any one of claims 12 to 14, wherein the second portion comprises a region proposal network.

16. 16. The non-transitory computer readable medium of any one of claims 12-15, wherein the object detection engine is trained using a dataset comprising a plurality of training images, each training image of the plurality of training images being derived from a biological specimen stained with a primary stain or stained for the presence of one or more biomarkers.

17. 1. A method for identifying clusters of cells in a sample image of a biological specimen stained for the presence of one or more biomarkers, comprising: detecting cells in the sample image using a trained object detection engine comprising a convolutional neural network and a region proposal network, the convolutional neural network configured to identify cellular features, and the region proposal network configured to detect cells based on the identified cellular features; b. Extracting the identified cellular features from one or more layers of the convolutional neural network; c. clustering the detected cells in the sample image based on the extracted cellular features to provide one or more homogenous clusters of detected cells, wherein the clustering of the detected cells comprises performing an agglomerative hierarchical clustering; The method includes:

18. 20. The method of claim 17, wherein the convolutional neural network comprises a deep residual network.

19. and wherein the object detection engine is trained using a dataset including a plurality of training images, each training image of the plurality of training images being derived from a biological specimen stained with a primary stain or stained for the presence of one or more biomarkers. Item 19. The method according to item 17 or 18.

20. 20. The method of claim 19, wherein each training image of the plurality of training images does not include any pathologist annotations.

21. The method of claim 19 , wherein each training image in the plurality of training images includes at least one class label.

22. 22. The method of claim 17, wherein the convolutional neural network comprises at least one scaling layer.

23. 23. The method of any one of claims 17 to 22, further comprising training a cell detection and classification engine using one or more class labels associated with the one or more homogenous clusters of cells in the sample image.

24. 24. The method of claim 23, wherein the cell detection and classification engine comprises a neural network.

25. 24. The method of claim 23, further comprising using the trained cell detection and classification engine to detect and / or classify cells in a test image containing at least one stain.

Citation Information

Patent Citations

  • Image processing apparatus, image processing method, and computer-readable non-transitory recording medium storing image processing program

    US20180286040A1