WO2008082161A1 - Method of measuring the pixel width of character image on display - Google Patents
Method of measuring the pixel width of character image on display Download PDFInfo
- Publication number
- WO2008082161A1 WO2008082161A1 PCT/KR2007/006907 KR2007006907W WO2008082161A1 WO 2008082161 A1 WO2008082161 A1 WO 2008082161A1 KR 2007006907 W KR2007006907 W KR 2007006907W WO 2008082161 A1 WO2008082161 A1 WO 2008082161A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- digital image
- pixel
- width
- lines
- image
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000012545 processing Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 23
- 238000003384 imaging method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/62—Analysis of geometric attributes of area, perimeter, diameter or volume
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Definitions
- the present invention relates to a method of measuring the pixel width of a character image on a display, which converts a digital image, obtained by capturing a display screen such as a liquid crystal display (LCD) screen, into a black and white image whose horizontal lines are removed, so that vertical pixel lines are clearly displayed. Then, a user can easily align a reference vertical line with the vertical pixel lines such that the pixel width of the character image on the original display screen can be quickly and accurately measured.
- LCD liquid crystal display
- An advantage of the present invention is that it provides a method of measuring the pixel width of a character image on a display, which converts a digital image, obtained by capturing a display screen such as an LCD screen, into a black and white image whose horizontal lines are removed, so that vertical pixel lines are clearly displayed. Then, a user can easily align a reference vertical line with the vertical pixel lines such that the pixel width of the character image on the original display screen can be quickly and accurately measured.
- a method of measuring the pixel width of a character image on a display comprises the steps of: (a) receiving a digital image obtained by capturing a display screen whose pixel lines are shown; (b) removing horizontal lines expressed on the digital image; (c) converting the digital image, whose horizontal lines were removed, into a one-bit digital image in which the shapes of character images and vertical pixel lines displayed by the pixel are conserved; (d) displaying a user interface for setting the width of the pixel lines included in the one- bit digital image, and setting the width of the pixel lines by receiving an external input through the user interface; and (e) setting a region including one character image in the one -bit digital image by receiving the external input through the user interface, and filling the character image by the set width of the pixel lines.
- the pixel information of several display devices can be recognized by simply processing image data, without a complicated procedure in which the pixel information of the display devices is individually scanned by a separate sensor reading an LCD. Further, when graphic image data is processed by the pixel width through various application processors, the results can be easily applied.
- FIG. 1 is a flow chart sequentially showing a method of measuring the pixel width of a character image on a display according to an embodiment of the invention.
- FIG. 2 is a diagram showing a state where character images are displayed on an
- FIG. 3 is a diagram specifically showing the pixel width of a character image which is to be measured.
- FIG. 4 is a diagram showing a digital image obtained by capturing the LCD screen, on which the image characters are displayed by the pixel, using a digital camera.
- FIG. 5 is a diagram showing the digital image whose horizontal pixel lines are removed by a horizontal pixel line removing algorithm.
- FIG. 6 is a flow chart showing step S30 in which the digital image whose horizontal pixel lines are removed is converted into a one-bit digital image.
- FIG. 7 is a diagram showing the digital image from which a red channel is removed.
- FIG. 8 is a diagram showing the digital image whose luminance information is only maintained.
- FIG. 9 is a diagram showing a one-bit digital image obtained when a set critical value is too large.
- FIG. 10 is a diagram showing a one-bit digital image obtained when the set critical value is too small.
- FIG. 11 is a diagram showing a one-bit digital image obtained when the set critical value is proper.
- FIG. 12 is a flow chart showing step S40 in which the width of the pixel lines included in the one-bit digital image is set.
- FIG. 13 is a diagram showing the user interface on which a plurality of vertical lines for setting the width of the pixel lines are displayed. [21] FIG.
- FIG. 14 is a diagram showing the user interface after the distance between the plurality of vertical lines are properly adjusted by an external input from a user in accordance with the width of the pixel lines.
- FIG. 15 is a flow chart showing step S50 in which the pixel width of a character image is calculated.
- FIG. 16 is a diagram showing the result of measuring the pixel width of the character image by increasing the number one by one while the character image is filled by the width of the pixel lines.
- FIG. 1 is a flow chart sequentially showing a method of measuring the pixel width of a character image on a display according to an embodiment of the invention.
- a digital image obtained by capturing a display screen, whose pixel lines are shown, is provided (step SlO).
- the display screen indicates an LCD screen of a mobile phone or the like, on which a character image is displayed by the pixel.
- the feature of the invention is to measure the pixel width of a character image displayed on the LCD screen of a mobile phone or the like. This will be described in more detail by referring to FIGS. 2 and 3.
- FIG. 2 is a diagram showing a state where character images are displayed on an
- FIG. 3 is a diagram specifically showing the pixel width of a character image which is to be measured.
- RGB pixels compose one pixel on a color display.
- the character image 'A' exemplified in FIG. 3 has 8-pixel width.
- the pixel width of the character image displayed on the LCD display may be measured by checking the pixel width with the naked eye. In this case, however, when the number of pixels is counted by a person, the processing speed is low, and an error is highly likely to occur.
- FIG. 4 is a diagram showing a digital image obtained by capturing the LCD screen, on which the image characters are displayed by the pixel, using a digital camera.
- the digital image is created in such a manner that the pixel lines of the character images are displayed.
- the size of the pixels on the original LCD screen is not identical to that of the pixels composing the digital image created by the imaging device.
- a number of pixels on the digital image compose pixels lines on the LCD screen.
- FIG. 5 is a diagram showing the digital image whose horizontal pixel lines are removed by a horizontal pixel line removing algorithm.
- step S30 the digital image is converted into a one -bit digital image in which the shapes of the character images and the vertical pixel lines displayed by the pixel are conserved.
- the process of converting the digital image into a one-bit digital image can be roughly divided into three steps.
- FIG. 6 shows the process in detail.
- FIG. 6 is a flow chart showing step S30 in which the digital image whose horizontal pixel lines are removed is converted into a one-bit digital image.
- a red channel among RGB channels of the digital image, whose horizontal pixel lines are removed, is removed (step S31).
- the red channel is more prominent among RGB channels.
- the width of the pixels can be checked more clearly.
- FIG. 7 is a diagram showing the digital image from which the red channel is removed.
- the digital image from which the red channel is removed is converted into a gray digital image whose luminance information is only maintained (step S32).
- the digital image from which the red channel is removed is converted in an HSL (Hue Saturation Luminance) image including hue, saturation, and luminance.
- HSL Human Saturation Luminance
- the channel information of the hue and saturation included in the converted HSL image is removed so as to maintain only the channel information of the luminance.
- the digital image is converted into a gray digital image whose luminance information is only maintained, as shown in FIG. 8.
- the gray digital image is converted into a one-bit digital image in which the shapes of the character images and the vertical pixel lines displayed by the pixel are conserved (step S33).
- the gray digital image is converted into a one-bit digital image referring to the selected critical value.
- the critical value should be set in such a manner that the shape of each character image can be conserved.
- FIGS. 9 and 10 shows examples of the one-bit digital image depending on critical values.
- FIG. 9 is a diagram showing a one-bit digital image obtained when the set critical value is too large.
- FIG. 10 is a diagram showing a one-bit digital image obtained when the set critical value is too small.
- FIG. 11 is a diagram showing a one-bit digital image obtained when the set critical value is proper.
- the one-bit digital image in which the shapes of the character images and the vertical pixel lines are conserved is created. Then, a user interface for setting the width of the pixel lines included in the one-bit digital image is displayed, and an external input is received through the user interface to set the width of the pixel lines (step S40). That is, the width of the pixel lines is set by an input means such as a keyboard or mouse.
- FIG. 12 is a flow chart showing step S40 in which the width of the pixel lines included in the one-bit digital image is set.
- the distance between the vertical lines is set in accordance with the external input, and the width of the pixel lines is set to the same value as the distance between the vertical lines (step S42).
- step S40 will be described in more detail.
- FIG. 13 is a diagram showing the user interface on which a plurality of vertical lines for setting the width of the pixel lines are displayed.
- the user interface is composed of a rectangular cursor and vertical lines displayed in green and red.
- the distance between the green and red vertical lines can be adjusted by an external input from a user. For example, when a left bracket ' ⁇ ' is pressed, the distance is narrowed. Further, when a right bracket '>' is pressed, the distance is widened.
- FIG. 14 is a diagram showing the user interface after the distance between the plurality of vertical lines are properly adjusted by an external input from a user in accordance with the width of the pixel lines.
- the vertical line corresponds to a vertical line displayed in red in the central upper end of the rectangular cursor.
- step S50 After the width of the pixel lines is determined by the external input from the user, an external input is received through the user interface so as to set a region including one character image in the one-bit digital image. Further, as the character image is filled by the width of the pixel lines, the pixel width of the character image is calculated (step S50).
- FIG. 15 is a flow chart showing step S50 in which the pixel width of the character image is calculated.
- a region range including one character image in the one-bit digital image is set by an external input (step S51). This is achieved by adjusting and setting the size and position of the rectangular cursor shown in FIGS. 13 and 14 such that one character image is included therein. For example, the width of the rectangular cursor is adjusted using left and right arrows, and the length of the rectangular cursor is adjusted using upper and lower arrows. As such, the size of the rectangular cursor should be adjusted by an external input from a user such that one character image is sufficiently covered by the rectangular cursor. However, a region range including one character image may be set.
- step S52 when the selection for a specific position within the region range is received through an external input, a region having the same bit value as the specific position within the region range is recognized as the character image (step S52). That is, when a black region corresponding to the character image is selected by a mouse click, all black portions within the rectangular cursor are recognized as one character image.
- step S40 a vertical line and a number are displayed by the width of the pixel lines (step S53).
- step S53 the number of fillings performed by the width of the pixel lines is counted so as to be set to the pixel width of the character image (step S54). The results of steps S53 and S54 will be described in more detail with reference to FIG. 16.
- FIG. 16 is a diagram showing the result of measuring the pixel width of the character image by increasing the number one by one while the character image is filled by the width of the pixel lines.
- the region occupied by the character image is filled in red color, and red vertical lines are sequentially displayed from the leftmost side of the character image by the calculated width of the pixel lines. Further, a number is marked on each of the vertical lines, thereby indicating how many pixels the width of the character image is composed of. This is achieved by measuring the pixel width of the character image through the flood- fill algorithm to obtain the pixel width of the region occupied by the character image. Further, the above-described process is repeated for the next character image such that the measurement of the pixel width is achieved.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Geometry (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Controls And Circuits For Display Device (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The present invention relates to a method of measuring the pixel width of a character image on a display, which converts a digital image, obtained by capturing a display screen such as an LCD screen, into a black and white image whose horizontal lines are removed, so that vertical pixel lines are clearly displayed. Then, a user can easily align a reference vertical line with the vertical pixel lines such that the pixel width of the character image on the original display screen can be quickly and accurately measured. According to the present invention, the pixel information of several display devices can be recognized by simply processing image data, without a complicated procedure in which the pixel information of the display devices is individually scanned by a separate sensor reading an LCD. Further, when graphic image data is processed by the pixel width through various application processors, the results can be easily applied.
Description
Description
METHOD OF MEASURING THE PIXEL WIDTH OF CHARACTER IMAGE ON DISPLAY
Technical Field
[1] The present invention relates to a method of measuring the pixel width of a character image on a display, which converts a digital image, obtained by capturing a display screen such as a liquid crystal display (LCD) screen, into a black and white image whose horizontal lines are removed, so that vertical pixel lines are clearly displayed. Then, a user can easily align a reference vertical line with the vertical pixel lines such that the pixel width of the character image on the original display screen can be quickly and accurately measured. Background Art
[2] The size of character images on a display screen attached to general digital devices is standardized. Further, although the size of a character on a screen is adjusted, the size of the other characters is also adjusted in such a manner that the size of each character is uniformly maintained. Such a digital image is composed of pixels, and the number of pixels composing each character is uniformly maintained.
[3] However, in such a display screen as an LCD screen used in mobile phones, the size of a region occupied by a character image displayed on the display screen is not uniform. Further, when a variable font is used, the width of each character differs.
[4] Therefore, to measure the width of a character image displayed on a display screen, the number of pixels composing each character image should be counted one by one. When a person counts the number personally, the processing speed decreases, and an error is highly likely to occur. Disclosure of Invention Technical Problem
[5] An advantage of the present invention is that it provides a method of measuring the pixel width of a character image on a display, which converts a digital image, obtained by capturing a display screen such as an LCD screen, into a black and white image whose horizontal lines are removed, so that vertical pixel lines are clearly displayed. Then, a user can easily align a reference vertical line with the vertical pixel lines such that the pixel width of the character image on the original display screen can be quickly and accurately measured. Technical Solution
[6] According to an aspect of the invention, a method of measuring the pixel width of a character image on a display comprises the steps of: (a) receiving a digital image
obtained by capturing a display screen whose pixel lines are shown; (b) removing horizontal lines expressed on the digital image; (c) converting the digital image, whose horizontal lines were removed, into a one-bit digital image in which the shapes of character images and vertical pixel lines displayed by the pixel are conserved; (d) displaying a user interface for setting the width of the pixel lines included in the one- bit digital image, and setting the width of the pixel lines by receiving an external input through the user interface; and (e) setting a region including one character image in the one -bit digital image by receiving the external input through the user interface, and filling the character image by the set width of the pixel lines.
Advantageous Effects
[7] According to the present invention, the pixel information of several display devices can be recognized by simply processing image data, without a complicated procedure in which the pixel information of the display devices is individually scanned by a separate sensor reading an LCD. Further, when graphic image data is processed by the pixel width through various application processors, the results can be easily applied.
Brief Description of the Drawings [8] FIG. 1 is a flow chart sequentially showing a method of measuring the pixel width of a character image on a display according to an embodiment of the invention. [9] FIG. 2 is a diagram showing a state where character images are displayed on an
LCD screen such that the pixel lines of the character images are displayed. [10] FIG. 3 is a diagram specifically showing the pixel width of a character image which is to be measured. [11] FIG. 4 is a diagram showing a digital image obtained by capturing the LCD screen, on which the image characters are displayed by the pixel, using a digital camera. [12] FIG. 5 is a diagram showing the digital image whose horizontal pixel lines are removed by a horizontal pixel line removing algorithm. [13] FIG. 6 is a flow chart showing step S30 in which the digital image whose horizontal pixel lines are removed is converted into a one-bit digital image.
[14] FIG. 7 is a diagram showing the digital image from which a red channel is removed.
[15] FIG. 8 is a diagram showing the digital image whose luminance information is only maintained. [16] FIG. 9 is a diagram showing a one-bit digital image obtained when a set critical value is too large. [17] FIG. 10 is a diagram showing a one-bit digital image obtained when the set critical value is too small. [18] FIG. 11 is a diagram showing a one-bit digital image obtained when the set critical value is proper.
[19] FIG. 12 is a flow chart showing step S40 in which the width of the pixel lines included in the one-bit digital image is set. [20] FIG. 13 is a diagram showing the user interface on which a plurality of vertical lines for setting the width of the pixel lines are displayed. [21] FIG. 14 is a diagram showing the user interface after the distance between the plurality of vertical lines are properly adjusted by an external input from a user in accordance with the width of the pixel lines. [22] FIG. 15 is a flow chart showing step S50 in which the pixel width of a character image is calculated. [23] FIG. 16 is a diagram showing the result of measuring the pixel width of the character image by increasing the number one by one while the character image is filled by the width of the pixel lines.
Best Mode for Carrying Out the Invention [24] Hereinafter, a method of measuring the pixel width of a character image on a display according to the present invention will be described. [25] FIG. 1 is a flow chart sequentially showing a method of measuring the pixel width of a character image on a display according to an embodiment of the invention. [26] As shown in FIG. 1, a digital image obtained by capturing a display screen, whose pixel lines are shown, is provided (step SlO). The display screen indicates an LCD screen of a mobile phone or the like, on which a character image is displayed by the pixel. The feature of the invention is to measure the pixel width of a character image displayed on the LCD screen of a mobile phone or the like. This will be described in more detail by referring to FIGS. 2 and 3. [27] FIG. 2 is a diagram showing a state where character images are displayed on an
LCD screen such that the pixel lines of the character images are displayed. [28] As shown in FIG. 2, the LCD screen attached on digital communication devices such as mobile phones and so on display characters and figures by the pixel. [29] FIG. 3 is a diagram specifically showing the pixel width of a character image which is to be measured. [30] As shown in FIG. 3, RGB pixels compose one pixel on a color display. The character image 'A' exemplified in FIG. 3 has 8-pixel width. [31] The pixel width of the character image displayed on the LCD display may be measured by checking the pixel width with the naked eye. In this case, however, when the number of pixels is counted by a person, the processing speed is low, and an error is highly likely to occur. Therefore, the LCD screen on which the image character is displayed is processed into a digital image by an imaging device such as a digital camera or the like.
[32] FIG. 4 is a diagram showing a digital image obtained by capturing the LCD screen, on which the image characters are displayed by the pixel, using a digital camera.
[33] As shown in FIG. 4, it can be found that the digital image is created in such a manner that the pixel lines of the character images are displayed. In this case, the size of the pixels on the original LCD screen is not identical to that of the pixels composing the digital image created by the imaging device. In general, a number of pixels on the digital image compose pixels lines on the LCD screen.
[34] As such, when the digital image is created by capturing the LCD screen, the pixel lines are created in both the horizontal and vertical directions. However, to measure the width of the character image, only the vertical pixel lines are needed, and the horizontal pixel lines may be an obstacle to measuring the width of the character image. Therefore, after the digital image is created, a process of removing the horizontal pixel lines expressed on the digital image is performed (step S20). FIG. 5 is a diagram showing the digital image whose horizontal pixel lines are removed by a horizontal pixel line removing algorithm.
[35] After the horizontal pixel lines are removed, the digital image is converted into a one -bit digital image in which the shapes of the character images and the vertical pixel lines displayed by the pixel are conserved (step S30). The process of converting the digital image into a one-bit digital image can be roughly divided into three steps. FIG. 6 shows the process in detail.
[36] FIG. 6 is a flow chart showing step S30 in which the digital image whose horizontal pixel lines are removed is converted into a one-bit digital image.
[37] First, as shown in FIG. 6, a red channel among RGB channels of the digital image, whose horizontal pixel lines are removed, is removed (step S31). In the digital image obtained by capturing the LCD screen, the red channel is more prominent among RGB channels. When the red channel is removed, the width of the pixels can be checked more clearly. FIG. 7 is a diagram showing the digital image from which the red channel is removed.
[38] Second, the digital image from which the red channel is removed is converted into a gray digital image whose luminance information is only maintained (step S32). In this step, the digital image from which the red channel is removed is converted in an HSL (Hue Saturation Luminance) image including hue, saturation, and luminance. Then, the channel information of the hue and saturation included in the converted HSL image is removed so as to maintain only the channel information of the luminance. As a result, the digital image is converted into a gray digital image whose luminance information is only maintained, as shown in FIG. 8.
[39] Third, the gray digital image is converted into a one-bit digital image in which the shapes of the character images and the vertical pixel lines displayed by the pixel are
conserved (step S33). In this step, when a critical value is adjusted by an external input from a user, the gray digital image is converted into a one-bit digital image referring to the selected critical value. At this time, the critical value should be set in such a manner that the shape of each character image can be conserved. FIGS. 9 and 10 shows examples of the one-bit digital image depending on critical values.
[40] FIG. 9 is a diagram showing a one-bit digital image obtained when the set critical value is too large.
[41] As shown in FIG. 9, when the critical value is too large, the distinction between the character images and the background is clarified, but the vertical pixel lines are not clearly shown.
[42] FIG. 10 is a diagram showing a one-bit digital image obtained when the set critical value is too small.
[43] As shown in FIG. 10, when the critical value is too small, the vertical pixel lines are clearly shown, but the character images and the vertical pixel lines overlap each other such that the character images cannot be recognized clearly.
[44] FIG. 11 is a diagram showing a one-bit digital image obtained when the set critical value is proper.
[45] As shown in FIG. 11, when a proper critical value is selected, the shapes of the respective character images are reliably conserved, and simultaneously, the vertical pixel lines are clearly shown. Therefore, the width of the pixel lines can be clearly recognized.
[46] As described above, after the red channel is removed and the digital image is converted into the gray digital image by the process from step S31 to step S33, the one-bit digital image in which the shapes of the character images and the vertical pixel lines are conserved is created. Then, a user interface for setting the width of the pixel lines included in the one-bit digital image is displayed, and an external input is received through the user interface to set the width of the pixel lines (step S40). That is, the width of the pixel lines is set by an input means such as a keyboard or mouse.
[47] FIG. 12 is a flow chart showing step S40 in which the width of the pixel lines included in the one-bit digital image is set.
[48] First, a plurality of vertical lines are displayed, between which the distance is uniformly adjusted by an external input through the user interface (step S41).
[49] Then, when the external input is received through the user interface, the distance between the vertical lines is set in accordance with the external input, and the width of the pixel lines is set to the same value as the distance between the vertical lines (step S42).
[50] Referring to FIGS. 13 and 14, step S40 will be described in more detail.
[51] FIG. 13 is a diagram showing the user interface on which a plurality of vertical
lines for setting the width of the pixel lines are displayed.
[52] As shown in FIG. 13, the user interface is composed of a rectangular cursor and vertical lines displayed in green and red. The distance between the green and red vertical lines can be adjusted by an external input from a user. For example, when a left bracket '<' is pressed, the distance is narrowed. Further, when a right bracket '>' is pressed, the distance is widened.
[53] FIG. 14 is a diagram showing the user interface after the distance between the plurality of vertical lines are properly adjusted by an external input from a user in accordance with the width of the pixel lines.
[54] As shown in FIG. 14, once a user sets the distance between the vertical lines such that the distance corresponds to the width of the pixel lines of the digital image, the width of the pixel lines is recognized referring to the distance between the vertical lines.
[55] At this time, although the distance between the vertical lines is adjusted by an external input, the position of any one of the vertical lines included in the user interface is not changed in the one-bit digital image. In FIGS. 13 and 14, the vertical line corresponds to a vertical line displayed in red in the central upper end of the rectangular cursor. When the distance between the vertical lines is adjusted after the red vertical line is aligned with the vertical pixel lines, the distance between the vertical lines can be effectively adjusted to the distance between the vertical pixel lines.
[56] After the width of the pixel lines is determined by the external input from the user, an external input is received through the user interface so as to set a region including one character image in the one-bit digital image. Further, as the character image is filled by the width of the pixel lines, the pixel width of the character image is calculated (step S50).
[57] FIG. 15 is a flow chart showing step S50 in which the pixel width of the character image is calculated.
[58] First, a region range including one character image in the one-bit digital image is set by an external input (step S51). This is achieved by adjusting and setting the size and position of the rectangular cursor shown in FIGS. 13 and 14 such that one character image is included therein. For example, the width of the rectangular cursor is adjusted using left and right arrows, and the length of the rectangular cursor is adjusted using upper and lower arrows. As such, the size of the rectangular cursor should be adjusted by an external input from a user such that one character image is sufficiently covered by the rectangular cursor. However, a region range including one character image may be set.
[59] Further, when the selection for a specific position within the region range is
received through an external input, a region having the same bit value as the specific position within the region range is recognized as the character image (step S52). That is, when a black region corresponding to the character image is selected by a mouse click, all black portions within the rectangular cursor are recognized as one character image.
[60] Next, while the character image is filled by the width of the pixel lines set in step
S40, a vertical line and a number are displayed by the width of the pixel lines (step S53). When the character image is completely filled, the number of fillings performed by the width of the pixel lines is counted so as to be set to the pixel width of the character image (step S54). The results of steps S53 and S54 will be described in more detail with reference to FIG. 16.
[61] FIG. 16 is a diagram showing the result of measuring the pixel width of the character image by increasing the number one by one while the character image is filled by the width of the pixel lines.
[62] As shown in FIG. 16, the region occupied by the character image is filled in red color, and red vertical lines are sequentially displayed from the leftmost side of the character image by the calculated width of the pixel lines. Further, a number is marked on each of the vertical lines, thereby indicating how many pixels the width of the character image is composed of. This is achieved by measuring the pixel width of the character image through the flood- fill algorithm to obtain the pixel width of the region occupied by the character image. Further, the above-described process is repeated for the next character image such that the measurement of the pixel width is achieved.
[63] While the present invention has been described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that various changes and modifications in form and detail may be made therein without departing from the scope of the present invention as defined by the following claims.
Claims
[1] A method of measuring the pixel width of a character image on a display, comprising: a 10th step of receiving a digital image obtained by capturing a display screen whose pixel lines are shown; a 20th step of removing horizontal lines expressed on the digital image; a 30th step of converting the digital image, whose horizontal lines were removed, into a one -bit digital image in which the shapes of character images and vertical pixel lines displayed by the pixel are conserved; a 40th step of displaying a user interface for setting the width of the pixel lines included in the one-bit digital image, and setting the width of the pixel lines by receiving an external input through the user interface; and a 50th step of setting a region including one character image in the one-bit digital image by receiving the external input through the user interface, and filling the character image by the set width of the pixel lines.
[2] The method according to claim 1, wherein the 30th step includes: a 31st step of removing a red channel among RGB channels of the digital image whose horizontal lines were removed; a 32nd step of converting the digital image, from which the red channel was removed, into a gray digital image whose luminance information is only maintained; and a 33rd step of converting the gray digital image into a one -bit digital image in which the shapes of character images and vertical pixel lines displayed by the pixel are conserved.
[3] The method according to claim 2, wherein the 33rd step comprises a step of converting the gray digital image into a one-bit digital image referring to a critical value set by an external input.
[4] The method according to claim 3, wherein the 32nd step includes: a step of converting the digital image from which the red channel was removed into an HSL (Hue Saturation Luminance) image including hue, saturation, and luminance; and a step of removing the channel information of the hue and saturation which included in the converted HSL image such that only the luminance information is maintained.
[5] The method according to any one of claims 1 to 4, wherein the 40th step includes: a 41st step of displaying a plurality of vertical lines between which the distance
is unif orally adjusted by an external input through the user interface; and a 42nd step of setting, when an external input is received through the user interface, the distance between the vertical lines in accordance with the external input, and setting the width of pixel lines to the same value that of the distance between the vertical lines.
[6] The method according to claim 5, wherein the 41st step includes a step of displaying one vertical line whose position is fixed within the one -bit digital image, and wherein the 42nd step includes a step of changing the distance between the plurality of vertical lines in accordance with the external input referring to the fixed vertical line.
[7] The method according to claim 6, wherein the 50 step includes: a 51st step of setting a region range including one character image in the one-bit digital image in accordance with the external input; a 52nd step of recognizing a region as a character image, when a selection for a specific position within the region range is received through an external input, which region has the same bit value as the specific position within the region range; a 53rd step of displaying a vertical line and a number by the width of the pixel lines set in the 40th step, while filling the character image by the width of the pixel lines; and a 54th step of counting, when the character image is completely filled, the number of fillings performed by the width of the pixel lines so as to set the width of the character image by the number of fillings.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070000804A KR100833346B1 (en) | 2007-01-03 | 2007-01-03 | Method of measuring the pixel width of character image on display |
KR10-2007-0000804 | 2007-01-03 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008082161A1 true WO2008082161A1 (en) | 2008-07-10 |
Family
ID=39588769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2007/006907 WO2008082161A1 (en) | 2007-01-03 | 2007-12-27 | Method of measuring the pixel width of character image on display |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR100833346B1 (en) |
WO (1) | WO2008082161A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5513277A (en) * | 1991-07-30 | 1996-04-30 | Xerox Corporation | Measuring character and stroke sizes and spacings for an image |
US6154573A (en) * | 1994-07-25 | 2000-11-28 | Seiko Epson Corporation | Image processing method and image processing device |
US20050034073A1 (en) * | 2003-08-04 | 2005-02-10 | Young-Chan Kim | On screen displaying device supporting proportional font and method thereof |
KR20060066305A (en) * | 2004-12-13 | 2006-06-16 | 엘지전자 주식회사 | Method for calculating width of character sequence and arranging that character sequence |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5267325A (en) | 1991-09-06 | 1993-11-30 | Unisys Corporation | Locating characters for character recognition |
JPH05266250A (en) * | 1992-03-23 | 1993-10-15 | Nippon Telegr & Teleph Corp <Ntt> | Character string detector |
JP3585143B2 (en) | 1996-07-17 | 2004-11-04 | 日本電信電話株式会社 | Character string extraction method and device |
US20030198386A1 (en) | 2002-04-19 | 2003-10-23 | Huitao Luo | System and method for identifying and extracting character strings from captured image data |
-
2007
- 2007-01-03 KR KR1020070000804A patent/KR100833346B1/en not_active IP Right Cessation
- 2007-12-27 WO PCT/KR2007/006907 patent/WO2008082161A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5513277A (en) * | 1991-07-30 | 1996-04-30 | Xerox Corporation | Measuring character and stroke sizes and spacings for an image |
US6154573A (en) * | 1994-07-25 | 2000-11-28 | Seiko Epson Corporation | Image processing method and image processing device |
US20050034073A1 (en) * | 2003-08-04 | 2005-02-10 | Young-Chan Kim | On screen displaying device supporting proportional font and method thereof |
KR20060066305A (en) * | 2004-12-13 | 2006-06-16 | 엘지전자 주식회사 | Method for calculating width of character sequence and arranging that character sequence |
Also Published As
Publication number | Publication date |
---|---|
KR100833346B1 (en) | 2008-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11120757B2 (en) | Gray scale adjustment method and device for display panel | |
CN102494616B (en) | Length measuring method based on mobile terminal | |
EP2833636B1 (en) | Color chart detection device, color chart detection method and color chart detection computer program | |
US8953048B2 (en) | Information processing apparatus and control method thereof | |
US20110249116A1 (en) | Color measuring apparatus and color measuring method | |
EP3905672B1 (en) | Color space mapping method and device, computer readable storage medium and apparatus | |
CN103559484B (en) | The method for quickly identifying of measuring instrument graduation mark | |
US20220222826A1 (en) | Detection method and detection device for image segmentation manner, and display device | |
WO2015035744A1 (en) | Image processing method | |
CN109359644A (en) | Character image uniformity comparison method, apparatus, storage medium and electronic equipment | |
CN108351979A (en) | Electronic equipment and its operating method | |
CN114267279A (en) | Method, device and equipment for determining compensation gray scale | |
JP2012146154A (en) | Indicated value measurement system | |
CN115278186B (en) | Controllable uniform projection method, device, equipment and medium based on Internet of things | |
CN111784574A (en) | Single-screen multi-picture boundary display method and device, electronic equipment and storage medium | |
CN106657959B (en) | A kind of detection method and device of framing mask | |
WO2008082161A1 (en) | Method of measuring the pixel width of character image on display | |
CN115760653A (en) | Image correction method, device, equipment and readable storage medium | |
CN110049301B (en) | Picture color adjusting system for cloud computing | |
US11375084B2 (en) | Measurement method for measuring a physical property value of light output of a display device | |
AU2011371057B2 (en) | Character region pixel identification device and method thereof | |
WO2018061430A1 (en) | Measurement apparatus, measurement method, measurement program, and recording medium | |
CN110059529A (en) | The recognition methods and its image capturing equipment of the direction of the pointer of analog measurement device | |
CN116434721A (en) | Screen color cast correction method and device, terminal equipment and storage medium | |
CN108574836B (en) | Method and device for weakening saturation or pockmark phenomenon in image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07860702 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: LOSS OF RIGHTS COMMUNICATION (EPO F1205A OF 03.11.09) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07860702 Country of ref document: EP Kind code of ref document: A1 |