# US 2022/0036135 A1 · Method and apparatus for determining image to be labeled and model training method and apparatus

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

- Number: US 2022/0036135 A1
- Document ID: US20220036135A1
- Status: Published application
- Kind: A1
- Application number: 17/501,899
- Filed: 2021-10-14
- Published: 2022-02-03
- Earliest claimed: 2019-08-29
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Yifan HU; Yuexiang LI; Yefeng ZHENG
- Web page: https://patentgrep.com/patent/US20220036135A1

## CPC

- G06F 18/2155: {characterised by the incorporation of unlabelled data, e.g. multiple instance learning [MIL], semi-supervised techniques using expectation-maximisation [EM] or naïve labelling}
- G06V 10/764: using classification, e.g. of video objects
- A61B 6/5294: {involving using additional data, e.g. patient information, image labeling, acquisition parameters}
- G06F 18/2178: {based on feedback of a supervisor}
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06T 7/10: Segmentation; Edge detection (motion-based segmentation G06T7/215)
- G06T 7/143: involving probabilistic approaches, e.g. Markov random field [MRF] modelling
- G06T 9/002: {using neural networks}
- G06V 20/695: {Preprocessing, e.g. image segmentation}
- G06V 20/70: Labelling scene content, e.g. deriving syntactic or semantic representations
- G06T 2207/10081: Computed x-ray tomography [CT]
- G06T 2207/10088: Magnetic resonance imaging [MRI]
- G06T 2207/10116: X-ray image
- G06T 2207/10132: Ultrasound image
- G06T 2207/20076: Probabilistic image processing
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/20112: Image segmentation details
- G06T 2207/30004: Biomedical image processing
- G06T 2207/30096: Tumor; Lesion
- G06T 2219/004: Annotating, labelling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- A61B: DIAGNOSIS; SURGERY; IDENTIFICATION (usefulness limited to only animals A61D)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method for determining a target image to be labeled includes: obtaining an original image and an autoencoder (AE) set, the original image being an image having not been labeled, the AE set including N AEs; obtaining an encoded image set corresponding to the original image by using the AE set, the encoded image set including N encoded images, the encoded images being corresponding to the AEs; obtaining the encoded image set and a segmentation result set corresponding to the original image by using an image segmentation network, the image segmentation network including M image segmentation sub-networks, and the segmentation result set including [(N+1)*M] segmentation results; determining labeling uncertainty corresponding to the original image according to the segmentation result set; and determining whether the original image is a target image according to the labeling uncertainty.

## Claims

### Claim 1

A method for determining a target image, performed by a computing device, the method comprising:
obtaining an original image and an autoencoder (AE) set, the original image being an image having not been labeled, the AE set comprising N AEs, N being a positive integer;
obtaining an encoded image set corresponding to the original image by using the AE set, the encoded image set comprising N encoded images, the encoded images being corresponding to the AEs;
obtaining the encoded image set and a segmentation result set corresponding to the original image by using an image segmentation network, the image segmentation network comprising M image segmentation sub-networks, and the segmentation result set comprising [(N+1)*M] segmentation results, M being a positive integer;
determining labeling uncertainty corresponding to the original image according to the segmentation result set; and
determining whether the original image is a target image according to the labeling uncertainty.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the obtaining an encoded image set corresponding to the original image by using the AE set comprises:
obtaining a first encoded image corresponding to the original image by using a first AE; and
obtaining a second encoded image corresponding to the original image by using a second AE, the second AE and the first AE being two different types of AEs, and the second encoded image and the first encoded image being two different images.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the obtaining the encoded image set and a segmentation result set corresponding to the original image by using an image segmentation network comprises:
obtaining a first segmentation result by using a first image segmentation sub-network, the first segmentation result comprising (N+1) first segmentation sub-results, the (N+1) first segmentation sub-results being corresponding to the encoded images in the encoded image set and the original image; and
obtaining a second segmentation result by using a second image segmentation sub-network, the second segmentation result comprising (N+1) second segmentation sub-results, the (N+1) second segmentation sub-results being corresponding to the encoded images in the encoded image set and the original image, and the second image segmentation sub-network and the first image segmentation sub-network being two different types of image segmentation sub-networks.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the determining labeling uncertainty corresponding to the original image according to the segmentation result set comprises:
obtaining a grayscale value corresponding to each pixel in the original image;
determining an entropy set corresponding to each pixel in the original image according to the segmentation result set and the grayscale value corresponding to each pixel in the original image, the entropy set comprising [(N+1)*M] entropies; and
calculating the labeling uncertainty corresponding to the original image according to the entropy set corresponding to each pixel in the original image.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the determining labeling uncertainty corresponding to the original image according to the segmentation result set comprises:
obtaining a grayscale value corresponding to each pixel in each of the segmentation results;
determining a variance of each pixel based on the segmentation result set and according to the grayscale value corresponding to each pixel in the each segmentation result; and
determining the labeling uncertainty corresponding to the original image according to the variance of each pixel and a total quantity of pixels.

