JP3467195B2 - Character area extraction method and apparatus, and recording medium - Google Patents
Character area extraction method and apparatus, and recording mediumInfo
- Publication number
- JP3467195B2 JP3467195B2 JP36654298A JP36654298A JP3467195B2 JP 3467195 B2 JP3467195 B2 JP 3467195B2 JP 36654298 A JP36654298 A JP 36654298A JP 36654298 A JP36654298 A JP 36654298A JP 3467195 B2 JP3467195 B2 JP 3467195B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- pixel
- pixels
- character
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Image Analysis (AREA)
- Studio Circuits (AREA)
- Processing Of Color Television Signals (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えば、テレビ放
送の映像等のカラー動画像を構成する複数のフレームに
おいて、テレビ放送映像中のテロップ文字等の文字が表
示されているフレーム画像の中から文字部分を画素連結
領域として抽出する文字領域抽出技術に関するものであ
り、詳しくは、文字が含まれる映像から文字領域を二値
画像として抽出する際、極大値法・極小値法による画像
の二値化技術を用いた場合において、文字を構成する画
素の欠落が少ないという利点を有する文字領域抽出技術
に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame image in which characters such as telop characters in a television broadcast image are displayed in a plurality of frames constituting a color moving image such as a television broadcast image. The present invention relates to a character area extraction technique for extracting a character portion as a pixel connected area. Specifically, when extracting a character area as a binary image from a video containing characters, the binary image of the image using the maximum / minimum method is extracted. The present invention relates to a character region extraction technique that has an advantage that pixels that form a character are less likely to be lost when the digitization technique is used.
【0002】[0002]
【従来の技術】カラー動画像を構成する複数のフレーム
の中の文字が表示されているフレーム画像、あるいは文
字が表示されている静止カラー画像から文字部分を画素
連結領域として抽出する文字領域抽出技術に関しては、
従来から多くの研究が行われている。図13に示すよう
に、入力される文字表示カラー画像がNTSC信号形式
の映像中の画像である場合、各水平ラインに沿って各画
素の色が滲み、文字部においても幅の細い縦ストローク
成分の色が劣化することがある。このような同一文字内
に色の劣化があっても、安定的に文字領域を抽出する方
法が必要とされている。2. Description of the Related Art A character region extraction technique for extracting a character portion as a pixel connected region from a frame image in which characters are displayed in a plurality of frames forming a color moving image or a still color image in which characters are displayed. about,
Much research has been conducted from the past. As shown in FIG. 13, when the input character display color image is an image in a video in the NTSC signal format, the color of each pixel is blurred along each horizontal line, and the vertical stroke component with a narrow width is also in the character portion. The color of may deteriorate. There is a need for a method for stably extracting a character area even if there is color deterioration in the same character.
【0003】この問題に対し、従来、ライン上の輝度分
布の特徴に着目した文字領域抽出法が提案されている
(参考文献[1]:桑野、新井、倉掛、杉村:“ライン
単位の二値化による映像中文字領域抽出方法”、信学秋
大、D−12−42、pp.264、(1996−0
9))。To solve this problem, a character area extraction method has been proposed in the past, which focuses on the characteristics of the luminance distribution on the line (reference [1]: Kuwano, Arai, Kurakake, Sugimura: "Binary value for each line". Method for Extracting Character Areas in Video Using Digitalization, "Shugaku Akidai, D-12-42, pp.264, (1996-0
9)).
【0004】この方法は、水平ライン上の輝度分布には
色の滲みが発生してもテロップ文字と背景の間に高いコ
ントラストがあるという特徴に着目したものであり、各
水平ライン内で二値化処理を行う。二値化の方法は、ラ
イン内で局所的に輝度値が周辺部と比較して予め設定し
た値だけ高い範囲、および予め設定した値だけ低い範囲
を文字領域として抽出する。このライン内の二値化法を
各水平ライン毎、および各垂直ライン毎に行い、それぞ
れの方向での二値化結果を比較し、両者ともに位置、大
きさ、形状が共通して存在する領域を最終的な文字領域
抽出結果とするものである。This method focuses on the feature that the brightness distribution on the horizontal line has a high contrast between the telop character and the background even if color blurring occurs, and the binary distribution in each horizontal line. Process. In the binarization method, a range in which a brightness value is locally higher in a line than a peripheral part by a preset value and a range in which the brightness value is lower by a preset value are extracted as character regions. The binarization method within this line is performed for each horizontal line and each vertical line, and the binarization results in each direction are compared, and both areas have the same position, size, and shape. Is the final character area extraction result.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、前記の
従来手法は、図14に示すように、各ライン内で抽出す
る文字範囲を、ライン上の輝度分布中の極値をとる画素
から予め決めた値だけ輝度値が変化する範囲としている
ため、色の劣化が端部にだけ生じる横ストローク成分に
おいて、劣化部と非劣化部の輝度差が予め決めた値より
も大きい場合、色劣化部を文字範囲として含んで抽出す
ることができない。また、色の劣化の程度も様々存在す
るため、予め決めた輝度差の閾値の値によっては、色劣
化部を含めて抽出できることもある。そのため、図15
に示すように、横ストローク成分の端部付近では、最終
的な文字領域抽出結果において、領域の輪郭形状がギザ
ギザ状になったり、ストロークが途切れるという問題が
ある。However, in the above-mentioned conventional method, as shown in FIG. 14, the character range to be extracted in each line is determined in advance from the pixels having the extreme values in the luminance distribution on the line. Since the brightness value is changed by the value, if the difference in brightness between the deteriorated part and the non-deteriorated part is larger than a predetermined value in the horizontal stroke component where color deterioration occurs only at the edges, the color deteriorated part is marked. It cannot be included as a range and extracted. Further, since there are various degrees of color deterioration, depending on the value of the threshold value of the brightness difference determined in advance, the color deterioration portion may be included in the extraction. Therefore, FIG.
As shown in (1), in the vicinity of the end of the horizontal stroke component, there is a problem that the contour shape of the area becomes jagged or the stroke is interrupted in the final character area extraction result.
【0006】また、水平ラインの二値化処理は、文字と
背景部の水平方向の境界は検出可能だが、垂直方向の輝
度分布は一切考慮していないため、図16に示すよう
に、垂直方向の文字と背景の境界は検出していないため
文字部の垂直方向に背景部の領域画素が連結したまま抽
出されることがある。同様に垂直ラインの二値化処理
は、垂直方向の文字と背景の境界の検出は保証される
が、水平方向の文字と背景の境界の検出は行っていない
ため、同じく図16に示すように、文字部の水平方向に
背景部の領域画素が連結したまま抽出されることがあ
る。このため水平ライン毎の二値化結果と垂直ライン毎
の二値化結果を比較しても、文字部の領域は必ずしも、
位置、大きさ、形状が共通するとは限らず、互いに相殺
しあい、文字領域の抽出に失敗するという問題もある。In the horizontal line binarization process, the horizontal boundary between the character and the background can be detected, but the vertical luminance distribution is not taken into consideration. Therefore, as shown in FIG. Since the boundary between the character and the background is not detected, the area pixel of the background portion may be extracted while being connected in the vertical direction of the character portion. Similarly, in the binarization processing of the vertical line, the boundary between the vertical character and the background is guaranteed, but the boundary between the horizontal character and the background is not detected. Therefore, as shown in FIG. , Area pixels of the background portion may be extracted while being connected in the horizontal direction of the character portion. Therefore, even if the binarization result for each horizontal line and the binarization result for each vertical line are compared, the area of the character part is not always
The positions, sizes, and shapes are not always the same, and there is a problem that they cancel each other out and the extraction of the character region fails.
【0007】そこで、本発明は、同一文字内で明るさや
色が劣化する場合でも、文字輪郭部分の形状を滑らかに
し、且つ、文字領域の抽出失敗を抑制する文字領域抽出
方法および装置を提供することを課題とする。Therefore, the present invention provides a character area extracting method and apparatus that smoothes the shape of the character outline portion and suppresses the failure of extracting the character area even when the brightness and the color are deteriorated in the same character. This is an issue.
【0008】[0008]
【課題を解決するための手段】前記の課題を解決するた
めに、本発明による文字領域抽出方法は、文字が表示さ
れているカラー画像を入力して記憶する第1の段階と、
該第1の段階により入力されたカラー画像の中で輝度値
が類似し、画像空間内で隣接する複数の画素同士を第1
の連結領域として形成する第2の段階と、該第2の段階
により得られた輝度値が類似する第1の連結領域画像に
対し、各領域内で、彩度値が類似し、画像空間内で隣接
する複数の画素同士を第2の連結領域として形成する第
3の段階と、該第3の段階により得られた輝度値、彩度
値共に類似する第2の連結領域画像に対し、各領域内
で、色相値が類似し、画素空間内で隣接する複数の画素
を第3の連結領域として形成する第4の段階と、該第4
の段階により得られた第3の連結領域画素だけを画像中
に残し、文字領域画像として蓄積する第5の段階と、を
有する文字領域抽出方法において、文字が表示されてい
るカラー画像を入力して記憶する第1の段階を、テレビ
放送映像などのカラー動画像の中で、同一のテロップ文
字等の文字が表示されている時間的に連続する複数のカ
ラー画像を入力して記憶するか、あるいは、文字が表示
されている一枚の静止カラー画像を入力して記憶する第
1−1の段階と、該同一の文字が表示されている複数の
カラー画像が入力された場合、該複数のカラー画像間で
位置の対応する画素同士の画素値の平均値を各画素の値
として持つ平均値カラー画像を入力されたカラー画像と
して作成し出力する第1−2の段階とを、用いて実現
し、カラー画像中の輝度値が類似し、画像空間内で隣接
する複数の画素同士を第1の連結領域として形成する第
2の段階を、該カラー画像中の各水平ライン内で輝度の
二値化を行い、結果を二値画像として得る第2−1の段
階と、該カラー画像中の各垂直ライン内で輝度の二値化
を行い、結果を二値画像として得る第2−2の段階と、
該第2−1の段階と該第2−2の段階により得られた2
枚の二値画像中の連結成分同士を比較し、面積、形状、
位置の違いが予め設定した許容範囲内である連結成分同
士を文字領域と判断し、該二値画像に残し、面積、形
状、位置の違いが予め設定した許容範囲を越えている連
結成分同士は背景ノイズ部と判断し該二値画像から除去
する第2−3の段階とを、用いて実現することを特徴と
する。In order to solve the above-mentioned problems, a character area extracting method according to the present invention comprises a first step of inputting and storing a color image in which characters are displayed,
In the color image input in the first step, a plurality of pixels having similar luminance values and adjacent to each other in the image space are first
Of the first connected region image having similar luminance values obtained by the second step and the second connected region image formed as the connected region of In the third step of forming a plurality of pixels adjacent to each other as the second connected area and the second connected area image having similar brightness and saturation values obtained in the third step, A fourth step of forming a plurality of pixels having similar hue values in the area and adjacent to each other in the pixel space as a third connection area;
In the character area extraction method, the method includes the fifth step of leaving only the third connected area pixels obtained by the step of # 3 in the image and accumulating as a character area image.
The first step of inputting and storing a color image
The same telop text is included in color moving images such as broadcast images.
Characters such as letters are displayed consecutively in time.
Image is input and memorized, or characters are displayed
To store and store a single still color image
Steps 1-1 and a plurality of the same characters are displayed
If a color image is input, the
The average value of the pixel values of the corresponding pixels at the position is the value of each pixel
The average value color image that has as the input color image and
Realized by using the first and second stages of creating and outputting
However, the brightness values in the color image are similar, and they are adjacent in the image space.
Forming a plurality of pixels as a first connection region
The two steps of luminance within each horizontal line in the color image are
The 2-1th stage that performs binarization and obtains the result as a binary image
And binarization of luminance within each vertical line in the color image
And the second step of obtaining the result as a binary image,
2 obtained by the step 2-1 and the step 2-2
Compare connected components in two binary images,
Connected components whose position difference is within the preset allowable range
The character is judged to be the character area, and the area and shape are left in the binary image.
Shape, position difference exceeds the preset allowable range.
Boundary components are judged to be background noise parts and removed from the binary image
And the second to third steps to be performed.
【0009】[0009]
【0010】[0010]
【0011】あるいは、上記の文字領域抽出方法におい
て、カラー画像中の各水平ライン内で輝度の二値化を行
い、結果を二値画像として得る第2−1の段階を、該カ
ラー画像中のある水平ライン内の輝度値分布において、
輝度の極大値を持つ画素を全て求め、求めた各極大値画
素を開始点とし、該水平ライン上を一画素ずつ左右に操
作し、開始点の極大値画素の左右両側でそれぞれ開始点
の輝度値よりも予め設定した閾値だけ輝度値が低い最初
の画素を検出し、検出された左右二つの画素と該水平ラ
イン上でそれら二つの画素の間に存在する複数の画素を
連結画素領域として抽出する第2−1−1の段階と、該
第2−1−1の段階により得られた連結画素領域の左右
の両端画素付近に存在する予め決めた方法で選択した複
数の画素の中から水平方向の輝度勾配の絶対値が最大と
なる画素を左右各々で求め、該画素を両端とする範囲を
高輝度文字領域として抽出する第2−1−2の段階と、
該カラー画像中のある水平ライン内の輝度値分布におい
て、輝度の極小値を持つ画素を全て求め、求めた各極小
値画素を開始点とし、該水平ライン上を一画素ずつ左右
に操作し、開始点の極小値画素の左右両側でそれぞれ開
始点の輝度値よりも予め設定した閾値だけ輝度値が高い
最初の画素を検出し、検出された左右二つの画素と該水
平ライン上でそれら二つの画素の間に存在する複数の画
素を連結画素領域として抽出する第2−1−3の段階
と、該第2−1−3の段階により得られた連結画素領域
の左右の両端画素付近に存在する予め決めた方法で選択
した複数の画素の中から水平方向の輝度勾配の絶対値が
最大となる画素を左右各々で求め、該画素を両端とする
範囲を低輝度文字領域として抽出する第2−1−4の段
階と、該第2−1−2の段階で抽出された各水平ライン
上の高輝度文字領域を集めて、画像全体としての高輝度
文字領域画像を作成し、また、第2−1−4の段階で抽
出された各水平ライン上の低輝度文字領域を集めて、画
像全体としての低高輝度文字領域画像を作成する第2−
1−5の段階と、該カラー画像中のエッジ部の画素を検
出する第2−1−6の段階と、該第2−1−5の段階で
得られた高輝度文字領域画像、および低輝度文字領域画
像中の文字連結成分を構成する複数の画素から該第2−
1−6の段階で得られたカラー画像中の垂直方向のエッ
ジ部に相当する画素を除去する第2−1−7の段階と
を、用いて実現することを特徴とする。Alternatively, in the above character area extraction method, the 2-1 step of binarizing the luminance in each horizontal line in the color image and obtaining the result as a binary image is performed in the color image. In the luminance value distribution within a horizontal line ,
Find all pixels that have a maximum value of luminance, and find each maximum value image
With the pixel as the starting point, operate horizontally on the horizontal line pixel by pixel.
The start point on the left and right sides of the maximum pixel of the start point.
The brightness value is lower than the brightness value of
Pixels of the horizontal line
In the step 2-1-1 of extracting a plurality of pixels existing between the two pixels on the IN as a connected pixel area, and the left and right of the connected pixel area obtained in the step 2-1-1. The pixels with the maximum absolute value of the horizontal brightness gradient are found on the left and right from a plurality of pixels that exist near the pixels on both ends of the pixel and are determined by a predetermined method. A step 2-1-2 of extracting as a region,
Luminance-value-distribution smell in horizontal lines with in the color image
And find all pixels that have a minimum brightness value,
Left and right pixel by pixel on the horizontal line starting from the value pixel
To open the left and right sides of the minimum pixel at the start point.
The brightness value is higher than the brightness value at the start point by a preset threshold value
The first pixel is detected, and the detected two pixels on the left and right and the water
Multiple images that exist between these two pixels on a flat line
A first 2-1-3 step of extracting the element as a connected pixel regions, were selected in a predetermined manner to present in the vicinity of both ends pixels of the left and right connected pixel regions obtained by step said 2-1-3 A step 2-1-4 in which the pixel having the maximum absolute value of the horizontal luminance gradient is obtained from the plurality of pixels on each of the left and right sides, and the range having the pixels at both ends is extracted as the low-luminance character region; The high-intensity character area on each horizontal line extracted in the step 2-1-2 is collected to create a high-intensity character area image as the whole image, and in the step 2-1-4. Collecting the low-intensity character areas on each of the extracted horizontal lines to create a low-intensity character area image for the entire image.
1-5, a 2-1-6 step of detecting pixels at an edge portion in the color image, a high-intensity character area image obtained in the 2-1-5 step, and a low From the plurality of pixels forming the character connected component in the luminance character area image, the second
And the step 2-1-7 of removing pixels corresponding to the edge portion in the vertical direction in the color image obtained in step 1-6.
【0012】あるいは、上記の文字領域抽出方法におい
て、カラー画像中の各垂直ライン内で輝度の二値化を行
い、結果を二値画像として得る第2−2の段階を、該カ
ラー画像中のある垂直ライン内の輝度値分布において、
輝度の極大値を持つ画素を全て求め、求めた各極大値画
素を開始点とし、該垂直ライン上を一画素ずつ上下に操
作し、開始点の極大値画素の上下両側でそれぞれ開始点
の輝度値よりも予め設定した閾値だけ輝度値が低い最初
の画素を検出し、検出された上下二つの画素と該垂直ラ
イン上でそれら二つの画素の間に存在する複数の画素を
連結画素領域として抽出する第2−2−1の段階と、該
第2−2−1の段階により得られた連結画素領域の左右
の両端画素付近に存在する予め決めた方法で選択した複
数の画素の中から垂直方向の輝度勾配の絶対値が最大と
なる画素を左右各々で求め、該画素を両端とする範囲を
高輝度文字領域として抽出する第2−2−2の段階と、
該カラー画像中のある垂直ライン内の輝度値分布におい
て、輝度の極小値を持つ画素を全て求め、求めた各極小
値画素を開始点とし、該垂直ライン上を一画素ずつ上下
に操作し、開始点の極小値画素の上下両側でそれぞれ開
始点の輝度値よりも予め設定した閾値だけ輝度値が高い
最初の画素を検出し、検出された上下二つの画素と該垂
直ライン上でそれら二つの画素の間に存在する複数の画
素を連結画素領域として抽出する第2−2−3の段階
と、該第2−2−3の段階により得られた連結画素領域
の左右の両端画素付近に存在する予め決めた方法で選択
した複数の画素の中から垂直方向の輝度勾配の絶対値が
最大となる画素を左右各々で求め、該画素を両端とする
範囲を低輝度文字領域として抽出する第2−2−4の段
階と、第2−2−2の段階で抽出された各垂直ライン上
の高輝度文字領域を集めて、画像全体としての高輝度文
字領域画像を作成し、また、第2−2−4の段階で抽出
された各垂直ライン上の低輝度文字領域を集めて、画像
全体としての低高輝度文字領域画像を作成する第2−2
−5の段階と、該カラー画像中のエッジ部の画素を検出
する第2−2−6の段階と、該第2−2−6の段階で得
られた高輝度文字領域画像、および低輝度文字領域画像
中の文字連結成分を構成する複数の画素から該第2−2
−6の段階で得られたカラー画像中の垂直方向のエッジ
部に相当する画素を除去する第2−2−7の段階とを、
用いて実現することを特徴とする。Alternatively, in the above character area extraction method, the second to second steps of binarizing the luminance in each vertical line in the color image and obtaining the result as a binary image are performed. In the luminance value distribution in a certain vertical line ,
Find all pixels that have a maximum value of luminance, and find each maximum value image
The element as a starting point, steering vertically on the vertical line pixel by pixel
Start point on both upper and lower sides of the maximum pixel of the start point
The brightness value is lower than the brightness value of
Detecting a pixel, the detected upper and lower two pixels and the vertical La
In the step 2-2-1 of extracting a plurality of pixels existing between the two pixels on the IN as a connected pixel area, and the left and right sides of the connected pixel area obtained in the step 2-2-1. The pixels with the maximum absolute value of the vertical brightness gradient are found on the left and right from a plurality of pixels that exist near the pixels on both ends of the pixel, and the range with these pixels at both ends is defined as high-brightness characters. 2-2-2 stage of extracting as a region,
Luminance-value-distribution smell of the vertical line with in the color image
And find all pixels that have a minimum brightness value,
The value pixel as a starting point, lower the upper the vertical line pixel by pixel
To open both the upper and lower sides of the minimum pixel at the start point.
The brightness value is higher than the brightness value at the start point by a preset threshold value
Detecting a first pixel, a plurality of picture that exists between those two pixels at the detected upper and lower two pixels and the vertical <br/> straight line on
A first 2-2-3 step of extracting the element as a connected pixel regions, were selected in a predetermined manner to present in the vicinity of both ends pixels of the left and right connected pixel regions obtained by step said 2-2-3 A step 2-2-4 in which a pixel having the maximum absolute value of the vertical luminance gradient is obtained from the plurality of pixels on each of the left and right sides, and a range having the pixels at both ends is extracted as a low-luminance character region; The high-intensity character area on each vertical line extracted in the step 2-2-2 is collected to create a high-intensity character area image as the entire image, and is also extracted in the step 2-2-4. The low-intensity character area on each vertical line is collected to create a low-intensity character area image for the entire image. 2-2
-5, a 2-2-6 step of detecting a pixel at an edge portion in the color image, a high-intensity character area image obtained in the 2-2-6 step, and a low intensity From the plurality of pixels forming the character connected component in the character area image,
-2-7-7 of removing pixels corresponding to the edge portion in the vertical direction in the color image obtained in step -6,
It is characterized by using it.
【0013】あるいは、上記の文字領域抽出方法におい
て、第2−1の段階と第2−2の段階により得られた2
枚の二値画像中の連結成分同士を比較し、面積、形状、
位置の違いが予め設定した許容範囲内である連結成分同
士を文字領域と判断し、該二値画像に残し、面積、形
状、位置の違いが予め設定した許容範囲を越えている連
結成分同士は背景ノイズ部と判断し該二値画像から除去
する第2−3の段階を、該得られた2枚の二値画像を位
置を揃えて重ね合わせ、対応する2つの画素が両方とも
連結成分に属する場合、該対応画素を仮文字画素として
記憶し、対応する2つの画素のうちどちらか一方でも連
結成分に属さない場合、該対応画素を非仮文字領域とし
て記憶し、該仮文字画素から構成される連結成分を含む
画像をAND画像と定義して作成する第2−3−1の段
階と、該得られた2枚の二値画像を位置を揃えて重ね合
わせ、対応する2つの画素のうちどちらか一方でも連結
成分に属する場合、該対応画素を仮文字領域として記憶
し、対応する2つの画素が両方とも連結成分に属さない
場合、該対応画素を非仮文字領域として記憶し、仮文字
画素から構成される連結成分を含む画像をOR画像と定
義して作成する第2−3−2の段階と、該第2−3−1
の段階により得られたAND画像と第2−3−2の段階
により得られたOR画像を位置を揃えて重ね合わせ、該
AND画像中の連結成分の中で、該OR画像中の連結成
分との重なる画素の個数が予め設定した閾値以上であ
り、且つ重なりをもつ該OR画像中の連結成分の面積が
予め設定した範囲内であれば、該AND画像中の連結成
分を文字連結成分として判断して該AND画像中に残
し、それ以外の連結成分は背景ノイズ領域として該AN
D画像から除去する第2−3−3の段階と、該第2−3
−3の段階により得られた文字連結成分だけが残留する
AND画像中の画素を文字領域画素として記憶する第3
−2−4の段階とを、用いて実現することを特徴とす
る。あるいは、上記の文字領域抽出方法において、第2
−1の段階と第2−2の段階により得られた2枚の二値
画像中の連結成分同士を比較し、面積、形状、位置の違
いが予め設定した許容範囲内である連結成分同士を文字
領域と判断し、該二値画像に残し、面積、形状、位置の
違いが予め設定した許容範囲を越えている連結成分同士
は背景ノイズ部と判断し該二値画像から除去する第2−
3の段階を、該得られた2枚の二値画像を位置を揃えて
重ね合わせ、対応する2つの画素が両方とも連結成分に
属する場合、該対応画素を仮文字画素として記憶し、対
応する2つの画素のうちどちらか一方でも連結成分に属
さない場合、該対応画素を非仮文字領域として記憶し、
該仮文字画素から構成される連結成分を含む画像をAN
D画像と定義して作成する第2−3−1の段階と、該得
られた2枚の二値画像を位置を揃えて重ね合わせ、対応
する2つの画素のうちどちらか一方でも連結成分に属す
る場合、該対応画素を仮文字領域として記憶し、対応す
る2つの画素が両方とも連結成分に属さない場合、該対
応画素を非仮文字領域として記憶し、仮文字画素から構
成される連結成分を含む画像をOR画像と定義して作成
する第2−3−2の段階と、該第2−3−1の段階によ
り得られたAND画像と第2−3−2の段階により得ら
れたOR画像を位置を揃えて重ね合わせ、該AND画像
中の連結成分の中で、該OR画像中の連結成分との重な
る画素の個数が予め設定した閾値以上であり、且つ重な
りをもつ該OR画像中の連結成分の面積が予め設定した
範囲内であれば、該AND画像中の連結成分を文字連結
成分として判断して該AND画像中に残し、それ以外の
連結成分は背景ノイズ領域として該AND画像から除去
する第2−3−3の段階と、該第2−3−3の段階によ
り得られた文字連結成分だけが残留するAND画像中
で、該第2−1の段階で得られた水平ライン毎の二値化
により得られた各ライン内の連結画素のうち、連結画素
数が予め設定した値より少ない連結画素を文字領域と
し、該画素と同じ位置に存在する該AND画像中の画素
を文字領域画素として記憶する第3−2−4の段階と
を、用いて実現することを特徴とする。Alternatively, in the above-mentioned character area extracting method, the values obtained by the steps 2-1 and 2-2 can be obtained.
Compare connected components in two binary images,
Connected components whose position difference is within the preset allowable range
The character is judged to be the character area, and the area and shape are left in the binary image.
Shape, position difference exceeds the preset allowable range.
Boundary components are judged to be background noise parts and removed from the binary image
In the second to third steps, the two obtained binary images are arranged.
And align them so that the two corresponding pixels are both
If it belongs to a connected component, the corresponding pixel is regarded as a temporary character pixel.
Memorize and connect either one of the two corresponding pixels.
If the pixel does not belong to a component, the corresponding pixel is set as a non-tentative character area.
Stored, and includes a connected component composed of the temporary character pixel
Step 2-3-1 to create an image by defining it as an AND image
The two floor images and the obtained two binary images are aligned and superposed.
And connect either one of the two corresponding pixels
If it belongs to a component, store the corresponding pixel as a temporary character area
And both corresponding two pixels do not belong to the connected component
In this case, the corresponding pixel is stored as a non-temporary character area and
An image including a connected component composed of pixels is defined as an OR image.
2-3-2 stage to be created in the sense of
AND image obtained by the step 2 and the step 2-3-2
The OR images obtained by
Among the connected components in the AND image, the connected component in the OR image
If the number of pixels that overlap the
And the area of the connected component in the OR image with overlap is
If it is within the preset range, the connection formation in the AND image
Minutes are judged as character connected components and left in the AND image.
However, the other connected components serve as the background noise region of the AN.
2-3-3 step of removing from the D image, and the 2-3 step
Only the character connected component obtained by the step of -3 remains
Third, storing pixels in the AND image as character area pixels
-2-4 stages and are realized by using
It Alternatively, in the above character area extraction method, the second
The connected components in the two binary images obtained in the step -1 and the step 2-2 are compared, and the connected components whose difference in area, shape, and position are within the preset allowable range are compared. It is determined that the character region is left in the binary image, and connected components whose differences in area, shape, and position exceed a preset allowable range are determined to be background noise portions and are removed from the binary image.
In step 3, the obtained two binary images are overlapped with their positions aligned, and when the corresponding two pixels both belong to the connected component, the corresponding pixel is stored as a temporary character pixel, and the corresponding two pixels are stored. If either one of the two pixels does not belong to the connected component, the corresponding pixel is stored as a non-temporary character area,
An image including a connected component composed of the temporary character pixels is AN
The step 2-3-1, which is defined and created as a D image, and the obtained two binary images are aligned and overlapped, and one of the corresponding two pixels is used as a connected component. If it belongs, the corresponding pixel is stored as a temporary character area, and if neither of the two corresponding pixels belong to the connected component, the corresponding pixel is stored as a non-temporary character area and a connected component composed of temporary character pixels is stored. The image obtained by defining the image including the image as the OR image is created in the step 2-3-2, the AND image obtained in the step 2-3-1, and the step obtained in the step 2-3-2. The OR images are overlapped with their positions aligned, and in the connected components in the AND image, the number of pixels overlapping with the connected components in the OR image is equal to or greater than a preset threshold value, and the OR images have an overlap. If the area of the connected components is within the preset range, The second to third steps of judging the connected component in the AND image as a character connected component and leaving it in the AND image, and removing the other connected components from the AND image as a background noise region; -3-Connected pixels in each line obtained by the binarization for each horizontal line obtained in the step 2-1 in the AND image in which only the character connected components obtained in the step 3-3 remain Among them, a connected pixel having a connected pixel number smaller than a preset value is set as a character area, and a pixel in the AND image existing at the same position as the pixel is stored as a character area pixel. Is realized by using.
【0014】さらには、以上の文字領域抽出方法におけ
る段階をコンピュータに実行させるためのプログラム
を、該コンピュータが読み取り可能な記録媒体に記録し
たことを特徴とする。Further, a program for causing a computer to execute the steps in the character area extracting method described above is recorded on a computer-readable recording medium.
【0015】また、同じく上記の課題を解決するため
に、本発明による文字領域抽出装置は、文字が表示され
ているカラー画像を入力して記憶するカラー画像入力記
憶手段と、該カラー画像入力記憶手段により入力された
カラー画像の中で輝度値が類似し、画像空間内で隣接す
る複数の画素同士を連結領域として形成する輝度値類似
領域形成手段と、該輝度値類似領域形成手段により得ら
れた輝度値が類似する連結領域画像に対し、各領域内
で、彩度値が類似し、画像空間内で隣接する複数の画素
同士を連結領域として形成する彩度値類似領域形成手段
と、該彩度値類似領域形成手段により得られた輝度値、
彩度値共に類似する連結領域画像に対し、各領域内で、
色相値が類似し、画素空間内で隣接する複数の画素を連
結領域として形成する色相値類似領域形成手段と、該色
相値類似領域形成手段により得られた連結領域画素だけ
を画像中に残し、文字領域画像として蓄積する文字領域
画像蓄積手段と、該カラー画像入力記憶手段、該輝度値
類似領域形成手段、該彩度値類似領域形成手段および該
色相値類似領域形成手段の実行順序を制御する処理制御
手段とを、具備する文字領域抽出装置において、文字が
表示されているカラー画像を入力して記憶するカラー画
像入力記憶手段は、テレビ放送映像などのカラー動画像
の中で、同一のテロップ文字等の文字が表示されている
時間的に連続する複数のカラー画像を入力して記憶する
か、あるいは、文字が表示されている一枚の静止カラー
画像を入力して記憶するカラー動画像/静止画像入力記
憶手段と、該同一の文字が表示されている複数のカラー
画像が入力された場合、該複数のカラー画像間で位置の
対応する画素同士の画素値の平均値を各画素の値として
持つ平均値カラー画像を作成して入力されたカラー画像
として出力する複数フレーム平均化手段と、該カラー動
画像/静止画像入力記憶手段と複数フレーム平均化手段
の実行順序を制御する処理制御手段とを、具備し、カラ
ー画像中の輝度値が類似し、画像空間内で隣接する複数
の画素同士を連結領域として形成する輝度値類似領域形
成手段は、該カラー画像中の各水平ライン内で輝度の二
値化を行い、結果を二値画像として得る水平ライン単位
二値化手段と、該カラー画像中の各垂直ライン内で輝度
の二値化を行い、結果を二値画像として得る垂直ライン
単位二値化手段と、該水平ライン単位二値化手段と該垂
直ライン単位二値化手段により得 られた2枚の二値画像
中の連結成分同士を比較し、面積、形状、位置の違いが
予め設定した許容範囲内である連結成分同士を文字領域
と判断し、該二値画像に残し、面積、形状、位置の違い
が予め設定した許容範囲を越えている連結成分同士は背
景ノイズ部と判断し該二値画像から除去する二値化結果
統合手段と、該水平ライン単位二値化手段、該垂直ライ
ン単位二値化手段および該二値化結果統合手段の実行順
序を制御する処理制御手段とを、具備することを特徴と
する。 Also, in order to solve the above-mentioned problems, the character area extracting device according to the present invention includes a color image input storing means for inputting and storing a color image in which characters are displayed, and the color image input storing means. Brightness value similar areas in the color image input by the means, the brightness value similar area forming means forming a plurality of adjacent pixels in the image space as a connection area, and the brightness value similar area forming means And a saturation value similar region forming means for forming a plurality of adjacent pixels in the image space as a connection region, the saturation value being similar to the connection region images having similar brightness values. Luminance value obtained by the saturation value similar region forming means,
Within each region, for connected region images with similar saturation values,
Hue value similar, forming a plurality of adjacent pixels in the pixel space as a connected area, a hue value similar area forming unit, and leaving only the connected area pixels obtained by the hue value similar area forming unit in the image, The execution order of the character area image accumulation means for accumulating as a character area image, the color image input storage means, the luminance value similar area forming means, the saturation value similar area forming means, and the hue value similar area forming means is controlled. In the character area extraction device including processing control means,
Color image to be stored by inputting the displayed color image
The image input storage means is a color moving image such as a television broadcast image.
, The same characters such as telop characters are displayed.
Input and store multiple time-sequential color images
Or a static color with the text displayed
Color moving image / still image input record for inputting and storing images
Memories and multiple colors in which the same characters are displayed
When an image is input, the position between the color images
The average value of the pixel values of corresponding pixels is set as the value of each pixel.
Color image input by creating an average value color image
And a plurality of frame averaging means for outputting
Image / still image input storage means and plural frame averaging means
Processing control means for controlling the execution order of
-Plurality of images that have similar brightness values and are adjacent in the image space
Luminance value similar region shape that forms pixels of each other as connected region
The synthesizing means has two luminance values within each horizontal line in the color image.
Horizontal line unit that performs binarization and obtains the result as a binary image
The binarization means and the brightness within each vertical line in the color image
A vertical line that binarizes and obtains the result as a binary image.
A unit binarizing unit, the horizontal line unit binarizing unit, and the hanging unit.
Two binary images obtained by the straight line unit binarizing means
Compare the connected components inside and see the difference in area, shape, and position.
Connected components that are within the preset allowable range to character areas
The difference in area, shape, and position.
Connected components that exceed the preset allowable range
A binarization result that is judged to be a background noise part and is removed from the binary image
Integrating means, the horizontal line unit binarizing means, the vertical line
Execution order of the binarization unit and the binarization result integration unit
And a processing control means for controlling the order.
To do.
【0016】[0016]
【0017】[0017]
【0018】あるいは、上記の文字領域抽出装置におい
て、カラー画像中の各水平ライン内で輝度の二値化を行
い、結果を二値画像として得る水平ライン単位二値化手
段は、該カラー画像中のある水平ライン内の輝度値分布
において、輝度の極大値を持つ画素を全て求め、求めた
各極大値画素を開始点とし、該水平ライン上を一画素ず
つ左右に操作し、開始点の極大値画素の左右両側でそれ
ぞれ開始点の輝度値よりも予め設定した閾値だけ輝度値
が低い最初の画素を検出し、検出された左右二つの画素
と該水平ライン上でそれら二つの画素の間に存在する複
数の画素を連結画素領域として抽出する輝度極大領域検
出手段と、該輝度極大領域検出手段により得られた連結
画素領域の左右の両端画素付近に存在する予め決めた方
法で選択した複数の画素の中から水平方向の輝度勾配の
絶対値が最大となる画素を左右各々で求め、該画素を両
端とする範囲を高輝度文字領域として抽出する高輝度文
字領域抽出手段と、該カラー画像中のある水平ライン内
の輝度値分布において、輝度の極小値を持つ画素を全て
求め、求めた各極小値画素を開始点とし、該水平ライン
上を一画素ずつ左右に操作し、開始点の極小値画素の左
右両側でそれぞれ開始点の輝度値よりも予め設定した閾
値だけ輝度値が高い最初の画素を検出し、検出された左
右二つの画素と該水平ライン上でそれら二つの画素の間
に存在する複数の画素を連結画素領域として抽出する輝
度極小領域検出手段と、該輝度極小領域検出手段により
得られた連結画素領域の左右の両端画素付近に存在する
予め決めた方法で選択した複数の画素の中から水平方向
の輝度勾配の絶対値が最大となる画素を左右各々で求
め、該画素を両端とする範囲を低輝度文字領域として抽
出する低輝度文字領域抽出手段と、該高輝度文字領域抽
出手段で抽出された各水平ライン上の高輝度文字領域を
集めて、画像全体としての高輝度文字領域画像を作成
し、また、該低輝度文字領域抽出手段で抽出された各水
平ライン上の低輝度文字領域を集めて、画像全体として
の低高輝度文字領域画像を作成する水平ライン別二値化
結果統合手段と、該輝度極大領域検出手段、該高輝度文
字領域抽出手段、該輝度極小領域検出手段、該低輝度文
字領域抽出手段および該水平ライン別二値化結果統合手
段の実行順序を制御する処理制御手段と、該カラー画像
中のエッジ部の画素を検出するエッジ検出手段と、該水
平ライン別二値化結果統合手段で得られた高輝度文字領
域画像、および低輝度文字領域画像中の文字連結成分を
構成する複数の画素から該エッジ検出手段で得られたカ
ラー画像中の垂直方向のエッジ部に相当する画素を除去
するエッジ部除去手段とを、具備することを特徴とす
る。Alternatively, in the above character area extracting device, the horizontal line unit binarizing means for binarizing the luminance in each horizontal line in the color image and obtaining the result as a binary image is Luminance value distribution in a horizontal line with
, All pixels with the maximum brightness value
Each local maximum pixel is used as a starting point, and no pixel is added on the horizontal line.
The left and right sides of the maximum pixel at the starting point
Luminance value by the preset threshold value than the luminance value of each start point
The first pixel is low, the two pixels on the left and right are detected
And the complex existing between the two pixels on the horizontal line.
A maximum luminance region detecting unit that extracts a number of pixels as a continuous pixel region, and a plurality of pixels selected by a predetermined method that exist near the left and right end pixels of the continuous pixel region obtained by the maximum luminance region detecting unit. There is a high-intensity character area extracting means for extracting a pixel having the maximum absolute value of the horizontal brightness gradient from the inside on each of the left and right sides, and extracting a range having the pixels at both ends as a high-intensity character area, and in the color image. In the luminance value distribution in the horizontal line, all pixels that have a minimum luminance value
The horizontal line is obtained by using each obtained minimum pixel as a starting point.
Operate the top one pixel at a time to the left and right to the left of the minimum pixel at the start point.
The threshold values set on the right and left sides are more than the brightness value of the starting point.
The first pixel with high brightness value is detected, and the detected left pixel
Between the right two pixels and the two pixels on the horizontal line
Minimum luminance region detecting means for extracting a plurality of pixels existing in the above as a connected pixel region, and a plurality of pixels selected by a predetermined method existing near the left and right end pixels of the connected pixel region obtained by the minimum luminance region detecting means. Low-luminance character region extraction means for obtaining a pixel having the maximum absolute value of the horizontal luminance gradient from the left and right sides, and extracting a range having the pixels at both ends as a low-luminance character region, and the high-luminance The high-intensity character areas on each horizontal line extracted by the character area extracting means are collected to create a high-intensity character area image as the whole image, and each horizontal line extracted by the low-intensity character area extracting means A binarization result integrating means for each horizontal line that collects the above low-brightness character areas to create a low-brightness character area image for the entire image, the brightness maximum area detecting means, the high-brightness character area extracting means, Kagayaki Processing control means for controlling the execution order of the minimum area detection means, the low-brightness character area extraction means, and the horizontal line-by-horizontal binarization result integration means; and edge detection means for detecting pixels at the edge portion in the color image. , A high-intensity character area image obtained by the horizontal line binarization result integrating means, and a color image obtained by the edge detecting means from a plurality of pixels forming a character connected component in the low-intensity character area image Edge portion removing means for removing pixels corresponding to the edge portion in the vertical direction.
【0019】あるいは、上記の文字領域抽出装置におい
て、カラー画像中の各垂直ライン内で輝度の二値化を行
い、結果を二値画像として得る垂直ライン単位二値化手
段は、該カラー画像中のある垂直ライン内の輝度値分布
において、輝度の極大値を持つ画素を全て求め、求めた
各極大値画素を開始点とし、該垂直ライン上を一画素ず
つ上下に操作し、開始点の極大値画素の上下両側でそれ
ぞれ開始点の輝度値よりも予め設定した閾値だけ輝度値
が低い最初の画素を検出し、検出された上下二つの画素
と該垂直ライン上でそれら二つの画素の間に存在する複
数の画素を連結画素領域として抽出する輝度極大領域検
出手段と、該輝度極大領域検出手段により得られた連結
画素領域の左右の両端画素付近に存在する予め決めた方
法で選択した複数の画素の中から垂直方向の輝度勾配の
絶対値が最大となる画素を左右各々で求め、該画素を両
端とする範囲を高輝度文字領域として抽出する高輝度文
字領域抽出手段と、該カラー画像中のある垂直ライン内
の輝度値分布において、輝度の極小値を持つ画素を全て
求め、求めた各極小値画素を開始点とし、該垂直ライン
上を一画素ずつ上下に操作し、開始点の極小値画素の上
下両側でそれぞれ開始点の輝度値よりも予め設定した閾
値だけ輝度値が高い最初の画素を検出し、検出された上
下二つの画素と該垂直ライン上でそれら二つの画素の間
に存在する複数の画素を連結画素領域として抽出する輝
度極小領域検出手段と、該輝度極小領域検出手段により
得られた連結画素領域の左右の両端画素付近に存在する
予め決めた方法で選択した複数の画素の中から垂直方向
の輝度勾配の絶対値が最大となる画素を左右各々で求
め、該画素を両端とする範囲を低輝度文字領域として抽
出する低輝度文字領域抽出手段と、該高輝度文字領域抽
出手段で抽出された各垂直ライン上の高輝度文字領域を
集めて、画像全体としての高輝度文字領域画像を作成
し、また、該低輝度文字領域抽出手段で抽出された各垂
直ライン上の低輝度文字領域を集めて、画像全体として
の低高輝度文字領域画像を作成する該垂直ライン別二値
化結果統合手段と、該輝度極大領域検出手段、該高輝度
文字領域抽出手段、該輝度極小領域検出手段、該低輝度
文字領域抽出手段および該垂直ライン別二値化結果統合
手段の実行順序を制御する処理制御手段と、該カラー画
像中のエッジ部の画素を検出するエッジ検出手段と、該
垂直ライン別二値化結果統合手段で得られた高輝度文字
領域画像、および低輝度文字領域画像中の文字連結成分
を構成する複数の画素から該エッジ抽出手段で得られた
カラー画像中の垂直方向のエッジ部に相当する画素を除
去するエッジ部除去手段とを、具備することを特徴とす
る。Alternatively, in the above character area extracting device, the vertical line unit binarizing means for binarizing the brightness in each vertical line in the color image and obtaining the result as a binary image is Luminance value distribution in vertical line with
, All pixels with the maximum brightness value
Each local maximum pixel is set as the starting point, and no pixel is added on the vertical line.
Up and down, and move it up and down on both sides of the maximum pixel at the starting point.
Luminance value by the preset threshold value than the luminance value of each start point
The first pixel is low, the upper and lower two pixels detected
Double that to exist between those two pixels on the vertical line
A maximum luminance region detecting unit that extracts a number of pixels as a continuous pixel region, and a plurality of pixels selected by a predetermined method that exist near the left and right end pixels of the continuous pixel region obtained by the maximum luminance region detecting unit. A pixel having the maximum absolute value of the vertical brightness gradient from the inside is obtained on each of the left and right sides, and a high-intensity character area extracting means for extracting a range having the pixel at both ends as a high-intensity character area, and in the color image In the luminance value distribution in the vertical line, all pixels that have a minimum luminance value
The vertical line is obtained by using each obtained minimum pixel as a starting point.
Move up and down one pixel at a time, and
The threshold values that are set in advance on both lower sides than the brightness value of the starting point
The first pixel with a high brightness value is detected and
Between these two pixels under two pixels and on the vertical line
Minimum luminance region detecting means for extracting a plurality of pixels existing in the above as a connected pixel region, and a plurality of pixels selected by a predetermined method existing near the left and right end pixels of the connected pixel region obtained by the minimum luminance region detecting means. A pixel having the maximum absolute value of the brightness gradient in the vertical direction from the left and right pixels, and a low-brightness character region extracting means for extracting a range having the pixels at both ends as a low-brightness character region; The high-intensity character areas on each vertical line extracted by the character area extracting means are collected to create a high-intensity character area image as the whole image, and each vertical line extracted by the low-intensity character area extracting means. A binarization result integrating means for each vertical line that collects the above-described low-intensity character areas to create a low-intensity character area image as an entire image, the maximum brightness area detecting means, the high brightness character area extracting means, The Processing control means for controlling the execution sequence of the minimum degree area detection means, the low-brightness character area extraction means, and the vertical line-by-vertical binarization result integration means; and edge detection means for detecting pixels in the edge portion in the color image And a color image obtained by the edge extracting means from a plurality of pixels forming a character connected component in the high-intensity character area image and the low-intensity character area image obtained by the vertical line-by-vertical binarization result integrating means And an edge portion removing means for removing pixels corresponding to the edge portion in the vertical direction.
【0020】あるいは、上記の文字領域抽出装置におい
て、水平ライン単位二値化手段と垂直ライン単位二値化
手段により得られた2枚の二値画像中の連結成分同士を
比較し、面積、形状、位置の違いが予め設定した許容範
囲内である連結成分同士を文字領域と判断し、該二値画
像に残し、面積、形状、位置の違いが予め設定した許容
範囲を越えている連結成分同士は背景ノイズ部と判断し
該二値画像から除去する二値化結果統合手段は、該得ら
れた2枚の二値画像を位置を揃えて重ね合わせ、対応す
る2つの画素が両方とも連結成分に属する場合、該対応
画素を仮文字画素として記憶し、対応する2つの画素の
うちどちらか一方でも連結成分に属さない場合、該対応
画素を非仮文字領域として記憶し、仮文字画素から構成
される連結成分を含む画像をAND画像と定義して作成
するAND画像作成手段と、該得られた2枚の二値画像
を位置を揃えて重ね合わせ、対応する2つの画素のうち
どちらか一方でも連結成分に属する場合、該対応画素を
仮文字領域として記憶し、対応する2つの画素が両方と
も連結成分に属さない場合、該対応画素を非仮文字領域
として記憶し、仮文字画素から構成される連結成分を含
む画像をOR画像と定義して作成するOR画像作成手段
と、該AND画像作成手段により得られたAND画像と
該OR画像作成手段により得られたOR画像を位置を揃
えて重ね合わせ、該AND画像中の連結成分の中で、該
OR画像中の連結成分との重なる画素の個数が予め設定
した閾値以上であり、且つ重なりをもつ該OR画像中の
連結成分の面積が予め設定した範囲内であれば、該AN
D画像中の連結成分を文字連結成分として判断し、該A
ND画像中に残し、それ以外の連結成分は背景ノイズ領
域として該AND画像から除去する文字連結成分判断手
段と、該文字連結成分判断手段により得られた文字連結
成分だけが残留するAND画像中の画素を文字領域画素
として記憶する文字画素登録手段とを、具備することを
特徴とする文字領域抽出装置。あるいは、上記の文字領
域抽出装置において、水平ライン単位二値化手段と垂直
ライン単位二値化手段により得られた2枚の二値画像中
の連結成分同士を比較し、面積、形状、位置の違いが予
め設定した許容範囲内である連結成分同士を文字領域と
判断し、該二値画像に残し、面積、形状、位置の違いが
予め設定した許容範囲を越えている連結成分同士は背景
ノイズ部と判断し該二値画像から除去する二値化結果統
合手段は、該得られた2枚の二値画像を位置を揃えて重
ね合わせ、対応する2つの画素が両方とも連結成分に属
する場合、該対応画素を仮文字画素として記憶し、対応
する2つの画素のうちどちらか一方でも連結成分に属さ
ない場合、該対応画素を非仮文字領域として記憶し、仮
文字画素から構成される連結成分を含む画像をAND画
像と定義して作成するAND画像作成手段と、該得られ
た2枚の二値画像を位置を揃えて重ね合わせ、対応する
2つの画素のうちどちらか一方でも連結成分に属する場
合、該対応画素を仮文字領域として記憶し、対応する2
つの画素が両方とも連結成分に属さない場合、該対応画
素を非仮文字領域として記憶し、仮文字画素から構成さ
れる連結成分を含む画像をOR画像と定義して作成する
OR画像作成手段と、該AND画像作成手段により得ら
れたAND画像と該OR画像作成手段により得られたO
R画像を位置を揃えて重ね合わせ、該AND画像中の連
結成分の中で、該OR画像中の連結成分との重なる画素
の個数が予め設定した閾値以上であり、且つ重なりをも
つ該OR画像中の連結成分の面積が予め設定した範囲内
であれば、該AND画像中の連結成分を文字連結成分と
して判断し、該AND画像中に残し、それ以外の連結成
分は背景ノイズ領域として該AND画像から除去する文
字連結成分判断手段と、該文字連結成分判断手段により
得られた文字連結成分だけが残留するAND画像中で、
該水平ライン単位二値化手段で得られた水平ライン毎の
二値化により得られた各ライン内の連結画素のうち、連
結画素数が予め設定した値より少ない連結画素を文字領
域とし、該画素と同じ位置に存在する該AND画像中の
画素を文字領域画素として記憶する文字画素登録手段と
を、具備することを特徴とする。Alternatively, in the above character area extraction device, horizontal line unit binarization means and vertical line unit binarization
The connected components in the two binary images obtained by
Compared with each other, the difference in area, shape, and position is set within the allowable range.
The connected components within the box are judged to be character areas, and the binary image
Allowed to remain in the image, with preset differences in area, shape, and position
Connected components that exceed the range are judged to be background noise.
The binarization result integrating means for removing from the binary image is
The two binary images that have been
If the two pixels that belong to the
The pixel is stored as a temporary character pixel, and
If either of them does not belong to the connected component, the corresponding
Pixels are stored as non-temporary character areas and composed of temporary character pixels
Created by defining an image containing connected components as an AND image
AND image creating means and the two binary images obtained
Of the two corresponding pixels
If either one belongs to the connected component, the corresponding pixel is
It is stored as a temporary character area, and two corresponding pixels are
If the corresponding pixel does not belong to the connected component,
Stored as, and includes the connected component composed of the dummy character pixels.
OR image creating means for creating and defining an image as an OR image
And an AND image obtained by the AND image creating means
The positions of the OR images obtained by the OR image creating means are aligned.
Of the connected components in the AND image,
The number of pixels that overlap with the connected component in the OR image is preset
In the OR image which is equal to or greater than the threshold value and has an overlap
If the area of the connected component is within the preset range, the AN
The connected component in the D image is determined as the character connected component, and the A
It is left in the ND image and the other connected components are background noise regions.
Character connected component judgment hand to be removed from the AND image as a region
And the character concatenation obtained by the character connected component determination means
Pixels in the AND image where only the components remain are character area pixels
And a character pixel registration means for storing as
Character area extraction device. Alternatively, in the above character area extraction device, the connected components in the two binary images obtained by the horizontal line unit binarization unit and the vertical line unit binarization unit are compared to determine the area, shape, and position. The connected components whose difference is within the preset allowable range are judged to be character regions and are left in the binary image, and the connected components whose area, shape, and position differences exceed the preset allowable range are background noise. If the binarization result integrating means for judging that the binary image is a part and removing it from the binary image, the obtained two binary images are superposed with their positions aligned and both corresponding two pixels belong to the connected component. , The corresponding pixel is stored as a temporary character pixel, and if either one of the two corresponding pixels does not belong to the connected component, the corresponding pixel is stored as a non-temporary character area, and the connected pixel is composed of the temporary character pixels. A containing the component The AND image creating means defined to be created as a D image and the obtained two binary images are overlapped with their positions aligned, and if either one of the corresponding two pixels belongs to the connected component, The corresponding pixel is stored as a temporary character area and the corresponding 2
When neither one pixel belongs to the connected component, the corresponding pixel is stored as a non-temporary character area, and an image including the connected component composed of the temporary character pixels is defined as an OR image and created. , The AND image obtained by the AND image creating means and the O image obtained by the OR image creating means
The R images are overlapped with their positions aligned, and in the connected components in the AND image, the number of pixels overlapping with the connected components in the OR image is equal to or greater than a preset threshold value, and the OR images have an overlap. If the area of the connected component therein is within a preset range, the connected component in the AND image is determined as a character connected component and left in the AND image, and the other connected components are used as the background noise area in the AND. In the AND image in which only the character connected components obtained by the character connected component determination means and the character connected component determination means to be removed from the image remain,
Of the connected pixels in each line obtained by the binarization for each horizontal line obtained by the horizontal line unit binarization means, the connected pixels whose number of connected pixels is less than a preset value are set as the character area, and Character pixel registration means for storing a pixel in the AND image existing at the same position as the pixel as a character area pixel.
【0021】前記のとおり、従来手法では、横ストロー
クの端部の色劣化部の抽出が不安定であるという問題が
あった。そこで、本発明では、ライン上の輝度分布から
局所的に値の際だった範囲を、予め決めた輝度値の閾値
を用いて求めた後で、さらに求めた範囲の両端部におけ
る輝度勾配値の最大となる画素を真の文字の端部とする
ことで、文字色劣化部も安定的に文字領域に含めて抽出
できるようにすることにより、文字輪郭形状を原画同様
滑らかにし、またストロークの途切れを無くすことを可
能とする(図10参照)。As described above, the conventional method has a problem that the extraction of the color deteriorated portion at the end of the horizontal stroke is unstable. Therefore, in the present invention, a range that locally stands out from the brightness distribution on the line is obtained by using a predetermined threshold value of the brightness value, and then the range of the brightness gradient values at both ends of the obtained range is further calculated. By setting the maximum pixel to the end of the true character, the character color deterioration part can be stably included in the character area and extracted, so that the character outline shape is smooth as in the original image and the stroke is interrupted. Can be eliminated (see FIG. 10).
【0022】更に、従来手法では、各方向別のライン単
位では、参照する方向でしか文字と背景の境界検出は保
証できないため、最終的に文字領域の抽出に失敗する問
題があった。本発明では、各方向別のライン単位の二値
化を行った後、原画中のエッジ画素を連結成分から取り
除くため、各方向別の二値化後は、文字と背景の境界部
は全て検出し、文字部を背景と完全に分離した連結成分
として抽出することを可能とする。これにより、最終的
に各方向別のライン単位の二値化結果を重ね合わせ、比
較し、統合した最終的な結果においても文字部は各結果
が共通した位置、大きさ、形状をとるため、文字領域の
抽出失敗を抑制することを可能とする(図11、図12
参照)。Further, in the conventional method, the boundary between the character and the background can be guaranteed only in the reference direction in the line unit for each direction, so that there is a problem in that the extraction of the character region finally fails. In the present invention, after binarizing line by line in each direction, edge pixels in the original image are removed from the connected component, so that after the binarization in each direction, all boundary parts between the character and the background are detected. However, the character part can be extracted as a connected component completely separated from the background. As a result, the binarized results for each line in each direction are finally overlapped, compared, and even in the final integrated result, the character part has the same position, size, and shape in each result, It is possible to suppress the failure to extract the character area (FIGS. 11 and 12).
reference).
【0023】[0023]
【発明の実施の形態】以下、図面を参照して本発明の実
施形態例を詳細に説明する。BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.
【0024】図1は、本発明の一実施形態例による装置
の構成とともに処理の流れを示すブロック図である。FIG. 1 is a block diagram showing the flow of processing along with the configuration of an apparatus according to an embodiment of the present invention.
【0025】図1において、1はカラー画像入力記憶部
であり、処理対象の文字が表示されているカラー画像デ
ータを入力してメモリに記憶する。In FIG. 1, reference numeral 1 denotes a color image input / storage unit which inputs color image data in which a character to be processed is displayed and stores it in a memory.
【0026】2は輝度類似領域形成部であり、カラー画
像入力記憶部1により入力されたカラー画像中で輝度値
が類似し、画像空間内で隣接する複数の画素同士を連結
領域として形成する。Reference numeral 2 denotes a brightness similar area forming section, which forms a plurality of pixels having similar brightness values in the color image input by the color image input storage section 1 and adjacent to each other in the image space as a connection area.
【0027】3は彩度値類似領域形成部であり、輝度値
類似領域形成部2により得られた輝度値が類似する連結
領域画素中の各領域内で彩度値が類似し、画像空間内で
隣接する複数の画素同士を連結領域として形成する。Reference numeral 3 denotes a saturation value similar area forming unit, which has similar saturation values in each area in the connected area pixels having similar brightness values obtained by the brightness value similar area forming unit 2 and is in the image space. A plurality of pixels adjacent to each other are formed as a connection region.
【0028】4は色相値類似領域形成部であり、彩度値
類似領域形成部3により得られた輝度値、彩度値共に類
似する連結領域画素中の各領域内で色相値が類似し、画
像空間内で隣接する複数の画素同士を連結領域として形
成する。Reference numeral 4 denotes a hue value similar region forming unit, which has similar hue values in each region of connected region pixels having similar luminance values and saturation values obtained by the saturation value similar region forming unit 3, A plurality of adjacent pixels in the image space are formed as a connected region.
【0029】5は文字領域画像蓄積部であり、色相値類
似領域形成部4により得られた連結領域画像を文字領域
抽出結果画像として蓄積する。A character area image storage unit 5 stores the connected area image obtained by the hue value similar area forming unit 4 as a character area extraction result image.
【0030】6は処理制御部であり、上記1〜5の各部
の実行順序を制御する。A processing control unit 6 controls the execution order of each of the above units 1 to 5.
【0031】図2は、図1中のカラー画像入力記憶部1
の構成の一例とともに処理の流れの一例を示すブロック
図である。FIG. 2 shows a color image input storage unit 1 in FIG.
3 is a block diagram showing an example of the flow of processing together with an example of the configuration of FIG.
【0032】図2において、7はカラー画像入力記憶部
であり、テレビ放送映像などのカラー動画像の中で、同
一のテロップ文字等の文字が表示されている時間的に連
続する複数のカラー画像を入力して記憶するか、あるい
は、文字を含む一枚の静止カラー画像を入力して記憶す
る。In FIG. 2, reference numeral 7 denotes a color image input / storing unit, which is a plurality of time-sequential color images in which the same telop character or the like is displayed in a color moving image such as a television broadcast image. Or a single static color image containing characters is input and stored.
【0033】8は複数フレーム平均化部であり、同一の
文字が表示されている複数のカラー画像間で位置の対応
する画素同士の画素値の平均値を各画素の値として持つ
平均値カラー画像を作成する。A multi-frame averaging unit 8 has an average value color image having an average value of pixel values of corresponding pixels at positions among a plurality of color images displaying the same character as a value of each pixel. To create.
【0034】一般にテレビ放送映像などのカラー動画像
中において、テロップ文字表示は複数フレームに渡って
画面内の同じ位置に表示される。一方、文字表示以外の
一般物体や背景部には動きが生じている場合が多い。Generally, in a color moving image such as a television broadcast image, the telop character display is displayed at the same position on the screen over a plurality of frames. On the other hand, there are many cases where motion occurs in general objects other than character display and the background part.
【0035】このため、カラー動画像中の同一テロップ
文字が表示されている時間的に連続する複数のカラー画
像間の対応する画素同士の画素値は文字部では複数フレ
ームに渡って変化せず、背景部では物体の動きがあるた
め、複数フレームに渡って値が変化する。Therefore, the pixel values of corresponding pixels between a plurality of temporally consecutive color images in which the same telop character is displayed in the color moving image do not change in the character portion over a plurality of frames. Since there is a motion of the object in the background portion, the value changes over a plurality of frames.
【0036】よって、該複数フレームの対応画素の平均
値を各画素の値として持つ平均化カラー画像を作成する
と、文字部では複数フレームに渡って値が変わらないた
め、平均化後も値はほとんど変わらないが、背景部で
は、様々な値が平均化されるため、画像中の物体輪郭部
などが不明確なぼやけた様子になる。Therefore, when an averaged color image having the average value of the corresponding pixels of the plurality of frames as the value of each pixel is created, the value remains almost the same even after the averaging because the value does not change in the character portion over the plurality of frames. Although it does not change, in the background part, various values are averaged, so that the object contour part in the image becomes unclear and blurry.
【0037】このことは、後段の画像の二値化処理にお
いて、背景部からの一般物体の領域抽出を抑制する効果
を持っている。This has the effect of suppressing the extraction of the area of the general object from the background portion in the binarization processing of the image in the subsequent stage.
【0038】9は処理制御部であり、7〜8の各部の実
行順序を制御する。A processing control unit 9 controls the execution order of each unit 7-8.
【0039】図3は、図1中の輝度値類似領域形成部2
の構成の一例とともに処理の流れの一例を示すブロック
図である。FIG. 3 shows the luminance value similar region forming section 2 in FIG.
3 is a block diagram showing an example of the flow of processing together with an example of the configuration of FIG.
【0040】図3において、10は水平ライン単位二値
化部であり、画像中の各水平ライン内で輝度の二値化を
行う。In FIG. 3, reference numeral 10 denotes a horizontal line unit binarizing unit which binarizes the luminance in each horizontal line in the image.
【0041】11は垂直ライン単位二値化部であり、画
像中の各垂直ライン内で輝度の二値化を行う。Reference numeral 11 denotes a vertical line unit binarizing unit which binarizes the luminance in each vertical line in the image.
【0042】12は二値化結果統合部であり、水平ライ
ン単位二値化部10と垂直ライン単位二値化部11によ
り得られた2枚の二値画像を比較し、両方の結果ともに
同じ位置に存在し、同じ面積値をもつ連結成分を文字領
域と判断し、他の連結成分は背景ノイズ部と判断し画像
から除去する。Reference numeral 12 is a binarization result integration unit, which compares the two binary images obtained by the horizontal line unit binarization unit 10 and the vertical line unit binarization unit 11, and both results are the same. Connected components existing at the positions and having the same area value are determined to be character regions, and other connected components are determined to be background noise portions and are removed from the image.
【0043】13は処理制御部であり、上記10〜12
の各部の実行順序を制御する。Reference numeral 13 denotes a processing control unit, which is the above 10 to 12
Control the execution order of each part of.
【0044】図4は、図3中の水平ライン単位二値化部
10の構成の一例とともに処理の流れの一例を示すブロ
ック図である。FIG. 4 is a block diagram showing an example of the configuration of the horizontal line unit binarization unit 10 in FIG. 3 and an example of the processing flow.
【0045】図4において、14は水平ライン上輝度極
大領域検出部であり、画像中のある水平ライン内の輝度
分布を調べ、該水平ライン内で局所的に輝度値が予め設
定した値だけ高い連結画素領域を検出する。In FIG. 4, reference numeral 14 denotes a horizontal maximum luminance area detection unit, which examines the luminance distribution in a certain horizontal line in the image and locally increases the luminance value in the horizontal line by a preset value. The connected pixel area is detected.
【0046】15は高輝度文字領域抽出部であり、画像
中のある水平ライン上で、水平ライン上輝度極大領域検
出部14により得られた連結画素領域の左右の両端付近
の複数の画素の中から水平方向の輝度勾配の絶対値が最
大となる画素を左右各々で求め、該画素を両端とする範
囲を高輝度文字領域として抽出する。Reference numeral 15 denotes a high-intensity character area extraction unit, which is located on a horizontal line in the image and is among a plurality of pixels near the left and right ends of the connected pixel area obtained by the horizontal maximum-intensity area detection unit 14. From the above, the pixel having the maximum absolute value of the horizontal brightness gradient is obtained on each of the left and right sides, and the range having the pixels at both ends is extracted as the high brightness character area.
【0047】16は水平ライン上輝度極小領域検出部で
あり、画像中のある水平ライン内の輝度分布を調べ、該
水平ライン内で局所的に輝度値が予め設定した値だけ低
い連結画素領域を検出する。Reference numeral 16 denotes a horizontal minimum-brightness area detection unit, which checks the brightness distribution in a certain horizontal line in the image and determines a connected pixel area in which the brightness value is locally lower by a preset value. To detect.
【0048】17は低輝度文字領域抽出部であり、画像
中のある水平ライン上で、水平ライン上輝度極小領域検
出部16により得られた連結画素領域の左右の両端付近
の複数の画素の中から水平方向の輝度勾配の絶対値が最
大となる画素を左右各々で求め、該画素を両端とする範
囲を低輝度文字領域として抽出する。Reference numeral 17 denotes a low-intensity character area extraction unit, which is located on a horizontal line in the image, among a plurality of pixels near the left and right ends of the connected pixel area obtained by the horizontal minimum-intensity area detection unit 16. From this, the pixel having the maximum absolute value of the horizontal brightness gradient is obtained on each of the left and right sides, and the range having the pixels at both ends is extracted as the low-intensity character area.
【0049】18は水平ライン別二値化結果統合部であ
り、高輝度文字領域抽出部15および低輝度文字領域抽
出部17により得られた各水平ライン上の文字領域を統
合し、画像全体としての文字領域画像を作成する。A horizontal line binarization result integration unit 18 integrates the character regions on each horizontal line obtained by the high-intensity character region extraction unit 15 and the low-intensity character region extraction unit 17 to obtain the entire image. Create a character area image of.
【0050】19は処理制御部であり、14〜18の各
部における実行順序を制御する。A processing control unit 19 controls the execution order in each of the units 14-18.
【0051】20はエッジ検出部であり、画像中のエッ
ジ部の画素を検出する。エッジ検出には例えばRobi
nsonのオペレータを使うなど既存の方法を用いる。Reference numeral 20 denotes an edge detection unit which detects pixels in the edge portion in the image. For edge detection, for example, Robi
An existing method such as using an operator of nson is used.
【0052】21はエッジ部除去部であり、水平ライン
別二値化結果統合部18により得られた高輝度文字領域
画像、および低輝度文字領域抽出画像中の文字連結成分
を構成する複数の画素からエッジ検出部18により得ら
れた平均値画像中の垂直方向のエッジ部に相当する画素
を除去する。Reference numeral 21 denotes an edge removal section, which is a plurality of pixels forming the character connected components in the high-intensity character area image and the low-intensity character area extracted image obtained by the horizontal line binarization result integrating section 18. The pixels corresponding to the vertical edge portions in the average value image obtained by the edge detection unit 18 are removed.
【0053】図5は、図3中の垂直ライン単位二値化部
11の構成の一例とともに処理の流れの一例を示すブロ
ック図である。FIG. 5 is a block diagram showing an example of the configuration of the vertical line unit binarization unit 11 in FIG. 3 and an example of the processing flow.
【0054】図5において、22は垂直ライン上輝度極
大領域検出部であり、画像中のある垂直ライン内の輝度
分布を調べ、該垂直ライン内で局所的に輝度値が予め設
定した値だけ高い連結画素領域を検出する。In FIG. 5, reference numeral 22 denotes a vertical maximum luminance area detection unit for examining the luminance distribution in a certain vertical line in the image, and locally increasing the luminance value in the vertical line by a preset value. The connected pixel area is detected.
【0055】23は高輝度文字領域抽出部であり、画像
中のある垂直ライン上で、垂直ライン上輝度極大領域検
出部22により得られた連結画素領域の左右の両端付近
の複数の画素の中から垂直方向の輝度勾配の絶対値が最
大となる画素を左右各々で求め、該画素を両端とする範
囲を高輝度文字領域として抽出する。Reference numeral 23 denotes a high-intensity character area extracting unit, which is located on a vertical line in the image and is among a plurality of pixels near the left and right ends of the connected pixel area obtained by the vertical-line maximum brightness area detecting unit 22. A pixel having the maximum absolute value of the brightness gradient in the vertical direction is obtained from each of the left and right, and a range having the pixels at both ends is extracted as a high brightness character area.
【0056】24は垂直ライン上輝度極小領域検出部で
あり、画像中のある垂直ライン内の輝度分布を調べ、該
垂直ライン内で局所的に輝度値が予め設定した値だけ低
い連結画素領域を検出する。Reference numeral 24 denotes a vertical minimum luminance area detection unit, which checks the luminance distribution in a certain vertical line in the image, and determines a connected pixel area in which the luminance value is locally lower by a preset value. To detect.
【0057】25は低輝度文字領域抽出部であり、画像
中のある垂直ライン上で、垂直ライン上輝度極小領域検
出部24により得られた連結画素領域の左右の両端付近
の複数の画素の中から垂直方向の輝度勾配の絶対値が最
大となる画素を左右各々で求め、該画素を両端とする範
囲を低輝度文字領域として抽出する。Reference numeral 25 is a low-intensity character area extraction unit, which is located on a vertical line in the image, and among a plurality of pixels near the left and right ends of the connected pixel area obtained by the vertical minimum brightness area detection unit 24. From the above, the pixel having the maximum absolute value of the brightness gradient in the vertical direction is obtained on each of the left and right sides, and the range having the pixels at both ends is extracted as the low brightness character area.
【0058】26は垂直ライン別二値化結果統合部であ
り、高輝度文字領域抽出部23および低輝度文字領域抽
出部25により得られた各垂直ライン上の文字領域を統
合し、画像全体としての文字領域画像を作成する。Reference numeral 26 denotes a vertical line-by-vertical binarization result integration unit, which integrates the character regions on each vertical line obtained by the high-intensity character region extraction unit 23 and the low-intensity character region extraction unit 25 to obtain the entire image. Create a character area image of.
【0059】27は処理制御部であり、22〜26の各
部における実行順序を制御する。A processing control unit 27 controls the execution order in each of the units 22 to 26.
【0060】28はエッジ検出部であり、画像中のエッ
ジ部の画素を検出する。エッジ検出には例えばRobi
nsonのオペレータを使うなど既存の方法を用いる。Reference numeral 28 denotes an edge detection unit which detects pixels in the edge portion of the image. For edge detection, for example, Robi
An existing method such as using an operator of nson is used.
【0061】29はエッジ部除去部であり、垂直ライン
別二値化結果統合部26により得られた高輝度文字領域
画像、および低輝度文字領域抽出画像中の文字連結成分
を構成する複数の画素からエッジ検出部28により得ら
れた平均値画像中の垂直方向のエッジ部に相当する画素
を除去する。Reference numeral 29 denotes an edge portion removing unit, which is a plurality of pixels forming a character connected component in the high-intensity character region image and the low-intensity character region extracted image obtained by the vertical line-specific binarization result integrating unit 26. Pixels corresponding to the vertical edge portions in the average value image obtained by the edge detection unit 28 are removed.
【0062】図6は、図3中の二値化結果統合部12の
構成の一例とともに処理の流れの一例を示すブロック図
である。FIG. 6 is a block diagram showing an example of the configuration of the binarization result integration unit 12 in FIG. 3 and an example of the processing flow.
【0063】図6において、30はAND画像作成部で
あり、入力された2枚の二値画像を位置を揃えて重ね合
わせ、対応する2つの画素が両方とも連結成分に属する
場合、該対応画素を仮文字画素として記憶し、対応する
2つの画素のうちどちらか一方でも連結成分に属さない
場合、該対応画素を非仮文字領域として記憶し、仮文字
画素から構成される連結成分を含む画像(ここでは、こ
れをAND画像と定義する)を作成する。In FIG. 6, reference numeral 30 denotes an AND image creating section, which superimposes two input binary images with their positions aligned, and when two corresponding pixels both belong to a connected component, the corresponding pixel. Is stored as a temporary character pixel, and if any one of the two corresponding pixels does not belong to the connected component, the corresponding pixel is stored as a non-temporary character area and an image including a connected component composed of the temporary character pixel is stored. (Here, this is defined as an AND image) is created.
【0064】31はOR画像作成部であり、入力された
2枚の二値画像を位置を揃えて重ね合わせ、対応する2
つの画素のうちどちらか一方でも連結成分に属する場
合、該対応画素を仮文字領域として記憶し、対応する2
つの画素が両方とも連結成分に属さない場合、該対応画
素を非仮文字領域として記憶し、仮文字画素から構成さ
れる連結成分を含む画像(ここでは、これをOR画像と
定義する)を作成する。Reference numeral 31 is an OR image creating section, which superimposes two input binary images with their positions aligned and superimposes them.
If either one of the two pixels belongs to the connected component, the corresponding pixel is stored as a temporary character area and the corresponding 2
If neither of the two pixels belongs to a connected component, the corresponding pixel is stored as a non-temporary character area, and an image including a connected component composed of temporary character pixels (herein, this is defined as an OR image) is created. To do.
【0065】32は文字連結成分判断部であり、AND
画像作成部30により得られたAND画像とOR画像作
成部31により得られたOR画像を位置を揃えて重ね合
わせ、AND画像中の連結成分の中で、OR画像中の連
結成分との重なる画素の個数が予め設定した閾値以上で
あり、且つ重なりをもつOR画像中の連結成分の面積が
予め設定した範囲内であれば、該AND画像中の連結成
分を文字連結成分として判断する。Reference numeral 32 is a character connected component judgment unit, which is AND
The AND image obtained by the image creating unit 30 and the OR image obtained by the OR image creating unit 31 are aligned and overlapped, and among the connected components in the AND image, the pixels that overlap with the connected component in the OR image. Is greater than or equal to a preset threshold value and the area of the connected component in the OR image having overlap is within the preset range, the connected component in the AND image is determined as the character connected component.
【0066】33は文字画素登録部であり、文字連結成
分判断部32により得られた文字連結成分だけが残留す
るAND画像中で、水平ライン単位二値化部10により
得られた各ライン内の連結画素のうち、連結画素数が予
め設定した値より少ない連結画素を文字領域とし、該画
素と同じ位置に存在する該AND画像中の画素を文字領
域画素として記憶する。Reference numeral 33 denotes a character pixel registration unit, which is included in each line obtained by the horizontal line unit binarization unit 10 in the AND image in which only the character connected components obtained by the character connected component determination unit 32 remain. Among the connected pixels, a connected pixel in which the number of connected pixels is smaller than a preset value is set as a character area, and a pixel in the AND image existing at the same position as the pixel is stored as a character area pixel.
【0067】図7は、図4中の水平ライン上輝度極大値
領域検出部14、高輝度文字領域抽出部15の処理の実
施形態を説明するためのフローチャーチである。なお、
図5中の垂直ライン上輝度極大値領域検出部22、高輝
度文字領域抽出部23の処理も同様に行われる。ただ
し、水平は垂直と、左は上と、右は下と読み替える。 FIG. 7 is a flow chart for explaining an embodiment of the processing of the horizontal maximum brightness area detection unit 14 and the high brightness character area extraction unit 15 in FIG. In addition,
The vertical maximum brightness area detection unit 22 in FIG.
The processing of the degree character area extracting unit 23 is performed in the same manner. However
However, read horizontal as vertical, left as upper, and right as lower.
【0068】図7において、ステップ(30)は輝度画
像をメモリに読み込む過程である。In FIG. 7, step (30) is a process of reading the luminance image into the memory.
【0069】ステップ(31)は、輝度類似文字領域抽
出処理の未処理の水平ラインが存在するかどうかを判断
する過程であり、未処理の水平ラインが存在すれば、ス
テップ(32)へ移り、未処理の水平ラインが存在しな
ければ、処理を終了する。Step (31) is a process of determining whether or not there is an unprocessed horizontal line in the luminance similar character area extraction process. If there is an unprocessed horizontal line, the process proceeds to step (32), If there is no unprocessed horizontal line, the process ends.
【0070】ステップ(32)は、ステップ(31)で
得られた画像中の各水平ライン上毎に輝度分布を調べ、
極大値をもつ画素を全て求める過程である。In step (32), the luminance distribution is checked for each horizontal line in the image obtained in step (31),
This is a process of obtaining all pixels having a maximum value.
【0071】ステップ(33)は、ステップ(32)で
得られた極大値画素のうち、高輝度文字領域抽出処理の
未処理の極大値画素が存在するかどうかを判断する過程
であり、未処理の極大値画素が存在すれば、ステップ
(34)へ移り、未処理の極大値画素が存在しなけれ
ば、ステップ(31)へ移る。The step (33) is a step of judging whether or not there is an unprocessed local maximum pixel of the high-luminance character region extracting process among the local maximum pixels obtained in the step (32). If there is a local maximum value pixel of, the process proceeds to step (34), and if there is no unprocessed local maximum value pixel, the process proceeds to step (31).
【0072】ステップ(34)は、ステップ(33)で
得られた極大値画素を開始点とし、左方向、および右方
向に水平ライン上を一画素づつ走査し、極大値よりも左
側、右側でそれぞれ極大値より予め設定した閾値だけ輝
度値が低い最初の画素を検出し、検出された2つの画素
と該水平ライン上でそれら2つの画素の間に存在する画
素を連結画素領域として抽出する過程である。In step (34), the maximum value pixel obtained in step (33) is used as a starting point, and one pixel is scanned on the horizontal line in the leftward and rightward directions. A process of detecting a first pixel having a brightness value lower than a maximum value by a preset threshold value and extracting the detected two pixels and a pixel existing between the two pixels on the horizontal line as a connected pixel region. Is.
【0073】ステップ(35)は、ステップ(34)で
得られた連結画素領域の左右の端部の一定範囲の複数の
画素において、輝度勾配値の絶対値を求める過程であ
る。Step (35) is a process of obtaining the absolute value of the brightness gradient value in a plurality of pixels in a certain range at the left and right ends of the connected pixel area obtained in step (34).
【0074】ステップ(34)で得られたある水平ライ
ン上の連結画素領域の左右の端点の水平方向の座標値を
それぞれx,yとする(0<x<y、座標値はラインの
最左端を0とし、以降、右側に1画素ずれる度に1だけ
増加するものとする)。xとyにおける一定範囲とは、
それぞれx−r,x−r+1,…,x,…,x+r−
1,x+r、およびy−r,y−r+1,…,y,…,
y+r−1,y+rである。なお、rは、予め設定され
る値である。The horizontal coordinate values of the left and right end points of the connected pixel area on a certain horizontal line obtained in step (34) are respectively defined as x and y (0 <x <y, the coordinate value is the leftmost end of the line). Is set to 0, and thereafter, is incremented by 1 every time one pixel is shifted to the right). The constant range in x and y is
X-r, x-r + 1, ..., X, ..., X + r-
1, x + r, and y-r, y-r + 1, ..., Y, ...,
y + r-1, y + r. Note that r is a preset value.
【0075】上記両端の一定範囲中の画素の輝度値をL
(x−r),L(x−r+1),…,L(x),…,L
(x+r−1),L(x+r)、およびR(x−r),
R(x−r+1),…,R(x),…,R(x+r−
1),R(x+r)とすると、両端部の一定範囲中の各
座標における輝度勾配値の絶対値はそれぞれ左端に関し
ては、abs{L(x−r)−L(x−r−1)},
…,abs{L(x)−L(x−1)},…,abs
{L(x+r)−L(x+r−1)}、右端に関して
は、abs{R(x−r)−R(x−r+1)},…,
abs{R(x)−R(x+1)},…,abs{R
(x+r)−R(x+r+1)}である。ただし、左端
の各画素に関しては、1個だけ左隣の画素との輝度差分
の絶対値、右端の各画素に関しては、1個だけ右隣の画
素との輝度差分の絶対値を算出し、その値を各画素にお
ける輝度勾配値の絶対値とする。The luminance values of the pixels in the fixed range on both ends are set to L
(X-r), L (x-r + 1), ..., L (x), ..., L
(X + r-1), L (x + r), and R (x-r),
R (x-r + 1), ..., R (x), ..., R (x + r-
1) and R (x + r), the absolute value of the brightness gradient value at each coordinate in the fixed range at both ends is abs {L (x−r) −L (x−r−1)} for the left end. ,
..., abs {L (x) -L (x-1)}, ..., abs
{L (x + r) -L (x + r-1)}, for the right end, abs {R (x-r) -R (x-r + 1)}, ...,
abs {R (x) -R (x + 1)}, ..., abs {R
(X + r) -R (x + r + 1)}. However, for each pixel on the left end, only one absolute value of the brightness difference with the pixel on the left is calculated, and for each pixel on the right end, the absolute value of the brightness difference with the pixel on the right is calculated. The value is the absolute value of the brightness gradient value in each pixel.
【0076】ステップ(36)は、ステップ(35)で
得られた輝度勾配値の絶対値のうち左右それぞれで最大
値を求め、両方とも予め設定した値よりも大きければス
テップ(37)に移り、どちらか一方でも予め設定した
値より小さければステップ(33)に移る。In step (36), the maximum value is obtained for each of the left and right of the absolute values of the brightness gradient values obtained in step (35). If both are larger than the preset value, the process proceeds to step (37). If either one is smaller than the preset value, the process proceeds to step (33).
【0077】ステップ(35)で得られた画素連結領域
の左端の一定範囲の画素の輝度勾配値の絶対値の最大値
とはmax[abs{L(x−r)−L(x−r−
1)},…,abs{L(x)−L(x−1)},…,
abs{L(x+r)−L(x+r−1)}]であり、
右端の一定範囲の画素の輝度勾配値の絶対値の最大値と
は、max[abs{R(x−r)−R(x−r+
1)},…,abs{R(x)−R(x+1)},…,
abs{R(x+r)−R(x+r+1)}]である。The maximum absolute value of the brightness gradient values of the pixels in the fixed range at the left end of the pixel connection area obtained in step (35) is max [abs {L (x-r) -L (x-r-
1)}, ..., abs {L (x) -L (x-1)}, ...,
abs {L (x + r) -L (x + r-1)}],
The maximum absolute value of the brightness gradient values of the pixels in the certain range on the right end is max [abs {R (x-r) -R (x-r +
1)}, ..., Abs {R (x) -R (x + 1)}, ...,
abs {R (x + r) -R (x + r + 1)}].
【0078】一般に文字表示画面における文字の輝度と
文字に接している背景の輝度の値には大きな差があり、
両者の境界部には急激な輝度勾配が存在する。一方、画
面に表示されている文字以外の一般物体の境界部には必
ずしも急激な輝度勾配が存在するとは限らない。このた
めステップ(35)で得られた連結画素領域の左右両端
の輝度勾配値の絶対値が両方とも予め設定した値より大
きい場合、該連結画素領域を文字領域とし、どちらか一
方でも予め設定した値より小さい場合、背景ノイズ領域
として除去することで、従来よりも効果的に背景ノイズ
領域の抽出を抑え、高精度に文字領域を抽出することが
可能となる。Generally, there is a large difference between the brightness of a character on the character display screen and the brightness of the background in contact with the character.
There is a sharp brightness gradient at the boundary between the two. On the other hand, a sharp brightness gradient does not always exist at the boundary of general objects other than the characters displayed on the screen. Therefore, when the absolute values of the brightness gradient values at both the left and right ends of the connected pixel area obtained in step (35) are both larger than a preset value, the connected pixel area is set as a character area, and either one of them is also set in advance. When the value is smaller than the value, the background noise area is removed, so that the extraction of the background noise area can be suppressed more effectively than before, and the character area can be extracted with high accuracy.
【0079】ステップ(37)は、ステップ(36)で
得られた輝度勾配値の絶対値が予め設定した値より大き
い両端の画素を含み、該画素の間に存在する画素を高輝
度文字領域として確定し、ステップ(33)に戻る過程
である。The step (37) includes pixels at both ends of which the absolute value of the brightness gradient value obtained in the step (36) is larger than a preset value, and the pixels existing between the pixels are defined as the high brightness character area. This is the process of confirming and returning to step (33).
【0080】図8は、図4中の水平ライン上輝度極小値
領域検出部16、低輝度文字領域抽出部17の処理の実
施形態を説明するためのフローチャーチである。なお、
図5中の垂直ライン上輝度極小値領域検出部24、低輝
度文字領域抽出部25の処理も同様に行われる。ただ
し、水平は垂直と、左は上と、右は下と読み替える。 FIG. 8 is a flow chart for explaining an embodiment of the processing of the horizontal minimum brightness value area detection unit 16 and the low brightness character area extraction unit 17 in FIG. In addition,
The vertical minimum luminance value area detection unit 24 in FIG.
The processing of the degree character area extracting unit 25 is performed in the same manner. However
However, read horizontal as vertical, left as upper, and right as lower.
【0081】図8において、ステップ(40)は輝度画
像をメモリに読み込む過程である。In FIG. 8, step (40) is a process of reading the luminance image into the memory.
【0082】ステップ(41)は、輝度類似文字領域抽
出処理の未処理の水平ラインが存在するかどうかを判断
する過程であり、未処理の水平ラインが存在すれば、ス
テップ(42)へ移り、未処理の水平ラインが存在しな
ければ、処理を終了する。Step (41) is a process of determining whether or not there is an unprocessed horizontal line in the luminance similar character area extraction process. If there is an unprocessed horizontal line, the process proceeds to step (42). If there is no unprocessed horizontal line, the process ends.
【0083】ステップ(42)は、ステップ(41)で
得られた画像中の各水平ライン上毎に輝度分布を調べ、
極小値をもつ画素を全て求める過程である。The step (42) examines the luminance distribution on each horizontal line in the image obtained in the step (41),
This is a process of obtaining all pixels having a minimum value.
【0084】ステップ(43)は、ステップ(42)で
得られた極小値画素のうち、低輝度文字領域抽出処理の
未処理の極小値画素が存在するかどうかを判断する過程
であり、未処理の極小値画素が存在すれば、ステップ
(44)へ移り、未処理の極小値画素が存在しなけれ
ば、ステップ(41)へ移る。Step (43) is a process of determining whether or not there is an unprocessed minimum value pixel of the low-luminance character region extraction processing among the minimum value pixels obtained in step (42). If there is a local minimum value pixel, the process proceeds to step (44). If there is no unprocessed local minimum value pixel, the process proceeds to step (41).
【0085】ステップ(44)は、ステップ(43)で
得られた極小値画素を開始点とし、左方向、および右方
向に水平ライン上を一画素づつ走査し、極小値よりも左
側、右側でそれぞれ極小値より予め設定した閾値だけ輝
度値が高い最初の画素を検出し、検出された2つの画素
と該水平ライン上でそれら2つの画素の間に存在する画
素を連結画素領域として抽出する過程である。In step (44), the minimum value pixel obtained in step (43) is used as a starting point, and the horizontal line is scanned one pixel at a time in the leftward and rightward directions. also left <br/> side, detects the luminance value is higher the first pixel by the threshold value set in advance from the minimum value, respectively on the right side, between the two pixels on the detected two pixels and the horizontal line This is a process of extracting existing pixels as a connected pixel area.
【0086】ステップ(45)は、ステップ(44)で
得られた連結画素領域の左右の端部の一定範囲の複数の
画素において、輝度勾配値の絶対値を求める過程であ
る。Step (45) is a process of obtaining the absolute value of the brightness gradient value in a plurality of pixels in a certain range at the left and right ends of the connected pixel area obtained in step (44).
【0087】ステップ(46)は、ステップ(45)で
得られた輝度勾配値の絶対値のうち左右それぞれで最大
値を求め、両方とも予め設定した値よりも大きければス
テップ(47)に移り、どちらか一方でも予め設定した
値より小さければステップ(43)に移る。In step (46), the maximum value is obtained for each of the left and right of the absolute values of the brightness gradient values obtained in step (45). If both are larger than the preset value, the process proceeds to step (47). If either one is smaller than the preset value, the process proceeds to step (43).
【0088】ステップ(47)は、ステップ(46)で
得られた輝度勾配値の絶対値が予め設定した値より大き
い両端の画素を含み、該画素の間に存在する画素を低輝
度文字領域として確定し、ステップ(43)に戻る過程
である。The step (47) includes pixels at both ends of which the absolute value of the brightness gradient value obtained in the step (46) is larger than a preset value, and the pixels existing between the pixels are defined as the low brightness character area. This is the process of confirming and returning to step (43).
【0089】図9は、図6中の文字連結成分判断部32
の処理の実施形態を説明するためのフローチャートであ
る。FIG. 9 is a block diagram of the character connected component judging unit 32 shown in FIG.
5 is a flowchart for explaining an embodiment of the processing of FIG.
【0090】図9において、ステップ(50)はAND
画像とOR画像をメモリに読み込む過程である。In FIG. 9, the step (50) is AND
This is the process of reading the image and the OR image into the memory.
【0091】ステップ(51)は、AND画像とOR画
像の位置を合わせる過程である。Step (51) is a process of aligning the positions of the AND image and the OR image.
【0092】ステップ(52)は、AND画像中の連結
成分番号用の変数nを1に初期化する過程である。Step (52) is a process of initializing the variable n for the connected component number in the AND image to 1.
【0093】ステップ(53)は、変数nとAND画像
中の連結成分の総数Nを比較し、nの値がN以下の場合
はステップ(54)に移り、nの値がNより大きい場合
は処理を終了する過程である。In step (53), the variable n is compared with the total number N of connected components in the AND image. If the value of n is N or less, the process proceeds to step (54). If the value of n is larger than N, This is the process of ending the process.
【0094】ステップ(54)は、AND画像中のn番
目の連結成分と重なるOR画像中の連結成分画素の数Q
or(n)、及びAND画像中のn番目の連結成分中の該
重なりを持つ画素の数Qitand(n)を計算する過程で
ある。In step (54), the number Q of connected component pixels in the OR image which overlaps with the nth connected component in the AND image.
This is a process of calculating or (n) and the number of pixels Q itand (n) having the overlap in the n-th connected component in the AND image.
【0095】ステップ(55)は、Qand(n)とAN
D画像中のn番目の連結成分の面積値Pand(n)に予
め設定した値th1をかけた値(Pand(n)×th
1)を比較し、且つQor(n)とOR画像中の該重なり
画素を含む連結成分の面積値Por(n)に予め設定した
値th2をかけた値(Por(n)×th2)を比較し、
Qand(n)がPand(n)×th1以上で、且つQ
or(n)がPor(n)×th2以上の場合、ステップ
(56)に移り、そうでなければステップ(57)へ移
る過程である。Step (55) consists of Q and (n) and AN.
A value (P and (n) × th) obtained by multiplying the area value P and (n) of the n-th connected component in the D image by a preset value th1.
1) and comparing Q or (n) with the area value P or (n) of the connected component including the overlapping pixel in the OR image multiplied by a preset value th2 (P or (n) × th2 ),
Q and (n) is P and (n) × th1 or more, and Q
If or (n) is P or (n) × th2 or more, the process proceeds to step (56), and if not, the process proceeds to step (57).
【0096】ステップ(56)は、AND画像中のn番
目の連結成分を文字領域として判断する過程である。一
般に映像中の文字は、AND画像、OR画像、両方とも
にほぼ等しい面積値を持つ領域となり、一方、文字以外
の一般物体は、必ずしもAND画像、OR画像、両方と
もにほぼ等しい面積を持つ領域として得られるとは限ら
ないため、ステップ(55)におけるステップ(56)
に移るための条件を満たすことで、文字以外の一般物体
の領域を効果的に除去し、文字領域を高精度に抽出する
ことが可能となる。Step (56) is a process of determining the nth connected component in the AND image as a character area. In general, a character in a video is an area in which both the AND image and the OR image have almost the same area value, whereas a general object other than the character is necessarily obtained as a region in which the AND image and the OR image both have substantially the same area. Step (56) in step (55) because it is not always
By satisfying the condition for moving to, it becomes possible to effectively remove the area of the general object other than the character and extract the character area with high accuracy.
【0097】ステップ(57)は、変数nを1だけイン
クリメントし、ステップ(53)に戻る過程である。Step (57) is a process of incrementing the variable n by 1 and returning to step (53).
【0098】図10は、本発明によって決まるライン上
の文字領域範囲を説明する図である。本発明では、ライ
ン上の輝度分布から局所的に値の際だった範囲を、予め
決めた輝度値の閾値を用いて求めた後で、さらに求めた
範囲の両端部における輝度勾配値の最大となる画素を真
の文字の端部とすることで、文字色劣化部も安定的に文
字領域に含めて抽出することができる。これにより、文
字輪郭形状を原画同様滑らかにし、また従来手法で発生
していたストロークの途切れを無くすことを可能とな
る。FIG. 10 is a diagram for explaining a character area range on a line determined by the present invention. In the present invention, a range that locally stands out from the brightness distribution on the line is obtained by using a predetermined brightness value threshold value, and then the maximum of the brightness gradient values at both ends of the obtained range is determined. By setting the pixel to be the end of the true character, the character color deterioration portion can be stably included in the character area and extracted. This makes it possible to make the contour shape of the character smooth as in the original image, and to eliminate the stroke discontinuity generated in the conventional method.
【0099】図11は、本発明による二値化結果の一例
を示す図である。また、図12は、その詳細を説明する
図である。従来手法では、図16に示したように、各方
向別のライン単位では、参照する方向でしか文字と背景
の境界検出は保証できないため、最終的に文字領域の抽
出に失敗する問題があった。本発明では、各方向別のラ
イン単位の二値化を行った後、原画中のエッジ画素を連
結成分から取り除くため、各方向別の二値化後は、文字
と背景の境界部は全て検出し、文字部を背景と完全に分
離した連結成分として抽出することを可能となる。これ
により、最終的に各方向別のライン単位の二値化結果を
重ね合わせ、比較し、統合した最終的な結果においても
文字部は各結果が共通した位置、大きさ、形状をとるた
め、文字領域の抽出失敗を抑制することが可能となる。FIG. 11 is a diagram showing an example of the binarization result according to the present invention. FIG. 12 is a diagram for explaining the details. In the conventional method, as shown in FIG. 16, in the line unit for each direction, the boundary detection between the character and the background can be guaranteed only in the reference direction, so that there is a problem that the extraction of the character region finally fails. . In the present invention, after binarizing line by line in each direction, edge pixels in the original image are removed from the connected component, so that after the binarization in each direction, all boundary parts between the character and the background are detected. However, the character part can be extracted as a connected component completely separated from the background. As a result, the binarized results for each line in each direction are finally overlapped, compared, and even in the final integrated result, the character part has the same position, size, and shape in each result, It is possible to suppress the failure to extract the character area.
【0100】なお、図1〜図6で示した手段の一部もし
くは全部を、コンピュータを用いて機能させることがで
きること、あるいは、図1〜図9で示した処理の段階
(ステップ)をコンピュータで実行させることができる
ことは言うまでもなく、コンピュータをその手段として
機能させるためのプログラム、あるいは、コンピュータ
でその処理の段階を実行するためのプログラムを、その
コンピュータが読み取り可能な記録媒体、例えば、FD
(フロッピーディスク)や、MO、ROM、メモリカー
ド、CD、DVD、リムーバブルディスクなどに記録し
て提供し、配布することが可能である。It should be noted that a part or all of the means shown in FIGS. 1 to 6 can be made to function by using a computer, or the steps of the processing shown in FIGS. Needless to say, it is possible to execute a program for causing a computer to function as the means or a program for executing the processing steps of the computer by a computer-readable recording medium such as an FD.
(Floppy disk), MO, ROM, memory card, CD, DVD, removable disk, etc. can be recorded, provided, and distributed.
【0101】[0101]
【発明の効果】以上の説明のとおり、本発明によれば、
画像中のライン単位での二値化の際、ライン上の輝度分
布の局所的に値が際だっている部分の両端において最も
輝度勾配の大きい画素を求め、これを文字範囲の端部と
することで、横ストロークの端部の劣化部も含めた文字
領域を安定的に抽出する効果が得られる。また、方向毎
のライン単位の二値化後、エッジ部を取り除くため、文
字と背景の分離を確実に行うことができ、文字領域抽出
失敗を抑制する効果も得られる。As described above, according to the present invention,
When binarizing line by line in an image, find the pixel with the largest brightness gradient at both ends of the part where the brightness distribution on the line has locally distinct values, and use this as the end of the character range. Thus, it is possible to obtain the effect of stably extracting the character region including the deteriorated portion at the end of the horizontal stroke. In addition, since the edge portion is removed after binarizing line by line for each direction, the character and the background can be reliably separated, and an effect of suppressing a failure in extracting the character region can be obtained.
【図1】本発明の一実施形態例による文字領域抽出装置
の構成とともに処理の流れを示すブロック図である。FIG. 1 is a block diagram showing a configuration of a character area extracting device according to an embodiment of the present invention and a processing flow.
【図2】上記実施形態例における図1中のカラー画像入
力記憶部の構成の一例とともに処理の流れの一例を示す
ブロック図である。FIG. 2 is a block diagram showing an example of a configuration of a color image input storage section in FIG. 1 and an example of a processing flow in the embodiment.
【図3】上記実施形態例における図2中の輝度値類似領
域形成部の構成の一例とともに処理の流れの一例を示す
ブロック図である。FIG. 3 is a block diagram showing an example of a configuration of a brightness value similar region forming unit in FIG. 2 and an example of a processing flow in the embodiment.
【図4】図3中の上記輝度値類似領域形成部中の水平ラ
イン単位二値化部の構成の一例とともに処理の流れの一
例を示すブロック図である。FIG. 4 is a block diagram showing an example of a configuration of a horizontal line unit binarizing unit in the luminance value similar region forming unit in FIG. 3 and an example of a processing flow.
【図5】図3中の上記輝度値類似領域形成部中の垂直ラ
イン単位二値化部の構成の一例とともに処理の流れの一
例を示すブロック図である。5 is a block diagram showing an example of a configuration of a vertical line unit binarizing unit in the luminance value similar region forming unit in FIG. 3 and an example of a processing flow.
【図6】図3中の上記輝度値類似領域形成部の二値化結
果統合部の構成の一例とともに処理の流れの一例を示す
ブロック図である。FIG. 6 is a block diagram showing an example of a configuration of a binarization result integrating section of the luminance value similar area forming section in FIG. 3 and an example of a processing flow.
【図7】図4中の上記水平ライン単位二値化部中の水平
ライン上輝度極大値領域検出部と高輝度文字領域抽出部
の処理内容の一例を示すフローチャートである。FIG. 7 is a flowchart showing an example of processing contents of a horizontal maximum brightness value area detection unit and a high brightness character area extraction unit in the horizontal line unit binarization unit in FIG.
【図8】図4中の上記水平ライン単位二値化部中の水平
ライン上輝度極小値領域検出部と低輝度文字領域抽出部
の処理内容の一例を示すフローチャートである。8 is a flowchart showing an example of processing contents of a horizontal minimum brightness value area detection unit and a low brightness character area extraction unit in the horizontal line unit binarization unit in FIG.
【図9】図6中の上記二値化結果統合部中の文字連結成
分判断部の処理内容の一例を示すフローチャートであ
る。9 is a flowchart showing an example of processing contents of a character connected component determination unit in the binarization result integration unit in FIG.
【図10】本発明によって決まるライン上の文字領域範
囲の一例を示す図である。FIG. 10 is a diagram showing an example of a character area range on a line determined according to the present invention.
【図11】本発明による二値化結果の一例を示す図であ
る。FIG. 11 is a diagram showing an example of a binarization result according to the present invention.
【図12】図11の二値化結果の一例の詳細を説明する
図である。FIG. 12 is a diagram illustrating details of an example of the binarization result of FIG. 11.
【図13】NTSC形式の映像中の文字の色劣化の一例
を示す図である。FIG. 13 is a diagram showing an example of color deterioration of characters in an NTSC format video.
【図14】(a),(b)は、従来手法による二値化結
果の一例その1である。14A and 14B are an example 1 of the binarization result by the conventional method.
【図15】(a),(b)は、従来手法による二値化結
果の一例その2である。15 (a) and 15 (b) are an example 2 of the binarization result by the conventional method.
【図16】従来手法による二値化結果の一例その3であ
る。FIG. 16 is an example 3 of the binarization result by the conventional method.
1…カラー画像入力記憶部 2…輝度類似領域形成部 3…彩度値類似領域形成部 4…色相値類似領域形成部 5…文字領域画像蓄積部 6…処理制御部 7…カラー画像入力記憶部 8…複数フレーム平均化部 9…処理制御部 10…水平ライン単位二値化部 11…垂直ライン単位二値化部 12…二値化結果統合部 13…処理制御部 14…水平ライン上輝度極大領域検出部 15…高輝度文字領域抽出部 16…水平ライン上輝度極小領域検出部 17…低輝度文字領域抽出部 18…水平ライン別二値化結果統合部 19…処理制御部 20…エッジ検出部 21…エッジ部除去部 22…垂直ライン上輝度極大領域検出部 23…高輝度文字領域抽出部 24…垂直ライン上輝度極小領域検出部 25…低輝度文字領域抽出部 26…垂直ライン別二値化結果統合部 27…処理制御部 28…エッジ検出部 29…エッジ部除去部 1 ... Color image input storage unit 2 ... Luminance similar region forming unit 3 ... Saturation value similar region forming unit 4 ... Hue value similar region forming unit 5: Character area image storage unit 6 ... Processing control unit 7 ... Color image input storage unit 8 ... Multiple frame averaging unit 9 ... Processing control unit 10 ... Horizontal line unit binarization unit 11 ... Vertical line unit binarization unit 12 ... Binarization result integration unit 13 ... Processing control unit 14 ... Horizontal brightness maximum area detection unit 15 ... High-intensity character area extraction unit 16 ... Brightness minimum area detection unit on horizontal line 17 ... Low-intensity character area extraction unit 18 ... Binarization result integration unit for each horizontal line 19 ... Processing control unit 20 ... Edge detection unit 21 ... Edge removal section 22 ... Maximum brightness detection area on vertical line 23 ... High-intensity character area extraction unit 24 ... Minimum luminance area detection unit on vertical line 25 ... Low-intensity character area extraction unit 26 ... Binary result integration unit for each vertical line 27 ... Processing control unit 28 ... Edge detection unit 29 ... Edge removal section
───────────────────────────────────────────────────── フロントページの続き (72)発明者 杉村 利明 東京都新宿区西新宿3丁目19番2号 日 本電信電話株式会社内 (56)参考文献 特開 平4−74283(JP,A) 松尾堅一,梅田三千雄,濃淡及び色情 報による情景画像からの文字列抽出,電 子情報通信学会技術研究報告,日本,社 団法人電子情報通信学会,1993年12月22 日,Vol.92,No.434(PRU92 −121),P.25−32 (58)調査した分野(Int.Cl.7,DB名) G06T 7/00 - 7/60 300 Z H04N 5/278 H04N 9/74 JICSTファイル(JOIS)─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Toshiaki Sugimura 3-19-2 Nishishinjuku, Shinjuku-ku, Tokyo Nihon Telegraph and Telephone Corporation (56) Reference JP 4-74283 (JP, A) Matsuo Kenichi, Michio Umeda, Extraction of Character Strings from Scene Image by Shading and Color Information, IEICE Technical Report, Japan, The Institute of Electronics, Information and Communication Engineers, December 22, 1993, Vol. 92, No. 434 (PRU92-121), P.P. 25-32 (58) Fields investigated (Int.Cl. 7 , DB name) G06T 7/ 00-7/60 300 Z H04N 5/278 H04N 9/74 JISST file (JOIS)
Claims (11)
して記憶する第1の段階と、 該第1の段階により入力されたカラー画像の中で輝度値
が類似し、画像空間内で隣接する複数の画素同士を第1
の連結領域として形成する第2の段階と、 該第2の段階により得られた輝度値が類似する第1の連
結領域画像に対し、各領域内で、彩度値が類似し、画像
空間内で隣接する複数の画素同士を第2の連結領域とし
て形成する第3の段階と、 該第3の段階により得られた輝度値、彩度値共に類似す
る第2の連結領域画像に対し、各領域内で、色相値が類
似し、画素空間内で隣接する複数の画素を第3の連結領
域として形成する第4の段階と、 該第4の段階により得られた第3の連結領域画素だけを
画像中に残し、文字領域画像として蓄積する第5の段階
と、を有する文字領域抽出方法において、 文字が表示されているカラー画像を入力して記憶する第
1の段階を、 テレビ放送映像などのカラー動画像の中で、同一のテロ
ップ文字等の文字が表示されている時間的に連続する複
数のカラー画像を入力して記憶するか、あるいは、文字
が表示されている一枚の静止カラー画像を入力して記憶
する第1−1の段階と、 該同一の文字が表示されている複数のカラー画像が入力
された場合、該複数のカラー画像間で位置の対応する画
素同士の画素値の平均値を各画素の値として持つ平均値
カラー画像を入力されたカラー画像として作成し出力す
る第1−2の段階とを、 用いて実現し、 カラー画像中の輝度値が類似し、画像空間内で隣接する
複数の画素同士を第1の連結領域として形成する第2の
段階を、 該カラー画像中の各水平ライン内で輝度の二値化を行
い、結果を二値画像として得る第2−1の段階と、 該カラー画像中の各垂直ライン内で輝度の二値化を行
い、結果を二値画像として得る第2−2の段階と、 該第2−1の段階と該第2−2の段階により得られた2
枚の二値画像中の連結成分同士を比較し、面積、形状、
位置の違いが予め設定した許容範囲内である連結成分同
士を文字領域と判断し、該二値画像に残し、面積、形
状、位置の違いが予め設定した許容範囲を越えている連
結成分同士は背景ノイズ部と判断し該二値画像から除去
する第2−3の段階とを、 用いて実現することを特徴とする文字領域抽出方法。1. A color image in which characters are displayed is input.
And the luminance value in the color image input by the first step
Of pixels that are similar to each other and are adjacent to each other in the image space.
And a first series having similar brightness values obtained by the second step.
In each region, the saturation value is similar to the connected region image, and the image
A plurality of pixels that are adjacent to each other in space are used as a second connection region.
And the luminance value and the saturation value obtained by the third step are similar to each other.
The hue value is similar in each region for the second connected region image.
Similarly, a plurality of adjacent pixels in the pixel space are connected to each other by a third connecting region.
Only the fourth step of forming a region and the third connected region pixel obtained by the fourth step
Fifth stage of leaving in the image and accumulating as a character area image
In the character area extraction method having, a color image in which characters are displayed is input and stored.
The first step is the same terrorism in color moving images such as TV broadcast images.
Characters such as a pop character are displayed consecutively in time.
Enter and store a number of color images or text
Input and memorize a single still color image where is displayed.
Steps 1-1 and multiple color images displaying the same characters are input
, The image corresponding to the position among the plurality of color images is displayed.
Average value that has the average value of the pixel values of the prime as the value of each pixel
Create a color image as an input color image and output it.
And a 1-2 step of that, realized by using, similar in luminance value of the color image, a second step of forming a plurality of adjacent pixels in the image space as a first coupling region, The luminance is binarized in each horizontal line in the color image, and the result is obtained as a binary image in step 2-1 and the luminance is binarized in each vertical line in the color image. , 2-2 stage for obtaining the result as a binary image, 2 obtained by the 2-1 stage and the 2-2 stage
Compare connected components in two binary images,
Connected components whose position difference is within a preset allowable range are determined to be character regions, and are left in the binary image, and connected components whose area, shape, position difference exceed the preset allowable range are And a second step of judging the background noise portion to be removed from the binary image, and implementing the same.
て、 カラー画像中の各水平ライン内で輝度の二値化を行い、
結果を二値画像として得る第2−1の段階を、 該カラー画像中のある水平ライン内の輝度値分布におい
て、輝度の極大値を持つ画素を全て求め、求めた各極大
値画素を開始点とし、該水平ライン上を一画素ずつ左右
に操作し、開始点の極大値画素の左右両側でそれぞれ開
始点の輝度値よりも予め設定した閾値だけ輝度値が低い
最初の画素を検出し、検出された左右二つの画素と該水
平ライン上でそれら二つの画素の間に存在する複数の画
素を連結画素領域として抽出する第2−1−1の段階
と、 該第2−1−1の段階により得られた連結画素領域の左
右の両端画素付近に存在する予め決めた方法で選択した
複数の画素の中から水平方向の輝度勾配の絶対値が最大
となる画素を左右各々で求め、該画素を両端とする範囲
を高輝度文字領域として抽出する第2−1−2の段階
と、 該カラー画像中のある水平ライン内の輝度値分布におい
て、輝度の極小値を持つ画素を全て求め、求めた各極小
値画素を開始点とし、該水平ライン上を一画素ずつ左右
に操作し、開始点の極小値画素の左右両側でそれぞれ開
始点の輝度値よりも予め設定した閾値だけ輝度値が高い
最初の画素を検出し、検出された左右二つの画素と該水
平ライン上でそれら二つの画素の間に存在する複数の画
素を連結画素領域として抽出する第2−1−3の段階
と、 該第2−1−3の段階により得られた連結画素領域の左
右の両端画素付近に存在する予め決めた方法で選択した
複数の画素の中から水平方向の輝度勾配の絶対値が最大
となる画素を左右各々で求め、該画素を両端とする範囲
を低輝度文字領域として抽出する第2−1−4の段階
と、 該第2−1−2の段階で抽出された各水平ライン上の高
輝度文字領域を集めて、画像全体としての高輝度文字領
域画像を作成し、また、第2−1−4の段階で抽出され
た各水平ライン上の低輝度文字領域を集めて、画像全体
としての低高輝度文字領域画像を作成する第2−1−5
の段階と、 該カラー画像中のエッジ部の画素を検出する第2−1−
6の段階と、 該第2−1−5の段階で得られた高輝度文字領域画像、
および低輝度文字領域画像中の文字連結成分を構成する
複数の画素から該第2−1−6の段階で得られたカラー
画像中の垂直方向のエッジ部に相当する画素を除去する
第2−1−7の段階とを、 用いて実現することを特徴とする文字領域抽出方法。2. The character region extracting method according to claim 1 , wherein the luminance is binarized in each horizontal line in the color image,
A 2-1 step of obtaining the result as binary image, luminance-value-distribution smell of horizontal in line with in the color image
And find all the pixels that have the maximum value of luminance, and find each maximum
Left and right pixel by pixel on the horizontal line starting from the value pixel
To open both the left and right sides of the maximum pixel at the start point.
The brightness value is lower than the brightness value of the starting point by a preset threshold value
The first pixel is detected, and the detected two pixels on the left and right and the water
Multiple images that exist between these two pixels on a flat line
A step 2-1-1 of extracting the element as a connected pixel area and a selection method existing near the left and right end pixels of the connected pixel area obtained by the step 2-1-1 are selected by a predetermined method. A step 2-1-2 in which a pixel having a maximum absolute value of a horizontal luminance gradient is obtained from a plurality of pixels on each of the left and right sides, and a range having the pixels at both ends is extracted as a high-luminance character region; luminance-value-distribution smell in horizontal lines with in the color image
And find all pixels that have a minimum brightness value,
Left and right pixel by pixel on the horizontal line starting from the value pixel
To open the left and right sides of the minimum pixel at the start point.
The brightness value is higher than the brightness value at the start point by a preset threshold value
The first pixel is detected, and the detected two pixels on the left and right and the water
Multiple images that exist between these two pixels on a flat line
A first 2-1-3 step of extracting the element as a connected pixel regions, were selected in a predetermined manner to present in the vicinity of both ends pixels of the left and right connected pixel regions obtained by step said 2-1-3 A step 2-1-4 in which the pixel having the maximum absolute value of the horizontal luminance gradient is obtained from the plurality of pixels on each of the left and right sides, and the range having the pixels at both ends is extracted as the low-luminance character region; The high-intensity character area on each horizontal line extracted in the step 2-1-2 is collected to create a high-intensity character area image as the whole image, and in the step 2-1-4. Collecting the extracted low-intensity character areas on each horizontal line to create a low-intensity character area image for the entire image 2-1-5
And the step 2-1 for detecting the pixels at the edge portion in the color image.
6, the high-intensity character area image obtained in the 2-1-5th step,
And a second pixel for removing a pixel corresponding to a vertical edge portion in the color image obtained in the step 2-1-6 from a plurality of pixels forming the character connected component in the low-luminance character area image. 1-7, and a character area extraction method characterized by realizing.
て、 カラー画像中の各垂直ライン内で輝度の二値化を行い、
結果を二値画像として得る第2−2の段階を、 該カラー画像中のある垂直ライン内の輝度値分布におい
て、輝度の極大値を持つ画素を全て求め、求めた各極大
値画素を開始点とし、該垂直ライン上を一画素ずつ上下
に操作し、開始点の極大値画素の上下両側でそれぞれ開
始点の輝度値よりも予め設定した閾値だけ輝度値が低い
最初の画素を検出し、検出された上下二つの画素と該垂
直ライン上でそれら二つの画素の間に存在する複数の画
素を連結画素領域として抽出する第2−2−1の段階
と、 該第2−2−1の段階により得られた連結画素領域の左
右の両端画素付近に存在する予め決めた方法で選択した
複数の画素の中から垂直方向の輝度勾配の絶対値が最大
となる画素を左右各々で求め、該画素を両端とする範囲
を高輝度文字領域として抽出する第2−2−2の段階
と、 該カラー画像中のある垂直ライン内の輝度値分布におい
て、輝度の極小値を持つ画素を全て求め、求めた各極小
値画素を開始点とし、該垂直ライン上を一画素ずつ上下
に操作し、開始点の極小値画素の上下両側でそれぞれ開
始点の輝度値よりも予め設定した閾値だけ輝度値が高い
最初の画素を検出し、検出された上下二つの画素と該垂
直ライン上でそれら二つの画素の間に存在する複数の画
素を連結画素領域として抽出する第2−2−3の段階
と、 該第2−2−3の段階により得られた連結画素領域の左
右の両端画素付近に存在する予め決めた方法で選択した
複数の画素の中から垂直方向の輝度勾配の絶対値が最大
となる画素を左右各々で求め、該画素を両端とする範囲
を低輝度文字領域として抽出する第2−2−4の段階
と、 第2−2−2の段階で抽出された各垂直ライン上の高輝
度文字領域を集めて、画像全体としての高輝度文字領域
画像を作成し、また、第2−2−4の段階で抽出された
各垂直ライン上の低輝度文字領域を集めて、画像全体と
しての低高輝度文字領域画像を作成する第2−2−5の
段階と、 該カラー画像中のエッジ部の画素を検出する第2−2−
6の段階と、 該第2−2−6の段階で得られた高輝度文字領域画像、
および低輝度文字領域画像中の文字連結成分を構成する
複数の画素から該第2−2−6の段階で得られたカラー
画像中の垂直方向のエッジ部に相当する画素を除去する
第2−2−7の段階とを、 用いて実現することを特徴とする文字領域抽出方法。3. The character area extracting method according to claim 1 , wherein the luminance is binarized in each vertical line in the color image,
The 2-2 stage of obtaining a binary image results, the luminance value distribution odor vertical in line with in the color image
And find all the pixels that have the maximum value of luminance, and find each maximum
The value pixel as a starting point, lower the upper the vertical line pixel by pixel
To open both the upper and lower sides of the maximum pixel at the start point.
The brightness value is lower than the brightness value of the starting point by a preset threshold value
Detecting a first pixel, a plurality of picture that exists between those two pixels at the detected upper and lower two pixels and the vertical <br/> straight line on
The second step of extracting the element as the connected pixel area and the selection in the predetermined method existing near the left and right end pixels of the connected pixel area obtained in the second step A second 2-2-2 step in which a pixel having the maximum absolute value of the vertical luminance gradient is obtained from the plurality of pixels on each of the left and right sides, and a range having the pixels at both ends is extracted as a high-luminance character region; luminance-value-distribution smell of the vertical line with in the color image
And find all pixels that have a minimum brightness value,
The value pixel as a starting point, lower the upper the vertical line pixel by pixel
To open both the upper and lower sides of the minimum pixel at the start point.
The brightness value is higher than the brightness value at the start point by a preset threshold value
Detecting a first pixel, a plurality of picture that exists between those two pixels at the detected upper and lower two pixels and the vertical <br/> straight line on
A first 2-2-3 step of extracting the element as a connected pixel regions, were selected in a predetermined manner to present in the vicinity of both ends pixels of the left and right connected pixel regions obtained by step said 2-2-3 A step 2-2-4 in which a pixel having the maximum absolute value of the vertical luminance gradient is obtained from the plurality of pixels on each of the left and right sides, and a range having the pixels at both ends is extracted as a low-luminance character region; The high-intensity character area on each vertical line extracted in the step 2-2-2 is collected to create a high-intensity character area image as the entire image, and is also extracted in the step 2-2-4. The low brightness character areas on each vertical line are collected to create a low brightness character area image for the entire image, and the step 2-2-5, and the pixels of the edge portion in the color image are detected. 2-2-
6, the high-intensity character area image obtained in the 2-2-6 step,
And a second pixel for removing a pixel corresponding to an edge portion in the vertical direction in the color image obtained in the step 2-2-6 from the plurality of pixels forming the character connected component in the low-luminance character area image. 2-7, and a character area extraction method, which is characterized by:
て、hand, 第2−1の段階と第2−2の段階により得られた2枚のThe two sheets obtained by the steps 2-1 and 2-2
二値画像中の連結成分同士を比較し、面積、形状、位置Area, shape and position are compared by comparing the connected components in the binary image.
の違いが予め設定した許容範囲内である連結成分同士をDifference between connected components that are within the preset allowable range
文字領域と判断し、該二値画像に残し、面積、形状、位It is judged as a character area and left in the binary image, and the area, shape and position
置の違いが予め設定した許容範囲を越えている連結成分Connected component whose position difference exceeds the preset allowable range
同士は背景ノイズ部と判断し該二値画像から除去する第The two are judged to be background noise parts and are removed from the binary image.
2−3の段階を、2-3 steps, 該得られた2枚の二値画像を位置を揃えて重ね合わせ、The obtained two binary images are aligned and superposed,
対応する2つの画素が両方とも連結成分に属する場合、If the two corresponding pixels both belong to the connected component,
該対応画素を仮文字画素として記憶し、対応する2つのThe corresponding pixel is stored as a temporary character pixel, and the corresponding two
画素のうちどちらか一方でも連結成分に属さない場合、If either one of the pixels does not belong to the connected component,
該対応画素を非仮文字領域として記憶し、該仮文字画素The corresponding pixel is stored as a non-temporary character area, and the temporary character pixel is stored.
から構成される連結成分を含む画像をAND画像と定義An image containing a connected component composed of is defined as an AND image
して作成する第2−3−1の段階と、And the stage 2-3-1, which is created, 該得られた2枚の二値画像を位置を揃えて重ね合わせ、The obtained two binary images are aligned and superposed,
対応する2つの画素のうちどちらか一方でも連結成分にOne of the two corresponding pixels will be connected
属する場合、該対応画素を仮文字領域として記憶し、対If it belongs, the corresponding pixel is stored as a temporary character area and
応する2つの画素が両方とも連結成分に属さない場合、If the two corresponding pixels do not belong to the connected component,
該対応画素を非仮文字領域として記憶し、仮文字画素かThe corresponding pixel is stored as a non-temporary character area,
ら構成される連結成分を含む画像をOROR the images containing connected components 画像と定義してDefined as an image
作成する第2−3−2の段階と、The stage 2-3-2 to create, 該第2−3−1の段階により得られたAND画像と第2The AND image obtained by the step 2-3-1 and the second
−3−2の段階により得られたOR画像を位置を揃えてAlign the positions of the OR images obtained in step 3-2
重ね合わせ、該AND画像中の連結成分の中で、該ORAnd the OR among the connected components in the AND image.
画像中の連結成分との重なる画素の個数が予め設定したThe number of pixels that overlap with the connected component in the image is preset
閾値以上であり、且つ重なりをもつ該OR画像中の連結Concatenation in the OR image that is equal to or greater than the threshold value and has an overlap
成分の面積が予め設定した範囲内であれば、該AND画If the area of the component is within the preset range, the AND image
像中の連結成分を文字連結成分として判断して該ANDThe connected component in the image is judged as the character connected component and the AND
画像中に残し、それ以外の連結成分は背景ノイズ領域とLeave it in the image, and the other connected components are
して該AND画像から除去する第2−3−3の段階と、And a second step of removing from the AND image, 該第2−3−3の段階により得られた文字連結成分だけOnly the character connected component obtained by the step 2-3-3
が残留するAND画像中の画素を文字領域画素として記The remaining pixels in the AND image are described as character area pixels.
憶する第3−2−4の段階とを、Remember the 3-2-4 stage, 用いて実現することを特徴とする文字領域抽出方法。A character area extraction method characterized by being realized by using.
て、 第2−1の段階と第2−2の段階により得られた2枚の
二値画像中の連結成分同士を比較し、面積、形状、位置
の違いが予め設定した許容範囲内である連結成分同士を
文字領域と判断し、該二値画像に残し、面積、形状、位
置の違いが予め設定した許容範囲を越えている連結成分
同士は背景ノイズ部と判断し該二値画像から除去する第
2−3の段階を、 該得られた2枚の二値画像を位置を揃えて重ね合わせ、
対応する2つの画素が両方とも連結成分に属する場合、
該対応画素を仮文字画素として記憶し、対応する2つの
画素のうちどちらか一方でも連結成分に属さない場合、
該対応画素を非仮文字領域として記憶し、該仮文字画素
から構成される連結成分を含む画像をAND画像と定義
して作成する第2−3−1の段階と、 該得られた2枚の二値画像を位置を揃えて重ね合わせ、
対応する2つの画素のうちどちらか一方でも連結成分に
属する場合、該対応画素を仮文字領域として記憶し、対
応する2つの画素が両方とも連結成分に属さない場合、
該対応画素を非仮文字領域として記憶し、仮文字画素か
ら構成される連結成分を含む画像をOR画像と定義して
作成する第2−3−2の段階と、 該第2−3−1の段階により得られたAND画像と第2
−3−2の段階により得られたOR画像を位置を揃えて
重ね合わせ、該AND画像中の連結成分の中で、該OR
画像中の連結成分との重なる画素の個数が予め設定した
閾値以上であり、且つ重なりをもつ該OR画像中の連結
成分の面積が予め設定した範囲内であれば、該AND画
像中の連結成分を文字連結成分として判断して該AND
画像中に残し、それ以外の連結成分は背景ノイズ領域と
して該AND画像から除去する第2−3−3の段階と、 該第2−3−3の段階により得られた文字連結成分だけ
が残留するAND画像中で、該第2−1の段階で得られ
た水平ライン毎の二値化により得られた各ライン内の連
結画素のうち、連結画素数が予め設定した値より少ない
連結画素を文字領域とし、該画素と同じ位置に存在する
該AND画像中の画素を文字領域画素として記憶する第
3−2−4の段階とを、 用いて実現することを特徴とする文字領域抽出方法。5. The character region extraction method according to claim 1 , wherein the connected components in the two binary images obtained in the step 2-1 and the step 2-2 are compared to determine an area, Connected components in which the difference in shape and position is within the preset allowable range are judged to be character regions and are left in the binary image, and the difference in area, shape, and position exceeds the preset allowable range. The second to third steps of judging that they are background noise parts and removing them from the binary image, aligning the obtained two binary images with each other,
If the two corresponding pixels both belong to the connected component,
If the corresponding pixel is stored as a temporary character pixel and either one of the two corresponding pixels does not belong to the connected component,
A step 2-3-1 in which the corresponding pixel is stored as a non-temporary character region and an image including a connected component composed of the temporary character pixel is defined as an AND image; Align the two binary images of
When either one of the two corresponding pixels belongs to the connected component, the corresponding pixel is stored as a temporary character area, and when both of the two corresponding pixels do not belong to the connected component,
A step 2-3-2, in which the corresponding pixel is stored as a non-temporary character region, and an image including a connected component made up of temporary character pixels is defined as an OR image; AND image obtained by the step of
-3-2: The OR images obtained by the step of 3-2 are aligned and overlapped, and the OR image is extracted from the connected components in the AND image.
If the number of pixels overlapping the connected component in the image is equal to or greater than a preset threshold and the area of the connected component in the OR image having the overlap is within a preset range, the connected component in the AND image Is determined as a character connected component and the AND
Remaining in the image, the other connected components are removed as background noise regions from the AND image in the step 2-3-3, and only the character connected component obtained in the step 2-3-3 remains. In the AND image, among the connected pixels in each line obtained by binarization for each horizontal line obtained in the 2-1st step, the connected pixels whose number of connected pixels is less than a preset value are selected. And a step 3-2-4 in which a pixel in the AND image existing at the same position as the pixel is stored as a character area pixel, is used as a character area, and the character area extracting method is realized.
して記憶するカラー画像入力記憶手段と、 該カラー画像入力記憶手段により入力されたカラー画像
の中で輝度値が類似し、画像空間内で隣接する複数の画
素同士を連結領域として形成する輝度値類似領域形成手
段と、 該輝度値類似領域形成手段により得られた輝度値が類似
する連結領域画像に対し、各領域内で、彩度値が類似
し、画像空間内で隣接する複数の画素同士を連結領域と
して形成する彩度値類似領域形成手段と、 該彩度値類似領域形成手段により得られた輝度値、彩度
値共に類似する連結領域画像に対し、各領域内で、色相
値が類似し、画素空間内で隣接する複数の画素を連結領
域として形成する色相値類似領域形成手段と、 該色相値類似領域形成手段により得られた連結領域画素
だけを画像中に残し、文字領域画像として蓄積する文字
領域画像蓄積手段と、 該カラー画像入力記憶手段、該輝度値類似領域形成手
段、該彩度値類似領域形成手段および該色相値類似領域
形成手段の実行順序を制御する処理制御手段とを、具備
する文字領域抽出装置において、 文字が表示されているカラー画像を入力して記憶するカ
ラー画像入力記憶手段は、 テレビ放送映像などのカラー動画像の中で、同一のテロ
ップ文字等の文字が表示されている時間的に連続する複
数のカラー画像を入力して記憶するか、あるいは、文字
が表示されている一枚の静止カラー画像を入力して記憶
するカラー動画像/静止画像入力記憶手段と、 該同一の文字が表示されている複数のカラー画像が入力
された場合、該複数のカラー画像間で位置の対応する画
素同士の画素値の平均値を各画素の値として持つ平均値
カラー画像を作成して入力されたカラー画像として出力
する複数フレーム平均化手段と、 該カラー動画像/静止画像入力記憶手段と複数フレーム
平均化手段の実行順序を制御する処理制御手段とを、 具備し、 カラー画像中の輝度値が類似し、画像空間内で隣接する
複数の画素同士を連結領域として形成する輝度値類似領
域形成手段は、 該カラー画像中の各水平ライン内で輝度の二値化を行
い、結果を二値画像として得る水平ライン単位二値化手
段と、 該カラー画像中の各垂直ライン内で輝度の二値化を行
い、結果を二値画像として得る垂直ライン単位二値化手
段と、 該水平ライン単位二値化手段と該垂直ライン単位二値化
手段により得られた2枚の二値画像中の連結成分同士を
比較し、面積、形状、位置の違いが予め設定した許容範
囲内である連結成分同士を文字領域と判断し、該二値画
像に残し、面積、形状、位置の違いが予め設定した許容
範囲を越えている連結成分同士は背景ノイズ部と判断し
該二値画像から除去する二値化結果統合手段と、 該水平ライン単位二値化手段、該垂直ライン単位二値化
手段および該二値化結果統合手段の実行順序を制御する
処理制御手段とを、 具備することを特徴とする文字領域抽出装置。6. Inputting a color image in which characters are displayed
A color image input storage means for and storing the color image input by the color image input storing means
Of multiple images that have similar brightness values in the
Luminance value similar region forming hand that forms elements as connected regions
And the brightness value obtained by the brightness value similar region forming means are similar.
Saturation value is similar in each area to the connected area image
Then, a plurality of adjacent pixels in the image space are connected areas.
And a saturation value obtained by the saturation value similar region forming means.
For connected area images with similar values, the hue is
Connects multiple pixels that have similar values and are adjacent in pixel space.
Hue value similar region forming means to be formed as a region, and connected region pixels obtained by the hue value similar region forming means
Characters that are stored in the image as character area images
Area image storage means, the color image input storage means, the brightness value similar area forming means
Stage, the saturation value similar region forming means, and the hue value similar region
Processing control means for controlling the execution order of the forming means,
In the character area extraction device, the color image in which characters are displayed is input and stored.
The color image input and storage means can be used for the same terrorism in color moving images such as TV broadcast images.
Characters such as a pop character are displayed consecutively in time.
Enter and store a number of color images or text
Input and memorize a single still color image where is displayed.
Inputting a color moving image / still image input storage means and a plurality of color images in which the same characters are displayed
, The image corresponding to the position among the plurality of color images is displayed.
Average value that has the average value of the pixel values of the prime as the value of each pixel
Create color image and output as input color image
Multiple frame averaging means, color moving image / still image input storage means, and multiple frames
A brightness control unit for controlling the execution order of the averaging unit, which has similar brightness values in the color image and which forms a plurality of adjacent pixels in the image space as a connected region. Is a horizontal line unit binarizing means for binarizing the brightness in each horizontal line in the color image and obtaining the result as a binary image, and a binary value of the brightness in each vertical line in the color image. Vertical line unit binarizing means for performing binarization and obtaining the result as a binary image, and concatenation in the two binary images obtained by the horizontal line unit binarizing means and the vertical line unit binarizing means. The components are compared with each other, and the connected components whose differences in area, shape, and position are within the preset allowable range are determined to be character regions and left in the binary image, and the differences in area, shape, and position are preset. Connected components that exceed the allowable range do not A binarization result integrating unit that determines that the image is a blank portion and removes it from the binary image, the horizontal line unit binarizing unit, the vertical line unit binarizing unit, and the binarizing result integrating unit And a processing control means for controlling the character area extraction device.
て、 カラー画像中の各水平ライン内で輝度の二値化を行い、
結果を二値画像として得る水平ライン単位二値化手段
は、 該カラー画像中のある水平ライン内の輝度値分布におい
て、輝度の極大値を持 つ画素を全て求め、求めた各極大
値画素を開始点とし、該水平ライン上を一画素ずつ左右
に操作し、開始点の極大値画素の左右両側でそれぞれ開
始点の輝度値よりも予め設定した閾値だけ輝度値が低い
最初の画素を検出し、検出された左右二つの画素と該水
平ライン上でそれら二つの画素の間に存在する複数の画
素を連結画素領域として抽出する輝度極大領域検出手段
と、 該輝度極大領域検出手段により得られた連結画素領域の
左右の両端画素付近に存在する予め決めた方法で選択し
た複数の画素の中から水平方向の輝度勾配の絶対値が最
大となる画素を左右各々で求め、該画素を両端とする範
囲を高輝度文字領域として抽出する高輝度文字領域抽出
手段と、 該カラー画像中のある水平ライン内の輝度値分布におい
て、輝度の極小値を持つ画素を全て求め、求めた各極小
値画素を開始点とし、該水平ライン上を一画素ずつ左右
に操作し、開始点の極小値画素の左右両側でそれぞれ開
始点の輝度値よりも予め設定した閾値だけ輝度値が高い
最初の画素を検出し、検出された左右二つの画素と該水
平ライン上でそれら二つの画素の間に存在する複数の画
素を連結画素領域として抽出する輝度極小領域検出手段
と、 該輝度極小領域検出手段により得られた連結画素領域の
左右の両端画素付近に存在する予め決めた方法で選択し
た複数の画素の中から水平方向の輝度勾配の絶対値が最
大となる画素を左右各々で求め、該画素を両端とする範
囲を低輝度文字領域として抽出する低輝度文字領域抽出
手段と、 該高輝度文字領域抽出手段で抽出された各水平ライン上
の高輝度文字領域を集めて、画像全体としての高輝度文
字領域画像を作成し、また、該低輝度文字領域抽出手段
で抽出された各水平ライン上の低輝度文字領域を集め
て、画像全体としての低高輝度文字領域画像を作成する
水平ライン別二値化結果統合手段と、 該輝度極大領域検出手段、該高輝度文字領域抽出手段、
該輝度極小領域検出手段、該低輝度文字領域抽出手段お
よび該水平ライン別二値化結果統合手段の実行順序を制
御する処理制御手段と、 該カラー画像中のエッジ部の画素を検出するエッジ検出
手段と、 該水平ライン別二値化結果統合手段で得られた高輝度文
字領域画像、および低輝度文字領域画像中の文字連結成
分を構成する複数の画素から該エッジ検出手段で得られ
たカラー画像中の垂直方向のエッジ部に相当する画素を
除去するエッジ部除去手段とを、 具備することを特徴とする文字領域抽出装置。7. The character area extracting device according to claim 6 , wherein the luminance is binarized in each horizontal line in the color image,
Result horizontal line unit binarizing means for obtaining a binary image, luminance-value-distribution smell of horizontal in line with in the color image
Te, obtains all lifting one pixel the maximum value of the luminance, the calculated maximum
Left and right pixel by pixel on the horizontal line starting from the value pixel
To open both the left and right sides of the maximum pixel at the start point.
The brightness value is lower than the brightness value of the starting point by a preset threshold value
The first pixel is detected, and the detected two pixels on the left and right and the water
Multiple images that exist between these two pixels on a flat line
A luminance maximum area detecting means for extracting the oxygen as a connected pixel regions, from the plurality of pixels selected in a predetermined manner to present in the vicinity of both ends pixels of the left and right connected pixel regions obtained by the luminance maxima region detection unit A high-brightness character area extracting means for obtaining a pixel having the maximum absolute value of the horizontal brightness gradient on each of the left and right sides, and extracting a range having the pixels at both ends as a high-brightness character area, and a horizontal line in the color image. luminance-value-distribution smell of the inner
And find all pixels that have a minimum brightness value,
Left and right pixel by pixel on the horizontal line starting from the value pixel
To open the left and right sides of the minimum pixel at the start point.
The brightness value is higher than the brightness value at the start point by a preset threshold value
The first pixel is detected, and the detected two pixels on the left and right and the water
Multiple images that exist between these two pixels on a flat line
A luminance minimum area detecting means for extracting the oxygen as a connected pixel regions, from the plurality of pixels selected in a predetermined manner to present in the vicinity of both ends pixels of the left and right connected pixel regions obtained by the luminance minimum area detecting means A low-brightness character area extracting unit that obtains a pixel having the maximum absolute value of the horizontal brightness gradient on each of the left and right sides and extracts a range having the pixels at both ends as a low-brightness character area, and the high-brightness character area extracting unit. The high-intensity character areas on each horizontal line extracted are collected to create a high-intensity character area image as the entire image, and the low-intensity character areas on each horizontal line extracted by the low-intensity character area extracting means are collected. A binarization result integrating means for each horizontal line that collects areas to create a low-brightness character area image for the entire image; a maximum-brightness area detecting means; and a high-brightness character area extracting means,
Processing control means for controlling the execution order of the minimum brightness area detection means, the low brightness character area extraction means, and the horizontal line-by-horizontal binarization result integration means, and edge detection for detecting pixels in the edge portion in the color image Means, and a color obtained by the edge detecting means from a plurality of pixels forming a character connected component in the high-intensity character area image and the low-intensity character area image obtained by the horizontal line-based binarization result integrating means. A character area extracting device, comprising: an edge portion removing unit that removes a pixel corresponding to an edge portion in a vertical direction in an image.
て、 カラー画像中の各垂直ライン内で輝度の二値化を行い、
結果を二値画像として得る垂直ライン単位二値化手段
は、 該カラー画像中のある垂直ライン内の輝度値分布におい
て、輝度の極大値を持つ画素を全て求め、求めた各極大
値画素を開始点とし、該垂直ライン上を一画素ずつ上下
に操作し、開始点の極大値画素の上下両側でそれぞれ開
始点の輝度値よりも予め設定した閾値だけ輝度値が低い
最初の画素を検出し、検出された上下二つの画素と該垂
直ライン上でそれら二つの画素の間に存在する複数の画
素を連結画素領域として抽出する輝度極大領域検出手段
と、 該輝度極大領域検出手段により得られた連結画素領域の
左右の両端画素付近に存在する予め決めた方法で選択し
た複数の画素の中から垂直方向の輝度勾配の絶対値が最
大となる画素を左右各々で求め、該画素を両端とする範
囲を高輝度文字領域として抽出する高輝度文字領域抽出
手段と、 該カラー画像中のある垂直ライン内の輝度値分布におい
て、輝度の極小値を持つ画素を全て求め、求めた各極小
値画素を開始点とし、該垂直ライン上を一画素ずつ上下
に操作し、開始点の極小値画素の上下両側でそれぞれ開
始点の輝度値よりも予め設定した閾値だけ輝度値が高い
最初の画素を検出し、検出された上下二つの画素と該垂
直ライン上でそれら二つの画素の間に存在する複数の画
素を連結画素領域として抽出する輝度極小領域検出手段
と、 該輝度極小領域検出手段により得られた連結画素領域の
左右の両端画素付近に存在する予め決めた方法で選択し
た複数の画素の中から垂直方向の輝度勾配の絶対値が最
大となる画素を左右各々で求め、該画素を両端とする範
囲を低輝度文字領域として抽出する低輝度文字領域抽出
手段と、 該高輝度文字領域抽出手段で抽出された各垂直ライン上
の高輝度文字領域を集めて、画像全体としての高輝度文
字領域画像を作成し、また、該低輝度文字領域抽出手段
で抽出された各垂直ライン上の低輝度文字領域を集め
て、画像全体としての低高輝度文字領域画像を作成する
該垂直ライン別二値化結果統合手段と、 該輝度極大領域検出手段、該高輝度文字領域抽出手段、
該輝度極小領域検出手段、該低輝度文字領域抽出手段お
よび該垂直ライン別二値化結果統合手段の実行順序を制
御する処理制御手段と、 該カラー画像中のエッジ部の画素を検出するエッジ検出
手段と、 該垂直ライン別二値化結果統合手段で得られた高輝度文
字領域画像、および低輝度文字領域画像中の文字連結成
分を構成する複数の画素から該エッジ抽出手段で得られ
たカラー画像中の垂直方向のエッジ部に相当する画素を
除去するエッジ部除去手段とを、 具備することを特徴とする文字領域抽出装置。8. The character area extracting device according to claim 6 , wherein the luminance is binarized in each vertical line in the color image,
Results vertical line unit binarizing means for obtaining a binary image, luminance-value-distribution odor vertical in line with in the color image
And find all the pixels that have the maximum value of luminance, and find each maximum
Starting from the value pixel and moving up and down one pixel on the vertical line
To open both the upper and lower sides of the maximum pixel at the start point.
The brightness value is lower than the brightness value of the starting point by a preset threshold value
Detecting a first pixel, a plurality of picture that exists between those two pixels at the detected upper and lower two pixels and the vertical <br/> straight line on
A luminance maximum area detecting means for extracting the oxygen as a connected pixel regions, from the plurality of pixels selected in a predetermined manner to present in the vicinity of both ends pixels of the left and right connected pixel regions obtained by the luminance maxima region detection unit A pixel having the maximum absolute value of the brightness gradient in the vertical direction is obtained on each of the left and right sides, and a high-intensity character region extracting means for extracting a range having the pixels at both ends as a high-intensity character region, and a vertical line in the color image. luminance-value-distribution smell of the inner
And find all pixels that have a minimum brightness value,
Starting from the value pixel and moving up and down one pixel on the vertical line
To open both the upper and lower sides of the minimum pixel at the start point.
The brightness value is higher than the brightness value at the start point by a preset threshold value
Detecting a first pixel, a plurality of picture that exists between those two pixels at the detected upper and lower two pixels and the vertical <br/> straight line on
A luminance minimum area detecting means for extracting the oxygen as a connected pixel regions, from the plurality of pixels selected in a predetermined manner to present in the vicinity of both ends pixels of the left and right connected pixel regions obtained by the luminance minimum area detecting means A low-brightness character area extracting unit that obtains a pixel having the maximum absolute value of the brightness gradient in the vertical direction on each of the left and right sides, and extracts a range having the pixels at both ends as a low-brightness character area; The high-intensity character areas on each vertical line that have been extracted are collected to create a high-intensity character area image for the entire image, and the low-intensity character areas on each vertical line extracted by the low-intensity character area extracting means are collected. The vertical line-by-vertical line binarization result integrating means that collects areas to create a low-intensity character area image for the entire image; the maximum-intensity area detecting means; and the high-intensity character area extracting means,
Processing control means for controlling the execution order of the minimum brightness area detection means, the low brightness character area extraction means, and the vertical line-by-vertical binarization result integration means, and edge detection for detecting pixels in the edge portion in the color image Means, and a color obtained by the edge extracting means from a plurality of pixels constituting a character connected component in the high-intensity character area image and the low-intensity character area image obtained by the vertical line-by-vertical binarization result integrating means. A character area extracting device, comprising: an edge portion removing unit that removes a pixel corresponding to an edge portion in a vertical direction in an image.
て、hand, 水平ライン単位二値化手段と垂直ライン単位二値化手段Horizontal line unit binarization means and vertical line unit binarization means
により得られた2枚の二値画像中の連結成分同士を比較Connected components in two binary images obtained by
し、面積、形状、位置の違いが予め設定した許容範囲内However, the difference in area, shape, and position is within the preset allowable range.
である連結成分同士を文字領域と判断し、該二値画像にIt is determined that the connected components are character areas, and
残し、面積、形状、位置の違いが予め設定した許容範囲Remaining, area, shape, position difference is preset tolerable range
を越えている連結成分同士は背景ノイズ部と判断し該二The connected components that exceed the
値画像から除去する二値化結果統合手段は、The binarization result integrating means for removing from the value image is 該得られた2枚の二値画像を位置を揃えて重ね合わせ、The obtained two binary images are aligned and superposed,
対応する2つの画素が両方とも連結成分に属する場合、If the two corresponding pixels both belong to the connected component,
該対応画素を仮文字画素として記憶し、対応する2つのThe corresponding pixel is stored as a temporary character pixel, and the corresponding two
画素のうちどちらか一方でも連結成分に属さない場合、If either one of the pixels does not belong to the connected component,
該対応画素を非仮文字領域として記憶し、仮文字画素かThe corresponding pixel is stored as a non-temporary character area,
ら構成される連結成分を含む画像をAND画像と定義しAn image containing connected components composed of
て作成するAND画像作成手段と、AND image creation means created by 該得られた2枚の二値画像を位置を揃えて重ね合わせ、The obtained two binary images are aligned and superposed,
対応する2つの画素のうちどちらか一方でも連結成分にOne of the two corresponding pixels will be connected
属する場合、該対応画素を仮文字領域として記憶し、対If it belongs, the corresponding pixel is stored as a temporary character area and
応する2つの画素が両方とも連結成分に属さない場合、If the two corresponding pixels do not belong to the connected component,
該対応画素を非仮文字領域として記憶し、仮文字画素かThe corresponding pixel is stored as a non-temporary character area,
ら構成される連結成分を含む画像をOR画像と定義してAn image containing connected components composed of
作成するOR画像作成手段と、OR image creating means to create, 該AND画像作成手段により得られたAND画像と該OThe AND image obtained by the AND image creating means and the O
R画像作成手段により得られたOR画像を位置を揃えてAlign the positions of the OR images obtained by the R image creating means
重ね合わせ、該AND画像中の連結成分の中で、該ORAnd the OR among the connected components in the AND image.
画像中の連結成分との重なる画素の個数が予め設定したThe number of pixels that overlap with the connected component in the image is preset
閾値以上でありAbove threshold 、且つ重なりをもつ該OR画像中の連結, And concatenation in the OR image with overlap
成分の面積が予め設定した範囲内であれば、該AND画If the area of the component is within the preset range, the AND image
像中の連結成分を文字連結成分として判断し、該ANDThe connected component in the image is determined as the character connected component, and the AND
画像中に残し、それ以外の連結成分は背景ノイズ領域とLeave it in the image, and the other connected components are
して該AND画像から除去する文字連結成分判断手段Character connected component determining means for removing from the AND image
と、When, 該文字連結成分判断手段により得られた文字連結成分だIt is a character connected component obtained by the character connected component determination means.
けが残留するAND画像中の画素を文字領域画素としてPixels in the AND image with injuries remain as character area pixels
記憶する文字画素登録手段とを、Character pixel registration means to store, 具備することを特徴とする文字領域抽出装置。A character area extraction device comprising:
いて、 水平ライン単位二値化手段と垂直ライン単位二値化手段
により得られた2枚の二値画像中の連結成分同士を比較
し、面積、形状、位置の違いが予め設定した許容範囲内
である連結成分同士を文字領域と判断し、該二値画像に
残し、面積、形状、位置の違いが予め設定した許容範囲
を越えている連結成分同士は背景ノイズ部と判断し該二
値画像から除去する二値化結果統合手段は、 該得られた2枚の二値画像を位置を揃えて重ね合わせ、
対応する2つの画素が両方とも連結成分に属する場合、
該対応画素を仮文字画素として記憶し、対応する2つの
画素のうちどちらか一方でも連結成分に属さない場合、
該対応画素を非仮文字領域として記憶し、仮文字画素か
ら構成される連結成分を含む画像をAND画像と定義し
て作成するAND画像作成手段と、 該得られた2枚の二値画像を位置を揃えて重ね合わせ、
対応する2つの画素のうちどちらか一方でも連結成分に
属する場合、該対応画素を仮文字領域として記憶し、対
応する2つの画素が両方とも連結成分に属さない場合、
該対応画素を非仮文字領域として記憶し、仮文字画素か
ら構成される連結成分を含む画像をOR画像と定義して
作成するOR画像作成手段と、 該AND画像作成手段により得られたAND画像と該O
R画像作成手段により得られたOR画像を位置を揃えて
重ね合わせ、該AND画像中の連結成分の中で、該OR
画像中の連結成分との重なる画素の個数が予め設定した
閾値以上であり、且つ重なりをもつ該OR画像中の連結
成分の面積が予め設定した範囲内であれば、該AND画
像中の連結成分を文字連結成分として判断し、該AND
画像中に残し、それ以外の連結成分は背景ノイズ領域と
して該AND画像から除去する文字連結成分判断手段
と、 該文字連結成分判断手段により得られた文字連結成分だ
けが残留するAND画像中で、該水平ライン単位二値化
手段で得られた水平ライン毎の二値化により得られた各
ライン内の連結画素のうち、連結画素数が予め設定した
値より少ない連結画素を文字領域とし、該画素と同じ位
置に存在する該AND画像中の画素を文字領域画素とし
て記憶する文字画素登録手段とを、 具備することを特徴とする文字領域抽出装置。10. The character region extracting apparatus according to claim 6 , wherein the connected components in the two binary images obtained by the horizontal line unit binarizing unit and the vertical line unit binarizing unit are compared with each other, The connected components whose difference in area, shape, and position are within the preset allowable range are determined to be character regions and are left in the binary image, and the difference in area, shape, and position exceeds the preset allowable range. The binarization result integrating means that determines that the connected components are background noise parts and removes them from the binary image, superimposes the obtained two binary images at the same position,
If the two corresponding pixels both belong to the connected component,
If the corresponding pixel is stored as a temporary character pixel and either one of the two corresponding pixels does not belong to the connected component,
An AND image creating unit that stores the corresponding pixel as a non-temporary character region and defines an image including a connected component composed of the temporary character pixel as an AND image, and the obtained two binary images. Align and stack
When either one of the two corresponding pixels belongs to the connected component, the corresponding pixel is stored as a temporary character area, and when both of the two corresponding pixels do not belong to the connected component,
An OR image creating unit that creates the image by storing the corresponding pixel as a non-temporary character region and defining an image including a connected component composed of the temporary character pixel as an OR image, and an AND image obtained by the AND image creating unit And the O
The OR images obtained by the R image creating means are aligned with each other and overlapped, and the OR image is extracted from the connected components in the AND image.
If the number of pixels overlapping the connected component in the image is equal to or greater than a preset threshold and the area of the connected component in the OR image having the overlap is within a preset range, the connected component in the AND image Is determined as the character connected component, and the AND
In the AND image in which only the character connected components remaining in the image and the other connected components removed from the AND image as background noise areas are removed, and the character connected component obtained by the character connected component determination means, Of the connected pixels in each line obtained by the binarization for each horizontal line obtained by the horizontal line unit binarization means, the connected pixels whose number of connected pixels is less than a preset value are set as the character area, and A character area extracting device comprising: a character pixel registration unit that stores a pixel in the AND image existing at the same position as the pixel as a character area pixel.
1項記載の文字領域抽出方法における段階をコンピュー
タに実行させるためのプログラムを、該コンピュータが
読み取り可能な記録媒体に記録したことを特徴とする記
録媒体。11. wherein a program for executing steps of the computer in the character region extracting process according to any one of claims 1 to 5, the computer is recorded in a recording medium readable It shall be the Symbol <br/> recording media.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP36654298A JP3467195B2 (en) | 1998-12-24 | 1998-12-24 | Character area extraction method and apparatus, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP36654298A JP3467195B2 (en) | 1998-12-24 | 1998-12-24 | Character area extraction method and apparatus, and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000194851A JP2000194851A (en) | 2000-07-14 |
| JP3467195B2 true JP3467195B2 (en) | 2003-11-17 |
Family
ID=18487051
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP36654298A Expired - Lifetime JP3467195B2 (en) | 1998-12-24 | 1998-12-24 | Character area extraction method and apparatus, and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3467195B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6771827B1 (en) * | 1998-12-23 | 2004-08-03 | Xerox Corporation | System and method for directed acuity segmentation resolution compression and decompression |
| JP2007018248A (en) * | 2005-07-07 | 2007-01-25 | Sony Corp | Image processing apparatus, image processing method, and program |
| KR100836197B1 (en) | 2006-12-14 | 2008-06-09 | 삼성전자주식회사 | Video caption detection device and method |
| CN116246265B (en) * | 2023-05-12 | 2023-08-08 | 威海凯思信息科技有限公司 | Property management method and device based on image processing |
-
1998
- 1998-12-24 JP JP36654298A patent/JP3467195B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 松尾堅一,梅田三千雄,濃淡及び色情報による情景画像からの文字列抽出,電子情報通信学会技術研究報告,日本,社団法人電子情報通信学会,1993年12月22日,Vol.92,No.434(PRU92−121),P.25−32 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000194851A (en) | 2000-07-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106254933B (en) | Subtitle extraction method and device | |
| US7574069B2 (en) | Retargeting images for small displays | |
| JP5607079B2 (en) | Video matting based on foreground-background constraint propagation | |
| CN111784603B (en) | RAW domain image denoising method, computer device and computer readable storage medium | |
| JP4295845B2 (en) | Method and apparatus for automatically detecting aspect format of digital video image | |
| US12198353B2 (en) | Methods and systems for automatically generating backdrop imagery for a graphical user interface | |
| US20100008577A1 (en) | Foreground/background segmentation in digital images with differential exposure calculations | |
| CN101443791A (en) | Improved foreground/background separation in digitl images | |
| JPH0435167A (en) | Line picture separation system | |
| JP3731952B2 (en) | Information generation apparatus for moving image search | |
| US6323855B1 (en) | Sharpening edge features in digital image providing high frequency edge enhancement | |
| JP3467195B2 (en) | Character area extraction method and apparatus, and recording medium | |
| US7738044B2 (en) | Method and apparatus for adjusting a chrominance signal | |
| JP3655110B2 (en) | Video processing method and apparatus, and recording medium recording video processing procedure | |
| JP3435334B2 (en) | Apparatus and method for extracting character area in video and recording medium | |
| JP2002077625A (en) | Image processing apparatus, image processing method and computer readable recording medium having recorded image processing program | |
| JP3480408B2 (en) | Object extraction system and method, and storage medium storing object extraction program | |
| JP2001045298A (en) | Image processing method, recording medium storing image processing program, and image processing apparatus | |
| US6750986B1 (en) | Color image processing method with thin-line detection and enhancement | |
| JP3504874B2 (en) | Character area determination method and apparatus, and recording medium | |
| US7599556B2 (en) | Apparatus, system, and method for scanning segmentation | |
| JP2001101428A (en) | Image processor | |
| JP3949954B2 (en) | Dropout color identification processing program, method, and apparatus | |
| JP2000163512A (en) | Document image processing method, apparatus and recording medium | |
| JPH0869535A (en) | Background feature mask generating device and mobile object feature extracting device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080829 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080829 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090829 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090829 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100829 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100829 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110829 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120829 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130829 Year of fee payment: 10 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| EXPY | Cancellation because of completion of term |