Image similarity calculation method, calculation device and storage medium
A technology of image similarity and calculation method, applied in computing, computer parts, instruments, etc., can solve the problem of inaccurate calculation of image similarity, and achieve the effect of accurate calculation of image similarity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] Embodiment 1 of the present application provides a method for calculating image similarity, such as figure 1 as shown, figure 1 It is a flow chart of an image similarity calculation method provided in Embodiment 1 of the present application. The image similarity calculation method includes the following steps:
[0035] Step 101. Input the first image and the second image to the feature extraction network respectively, and each layer of the feature extraction network outputs a first feature matrix corresponding to the first image and a second feature matrix corresponding to the second image.
[0036] In an optional embodiment, the first image and the second image may be input to the feature extraction network after preprocessing. For example, in one embodiment of the present application, before step 101, the method also includes: obtaining the RGB three-channel matrix of the first image as the data matrix of the first image according to the first image, and obtaining t...
Embodiment 2
[0053] Based on the image similarity calculation method described in the first embodiment above, the second embodiment of the present application provides an image similarity calculation method, refer to figure 2 as shown, figure 2 It is a flowchart of an image similarity calculation method provided in Embodiment 2 of the present application. The image similarity calculation method provided in Embodiment 2 of the present application includes the following steps:
[0054] Step 201. Obtain an RGB three-channel matrix of the first image as a data matrix of the first image according to the first image.
[0055] Step 202. Obtain an RGB three-channel matrix of the second image as a data matrix of the second image according to the second image.
[0056] It should be noted that step 201 and step 202 are performed in no particular order, and can be performed serially or in parallel. The method of obtaining the RGB three-channel matrix of the first image can be the same as that of th...
Embodiment 3
[0091] Based on the image similarity calculation methods described in the first and second embodiments above, the third embodiment of the present application provides an image similarity calculation device for performing the image similarity calculation methods described in the first and second embodiments above ,Such as Image 6 as shown, Image 6 A schematic structural diagram of an image similarity calculation device provided in Embodiment 3 of the present application. The image similarity calculation device 60 includes: a feature extraction module 601, a difference calculation module 602, a fusion module 603, and a similarity module 604;
[0092] Wherein, the feature extraction module 601 may include a feature extraction network, and an example of the feature extraction network may be as described above, and repeated descriptions are omitted here for brevity. The feature extraction network receives the first image and the second image respectively, and each layer of the f...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com