Patents
US 12,499,150 B2#156057121 Most CitedActiveUnited States (USPTO)Utility

Image encoder training method and apparatus, device, and medium

0Forward Citations (#156057121 Global)
0.0/yrCitation Velocity (#156057121 Global)
0.00Citation PageRank (#156057121 Global)
12Prior Art Cited
17Claims (3 Indep. · 14 Dep.)
15Drawings / Sheets

Abstract

Provided is a method for searching for a whole slide image performed by a computer device, which relate to the field of artificial intelligence. The method includes: cropping a whole slide image into a plurality of tissue images; generating, through an image encoder, image feature vectors respectively corresponding to the plurality of tissue images; clustering the image feature vectors respectively corresponding to the plurality of tissue images, to determine at least one key image from the plurality of tissue images; querying, based on image feature vectors respectively corresponding to the at least one key image, a database to obtain at least one target image package corresponding to the at least one key image; and determining a whole slide image to which at least one candidate tissue image comprised in the at least one target image package respectively belongs as a final search result.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 0.

Claims (17 — 3 Independent, 14 Dependent)

  1. Claim 1Independent Claim

    A method for searching for a whole slide image, performed by a computer device, the method comprising: cropping a query whole slide image into a plurality of tissue images; generating, through an image encoder, image feature vectors respectively corresponding to the plurality of tissue images; clustering the image feature vectors respectively corresponding to the plurality of tissue images, to generate a plurality of first class clusters; determining clustering centers respectively corresponding to the plurality of first class clusters as image feature vectors respectively corresponding to at least one key image from the plurality of tissue images; querying, based on the image feature vectors respectively corresponding to the at least one key image, a database to obtain at least one target image package corresponding to the at least one key image; and determining a target whole slide image to which at least one candidate tissue image comprised in the at least one target image package respectively belongs as a final search result.

  2. Claim 2Depends on #1

    The method according to claim 1, wherein the method further comprises: for a target first class cluster in the plurality of first class clusters, clustering based on location features of whole slide images to which a plurality of tissue images corresponding to the target first class cluster respectively belong, to obtain a plurality of second class clusters; and for the target first class cluster in the plurality of first class clusters, determining clustering centers respectively corresponding to the plurality of second class clusters comprised in the target first class cluster as the image feature vectors of the at least one key image, wherein the target first class cluster is any one of the plurality of first class clusters.

  3. Claim 3Depends on #1

    The method according to claim 1, wherein the querying, based on the image feature vectors respectively corresponding to the at least one key image, a database to obtain at least one target image package corresponding to the at least one key image comprises: screening at least one candidate image package according to quantities of diagnostic categories respectively comprised in the at least one candidate image package, to obtain the at least one target image package.

  4. Claim 4Depends on #3

    The method according to claim 3, wherein the screening at least one candidate image package according to quantities of diagnostic categories respectively comprised in the at least one candidate image package, to obtain the at least one target image package comprises: for a first candidate image package that is in the at least one candidate image package and that corresponds to a first key image in the at least one key image, calculating an entropy value of the first candidate image package based on a cosine similarity between at least one candidate tissue image in the first candidate image package and the first key image, an occurrence probability of at least one diagnostic category in the database, and a diagnostic category of the at least one candidate tissue image, wherein the entropy value is configured for measuring a quantity of diagnostic categories corresponding to the first candidate image package, and the first candidate image package is any one of the at least one candidate image package; and screening the at least one candidate image package, to obtain the at least one target image package whose entropy value is less than an entropy value threshold.

  5. Claim 5Depends on #1

    The method according to claim 1, wherein the querying, based on the image feature vectors respectively corresponding to the at least one key image, a database to obtain at least one target image package corresponding to the at least one key image comprises: screening at least one candidate image package according to similarities between the at least one candidate tissue image and the at least one key image, to obtain the at least one target image package.

  6. Claim 6Depends on #5

    The method according to claim 5, wherein the screening at least one candidate image package according to similarities between the at least one candidate tissue image and the at least one key image, to obtain the at least one target image package comprises: for a first candidate image package that is in the at least one candidate image package and that corresponds to a first key image in the at least one key image, sorting the at least one candidate tissue image in the first candidate image package in descending order of cosine similarities with the first key image; obtaining first m candidate tissue images of the first candidate image package; and calculating cosine similarities respectively corresponding to the first m candidate tissue images; determining a mean value of cosine similarities respectively corresponding to first m candidate tissue images of the at least one candidate image package as a first mean value; and determining a candidate image package that comprises the at least one candidate tissue image whose mean value of cosine similarities is greater than the first mean value as the target image package, to obtain the at least one target image package, wherein the first candidate image package is any one of the at least one candidate image package, and m is a positive integer.

  7. Claim 7Independent Claim

    A computer device, comprising a processor and a memory, the memory having a computer program stored therein, the computer program being loaded and executed by the processor and causing the computer device to implement a method for searching for a whole slide image including: cropping a query whole slide image into a plurality of tissue images; generating, through an image encoder, image feature vectors respectively corresponding to the plurality of tissue images; clustering the image feature vectors respectively corresponding to the plurality of tissue images, to generate a plurality of first class clusters; determining clustering centers respectively corresponding to the plurality of first class clusters as image feature vectors respectively corresponding to at least one key image from the plurality of tissue images; querying, based on the image feature vectors respectively corresponding to the at least one key image, a database to obtain at least one target image package corresponding to the at least one key image; and determining a target whole slide image to which at least one candidate tissue image comprised in the at least one target image package respectively belongs as a final search result.

  8. Claim 8Depends on #7

    The computer device according to claim 7, wherein the method further comprises: for a target first class cluster in the plurality of first class clusters, clustering based on location features of whole slide images to which a plurality of tissue images corresponding to the target first class cluster respectively belong, to obtain a plurality of second class clusters; and for the target first class cluster in the plurality of first class clusters, determining clustering centers respectively corresponding to the plurality of second class clusters comprised in the target first class cluster as the image feature vectors of the at least one key image, wherein the target first class cluster is any one of the plurality of first class clusters.

  9. Claim 9Depends on #7

    The computer device according to claim 7, wherein the querying, based on the image feature vectors respectively corresponding to the at least one key image, a database to obtain at least one target image package corresponding to the at least one key image comprises: screening at least one candidate image package according to quantities of diagnostic categories respectively comprised in the at least one candidate image package, to obtain the at least one target image package.

  10. Claim 10Depends on #9

    The computer device according to claim 9, wherein the screening at least one candidate image package according to quantities of diagnostic categories respectively comprised in the at least one candidate image package, to obtain the at least one target image package comprises: for a first candidate image package that is in the at least one candidate image package and that corresponds to a first key image in the at least one key image, calculating an entropy value of the first candidate image package based on a cosine similarity between at least one candidate tissue image in the first candidate image package and the first key image, an occurrence probability of at least one diagnostic category in the database, and a diagnostic category of the at least one candidate tissue image, wherein the entropy value is configured for measuring a quantity of diagnostic categories corresponding to the first candidate image package, and the first candidate image package is any one of the at least one candidate image package; and screening the at least one candidate image package, to obtain the at least one target image package whose entropy value is less than an entropy value threshold.

  11. Claim 11Depends on #7

    The computer device according to claim 7, wherein the querying, based on the image feature vectors respectively corresponding to the at least one key image, a database to obtain at least one target image package corresponding to the at least one key image comprises: screening at least one candidate image package according to similarities between the at least one candidate tissue image and the at least one key image, to obtain the at least one target image package.

  12. Claim 12Depends on #11

    The computer device according to claim 11, wherein the screening at least one candidate image package according to similarities between the at least one candidate tissue image and the at least one key image, to obtain the at least one target image package comprises: for a first candidate image package that is in the at least one candidate image package and that corresponds to a first key image in the at least one key image, sorting the at least one candidate tissue image in the first candidate image package in descending order of cosine similarities with the first key image; obtaining first m candidate tissue images of the first candidate image package; and calculating cosine similarities respectively corresponding to the first m candidate tissue images; determining a mean value of cosine similarities respectively corresponding to first m candidate tissue images of the at least one candidate image package as a first mean value; and determining a candidate image package that comprises the at least one candidate tissue image whose mean value of cosine similarities is greater than the first mean value as the target image package, to obtain the at least one target image package, wherein the first candidate image package is any one of the at least one candidate image package, and m is a positive integer.

  13. Claim 13Independent Claim

    A non-transitory computer-readable storage medium, having a computer program stored therein, the computer program being loaded and executed by a processor of a computer device and causing the computer device to implement a method for searching for a whole slide image including: cropping a query whole slide image into a plurality of tissue images; generating, through an image encoder, image feature vectors respectively corresponding to the plurality of tissue images; clustering the image feature vectors respectively corresponding to the plurality of tissue images, to generate a plurality of first class clusters; determining clustering centers respectively corresponding to the plurality of first class clusters as image feature vectors respectively corresponding to at least one key image from the plurality of tissue images; querying, based on the image feature vectors respectively corresponding to the at least one key image, a database to obtain at least one target image package corresponding to the at least one key image; and determining a target whole slide image to which at least one candidate tissue image comprised in the at least one target image package respectively belongs as a final search result.

  14. Claim 14Depends on #13

    The non-transitory computer-readable storage medium according to claim 13, wherein the method further comprises: for a target first class cluster in the plurality of first class clusters, clustering based on location features of whole slide images to which a plurality of tissue images corresponding to the target first class cluster respectively belong, to obtain a plurality of second class clusters; and for the target first class cluster in the plurality of first class clusters, determining clustering centers respectively corresponding to the plurality of second class clusters comprised in the target first class cluster as the image feature vectors of the at least one key image, wherein the target first class cluster is any one of the plurality of first class clusters.

  15. Claim 15Depends on #13

    The non-transitory computer-readable storage medium according to claim 13, wherein the querying, based on the image feature vectors respectively corresponding to the at least one key image, a database to obtain at least one target image package corresponding to the at least one key image comprises: screening at least one candidate image package according to quantities of diagnostic categories respectively comprised in the at least one candidate image package, to obtain the at least one target image package.

  16. Claim 16Depends on #15

    The non-transitory computer-readable storage medium according to claim 15, wherein the screening at least one candidate image package according to quantities of diagnostic categories respectively comprised in the at least one candidate image package, to obtain the at least one target image package comprises: for a first candidate image package that is in the at least one candidate image package and that corresponds to a first key image in the at least one key image, calculating an entropy value of the first candidate image package based on a cosine similarity between at least one candidate tissue image in the first candidate image package and the first key image, an occurrence probability of at least one diagnostic category in the database, and a diagnostic category of the at least one candidate tissue image, wherein the entropy value is configured for measuring a quantity of diagnostic categories corresponding to the first candidate image package, and the first candidate image package is any one of the at least one candidate image package; and screening the at least one candidate image package, to obtain the at least one target image package whose entropy value is less than an entropy value threshold.

  17. Claim 17Depends on #13

    The non-transitory computer-readable storage medium according to claim 13, wherein the querying, based on the image feature vectors respectively corresponding to the at least one key image, a database to obtain at least one target image package corresponding to the at least one key image comprises: screening at least one candidate image package according to similarities between the at least one candidate tissue image and the at least one key image, to obtain the at least one target image package.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation application of PCT Patent Application No. PCT/CN2023/088875, entitled “ IMAGE ENCODER TRAINING METHOD AND APPARATUS, DEVICE, AND MEDIUM ” filed on Apr. 18, 2023, which claims priority to Chinese Patent Application No. 202210531184.9, entitled “ IMAGE ENCODER TRAINING METHOD AND APPARATUS, DEVICE, AND MEDIUM ” filed on May 16, 2022, all of which is incorporated herein by reference in its entirety. The application relates to U.S. patent application Ser. No. 18/642,802, entitled “ IMAGE ENCODER TRAINING METHOD AND APPARATUS, DEVICE, AND MEDIUM ” filed on Apr. 22, 2024, which is incorporated herein by reference in its entirety. FIELD OF THE TECHNOLOGY This application relates to the field of artificial intelligence, and in particular, to an image encoder training method and apparatus, a device, and a medium. BACKGROUND OF THE DISCLOSURE In the medical field, there is a scenario in which a whole slide image (WSI) searches for a similar whole slide image. Each whole slide image (a large image) includes a large quantity of tissue pathological images (small images). In the related art, a small image with the best representative capability in the large image is used to represent an entire large image, a database is searched according to a feature vector of the small image with the best representative capability for a target small image most similar to the small image, and a large image corresponding to the target small image is used as a final search result. In the foregoing process, an image encoder is required for extracting the feature vector of the small image. In the related art, when the image encoder is trained, training is performed through contrastive learning. Contrastive learning aims to learn a common feature between an anchor image and a positive sample, and distinguish different features between the anchor image and a negative sample (which is often referred to as pulling the anchor imag

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (3)

  • Tencent Technology, ISR, PCT/CN2023/088875, Jun. 23, 2023, 3 pgs.
  • Tencent Technology, WO, PCT/CN2023/088875, Jun. 23, 2023, 5 pgs.
  • Tencent Technology, IPRP, PCT /CN2023/097408, Nov. 7, 2024, 6 pgs.