# US 2025/0157094 A1 · System and method for employing adaptive pixel selector techniques for calculating color contrast ratio with dead pixel mitigation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0157094 A1
- Document ID: US20250157094A1
- Status: Published application
- Kind: A1
- Application number: 18/505,833
- Filed: 2023-11-09
- Published: 2025-05-15
- Earliest claimed: 2023-11-09
- Assignees: Bank of America Corporation
- Applicants: Bank of America Corporation
- Inventors: Kumar Gaurav Gupta; Arun Kumar Sharma; Saurabh Kumar
- Web page: https://patentgrep.com/patent/US20250157094A1

## CPC

- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- G06T 7/0002: {Inspection of images, e.g. flaw detection}
- G06T 7/0006: {using a design-rule based approach}
- G06T 7/11: Region-based segmentation
- G06T 7/90: Determination of colour characteristics
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06T 2207/10024: Color image
- G06T 2207/30121: CRT, LCD or plasma display
- G06T 2207/30168: Image quality inspection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Embodiments of the present invention provide a system for employing adaptive pixel selector techniques for calculating color contrast ratio with dead pixel mitigation. The system is configured for determining that a user is testing user interface accessibility compliance of at least one user interface associated with one or more applications, determining one or more rules associated with the user interface accessibility compliance of the one or more applications, selecting a pixel from the at least one user interface, determining that the pixel is not a defective pixel, calculating a color contrast ratio associated with the pixel, determining if the color contrast ratio is in compliance with the one or more rules, and displaying an output associated with determining if the color contrast ratio is in compliance with the one or more rules.

## Claims

### Claim 1

A system for employing adaptive pixel selector techniques for calculating color contrast ratio with dead pixel mitigation, comprising:
at least one processing device;
at least one memory device; and
a module stored in the at least one memory device comprising executable instructions that when executed by the at least one processing device, cause the at least one processing device to:
determine that a user is testing user interface accessibility compliance of at least one user interface associated with one or more applications;
determine one or more rules associated with the user interface accessibility compliance of the one or more applications;
select a pixel from the at least one user interface;
determine that the pixel is not defective;
calculate a color contrast ratio associated with the pixel;
determine if the color contrast ratio is in compliance with the one or more rules; and
display an output associated with determining if the color contrast ratio is in compliance with the one or more rules.

### Claim 2 (depends on 1)

The system according to claim 1, wherein the executable instructions cause the at least one processing device to:
determine a set of surrounding pixels around the pixel;
determine a foreground hex value associated with the pixel and a set of foreground hex values associated with the set of surrounding pixels;
determine a foreground hex value average based on the foreground hex value and the set of foreground hex values;
determine a background hex value associated with the pixel and the background hex value associated with the set of surrounding pixels; and
determine a background hex value average based on the background hex value and the set of background hex values.

### Claim 3 (depends on 2)

The system according to claim 2, wherein the executable instructions cause the at least one processing device to calculate the color contrast ratio based on the foreground hex value average and the background hex value average associated with the pixel.

### Claim 4 (depends on 2)

The system according to claim 2, wherein the executable instructions cause the at least one processing device to determine that the pixel is not defective based on determining that the foreground hex value and the set of foreground hex values are different.

### Claim 5 (depends on 2)

The system according to claim 2, wherein the executable instructions cause the at least one processing device to determine that the pixel is not defective based on determining that the background hex value and the set of background hex values are different.

### Claim 6 (depends on 1)

The system according to claim 1, wherein the executable instructions cause the at least one processing device to determine the one or more rules based on a location of usage of the one or more applications.

### Claim 7 (depends on 1)

The system according to claim 1, wherein the executable instructions cause the at least one processing device to determine the one or more rules based on a location of the user.

### Claim 8

A computer program product for employing adaptive pixel selector techniques for calculating color contrast ratio with dead pixel mitigation, comprising a non-transitory computer-readable storage medium having computer-executable instructions for:
determining that a user is testing user interface accessibility compliance of at least one user interface associated with one or more applications;
determining one or more rules associated with the user interface accessibility compliance of the one or more applications;
selecting a pixel from the at least one user interface;
determining that the pixel is not defective;
calculating a color contrast ratio associated with the pixel;
determining if the color contrast ratio is in compliance with the one or more rules; and
displaying an output associated with determining if the color contrast ratio is in compliance with the one or more rules.

### Claim 9 (depends on 8)

The computer program product according to claim 8, wherein the non-transitory computer-readable storage medium comprises computer-executable instructions for:
determining a set of surrounding pixels around the pixel;
determining a foreground hex value associated with the pixel and a set of foreground hex values associated with the set of surrounding pixels;
determining a foreground hex value average based on the foreground hex value and the set of foreground hex values;
determining a background hex value associated with the pixel and the background hex value associated with the set of surrounding pixels; and
determining a background hex value average based on the background hex value and the set of background hex values.

### Claim 10 (depends on 9)

The computer program product according to claim 9, wherein the non-transitory computer-readable storage medium comprises computer-executable instructions for calculating the color contrast ratio based on the foreground hex value average and the background hex value average associated with the pixel.

### Claim 11 (depends on 9)

The computer program product according to claim 9, wherein the non-transitory computer-readable storage medium comprises computer-executable instructions for determining that the pixel is not defective based on determining that the foreground hex value and the set of foreground hex values are different.

### Claim 12 (depends on 9)

The computer program product according to claim 9, wherein the non-transitory computer-readable storage medium comprises computer-executable instructions for determining that the pixel is not defective based on determining that the background hex value and the set of background hex values are different.

### Claim 13 (depends on 8)

The computer program product according to claim 8, wherein the non-transitory computer-readable storage medium comprises computer-executable instructions for determining the one or more rules based on a location of usage of the one or more applications.

### Claim 14 (depends on 8)

The computer program product according to claim 8, wherein the non-transitory computer-readable storage medium comprises computer-executable instructions for determining the one or more rules based on a location of the user.

### Claim 15

A computerized method for employing adaptive pixel selector techniques for calculating color contrast ratio with dead pixel mitigation, the method comprising:
determining that a user is testing user interface accessibility compliance of at least one user interface associated with one or more applications;
determining one or more rules associated with the user interface accessibility compliance of the one or more applications;
selecting a pixel from the at least one user interface;
determining that the pixel is not defective;
calculating a color contrast ratio associated with the pixel;
determining if the color contrast ratio is in compliance with the one or more rules; and
displaying an output associated with determining if the color contrast ratio is in compliance with the one or more rules.

### Claim 16 (depends on 15)

The computerized method according to claim 15, wherein the method comprises determining a set of surrounding pixels around the pixel;
determining a foreground hex value associated with the pixel and a set of foreground hex values associated with the set of surrounding pixels;
determining a foreground hex value average based on the foreground hex value and the set of foreground hex values;
determining a background hex value associated with the pixel and the background hex value associated with the set of surrounding pixels; and
determining a background hex value average based on the background hex value and the set of background hex values.

### Claim 17 (depends on 16)

The computerized method according to claim 16, wherein the method comprises calculating the color contrast ratio based on the foreground hex value average and the background hex value average associated with the pixel.

### Claim 18 (depends on 16)

The computerized method according to claim 16, wherein the method comprises determining that the pixel is not defective based on determining that the foreground hex value and the set of foreground hex values are different.

### Claim 19 (depends on 16)

The computerized method according to claim 16, wherein the method comprises determining that the pixel is not defective based on determining that the background hex value and the set of background hex values are different.

### Claim 20 (depends on 15)

The computerized method according to claim 15, wherein the method comprises determining the one or more rules based on a location of usage of the one or more applications.
