hottub.patents
US 12,499,652 B1#3368096 Most CitedActiveUnited States (USPTO)Utility

Image difference generator with shift detection

0Forward Citations (#3368096 Global)
0.0/yrCitation Velocity (#3368096 Global)
0.00Citation PageRank (#3368096 Global)
13Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

An image difference generator can receive first and second screenshots of first and second display outputs of a computer program. The image difference generator can be configured to generate a difference image between the two screenshots. The difference image can be generated to exclude minor changes, such as slight horizontal or vertical shift in the same content or graphics between the two screenshots.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A method comprising: receiving first and second images; generating a first difference image by determining difference areas between the first and second images; grouping the difference areas, generating grouped difference areas (GDAs); determining, for each GDA, an amount of pixel shift between the first and second images; selecting a representative shift, wherein the representative shift is a pixel shift occurring with maximum frequency among the determined pixel shifts of the GDAs; generating a shifted second image, by shifting the GDAs in the second image, by the representative shift; determining differences between the shifted second image and the first image; when determining no differences between the shifted second image and the first image, removing the GDAs from the first difference image and outputting the first difference image, with the GDAs removed; and when determining differences between the shifted second image and the first image, outputting the first difference image;

  2. Claim 2Depends on #1

    The method of claim 1, wherein removing the GDAs from the first difference image and outputting the first difference image, with the GDAs removed, comprises: shifting the second image by the representative shift, generating a second difference image between the first image and the shifted second image, based on determining differences between the first image and the shifted second image; and outputting the second difference image.

  3. Claim 3Depends on #1

    The method of claim 1, wherein grouping the difference areas comprises: selecting a box of a selected size around a difference area; determining a difference area near the outside perimeter of the box; and iteratively expanding the size of the box to include nearby difference areas, until no nearby difference areas can be found.

  4. Claim 4Depends on #1

    The method of claim 1, wherein determining pixel shifts is based on a phase correlation algorithm.

  5. Claim 5Depends on #1

    The method of claim 1, further comprising: when the representative shift equals zero, generating the shifted second image by shifting the GDAs by a small selected margin.

  6. Claim 6Depends on #1

    The method of claim 1, further comprising when the representative shift is greater than a maximum shift tolerance, outputting the first difference image.

  7. Claim 7Independent Claim

    A non-transitory computer storage medium that stores executable program instructions that, when executed by one or more computing devices, configure the one or more computing devices to perform operations comprising: receiving first and second images; generating a first difference image by determining difference areas between the first and second images; grouping the difference areas, generating grouped difference areas (GDAs); determining, for each GDA, an amount of pixel shift between the first and second images; selecting a representative shift, wherein the representative shift is a pixel shift occurring with maximum frequency among the determined pixel shifts of the GDAs; generating a shifted second image, by shifting the GDAs in the second image, by the representative shift; determining differences between the shifted second image and the first image; when determining no differences between the shifted second image and the first image, removing the GDAs from the first difference i

  8. Claim 8Depends on #7

    The non-transitory computer storage of claim 7, wherein removing the GDAs from the first difference image and outputting the first difference image, with the GDAs removed, comprises: shifting the second image by the representative shift, generating a second difference image between the first image and the shifted second image, based on determining differences between the first image and the shifted second image; and outputting the second difference image.

Technical Overview & Description

BACKGROUND Field This invention relates generally to software development tools, and more particularly to tools directed to visual testing of the output of a software. Description of the Related Art The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Image difference generators can be a powerful tool for software development. They can be used to quickly and efficiently inspect the display output of a computer program, as the software developer writes codes and scripts. Image difference generators can be used to highlight the difference in the display output of a computer program, for example, to compare different versions of a computer program, in terms of their display output. Some image difference generators do not include features to identify minor shifts in the display output, including slight shifts in the positioning of the same content or graphics in the output of a computer program. A robust image difference generator can exclude minor changes from its output, while more prominently highlighting more important or substantial differences in the display output of a computer program. SUMMARY The appended claims may serve as a summary of this application. Further areas of applicability of the present disclosure will become apparent from the detailed description, the claims, and the drawings. The detailed description and specific examples are intended for illustration only and are not intended to limit the scope of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS These drawings and the associated description herein are provided to illustrate specific embodiments of the invention and are not intended to be limiting. FIG. 1 illustrates a flowchart of a method of an image d

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 (13)