# US 2021/0287362 A1 · Method and system for image segmentation

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

- Number: US 2021/0287362 A1
- Document ID: US20210287362A1
- Status: Published application
- Kind: A1
- Application number: 17/128,993
- Filed: 2020-12-21
- Published: 2021-09-16
- Earliest claimed: 2020-03-12
- Assignees: Ping An Technology (Shenzhen) Co., Ltd.
- Applicants: Ping An Technology (Shenzhen) Co., Ltd.
- Inventors: Kang ZHENG; Yuhang LU; Weijian LI; Yirui WANG; Adam P HARRISON; Le LU; Shun MIAO
- Web page: https://patentgrep.com/patent/US20210287362A1

## CPC

- G06T 7/0012: {Biomedical image inspection}
- G06T 7/12: Edge-based segmentation
- G06T 7/10: Segmentation; Edge detection (motion-based segmentation G06T7/215)
- G06T 7/97: {Determining parameters from multiple pictures (depth or shape recovery from multiple images G06T7/55; stereo camera calibration G06T7/85)}
- G06T 2207/10072: Tomographic images
- G06T 2207/10116: X-ray image
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30008: Bone
- G06T 2207/30061: Lung
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image segmentation method includes generating a CTN (contour transformer network) model for image segmentation, where generating the CTN model includes providing an annotated image, the annotated image including an annotated contour, providing a plurality of unannotated images, pairing the annotated image to each of the plurality of unannotated images to obtain a plurality of image pairs, feeding the plurality of image pairs to an image encoder to obtain a plurality of first-processed image pairs, and feeding the plurality of first-processed image pairs to a contour tuner to obtain a plurality of second-processed image pairs.

## Claims

### Claim 1

An image segmentation method, comprising: generating a CTN (contour transformer network) model for image segmentation, wherein the CTN model is generated by:
providing an annotated image, the annotated image including an annotated contour;
providing a plurality of unannotated images;
pairing the annotated image to each of the plurality of unannotated images to obtain a plurality of image pairs;
feeding the plurality of image pairs to an image encoder to obtain a plurality of first-processed image pairs, one of the plurality of first-processed image pairs showing a first output contour with a first vertices offset distance relative to the annotated contour of the annotated image; and
feeding the plurality of first-processed image pairs to a contour tuner to obtain a plurality of second-processed image pairs, wherein the one of the plurality of first-processed image pairs corresponds to one of the plurality of second-processed image pairs, and wherein the one of the plurality of second-processed image pairs shows a second output contour with a second vertices offset distance smaller than the first vertices offset distance.

### Claim 2 (depends on 1)

The image segmentation method of claim 1, wherein pairing the annotated image to each of the plurality of unannotated images to obtain the plurality of image pairs includes:
placing the annotated contour at a center portion of each of the plurality of unannotated images; and
setting the annotated contour as an initial contour of each of the unannotated images.

### Claim 3 (depends on 1)

The image segmentation method of claim 1, wherein feeding the plurality of image pairs to the image encoder to obtain the plurality of first-processed image pairs includes:
defining the annotated contour with a number of vertices;
generating an output contour according to each of the plurality of image pairs;
determining a number of vertices offset distances of the output contour relative to the number of vertices on the annotated contour; and
obtaining the plurality of first-processed image pairs, wherein the plurality of first-processed image pairs include the number of vertices offset distances as determined.

### Claim 4 (depends on 1)

The image segmentation method of claim 1, wherein feeding the plurality of first-processed image pairs to the contour tuner to obtain the plurality of second-processed image pairs includes:
identifying a number of vertices on the first output contour; and
moving the first output contour to be closer toward the second output contour at each of the number of vertices.

### Claim 5 (depends on 1)

The image segmentation method of claim 1, wherein generating the CTN model further includes:
feeding the plurality of second-processed image pairs to a loss adjuster to obtain a plurality of third-processed image pairs, wherein the lost adjuster includes a contour perceptual loss and optionally includes one or both of a contour bending loss and an edge loss.

### Claim 6 (depends on 1)

The image segmentation method of claim 1, wherein generating the CTN model further includes:
determining a contour offset distance for each of the plurality of second-processed image pairs; and
selecting a corresponding portion of the plurality of second-processed image pairs for manual contour correction upon determining the contour offset distance is greater than a preset contour correction threshold.

### Claim 7 (depends on 6)

The image segmentation method of claim 6, wherein a difference between the contour offset distance and the preset contour correction threshold is of a range of 1 to 100 pixels.

### Claim 8 (depends on 6)

The image segmentation method of claim 6, wherein the corresponding portion is of 1 percent to 30 percent of the plurality of second-processed image pairs.

