# US 2020/0394825 A1 · Virtual staining for tissue slide images

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394825 A1
- Document ID: US20200394825A1
- Status: Published application
- Kind: A1
- Application number: 16/958,555
- Filed: 2018-03-07
- Published: 2020-12-17
- Earliest claimed: 2018-03-07
- Assignees: Verily Life Sciences LLC
- Applicants: Google LLC
- Inventors: Martin STUMPE; Philip NELSON; Lily PENG
- Web page: https://patentgrep.com/patent/US20200394825A1

## CPC

- G06V 20/69: Microscopic objects, e.g. biological cells or cellular parts
- G01N 1/30: Staining; Impregnating {; Fixation; Dehydration; Multistep processes for preparing samples of tissue, cell or nucleic acid material and the like for analysis}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0475: Generative networks
- G06N 3/08: Learning methods
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 3/094: Adversarial learning
- G06T 7/0012: {Biomedical image inspection}
- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- G06V 10/82: using neural networks
- G06V 20/695: {Preprocessing, e.g. image segmentation}
- G16H 30/40: for processing medical images, e.g. editing
- G01N 2001/302: {Stain compositions}
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30024: Cell structures in vitro; Tissue sections in vitro
- G06T 2210/41: Medical
- G06V 2201/03: Recognition of patterns in medical or anatomical images
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G01N: INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES (measuring or testing apparatus or processes other than immunoassay, involving enzymes or microorganisms C12M, C12Q)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G16H: HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA

## Abstract

A machine learning predictor model is trained to generate a prediction of the appearance of a tissue sample stained with a special stain such as an IHC stain from an input image that is either unstained or stained with H&E. Training data takes the form of thousands of pairs of precisely aligned images, one of which is an image of a tissue specimen stained with H&E or unstained, and the other of which is an image of the tissue specimen stained with the special stain. The model can be trained to predict special stain images for a multitude of different tissue types and special stain types, in use, an input image, e.g., an H&E image of a given tissue specimen at a particular magnification level is provided to the model and the model generates a prediction of the appearance of the tissue specimen as if it were stained with the special stain. The predicted image is provided to a user and displayed, e.g., on a pathology workstation.

## Claims

### Claim 1

A system for generating a machine learning predictor model which predicts a special stain image of a tissue sample, comprising in combination:
a) a data store containing a multitude of aligned pairs of images of tissue samples of a given tissue type, wherein each of the pairs consists of a first image of a tissue sample and a second image of the tissue sample which is stained with a second stain, the first images either all being unstained or all being stained with a first stain;
b) a computer system configured as a machine learning predictor model trained from the multitude of aligned pairs of images in the data store to generate a predicted image of a tissue sample stained with the second stain from an input image which is of the given tissue type and which is unstained if the first images are unstained or which is stained with the first stain if the first images are stained with the first stain.

### Claim 2 (depends on 1)

The system of claim 1, wherein the first image comprises an image of the tissue specimen in an unstained condition.

### Claim 3 (depends on 1)

The system of claim 1, wherein the first stain is H&E.

### Claim 4 (depends on 1)

The system of claim 1, wherein the second stain comprises an IHC stain.

### Claim 5 (depends on 1)

The system of claim 1, wherein the given tissue type is one of the following types: breast tissue, prostate tissue, lymph node tissue, and lung tissue.

### Claim 6 (depends on 1)

The system of claim 1, wherein the data store containing a multitude of pairs of images of different tissue types and different special stain types, and wherein the computer system implements different machine learning predictor models for each of the different tissue types and stain types.

### Claim 7 (depends on 1)

The system of claim 1, wherein the machine learning predictor model comprises a generative adversarial network.

### Claim 8 (depends on 1)

The system of claim 1, wherein the machine learning predictor model comprises a self-supervised learning neural network.

### Claim 9 (depends on 1)

The system of claim 1, wherein the machine learning predictor model comprises a convolutional neural network.

### Claim 10 (depends on 1)

The system of claim 1, wherein the machine learning predictor model comprises a convolutional neural network for dense segmentation.

### Claim 11 (depends on 1)

The system of claim 1, wherein the aligned pairs of images in the data store have edge portions having nulled pixel values.

### Claim 12

A computer system comprising one or more processing units and memory implementing one or more machine learning predictor models, the models generating data in the form of a prediction of the appearance of a virtual special stained image of a tissue sample of a given respective tissue type from data representing an input unstained or H&E stained image of the given tissue sample.

### Claim 13 (depends on 12)

