Artificial intelligence-based image processing method and apparatus, device, and storage medium
Abstract
An artificial intelligence-based image processing method includes: obtaining a first sample image of a source domain and a second sample image of a target domain, the first sample image of the source domain carrying a corresponding target processing result; converting the first sample image into a target sample image, the target sample image carrying a corresponding target processing result; training a first image processing model based on the target sample image and the target processing result corresponding to the target sample image, to obtain a second image processing model; and inputting, in response to obtaining a human tissue image of the target domain, the human tissue image into the second image processing model, positioning, by the second image processing model, a target human tissue in the human tissue image, and outputting position information of the target human tissue in the human tissue image.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 0.
Claims (14 — 3 Independent, 11 Dependent)
- Claim 1Independent Claim
An artificial intelligence-based image processing method, comprising: obtaining a first sample image of a source domain and a second sample image of a target domain, the first sample image of the source domain carrying a corresponding target processing result, and the first sample image and the second sample image being sample human tissue images; encoding, by an encoding network of an image conversion network, the first sample image according to an image distribution difference between a target encoding space and the first sample image, to obtain a first sample image code; generating, by a generation network of the image conversion network, based on the first sample image code and according to an image distribution difference between the second sample image and the target encoding space, a target sample image that conforms to an image distribution rule of the second sample image, the target sample image carrying a corresponding target processing result; training a first image processing model based on the target sample image and the target processing result corresponding to the target sample image, to obtain a second image processing model; and inputting, in response to obtaining a human tissue image of the target domain, the human tissue image into the second image processing model, positioning, by the second image processing model, a target human tissue in the human tissue image, and outputting position information of the target human tissue in the human tissue image.
- Claim 2Depends on #1
The method according to claim 1, wherein training the image conversion network comprises: inputting the first sample image and the second sample image into an initial image conversion network, and encoding, by the initial image conversion network, the first sample image according to the image distribution difference of the target encoding space and the first sample image on the image distribution rule, to obtain the first sample image code; encoding the second sample image according to the image distribution difference of the target encoding space and the second sample image on the image distribution rule, to obtain a second sample image code; generating, according to the image distribution difference of the first sample image and the target encoding space on the image distribution rule, a third sample image and a fourth sample image based on the first sample image code and the second sample image code; generating, according to the image distribution difference of the second sample image and the target encoding space on the image distribution rule, a fifth sample image and a sixth sample image based on the first sample image code and the second sample image code; obtaining an image classification result of the first sample image, the second sample image, the third sample image, the fourth sample image, the fifth sample image, and the sixth sample image, the image classification result being used for indicating that an image is an original image or a generated image; and adjusting a network parameter of the initial image conversion network according to an accuracy rate of the image classification result, to obtain the image conversion network.
- Claim 3Depends on #2
The method according to claim 2, further comprising: respectively obtaining a first similarity between the third sample image and the fourth sample image, a second similarity between the fifth sample image and the sixth sample image, a third similarity between the first sample image and the third sample image, a fourth similarity between the first sample image and the fifth sample image, a fifth similarity between the second sample image and the fourth sample image, and a sixth similarity between the second sample image and the sixth sample image; and adjusting the network parameter comprises: adjusting the network parameter of the initial image conversion network according to the accuracy rate of the image classification result, the first similarity, the second similarity, the third similarity, the fourth similarity, the fifth similarity, and the sixth similarity.
- Claim 4Depends on #3
The method according to claim 3, further comprising: inputting the fourth sample image and the sixth sample image into the initial image conversion network, and encoding, by the initial image conversion network, the fourth sample image and the sixth sample image, to obtain a third sample image code and a fourth sample image code; and respectively obtaining a seventh similarity between the third sample image code and the first sample image code and an eighth similarity between the fourth sample image code and the second sample image code; and adjusting the network parameter further comprises: adjusting the network parameter of the initial image conversion network according to the seventh similarity and the eighth similarity.
- Claim 5Depends on #4
The method according to claim 4, wherein the first target condition is that a difference between the accuracy rate of the image classification result and a target accuracy rate is less than a difference threshold; or the first target condition is that the difference between the accuracy rate of the image classification result and the target accuracy rate is less than the difference threshold, and the first similarity, the second similarity, the third similarity, the fourth similarity, the fifth similarity, and the sixth similarity converge; or the first target condition is that the difference between the accuracy rate of the image classification result and the target accuracy rate is less than the difference threshold, and the first similarity, the second similarity, the third similarity, the fourth similarity, the fifth similarity, the sixth similarity, the seventh similarity, and the eighth similarity converge; or the first target condition is that a quantity of iterations reaches a target quantity.
- Claim 6Depends on #1
The method according to claim 1, wherein training the first image processing model comprises: inputting the target sample image into the first image processing model, positioning, by using the first image processing model, a target human tissue in the target sample image, and outputting predicted position information of the target human tissue in the target sample image; obtaining accuracy of the predicted position information based on the predicted position information and target position information of the target human tissue in the target processing result; and adjusting a model parameter of the first image processing model based on the accuracy, to obtain the second image processing model.
- Claim 7Depends on #1
The method according to claim 1, wherein positioning the target human tissue in the human tissue image comprises: performing, by the second image processing model, feature extraction on the human tissue image, to obtain an image feature of the human tissue image; obtaining a feature map of the human tissue image according to the image feature, each pixel in the feature map being used for indicating whether one region of the human tissue image comprises the target human tissue; and obtaining and outputting the position information of the target human tissue according to the feature map and a target offset.
- Claim 8Independent Claim
An artificial intelligence-based image processing apparatus, comprising: a memory storing computer program instructions; and a processor coupled to the memory and configured to execute the computer program instructions and perform: obtaining a first sample image of a source domain and a second sample image of a target domain, the first sample image of the source domain carrying a corresponding target processing result, and the first sample image and the second sample image being sample human tissue images; encoding, by an encoding network of an image conversion network, the first sample image according to an image distribution difference between a target encoding space and the first sample image, to obtain a first sample image code; generating, by a generation network of the image conversion network, based on the first sample image code and according to an image distribution difference between the second sample image and the target encoding space, a target sample image that conforms to an image distribution rule of the second sample image, the target sample image carrying a corresponding target processing result; training a first image processing model based on the target sample image and the target processing result corresponding to the target sample image, to obtain a second image processing model; and inputting, in response to obtaining a human tissue image of the target domain, the human tissue image into the second image processing model, positioning, by the second image processing model, a target human tissue in the human tissue image, and outputting position information of the target human tissue in the human tissue image.
- Claim 9Depends on #8
The apparatus of claim 8, wherein training the image conversion network includes: inputting the first sample image and the second sample image into an initial image conversion network, and encoding, by the initial image conversion network, the first sample image according to the image distribution difference of the target encoding space and the first sample image on the image distribution rule, to obtain the first sample image code; encoding the second sample image according to the image distribution difference of the target encoding space and the second sample image on the image distribution rule, to obtain a second sample image code; generating, according to the image distribution difference of the first sample image and the target encoding space on the image distribution rule, a third sample image and a fourth sample image based on the first sample image code and the second sample image code; generating, according to the image distribution difference of the second sample image and the target encoding space on the image distribution rule, a fifth sample image and a sixth sample image based on the first sample image code and the second sample image code; obtaining an image classification result of the first sample image, the second sample image, the third sample image, the fourth sample image, the fifth sample image, and the sixth sample image, the image classification result being used for indicating that an image is an original image or a generated image; and adjusting a network parameter of the initial image conversion network according to an accuracy rate of the image classification result, to obtain the image conversion network.
- Claim 10Depends on #9
The apparatus of claim 9, wherein the processor is further configured to execute the computer program instructions and perform: respectively obtaining a first similarity between the third sample image and the fourth sample image, a second similarity between the fifth sample image and the sixth sample image, a third similarity between the first sample image and the third sample image, a fourth similarity between the first sample image and the fifth sample image, a fifth similarity between the second sample image and the fourth sample image, and a sixth similarity between the second sample image and the sixth sample image; and adjusting the network parameter comprises: adjusting the network parameter of the initial image conversion network according to the accuracy rate of the image classification result, the first similarity, the second similarity, the third similarity, the fourth similarity, the fifth similarity, and the sixth similarity.
- Claim 11Depends on #10
The apparatus of claim 10, wherein the processor is further configured to execute the computer program instructions and perform: inputting the fourth sample image and the sixth sample image into the initial image conversion network, and encoding, by the initial image conversion network, the fourth sample image and the sixth sample image, to obtain a third sample image code and a fourth sample image code; and respectively obtaining a seventh similarity between the third sample image code and the first sample image code and an eighth similarity between the fourth sample image code and the second sample image code; and adjusting the network parameter further comprises: adjusting the network parameter of the initial image conversion network according to the seventh similarity and the eighth similarity.
- Claim 12Depends on #11
The apparatus of claim 11, wherein the first target condition is that a difference between the accuracy rate of the image classification result and a target accuracy rate is less than a difference threshold; or the first target condition is that the difference between the accuracy rate of the image classification result and the target accuracy rate is less than the difference threshold, and the first similarity, the second similarity, the third similarity, the fourth similarity, the fifth similarity, and the sixth similarity converge; or the first target condition is that the difference between the accuracy rate of the image classification result and the target accuracy rate is less than the difference threshold, and the first similarity, the second similarity, the third similarity, the fourth similarity, the fifth similarity, the sixth similarity, the seventh similarity, and the eighth similarity converge; or the first target condition is that a quantity of iterations reaches a target quantity.
- Claim 13Depends on #8
The apparatus of claim 8, wherein training the first image processing model includes: inputting the target sample image into the first image processing model, positioning, by using the first image processing model, a target human tissue in the target sample image, and outputting predicted position information of the target human tissue in the target sample image; obtaining accuracy of the predicted position information based on the predicted position information and target position information of the target human tissue in the target processing result; and adjusting a model parameter of the first image processing model based on the accuracy, to obtain the second image processing model.
- Claim 14Independent Claim
A non-transitory computer-readable storage medium storing computer program instructions executable by at least one processor to perform: obtaining a first sample image of a source domain and a second sample image of a target domain, the first sample image of the source domain carrying a corresponding target processing result, and the first sample image and the second sample image being sample human tissue images; encoding, by an encoding network of an image conversion network, the first sample image according to an image distribution difference between a target encoding space and the first sample image, to obtain a first sample image code; generating, by a generation network of the image conversion network, based on the first sample image code and according to an image distribution difference between the second sample image and the target encoding space, a target sample image that conforms to an image distribution rule of the second sample image, the target sample image carrying a corresponding target processing result; training a first image processing model based on the target sample image and the target processing result corresponding to the target sample image, to obtain a second image processing model; and inputting, in response to obtaining a human tissue image of the target domain, the human tissue image into the second image processing model, positioning, by the second image processing model, a target human tissue in the human tissue image, and outputting position information of the target human tissue in the human tissue image.
Technical Overview & Description
RELATED APPLICATION(S) This application is a continuation application of PCT Patent Application No. PCT/CN2021/077685 filed on Feb. 24, 2021, which claims priority to Chinese Patent Application No. 202010286926.7, entitled “ ARTIFICIAL INTELLIGENCE-BASED IMAGE PROCESSING METHOD AND APPARATUS, DEVICE, AND STORAGE MEDIUM ” filed on Apr. 13, 2020, all of which are incorporated by reference in entirety. FIELD OF THE TECHNOLOGY The present disclosure relates to the field of computer technologies, and in particular, to an artificial intelligence-based image processing method and apparatus, a device, and a storage medium. BACKGROUND With the development of computer technologies, the image processing technology has been applied to medical image processing and natural image processing. For a medical image, a human tissue in the image may be positioned by performing image processing, to determine a specific position of the human tissue. There may be distribution differences between generated images due to different methods of medical personnel in different hospitals and use of different devices. When performing image processing, if an image processing model obtained by training sample images of another hospital is directly used for image processing, processing results may be met with limited accuracy. By using a polyp positioning processing scenario as an example, an image processing method may be carried out as follows. When a certain hospital desires to process human tissue images, human tissue images generated by medical devices in the certain hospital are captured as sample images, and then the sample images are labeled manually, to label positions of polyps in the sample images. An image processing model trained by another hospital is retrained by using the labeled sample images, to obtain a new image processing model. By using the new image processing model, a polyp is positioned on the human tissue image generated by the certain hospital, to output position information
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.
References Cited — Backward Prior Art (15)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- European Patent Office European Search Report for Application No. 21787699.4 Dec. 12, 2022 9 pages.
- Chen Jiawei et al:
- “
- Generative Adversarial Networks for Video-to-Video Domain Adaptation
- ”
- , Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34, No. 04, Feb. 7, 2020, pp. 3462-3469.
- The World Intellectual Property Organization (WIPO) International Search Report for PCT/CN2021/077685 May 25, 2021 5 Pages (including translation).
- Ming-Yu Liu et al.,
- “
- Unsupervised Image-to-Image Translation Networks,