Image similarity judgment method, electronic equipment and storage medium

An image similarity, image technology, applied in the direction of instruments, character and pattern recognition, computer parts, etc., can solve the problems of unsatisfactory effect, unsatisfactory effect, unsatisfactory similarity judgment effect, etc., and achieve vector graphics similarity judgment. accurate effect

Pending Publication Date: 2019-06-28
GUANGDONG INTELL VISION TECH CO LTD
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when judging and matching the similarity of hand-drawn vector line draft images, since everyone has their own drawing habits, for example, they also use their hands to draw "L" graphics on the touch screen, and some people draw "L" The corners of "" will be sharper, and the vertical lines will be straighter, while the corners of "L" drawn by some people will be smoother, or the vertical lines will be arc-shaped with a certain radian, so when comparing the similarity of such hand-drawn vector graphics certain degree of difficulty
However, the currently commonly used image similarity judgment method is not ideal for detection.
For example: the method of histogram m

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 judgment method, electronic equipment and storage medium
  • Image similarity judgment method, electronic equipment and storage medium
  • Image similarity judgment method, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] Embodiment 1 provides a kind of image similarity judgment method, such as figure 1 shown, including the following steps:

[0027] S1: The step of establishing an image library, obtaining a large number of vector images, graying the vector images one by one, so that each vector image is in black, white and gray state, adaptively scaling each vector image to a standard size, and dividing it into n* There are m square areas (where both n and m are integers greater than 1), and a square matrix corresponding to each vector image is generated.

[0028] S2: a grayscale processing step, obtaining a vector image to be judged, performing grayscale processing and polarization processing on the vector image to be judged, so that the vector image to be judged presents a black, white and gray state, and adaptively scaling the vector image to be judged to a standard size ;

[0029] S3: the step of comparing the distribution of pixel points, dividing the vector image to be judged int...

Embodiment 2

[0050] The second embodiment discloses an electronic device, the electronic device includes a processor, a memory, and a program, wherein one or more of the processors and the memory can be used, and the program is stored in the memory and configured to be executed by the processor, When the processor executes the program, a method for judging the similarity of images in Embodiment 1 is implemented, and the electronic device may be a series of electronic devices such as a mobile phone, a tablet computer, and the like.

Embodiment 3

[0052] The third embodiment discloses a readable computer storage medium, the storage medium is used for storing a program, and when the program is executed by a processor, the image similarity judgment method of the first embodiment is implemented. If the method of the present invention is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in the computer storage medium. Based on this understanding, the present invention can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer storage medium, and the computer program is in the When executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, o...

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

The invention discloses an image similarity judgment method, which comprises the following steps of: graying processing: obtaining a vector image to be judged, graying the vector image to be judged, enabling the vector image to be judged to present a black-white-gray state, and adaptively scaling the vector image to be judged to a standard size; A pixel point distribution comparison step, dividingthe vector image to be judged into n * m square areas to obtain a square matrix corresponding to the vector image to be judged, performing pixel point distribution comparison with the square matrix corresponding to each standard size image stored in the image library, and judging the similarity of the vector image according to the pixel point distribution condition of the square matrix of the corresponding specification. The invention further discloses electronic equipment and a storage medium, and the image similarity judgment method, the electronic equipment and the storage medium can obtain an ideal vector graph similarity judgment result, so that vector graph similarity judgment is more accurate.

Description

technical field [0001] The invention relates to the field of image recognition and comparison, and in particular, to an image similarity judgment method, an electronic device and a storage medium. Background technique [0002] The similarity comparison of images is mainly realized by calculating the similarity between two images. At present, the image similarity calculation is performed by scoring the similarity of content between two images, and the similarity of the content of the images is judged according to the level of the score. When humans and AI robots draw together, they usually first judge the human hand-drawn line art graphics, find the most similar image in the graphics or hand-drawn style of the current hand-drawn line art from the AI ​​robot's image library, and then carry out the process. The next co-painting. However, when judging and matching the similarity of the hand-drawn vector line draft images, because everyone has their own drawing habits, for exam...

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
IPC IPC(8): G06K9/62
Inventor 邓立邦
Owner GUANGDONG INTELL VISION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products