The system of claim 12, wherein the given tissue type is one of the following types: breast tissue, prostate tissue, lymph node tissue, and lung tissue and wherein the predicted appearance is the appearance of the given tissue sample stained with an immunohistochemical stain.

### Claim 14

A method of generating a virtual image of a tissue specimen stained with a special stain, comprising the steps of:
obtaining an input image;
supplying the input image to a machine learning predictor model trained from a multitude of pairs of aligned images of tissue specimens, one of the images of the pair of images comprising an image of a tissue specimen stained with the special stain, the model trained to predict an image of a tissue specimen stained with the special stain;
with the predictor model, generating a predicted image of the tissue specimen stained with the special stain, and
displaying the predicted image as the virtual image.

### Claim 15 (depends on 14)

The method of claim 14, wherein the input image comprises an image of the tissue specimen in an unstained condition.

### Claim 16 (depends on 14)

The method of claim 14, wherein the input image comprises an image of the tissue specimen stained with H&E.

### Claim 17 (depends on 14)

The method of claim 14, wherein the special stain comprises an IHC stain.

### Claim 18 (depends on 14)

The method of claim 14, wherein the tissue specimen is of one of the following types: breast tissue, prostate tissue, lymph node tissue and lung tissue.

### Claim 19 (depends on 14)

The method of claim 14, wherein the machine learning predictor model comprises a generative adversarial network.

### Claim 20 (depends on 14)

The method of claim 14, wherein the machine learning predictor model comprises a self-supervised learning neural network.

### Claim 21 (depends on 14)

The method of claim 14, wherein the machine learning predictor model comprises a convolutional neural network.

### Claim 22 (depends on 14)

The method of claim 14, wherein the machine learning predictor model comprises a convolutional neural network for dense segmentation.

### Claim 23 (depends on 14)

The method of claim 14, wherein the aligned pairs of images have edge portions having nulled pixel values.

### Claim 24

A method of training a machine learning predictor model, comprising the steps of:
a) obtaining a multitude of pairs of aligned images of a tissue sample of a given tissue type, wherein each of the pairs consists of a first image of a tissue sample which is stained with a first stain and a second image of the tissue sample which is stained with a second, different stain;
b) providing the multitude of pairs of aligned images as training data for a machine learning predictor model, the model learning to predict an image of a tissue sample stained with the second, different stain from an input image which is stained with the first stain and which is of the given tissue type.

### Claim 25 (depends on 24)

The method of claim 24, comprising repeating steps a) and b) for different types of tissues.

### Claim 26 (depends on 24)

The method of claim 24, comprising repeating steps a) and b) for different second stains.

### Claim 27 (depends on 24)

The method of claim 24, wherein the first image comprises an H&E image.

### Claim 28 (depends on 24)

The method of claim 24, wherein the multitude of pairs of aligned images are at different magnification levels.

### Claim 29 (depends on 24)

The method of claim 24, wherein the input image is at a given magnification level and wherein the machine learning predictor model generates a prediction of the input image stained with the second stain at the given magnification level.

### Claim 30 (depends on 24)

The method of claim 24, wherein the aligned pairs of images in the data store have edge portions having nulled pixel values.

### Claim 31 (depends on 1)

The system of claim 1, wherein the data store stores a multitude of aligned pairs of images of tissue samples of a given tissue type at each of a plurality of different magnification levels.

### Claim 32

A method of training a machine learning predictor model, comprising the steps of:
a) obtaining a multitude of pairs of aligned images of a tissue sample of a given tissue type, wherein each of the pairs consists of a first image of a tissue sample which is unstained and a second image of the tissue sample which is stained with a special stain;
b) providing the multitude of pairs of aligned images as training data for a machine learning predictor model, the model learning to predict an image of a tissue sample stained with the special stain from an input image which is unstained and which is of the given tissue type.

### Claim 33 (depends on 32)

The method of claim 32, comprising repeating steps a) and b) for different types of tissues.

### Claim 34 (depends on 32)

The method of claim 32, comprising repeating steps a) and b) for different special stains.

### Claim 35 (depends on 32)

The method of claim 32, wherein the multitude of pairs of aligned images are at different magnification levels.

### Claim 36 (depends on 32)

The method of claim 32, wherein the input image is at a given magnification level and wherein the machine learning predictor model generates a prediction of the input image stained with the special stain at the given magnification level.

### Claim 37 (depends on 32)

The method of claim 32, wherein the aligned pairs of images in the data store have edge portions having nulled pixel values.