### Claim 6 (depends on 1)

The method according to claim 1, wherein after the determining uncertainty corresponding to the original image according to the segmentation result set, the method further comprises:
determining whether the labeling uncertainty is greater than or equal to an uncertainty threshold; and
determining the original image as the target image when the labeling uncertainty is greater than or equal to the uncertainty threshold.

### Claim 7 (depends on 1)

The method according to claim 1, wherein before the obtaining an original image and an AE set, the method further comprises:
obtaining a training image, the training image being an image having been labeled;
encoding the training image by using an encoder of an AE to be trained to obtain an encoded result;
decoding the encoded result by using a decoder of the AE to obtain a prediction image;
training the AE by using the training image and the prediction image until a loss function converges, to obtain an AE model parameter; and
generating the AE according to the AE model parameter, the AE being one AE in the AE set.

### Claim 8 (depends on 1)

The method according to claim 1, wherein before the obtaining the encoded image set and a segmentation result set corresponding to the original image by using an image segmentation network, the method further comprises:
obtaining a training image, the training image being an image having been labeled;
obtaining a prediction image corresponding to the training image by using an image segmentation sub-network to be trained;
training the image segmentation sub-network by using the training image and the prediction image until a loss function converges, to obtain a network model parameter; and
generating the image segmentation sub-network according to the network model parameter, the image segmentation sub-network being one image segmentation sub-network in the image segmentation network.

### Claim 9

An apparatus for determining a target image, comprising a memory and a processor, the memory being configured to store a program; the processor being configured to execute the program in the memory to:
obtain an original image and an autoencoder (AE) set, the original image being an image having not been labeled, the AE set comprising N AEs, N being an integer greater than or equal to 1,
obtain an encoded image set corresponding to the original image by using the AE set, the encoded image set comprising N encoded images, the encoded images being corresponding to the AEs,
obtain the encoded image set and a segmentation result set corresponding to the original image by using an image segmentation network, the image segmentation network comprising M image segmentation sub-networks, and the segmentation result set comprising [(N+1)*M] segmentation results, M being an integer greater than or equal to 1;
determine a labeling uncertainty corresponding to the original image according to the segmentation result set obtained by the obtaining module; and
determine whether the original image is a target image according to the labeling uncertainty.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
obtain a first encoded image corresponding to the original image by using a first AE; and
obtain a second encoded image corresponding to the original image by using a second AE, the second AE and the first AE being two different types of AEs, and the second encoded image and the first encoded image being two different images.

### Claim 11 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
obtain a first segmentation result by using a first image segmentation sub-network, the first segmentation result comprising (N+1) first segmentation sub-results, the (N+1) first segmentation sub-results being corresponding to the encoded images in the encoded image set and the original image; and
obtain a second segmentation result by using a second image segmentation sub-network, the second segmentation result comprising (N+1) second segmentation sub-results, the (N+1) second segmentation sub-results being corresponding to the encoded images in the encoded image set and the original image, and the second image segmentation sub-network and the first image segmentation sub-network being two different types of image segmentation sub-networks.

