Image comparison device and method, electronic equipment
An image comparison and image technology, applied in the information field, can solve problems such as unreliable cross-platform web page rendering, and achieve the effect of fast comparison, accurate comparison results, and improved accuracy
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2021-08-10
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of information technology, in particular to an image comparison device and method, and electronic equipment. Background technique
[0002] With the continuous development of information technology, the application of image processing in various fields is becoming more and more extensive. In many cases, it is necessary to compare two images to determine whether the two images are the same image and the degree of difference between the two images.
[0003] For example, with the development of network technology, web pages have become one of the main sources of information in daily life. A common problem faced by web designers is unreliable cross-platform web rendering. For the same URL, browsers with different types or the same type but different versions have more or less differences in the appearance of the opened webpage. Currently, comparison and difference detection of web pages is generally based on source file...
Examples
Embodiment 1
[0024] An embodiment of the present invention provides an image comparison device, figure 1 is a schematic diagram of the image comparison device according to Embodiment 1 of the present invention. like figure 1 As shown, the detection device 100 includes:
[0025] The first determination unit 101 is configured to use the first determination method to perform the first first determination on the pre-acquired image pair to be compared, and determine that the two images in the image pair to be compared satisfying the preset condition are the same image ;
[0026] The first correction unit 102 is configured to estimate the position offset between the two images in the image pair to be compared for the image pair to be compared that does not meet the preset condition after the first first determination, and calculate the position The offset is corrected, and the image pair to be compared after the position offset correction is provided to the first determination unit 101 for th...
Embodiment 2
[0074] The embodiment of the present invention also provides an electronic device, Figure 4 It is a schematic diagram of the electronic device of Embodiment 2 of the present invention. Such as Figure 4 As shown, the electronic device 400 includes an image comparison device 401. The structure and function of the image comparison device 401 are the same as those described in Embodiment 1, and will not be repeated here.
[0075] Figure 5 It is a schematic block diagram of the system configuration of the electronic device according to Embodiment 2 of the present invention. Such as Figure 5 As shown, the electronic device 500 may include a central processing unit 501 and a memory 502 ; the memory 502 is coupled to the central processing unit 501 . This diagram is exemplary; other types of structures may also be used, in addition to or in place of this structure, for telecommunications or other functions.
[0076] Such as Figure 5 As shown, the electronic device 500 may f...
Embodiment 3
[0091] An embodiment of the present invention also provides an image comparison method, which corresponds to the image comparison device in Embodiment 1. Image 6 It is a schematic diagram of the image comparison method in Embodiment 3 of the present invention. Such as Image 6 As shown, the method includes:
[0092] Step 601: Use the first determination method to perform the first first determination on the pre-acquired image pair to be compared, and determine that the two images in the image pair to be compared satisfying the preset conditions are the same image;
[0093] Step 602: Estimate the position offset between the two images in the image pair to be compared for the image pair to be compared that does not satisfy the preset condition after the first first determination, and correct the position offset, Using the image pair to be compared after the position offset correction is used for the second first determination;
[0094] Step 603: For the image pair to be comp...