IP Library Granted Patent US 8,599,212
Granted Patent B2
US 8,599,212 · App. 13/718,034 · Granted Dec 3, 2013

Character display method and apparatus

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,599,212
App. No.
13/718,034
Granted
Dec 3, 2013
Kind
B2
Abstract

The present invention discloses a character display method and apparatus. The method includes: obtaining a display color value of a character; obtaining a background color value of the character according to a position of the character; obtaining a difference between the display color value and the background color value; obtaining an outline of the character when the difference is smaller than a preset threshold; and displaying the character that has the outline. By adopting the present invention, the character may be clearly displayed in a background without changing a color of the character and a color of the background.

Claims (57)

1. A method for displaying a character produced by an electronic device that comprises a display, wherein the method is executed by the electronic device, comprising:

obtaining a display color value of a character;

obtaining a background color value of the character according to a position of the character;

obtaining a difference between the display color value and the background color value;

obtaining an outline of the character when the difference is smaller than a preset threshold; and

displaying the character that has the outline on the display;

wherein obtaining the background color value of the character according to the position of the character comprises obtaining color values of multiple background points of the character according to the position of the character, and

wherein obtaining the difference between the display color value and the background color value comprises:

obtaining a standard difference between the display color value and a color value of each of the multiple background points; and

obtaining a minimum standard difference in the standard difference.

2. The method according to claim 1 , wherein the display color value and the color value of the background point comprise red-green-blue (RGB) values, and wherein the difference between the display color value and a color value of a background point is calculated using an equation:

Δ i =(( R i −R 0 ) 2 +( G i −G 0 ) 2 +( B i −B 0 ) 2 ) 1/2 ,

wherein R 0 , G 0 , and B 0 are display color values of the character,

wherein R i , G i , and B i are background color values of a background point i, and

wherein Δ i is a difference between the color value of the character and the color value of the background point i.

3. The method according to claim 1 , wherein obtaining the outline of the character when the difference is smaller than the preset threshold comprises obtaining the outline of the character when the minimum standard difference is smaller than the preset threshold.

4. The method according to claim 3 , wherein the background comprises a top, a bottom, a left, a right, and a center, and wherein the multiple background points comprise points at the top, at the bottom, on the left, on the right, and at the center of the background at the position of the character.

5. The method according to claim 4 , wherein the display color value and the color value of the background point comprise RGB values, and wherein the difference between the display color value and a color value of a background point is calculated using an equation:

Δ i =(( R i −R 0 ) 2 +( G i −G 0 ) 2 +( B i −B 0 ) 2 ) 1/2 ,

wherein R 0 , G 0 , and B 0 , are display color values of the character,

wherein R i , G i , and B i , are background color values of a background point i, and

wherein Δ i is a difference between the color value of the character and the color value of the background point i.

6. The method according to claim 3 , wherein the display color value and the color value of the background point comprise RGB values, and wherein the difference between the display color value and a color value of a background point is calculated using an equation:

Δ i =(( R i −R 0 ) 2 +( G i −G 0 ) 2 +( B i −B 0 ) 2 ) 1/2 ,

wherein R 0 , G 0 , and B 0 are display color values of the character,

wherein R i , G i , and B i are background color values of a background point i, and

wherein Δ i is a difference between the color value of the character and the color value of the background point i.

7. A character display apparatus comprising:

a color value obtaining unit configured to obtain a display color value of a character;

a difference obtaining unit configured to obtain a background color value of the character according to a position of the character and obtain a difference between the display color value and the background color value; and

a display unit configured to obtain an outline of the character when the difference is smaller than a preset threshold and display the character that has the outline,

wherein the difference obtaining unit comprises:

a standard difference obtaining subunit configured to obtain color values of multiple background points of the character according to the position of the character and obtain a standard difference between the display color value and a color value of each background point; and

a minimum difference obtaining subunit configured to obtain a minimum standard difference in the standard difference, and

wherein the display unit is further configured to obtain the outline of the character when the minimum standard difference is smaller than the preset threshold and display the character that has the outline.

8. The apparatus according to claim 7 , wherein the apparatus is incorporated in a terminal display device.

9. The apparatus according to claim 7 , wherein the display color value and the color value of the background point comprise RGB values, and wherein the difference obtaining unit is further configured to obtain the difference between the display color value and a color value of a background point according to the following formula:

Δ i =(( R i −R 0 ) 2 +( G i −G 0 ) 2 +( B i −B 0 ) 2 ) 1/2 ,

wherein R 0 , G 0 , and B 0 are display color values of the character,

wherein R i , G i , and B i are background color values of a background point i, and

wherein Δ i a difference between the color value of the character and the color value of the background point i.

10. The apparatus according to claim 9 , wherein the apparatus is incorporated in a terminal display device.

11. The apparatus according to claim 7 , wherein the apparatus is incorporated in a terminal display.

12. The apparatus according to claim 7 , wherein the display color value and the color value of the background point comprise RGB values, and wherein the difference obtaining unit is further configured to obtain the difference between the display color value and a color value of a background point according to the following formula:

Δ i =(( R i −R 0 ) 2 +( G i −G 0 ) 2 +( B i −B 0 ) 2 ) 1/2 ,

wherein R 0 , G 0 , and B 0 are display color values of the character;

wherein R i , G i , and B i are background color values of a background point i, and

wherein Δ i is a difference between the color value of the character and the color value of the background point i.

13. The apparatus according to claim 12 , wherein the apparatus is incorporated in a terminal display.

14. The apparatus according to claim 7 , wherein the background comprises a top, a bottom, a left, a right, and a center, and wherein the multiple background points comprise points at the top, at the bottom, on the left, on the right, and at the center of the background at the position of the character.

15. The apparatus according to claim 14 , wherein the apparatus is incorporated in a terminal display.

16. The apparatus according to claim 14 , wherein the display color value and the color value of the background point comprise RGB values, and wherein the difference obtaining unit is further configured to obtain the difference between the display color value and a color value of a background point according to the following formula:

Δ i =(( R i −R 0 ) 2 +( G i −G 0 ) 2 +( B i −B 0 ) 2 ) 1/2 ,

wherein R 0 , G 0 , and B 0 are display color values of the character,

wherein R i , G i , and B i are background color values of a background point i, and

wherein Δ i is a difference between the color value of the character and the color value of the background point i.

17. The apparatus according to claim 16 , wherein the apparatus is incorporated in a terminal display device.

Assignments (3)
CHANGE OF NAME Recorded Mar 11, 2019
From: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
To: HUAWEI DEVICE CO.,LTD.
Reel/Frame 048555/0951 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2017
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 043750/0393 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 18, 2012
From: ZHAO, DEJIE
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 029490/0123 →