### Claim 12 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
obtain a grayscale value corresponding to each pixel in the original image;
determine an entropy set corresponding to each pixel in the original image according to the segmentation result set and the grayscale value corresponding to each pixel in the original image, the entropy set comprising [(N+1)*M] entropies; and
calculate the labeling uncertainty corresponding to the original image according to the entropy set corresponding to each pixel in the original image.

### Claim 13 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
obtain a grayscale value corresponding to each pixel in each of the segmentation results;
determine a variance of each pixel based on the segmentation result set and according to the grayscale value corresponding to each pixel in the each segmentation result; and
determine the labeling uncertainty corresponding to the original image according to the variance of each pixel and a total quantity of pixels.

### Claim 14 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
determine whether the labeling uncertainty is greater than or equal to an uncertainty threshold; and
determine the original image as the target image when the labeling uncertainty is greater than or equal to the uncertainty threshold.

### Claim 15 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
obtain a training image before obtaining the original image and the AE set, the training image being an image having been labeled;
encode, by using an encoder of an AE to be trained, the training image to obtain an encoded result;
decode, by using a decoder of the AE, the encoded result to obtain a prediction image;
train the AE by using the training image and the prediction image decoded by the decoding module until a loss function converges, to obtain an AE model parameter; and
generate the AE according to the AE model parameter, the AE being one AE in the AE set.

### Claim 16 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
obtain a training image before obtaining the encoded image set and the segmentation result set corresponding to the original image by using the image segmentation network, the training image being an image having been labeled;
obtain a prediction image corresponding to the training image by using an image segmentation sub-network to be trained;
train the image segmentation sub-network by using the training image and the prediction image until a loss function converges, to obtain a network model parameter; and
generate the image segmentation sub-network according to the network model parameter, the image segmentation sub-network being one image segmentation sub-network in the image segmentation network.

### Claim 17

A non-transitory computer-readable storage medium, comprising instructions, the instructions, when run on a computer, causing the computer to perform:
obtaining an original image and an autoencoder (AE) set, the original image being an image having not been labeled, the AE set comprising N AEs, N being a positive integer;
obtaining an encoded image set corresponding to the original image by using the AE set, the encoded image set comprising N encoded images, the encoded images being corresponding to the AEs;
obtaining the encoded image set and a segmentation result set corresponding to the original image by using an image segmentation network, the image segmentation network comprising M image segmentation sub-networks, and the segmentation result set comprising [(N+1)*M] segmentation results, M being a positive integer;
determining labeling uncertainty corresponding to the original image according to the segmentation result set; and
determining whether the original image is a target image according to the labeling uncertainty.

### Claim 18 (depends on 17)

The storage medium according to claim 17, wherein the obtaining an encoded image set corresponding to the original image by using the AE set comprises:
obtaining a first encoded image corresponding to the original image by using a first AE; and
obtaining a second encoded image corresponding to the original image by using a second AE, the second AE and the first AE being two different types of AEs, and the second encoded image and the first encoded image being two different images.

### Claim 19 (depends on 17)

The storage medium according to claim 17, wherein the obtaining the encoded image set and a segmentation result set corresponding to the original image by using an image segmentation network comprises:
obtaining a first segmentation result by using a first image segmentation sub-network, the first segmentation result comprising (N+1) first segmentation sub-results, the (N+1) first segmentation sub-results being corresponding to the encoded images in the encoded image set and the original image; and
obtaining a second segmentation result by using a second image segmentation sub-network, the second segmentation result comprising (N+1) second segmentation sub-results, the (N+1) second segmentation sub-results being corresponding to the encoded images in the encoded image set and the original image, and the second image segmentation sub-network and the first image segmentation sub-network being two different types of image segmentation sub-networks.

### Claim 20 (depends on 17)

The storage medium according to claim 17, wherein the determining labeling uncertainty corresponding to the original image according to the segmentation result set comprises:
obtaining a grayscale value corresponding to each pixel in the original image;
determining an entropy set corresponding to each pixel in the original image according to the segmentation result set and the grayscale value corresponding to each pixel in the original image, the entropy set comprising [(N+1)*M] entropies; and
calculating the labeling uncertainty corresponding to the original image according to the entropy set corresponding to each pixel in the original image.
