Character region pixel identification device and method thereof
First Claim
1. A method for judging whether a unit pixel is included in a character region on a display screen including a plurality of unit pixels, each unit pixel having three or more primary color sub-pixels arranged therein, the method comprising:
- specifying, with a processor, a pixel of interest;
when the pixel of interest is specified, automatically specifying, with a processor, the pixel of interest and a predetermined number of unit pixels adjacent to the pixel of interest, as a judgment region, wherein the predetermined number of unit pixels is a positive integer greater than 0;
automatically determining, with the processor, the largest of values of the primary color sub-pixels of each of the unit pixels in the judgment region, as a respective representative value of the respective unit pixel; and
based on a subset of a histogram of the representative values of the unit pixels in the judgment region being greater than a threshold value, automatically determining, with the processor, that the pixel of interest is included in a character region.
1 Assignment
0 Petitions
Accused Products
Abstract
An anti-aliasing font character on a monitor is prevented from being erroneously judged as an image region. The pixel of interest and four pixels each preceding and following the pixel of interest (a total of nine pixels) are extracted (S3). The largest of the values of the sub-pixels of each of the nine pixels extracted is determined as the representative value of each pixel (step S5). The nine representative values are represented as a histogram and referred to as H0, H1, H2, and the like in the descending order of the frequency in the distribution (S7). Whether Formula (1) below is satisfied is determined (S9). H0+H1+H2<TH . . . (1) If Formula (1) is satisfied, the pixel of interest is judged as a non-character-region pixel; if not, the pixel of interest is judged as a character-region pixel (S11, S13).
17 Citations
14 Claims
-
1. A method for judging whether a unit pixel is included in a character region on a display screen including a plurality of unit pixels, each unit pixel having three or more primary color sub-pixels arranged therein, the method comprising:
-
specifying, with a processor, a pixel of interest; when the pixel of interest is specified, automatically specifying, with a processor, the pixel of interest and a predetermined number of unit pixels adjacent to the pixel of interest, as a judgment region, wherein the predetermined number of unit pixels is a positive integer greater than 0; automatically determining, with the processor, the largest of values of the primary color sub-pixels of each of the unit pixels in the judgment region, as a respective representative value of the respective unit pixel; and based on a subset of a histogram of the representative values of the unit pixels in the judgment region being greater than a threshold value, automatically determining, with the processor, that the pixel of interest is included in a character region. - View Dependent Claims (2)
-
-
3. A method for judging whether a unit pixel is included in a character region on a display screen including a plurality of unit pixels, each unit pixel having three or more primary color sub-pixels arranged therein, the method comprising:
-
specifying, with a processor, a pixel of interest; when the pixel of interest is specified, automatically specifying, with a processor, the pixel of interest and a predetermined number of unit pixels adjacent to the pixel of interest, as a judgment region, wherein the predetermined number of unit pixels is a positive integer greater than 0; automatically determining, with the processor, the smallest of values of the primary color sub-pixels of each of the unit pixels in the judgment region, as a respective representative value of the respective unit pixel; and based on a subset of a histogram of the representative values of the unit pixels in the judgment region being greater than a threshold value, automatically determining, with the processor, that the pixel of interest is included in a character region. - View Dependent Claims (4)
-
-
5. An apparatus for judging whether a unit pixel is included in a character region on a display screen including a plurality of unit pixels, each unit pixel having three or more primary color sub-pixels arranged therein, the apparatus comprising a processor and a memory, the processor being configured to:
-
specify a pixel of interest; when the pixel of interest is specified, automatically specify the pixel of interest and a predetermined number of unit pixels adjacent to the pixel of interest, as a judgment region, wherein the predetermined number of unit pixels is a positive integer greater than 0; automatically determine the largest of values of the primary color sub-pixels of each of the unit pixels in the judgment region, as a respective representative value of the respective unit pixel; and based on a subset of a histogram of the representative values of the unit pixels in the judgment region being greater than a threshold value, automatically determine that the pixel of interest is included in a character region. - View Dependent Claims (6, 7, 8)
-
-
9. An apparatus for judging whether a unit pixel is included in a character region on a display screen including a plurality of unit pixels, each unit pixel having three or more primary color sub-pixels arranged therein, the apparatus comprising a processor and a memory, the processor being configured to:
-
specify a pixel of interest; when the pixel of interest is specified, automatically specify the pixel of interest and a predetermined number of unit pixels adjacent to the pixel of interest, as a judgment region, wherein the predetermined number of unit pixels is a positive integer greater than 0; automatically determine the smallest of values of the primary color sub-pixels of each of the unit pixels in the judgment region, as a respective representative value of the respective unit pixel; and based on a subset of a histogram of the representative values of the unit pixels in the judgment region being greater than a threshold value, automatically determine that the pixel of interest is included in a character region. - View Dependent Claims (10, 11, 12)
-
-
13. A non-transitory computer readable medium storing a program for causing a computer to perform a character-region pixel judgment process of judging whether a unit pixel is included in a character region on a display screen including a plurality of unit pixels, each unit pixel having three or more primary color sub-pixels arranged therein, the program causing the computer to:
-
specify a pixel of interest; when the pixel of interest is specified, automatically specify the pixel of interest and a predetermined number of unit pixels adjacent to the pixel of interest, as a judgment region, wherein the predetermined number of unit pixels is a positive integer greater than 0; automatically determine the largest of values of the primary color sub-pixels of each of the unit pixels in the judgment region, as a respective representative value of the respective unit pixel; and based on a subset of a histogram of the representative values of the unit pixels in the judgment region being greater than a threshold value, automatically determine that the pixel of interest is included in a character region.
-
-
14. A non-transitory computer readable medium storing a program for causing a computer to perform a character-region pixel judgment process of judging whether a unit pixel is included in a character region on a display screen including a plurality of unit pixels, each unit pixel having three or more primary color sub-pixels arranged therein, the program causing the computer to:
-
specify a pixel of interest; when the pixel of interest is specified, automatically specify the pixel of interest and a predetermined number of unit pixels adjacent to the pixel of interest, as a judgment region, wherein the predetermined number of unit pixels is a positive integer greater than 0; automatically determine the smallest of values of the primary color sub-pixels of each of the unit pixels in the judgment region, as a respective representative value of the respective unit pixel; and based on a subset of a histogram of the representative values of the unit pixels in the judgment region being greater than a threshold value, automatically determine that the pixel of interest is included in a character region.
-
Specification