Supercharge Your Innovation With Domain-Expert AI Agents!

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

Active Publication Date: 2022-05-17
BEIJING YIZHEN XUESI EDUCATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, one of the technical problems solved by the embodiments of the present invention is to provide an image similarity calculation method, a calculation device and a storage medium to overcome the inaccurate defect of image similarity calculation in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image similarity calculation method, calculation device and storage medium
  • Image similarity calculation method, calculation device and storage medium
  • Image similarity calculation method, calculation device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An embodiment of the present application provides an image similarity calculation method, a calculation device, and a storage medium. The image similarity calculation method includes: inputting the first image and the second image into the feature extraction network respectively, and each layer of the feature extraction network outputs a corresponding The first feature matrix corresponding to the first image and the second feature matrix corresponding to the second image; the difference between the first feature matrix and the second feature matrix is ​​obtained to obtain at least one feature difference matrix; the at least one feature difference matrix is ​​fused to obtain fusion matrix; calculating the similarity between the first image and the second image according to the fusion matrix. By combining the multi-layer neural network and the single-layer neural network and using the difference information between images, the calculation of image similarity can be made more accurate.

Description

technical field [0001] The embodiments of the present application relate to the technical field of artificial intelligence, and in particular to an image similarity calculation method, a calculation device, and a storage medium. Background technique [0002] With the development of artificial intelligence technology, image retrieval technology based on neural network is more and more widely used. Images can contain vector graphics, image frames of videos, pictures, etc. For example, in the teaching process, students can use image retrieval to find test questions for relevant topic training, and can also learn other answer methods; teachers can use image retrieval to find the same type of topics for special lectures. However, in the actual application process, especially for the graphics in the math topic, when students or teachers retrieve the math topic, they often have to combine the graphics of the math topic because the key information given by the text of the topic is ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06V10/74G06V10/80G06K9/62
CPCG06F18/22G06F18/253
Inventor 向宇陈柯锦彭守业
Owner BEIJING YIZHEN XUESI EDUCATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More