### Claim 9 (depends on 1)

The image segmentation method of claim 1, wherein generating the CTN model further includes:
providing a second plurality of unannotated images;
pairing the annotated image to each of the second plurality of unannotated images to obtain a second plurality of image pairs; and
feeding the second plurality of image pairs to the image encoder and the contour tuner.

### Claim 10 (depends on 1)

The image segmentation method of claim 1, further comprising:
subjecting a medical image to the CTN model to identify a target contour on a target anatomical structure.

### Claim 11 (depends on 1)

The image segmentation method of claim 1, wherein the annotated image includes an image of a human knee, a human lung, or a human phalanx.

### Claim 12 (depends on 1)

The image segmentation method of claim 1, wherein the annotated contour is added manually.

### Claim 13

An image segmentation apparatus, comprising: a memory and processor coupled tot the memory, the processor being configured to perform: generating a CTN (contour transformer network) model for image segmentation, including:
providing an annotated image, the annotated image including an annotated contour;
providing a plurality of unannotated images;
pairing the annotated image to each of the plurality of unannotated images to obtain a plurality of image pairs;
feeding the plurality of image pairs to an image encoder to obtain a plurality of first-processed image pairs, one of the plurality of first-processed image pairs showing a first output contour with a first vertices offset distance relative to the annotated contour of the annotated image; and
feeding the plurality of first-processed image pairs to a contour tuner to obtain a plurality of second-processed image pairs, wherein the one of the plurality of first-processed image pairs corresponds to one of the plurality of second-processed image pairs, and wherein the one of the plurality of second-processed image pairs shows a second output contour with a second vertices offset distance smaller than the first vertices offset distance.

### Claim 14 (depends on 13)

The image segmentation apparatus of claim 13, wherein pairing the annotated image to each of the plurality of unannotated images to obtain the plurality of image pairs includes:
placing the annotated contour at a center portion of each of the plurality of unannotated images; and
setting the annotated contour as an initial contour of each of the unannotated images.

### Claim 15 (depends on 13)

The image segmentation apparatus of claim 13, wherein feeding the plurality of image pairs to the image encoder to obtain the plurality of first-processed image pairs includes:
defining the annotated contour with a number of vertices;
generating an output contour according to each of the plurality of image pairs;
determining a number of vertices offset distances of the output contour relative to the number of vertices on the annotated contour; and
obtaining the plurality of first-processed image pairs, wherein the plurality of first-processed image pairs include information of the number of vertices offset distances as determined.

### Claim 16 (depends on 13)

The image segmentation apparatus of claim 13, wherein feeding the plurality of first-processed image pairs to the contour tuner to obtain the plurality of second-processed image pairs includes:
identifying a number of vertices on the first output contour; and
moving the first output contour to be closer toward the second output contour at each of the number of vertices.

### Claim 17 (depends on 13)

The image segmentation apparatus of claim 13, wherein generating the CTN model further includes:
feeding the plurality of second-processed image pairs to a loss adjuster to obtain a plurality of third-processed image pairs, wherein the lost adjuster includes a contour perceptual loss and optionally includes one or both of a contour bending loss and an edge loss.

### Claim 18 (depends on 13)

The image segmentation apparatus of claim 13, wherein generating the CTN model further includes:
providing a second plurality of unannotated images;
pairing the annotated image to each of the second plurality of unannotated images to obtain a second plurality of image pairs; and
feeding the second plurality of image pairs to the image encoder and the contour tuner.

### Claim 19

A non-transitory computer-readable storage medium storing a plurality of instructions, wherein the plurality of instructions when executed by a processor causes the processor to perform: generating a CTN (contour transformer network) model for image segmentation, including:
providing an annotated image, the annotated image including an annotated contour;
providing a plurality of unannotated images;
pairing the annotated image to each of the plurality of unannotated images to obtain a plurality of image pairs;
feeding the plurality of image pairs to an image encoder to obtain a plurality of first-processed image pairs, one of the plurality of first-processed image pairs showing a first output contour with a first vertices offset distance relative to the annotated contour of the annotated image; and
feeding the plurality of first-processed image pairs to a contour tuner to obtain a plurality of second-processed image pairs, wherein the one of the plurality of first-processed image pairs corresponds to one of the plurality of second-processed image pairs, and wherein the one of the plurality of second-processed image pairs shows a second output contour with a second vertices offset distance smaller than the first vertices offset distance.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein generating the CTN model further includes:
feeding the plurality of second-processed image pairs to a loss adjuster to obtain a plurality of third-processed image pairs, wherein the lost adjuster includes a contour perceptual loss and includes one or both of a contour bending loss and an edge loss.
