JP3100383B2 - Character region separation method and apparatus - Google Patents

Character region separation method and apparatus

Info

Publication number
JP3100383B2
JP3100383B2 JP01229241A JP22924189A JP3100383B2 JP 3100383 B2 JP3100383 B2 JP 3100383B2 JP 01229241 A JP01229241 A JP 01229241A JP 22924189 A JP22924189 A JP 22924189A JP 3100383 B2 JP3100383 B2 JP 3100383B2
Authority
JP
Japan
Prior art keywords
pixel
character
area
pixels
region
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
Application number
JP01229241A
Other languages
Japanese (ja)
Other versions
JPH0393355A (en
Inventor
敏 大内
薫 今尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP01229241A priority Critical patent/JP3100383B2/en
Publication of JPH0393355A publication Critical patent/JPH0393355A/en
Application granted granted Critical
Publication of JP3100383B2 publication Critical patent/JP3100383B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Character Input (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像中の文字領域とそれ以外の絵柄領域と
を精度よく分離するための文字領域分離方法および装置
に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character area separation method and apparatus for accurately separating a character area in an image from other picture areas.

〔従来の技術〕[Conventional technology]

一般に、文書画像と呼ばれる画像中には、文字(線画
も含む)、写真、網点などが混在するのが普通である。
このような画像を、例えばディジタル式複写機やファク
シミリなどで画像再生する場合、再生画像の画質向上を
図るには (イ)文字や線が切れぎれとならないように鮮明に再生
する。
Generally, in an image called a document image, characters (including line drawings), photographs, halftone dots, and the like are usually mixed.
When such an image is reproduced by, for example, a digital copying machine or a facsimile, the image quality of the reproduced image is improved. (A) Characters and lines are reproduced clearly so as not to be cut off.

(ロ)写真や網点については階調性を重視し、さらに網
点はモアレ除去する。
(B) For photographs and halftone dots, emphasis is placed on gradation, and halftone dots are further removed from moire.

などの処置を施すことが望ましい。例えば、モノクロの
2値で画像再生する場合を例に採ると、上記(イ)を実
現するには 文字や線のエッジを強調した後、2値化処理を行
う。
It is desirable to take such measures. For example, in the case of reproducing an image in monochrome binary, for example, in order to realize the above (a), the edges of characters and lines are emphasized, and then binarization processing is performed.

また、上記(ロ)を実現するには 写真や網点を平滑化した後、ディザ処理を行う。In order to realize the above (b), dither processing is performed after smoothing a photograph or a halftone dot.

などの処理を行えばよい。しかし、このの処理を行
うには、その処理の前にまず、画像中の文字領域(第5
図例の点線で囲んだ部分)と、それ外の絵柄領域(=写
真部+網点部)とを正確に分離する必要がある。
And the like. However, in order to perform this processing, first, before the processing, the character area (the fifth
It is necessary to accurately separate the part surrounded by the dotted line in the drawing example) from the picture area (= photograph part + halftone part).

従来、文字領域と写真領域を分離する方法(例えば特
公昭58−115975号)、あるいは文字領域と網点領域を分
離する方法(例えば特公昭60−80365号)などが見られ
たが、上記した文字領域と絵柄領域とを直接分離する方
法はなかった。したがって、画像中の文字領域と絵柄領
域とを分離するには、上記2つの方法を組み合わせ、前
者の方法で分離抽出した写真領域と後者の方法で分離抽
出した網点領域との論理和(OR)を採り、(写真領域+
網点領域)を絵柄領域として間接的に分離するしかなか
った。
Conventionally, a method of separating a character area from a photographic area (for example, Japanese Patent Publication No. 58-115975) or a method of separating a character area from a halftone dot area (for example, Japanese Patent Publication No. 60-80365) have been found. There has been no method for directly separating the character area from the picture area. Therefore, in order to separate a character area and a picture area in an image, the above two methods are combined, and a logical sum (OR) of a photograph area separated and extracted by the former method and a halftone dot area separated and extracted by the latter method is used. ), (Photo area +
(Halftone dot area) as a picture area.

そこで、本出願人はこの文字領域と絵柄領域とを直接
分離するための文字領域分離方式を先に出願した。この
文字領域分離方式は、入力画像情報をディジタル多値デ
ータに変換した後平滑化し、該平滑化したディジタル多
値データ中からエッジ画素を抽出して所定の局所領域ご
とにエッジ画素数を計数し、該エッジ画素の密度が所定
の閾値を越えるときに当該局所領域内の所定の画素を文
字画素、閾値以下のときに文字以外の絵柄画素として領
域検出するようにしたものである。
Therefore, the present applicant has previously applied for a character area separation method for directly separating the character area from the picture area. In this character area separation method, input image information is converted into digital multi-valued data and then smoothed, edge pixels are extracted from the smoothed digital multi-valued data, and the number of edge pixels is counted for each predetermined local area. When the density of the edge pixels exceeds a predetermined threshold value, a predetermined pixel in the local region is detected as a character pixel, and when the density is equal to or less than the threshold value, a region is detected as a picture pixel other than a character.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

本出願人の提案になる上記文字領域分離方式は、画像
中の文字領域と絵柄領域とを直接分離することができ
る。しかしながら、所定の局所領域ごとのエッジ画素の
密度に基づいて文字領域とそれ以外の絵柄領域を分離し
ているため、網点の種類やその分布状態によっては網点
のエッジ画素が文字画素として誤検出されてしまうこと
があり、完全ではなかった。
The character area separation method proposed by the present applicant can directly separate a character area and a picture area in an image. However, since the character area and the other picture areas are separated based on the density of the edge pixels for each predetermined local area, the edge pixels of the halftone dot are erroneously determined as the character pixels depending on the type of the halftone dot and its distribution state. It could be detected and was not perfect.

本発明は上記文字領域分離方式を改良し、文字領域と
絵柄領域の分離精度を更に高めた文字領域分離方法およ
び装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a character area separating method and apparatus which improves the above character area separating method and further enhances the accuracy of separating a character area from a picture area.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は、上記目的を達成するため、入力画像中から
文字領域を分離する文字領域分離方法において、入力画
像データに平滑化処理を施し、平滑化された画像データ
からエッジ画素を抽出し、所定の局所領域内における当
該エッジ画素の密度情報に基づいて画像中の文字領域を
仮判定し、前記仮判定された文字領域に属する注目画素
と該注目画素から所定の方向に所定の距離だけ離れた位
置に存在する複数の画素の属性情報に基づいて前記注目
画素が正規の文字画素であるか否かを判定する。
In order to achieve the above object, the present invention provides a character area separating method for separating a character area from an input image, performing a smoothing process on the input image data, extracting edge pixels from the smoothed image data, The character area in the image is provisionally determined based on the density information of the edge pixel in the local area, and the target pixel belonging to the provisionally determined character area is separated from the target pixel by a predetermined distance in a predetermined direction. It is determined whether or not the target pixel is a regular character pixel based on attribute information of a plurality of pixels present at the position.

また、入力画像中から文字領域を分離する文字領域分
離装置において、 入力画像データに平滑化処理を施す平滑化手段と、 平滑化された画像データからエッジ画素を抽出するエ
ッジ画素抽出手段と、 所定の局所両域内における当該エッジ画素の密度情報
に基づいて画像中の文字領域を仮判定する文字領域判定
手段と、 前記仮判定された文字領域に属する注目画素と該注目
画素から所定の方向に所定の距離だけ離れた位置に存在
する複数の画素の属性情報に基づいて前記注目画素が正
規の文字画素であるか否かを判定する領域補正手段と、 を備える。
In a character area separating apparatus for separating a character area from an input image, a smoothing means for performing a smoothing process on the input image data; an edge pixel extracting means for extracting edge pixels from the smoothed image data; Character region determining means for temporarily determining a character region in an image based on the density information of the edge pixels in both local regions of the local region; and a target pixel belonging to the provisionally determined character region and a predetermined direction from the target pixel in a predetermined direction. And a region correction unit that determines whether or not the pixel of interest is a regular character pixel based on attribute information of a plurality of pixels existing at positions separated by a distance of.

〔作 用〕(Operation)

本発明は、文字の性質を利用して領域補正を行うもの
である。すなわち、一般的に、文字は文字を形成する線
分が上下、左右あるいは斜め方向に連なっている、した
がって、注目画素が正規の文字画素である場合、当該注
目画素の周囲には文字の線分を形成する他の文字画素が
存在するのが普通である。
According to the present invention, an area correction is performed using the property of a character. That is, in general, a character is formed by connecting the lines forming the character vertically, horizontally, or diagonally. Therefore, when the pixel of interest is a regular character pixel, the line segment of the character is surrounded by the pixel of interest. Are usually present.

本発明方式は上記した文字を形成する線分の連続性を
利用し、エッジ密度に基づいて検出した文字画素をその
周囲の画素情報に基づいて正規の文字画素であるか否か
判定し、正規の文字画素でない場合には当該文字画素を
文字領域中から削除することにより領域補正する。これ
により、文字領域と絵柄領域の分離精度が向上する。
The method of the present invention utilizes the continuity of the line segments forming the character described above, determines whether or not a character pixel detected based on the edge density is a regular character pixel based on surrounding pixel information, and If the character pixel is not the character pixel, the region correction is performed by deleting the character pixel from the character region. Thereby, the separation accuracy between the character area and the picture area is improved.

〔実施例〕〔Example〕

第1図は本発明方式を適用して構成した文字領域分離
装置の1実施例を示す。
FIG. 1 shows an embodiment of a character area separating apparatus constructed by applying the method of the present invention.

入力画像信号部1は、原画像をラスタスキャンし、デ
ィジタル多値データに変換して取り込む回路である。再
生画がモノクロであれば輝度信号を入力し、カラーであ
れば色分解後のRGB信号あるいは色補正したYMC信号を入
力する。カラーの場合は、各色信号毎に以下に述べる処
理を並行に行えばよい。
The input image signal unit 1 is a circuit for raster-scanning an original image, converting the original image into digital multi-value data, and taking in the data. If the reproduced image is monochrome, a luminance signal is input. If the reproduced image is color, an RGB signal after color separation or a YMC signal after color correction is input. In the case of color, the processing described below may be performed in parallel for each color signal.

平滑化処理部2は、上記入力画像信号部1から送られ
てくるディジタル多値データを所定の重み係数の平滑化
フィルタにより平滑化する回路である。この平滑化フィ
ルタとしては、例えば下記(1)式の如きフィルタが用
いられる。
The smoothing processing unit 2 is a circuit that smoothes the digital multi-valued data sent from the input image signal unit 1 using a smoothing filter having a predetermined weight coefficient. As the smoothing filter, for example, a filter expressed by the following equation (1) is used.

なお、係数kは1〜10程度であり、分離対象とする文
字の大きさ、網点の線数、使用するスキャナやプリンタ
に応じて最適の値が選ばれる。
The coefficient k is about 1 to 10, and an optimum value is selected according to the size of the character to be separated, the number of halftone dots, and the scanner or printer used.

微分処理部3は、画像中のエッジ画素を抽出するため
に上記平滑化処理部2から送られてくる平滑化されたデ
ータを微分する回路である、この微分回路としては、例
えば下記(2)式で示されるラプラシアン・フィルタな
どが用いられる。
The differentiation processing unit 3 is a circuit that differentiates the smoothed data sent from the smoothing processing unit 2 in order to extract edge pixels in an image. As the differentiation circuit, for example, the following (2) A Laplacian filter or the like represented by the equation is used.

2値化処理部4は、上記微分処理部3の微分結果を所
定の閾値TH1で2値化し、TH1以上の画素をエッジ画素と
して抽出する回路である。
The binarization processing unit 4 is a circuit that binarizes the differentiation result of the differentiation processing unit 3 with a predetermined threshold value TH1, and extracts pixels equal to or greater than TH1 as edge pixels.

計数処理部5は、上記2値化処理部4で抽出したエッ
ジ画素について予め定めた所定の局所領域、例えばN×
N画素サイズのブロックを単位としてエッジ画素数Pを
計数し、この計数値Pと予め定めた所定の閾値TH2とを
比較して当該ブロック内の注目画素が文字領域または絵
柄領域のいずれに属するかを検出する回路である、この
領域検出は、前記ブロックを1画素単位で移動しながら
処理するか、あるいは1ブロック単位で移動しながら処
理するかによって、次のいずれかの検出条件を採用す
る。
The count processing unit 5 includes a predetermined local region, for example, N ×, which is predetermined for the edge pixels extracted by the binarization processing unit 4.
The number of edge pixels P is counted in units of a block of N pixel size, and the count value P is compared with a predetermined threshold value TH2 to determine whether the pixel of interest in the block belongs to a character area or a picture area. In this area detection, one of the following detection conditions is adopted depending on whether the block is processed while being moved in units of one pixel or while being processed in units of one block.

(1画素づつ移動する場合) 計数値Pが所定の閾値TH2以上の場合は当該ブロック
内の中心画素を文字領域、また閾値TH2以下の場合は当
該ブロック内の中心画素を絵柄領域とする。
When the count value P is equal to or more than a predetermined threshold value TH2, the central pixel in the block is a character area, and when the count value P is equal to or less than the threshold value TH2, the central pixel in the block is a picture area.

(1ブロックづつ移動する場合) 計数値Pが所定の閾値TH2以上の場合は当該ブロック
内の全ての画素を文字領域、また閾値TH2以下の場合は
当該ブロック内の全ての画素を絵柄領域とする。
(When moving by one block) When the count value P is equal to or more than a predetermined threshold value TH2, all pixels in the block are set as a character area, and when the count value P is equal to or less than the threshold value TH2, all pixels in the block are set as a picture area. .

補正処理部6は、上記計数処理部5において検出され
た文字画素に対して前述した文字の性質を利用して正規
の文字画素であるか否かを判定し、この判定結果に従っ
て文字領域と絵柄領域の検出結果を補正する回路であ
る。この補正に利用する周囲の画素としては、注目画素
から所定の方向に所定の距離だけ離れた位置の複数の画
素、例えば第2図に示すように、注目画素を中心にn×
n画素サイズ(図はn=3)のブロック内の注目画素の
上下、左右および斜めに位置する8画素を採用する。そ
して、中心画素が文字画素である場合、当該中心画素の
周囲の8つの画素の中に文字画素が1個でも存在すれば
当該中心画素は正規の文字画素であると判定し、8つの
周囲画素中に文字画素が1個も存在しない場合には、当
該中心画素は絵柄画素であると判定するものである。
The correction processing unit 6 determines whether or not the character pixel detected by the counting processing unit 5 is a regular character pixel by using the above-described character property, and according to the determination result, determines the character area and the pattern. This is a circuit for correcting the detection result of the area. The surrounding pixels used for this correction include a plurality of pixels located at a predetermined distance from the pixel of interest in a predetermined direction, for example, as shown in FIG.
Eight pixels that are positioned vertically, horizontally, and diagonally above the target pixel in a block of n pixel size (n = 3 in the figure) are adopted. When the central pixel is a character pixel, if at least one character pixel is present among the eight pixels surrounding the central pixel, the central pixel is determined to be a regular character pixel, and the eight peripheral pixels are determined. If no character pixel is present, the center pixel is determined to be a picture pixel.

進んで、上記実施例の動作を第3図のフローチャート
を参照して説明する。なお、対象画像は写真部,網点
部,文字部の混在した画像であり、この混在画像中から
文字領域と絵柄領域(写真部+網点部)とを分離するも
のとする。分離対象とする網点は65線から200線程度、
文字は約7級以上の大きさであり、これを例えば400dp
i,64階調程度のスキャナで読み取るものとする。
The operation of the above embodiment will now be described with reference to the flowchart of FIG. The target image is an image in which a photograph part, a halftone part, and a character part are mixed, and a character area and a picture area (photo part + halftone part) are separated from the mixed image. The halftone dots to be separated are about 65 to 200 lines,
Characters are about 7th grade or larger, for example, 400dp
i, It shall be read by a scanner of about 64 gradations.

画像信号は、入力画像信号部1においてディジタル多
値データに変換して記憶される。このディジタル多値デ
ータは平滑化処理部2に送られ、(1)式の如き平滑化
フィルタで平滑化された後(ステップ[1])、微分処
理部3において(2)式のラプラシアン・フィルタによ
り微分される(ステップ[2])。2値化処理部4はこ
の微分データを所定の閾値TH1で2値化することによ
り、画像中のエッジ画素を抽出する(ステップ
[3])。
The image signal is converted into digital multi-value data in the input image signal unit 1 and stored. The digital multi-valued data is sent to the smoothing processing unit 2 and smoothed by a smoothing filter as shown in equation (1) (step [1]). (Step [2]). The binarization processing unit 4 binarizes the differential data with a predetermined threshold value TH1 to extract edge pixels in the image (step [3]).

計数処理部5は上記のようにして検出したエッジ画素
情報をNラインづつセットし(ステップ[4])、N×
N画素サイズのブロックを各画素に適用しながら当該ブ
ロック内のエッジ画素の数Pを計数する(ステップ
[5])。そして、該ブロックごとの計数値Pを所定の
閾値TH2と比較し、計数値Pが閾値TH2以上の場合には当
該ブロックの中心画素を文字画素とし、また閾値TH2以
下の場合には当該ブロックの中心画素を絵柄画素として
検出し(ステップ[6])、エッジ画素の密度情報に基
づいた文字領域と絵柄領域の分離を行う。
The counting section 5 sets the edge pixel information detected as described above for each of N lines (step [4]), and sets N ×
The number P of edge pixels in the block is counted while applying a block of N pixel size to each pixel (step [5]). Then, the count value P for each block is compared with a predetermined threshold value TH2, and when the count value P is equal to or greater than the threshold value TH2, the central pixel of the block is set to a character pixel. The center pixel is detected as a picture pixel (step [6]), and the character area and the picture area are separated based on the density information of the edge pixels.

以上述べたところまでの各処理は、本出願人が先に提
案した文字領域分離方式と同一である。このようにN×
N画素サイズのブロック内のエッジ画素密度に基づいて
領域分離することにより、入力画像中の文字の一部にか
すれがあったとしても該かすれ部分を文字領域として有
効に検出することができる、また、網点のエッジ画素が
存在したとしても、網点のエッジ画素は密度が小さいた
めにかなりの部分を除去することができる。
Each process up to the point described above is the same as the character region separation method previously proposed by the present applicant. Thus N ×
By performing region separation based on the edge pixel density in an N-pixel size block, even if a part of a character in an input image has blurring, the blurring portion can be effectively detected as a character region. Even if there is a halftone dot edge pixel, a considerable portion can be removed because the halftone dot edge pixel has a low density.

しかしながら、上記のようにして領域分離しても、網
点の種類やその分布状態によっては、網点のエッジ画素
が文字領域として誤って検出されるおそれがある。そこ
で、本発明では、以下のようにして誤検出された文字画
素を領域補正する。
However, even if the regions are separated as described above, edge pixels of the halftone dots may be erroneously detected as character regions depending on the types of the halftone dots and their distribution states. Therefore, in the present invention, the area correction is performed on a character pixel that is erroneously detected as described below.

すなわち、補正処理部6は上記計数処理部5の検出結
果をnラインづつセットする(ステップ[7])。たと
えば、第2図の3×3画素サイズのブロックを用いて領
域補正する場合にはn=3ラインづつセットし、第2図
の3×3画素サイズのブロックを1画素単位で移動しな
がら、各ブロックの中心画素の上下,左右および斜めに
位置する周囲8画素中の文字画素の数Qを計数する(ス
テップ[8])。
That is, the correction processing unit 6 sets the detection result of the counting processing unit 5 for every n lines (step [7]). For example, when region correction is performed using a 3 × 3 pixel size block shown in FIG. 2, n = 3 lines are set, and while the 3 × 3 pixel size block shown in FIG. 2 is moved in units of one pixel, The number Q of character pixels in eight surrounding pixels located vertically, horizontally, and diagonally above the center pixel of each block is counted (step [8]).

そして、中心画素が文字画素で、かつ周囲8画素中に
文字画素が1個でも存在する場合には、当該中心画素は
正規の文字画素であると判定し(ステップ[9][1
0])、当該文字画素に対しては領域補正を行わずに文
字領域信号を出力する。
If the center pixel is a character pixel and there is at least one character pixel in the eight surrounding pixels, it is determined that the center pixel is a regular character pixel (steps [9] and [1]).
0]), a character area signal is output to the character pixel without performing area correction.

一方、周囲8画素中に文字画素が1個も存在しない場
合には、当該中心画素は本来絵柄を構成する画素であり
ながら文字画素として誤検出された画素であると判定し
(ステップ[9][11])、当該中心画素については文
字領域信号にかえて絵柄領域信号を出力する。したがっ
て、文字画素として誤検出された絵柄画素が本来の絵柄
画素に領域補正される結果、文字領域と絵柄領域の分離
精度が向上する。
On the other hand, when there is no character pixel in the surrounding eight pixels, it is determined that the center pixel is a pixel which is erroneously detected as a character pixel while being a pixel which originally constitutes a picture. [11]) For the center pixel, a picture area signal is output instead of the character area signal. Therefore, as a result of the area correction of the picture pixel erroneously detected as the text pixel to the original picture pixel, the separation accuracy of the text area and the picture area is improved.

なお、上記実施例は、補正処理を1画素単位で行った
が、ブロック単位で行うこともできる。この場合には、
ブロック内の全画素を文字画素または絵柄画素のいずれ
かに補正すればよい。
In the above embodiment, the correction process is performed in units of one pixel, but may be performed in units of blocks. In this case,
All the pixels in the block may be corrected to either character pixels or picture pixels.

第4図は上記した本発明の文字領域分離装置を利用し
て構成した複写機の例を示す。
FIG. 4 shows an example of a copying machine constructed using the character area separating apparatus of the present invention.

図中、符号7は前述した第1図の文字領域分離装置で
ある。8は文字領域処理用のエッジ強調のための鮮鋭処
理回路、9は2値化処理回路、10は絵柄領域処理用の平
滑処理回路、11は中間調を出すための階調性を重視した
うずまき型のディザ処理回路、13は文字領域分離装置7
から出力される文字/絵柄領域信号に従って2値化処理
回路9またはディザ処理回路11のいずれかの出力信号を
選択する画像信号選択回路である。第4図中、鮮鋭処理
回路8と2値化処理回路9とにより前述した処理を、
また平滑処理回路10とディザ処理回路11によって前述し
た処理をそれぞれ実現している。
In the figure, reference numeral 7 denotes the character area separating device shown in FIG. 8 is a sharpening processing circuit for edge enhancement for character area processing, 9 is a binarization processing circuit, 10 is a smoothing processing circuit for picture area processing, and 11 is a vortex emphasizing the gradation for producing halftones. Type dither processing circuit, 13 is a character area separating device 7
Is an image signal selection circuit for selecting an output signal of either the binarization processing circuit 9 or the dither processing circuit 11 in accordance with the character / pattern area signal output from. In FIG. 4, the above-described processing by the sharpening processing circuit 8 and the binarization processing circuit 9 is performed.
The above-described processing is realized by the smoothing processing circuit 10 and the dither processing circuit 11, respectively.

画像信号は、文字領域分離装置7,鮮鋭回路8,平滑処理
回路10のそれぞれに並列に入力される。文字領域分離装
置7は、入力してくる画像信号の全画素について前述し
たようにして文字領域か、絵柄領域かを判定し、その判
定結果を画像信号選択回路12に送る。
The image signal is input in parallel to each of the character area separating device 7, the sharpening circuit 8, and the smoothing circuit 10. The character area separation device 7 determines whether all pixels of the input image signal are a character area or a picture area as described above, and sends the determination result to the image signal selection circuit 12.

文字領域分離装置7から文字領域信号が与えられた場
合、画像信号選択回路12は2値化処理回路9の出力を選
択し、また、絵柄領域信号が与えられた場合、ディザ処
理回路11の出力を選択する。この結果、入力画像の文字
領域では鮮鋭処理回路8と2値化処理回路9で鮮明化さ
れた画像が出力され、また、絵柄領域では平滑処理回路
10とディザ処理回路11で擬似中間調処理された画像が選
択的に切り換え出力される。
The image signal selection circuit 12 selects the output of the binarization processing circuit 9 when a character area signal is given from the character area separation device 7, and outputs the dither processing circuit 11 when a picture area signal is given. Select As a result, an image sharpened by the sharpening processing circuit 8 and the binarization processing circuit 9 is output in the character area of the input image, and the smoothing processing circuit is output in the picture area.
The image subjected to pseudo halftone processing by the dither processing circuit 10 is selectively switched and output.

したがって、この画像信号選択回路12から出力される
画像信号を用いて画像を複写再生すれば、画像中の文字
領域は鮮明化され、しかも文字以外の写真や網点などの
絵柄領域は自然な感じに擬似中間調処理された高品質の
画像が得られる。なお、第4図中の平滑処理回路10と第
1図中の平滑化処理部2とを共有することも可能であ
る。
Therefore, if an image is copied and reproduced using the image signal output from the image signal selection circuit 12, the character area in the image is sharpened, and the picture area other than the text, such as a photograph or a halftone dot, has a natural feeling. To obtain a high-quality image subjected to pseudo halftone processing. Note that the smoothing processing circuit 10 in FIG. 4 and the smoothing processing unit 2 in FIG. 1 can be shared.

〔発明の効果〕〔The invention's effect〕

以上述べたところから明らかなように、本発明の文字
分離方法および装置によるときは、画像中の文字領域と
絵柄領域の分離精度をより向上することができる。
As is apparent from the above description, when the character separation method and apparatus of the present invention are used, it is possible to further improve the separation accuracy between a character area and a picture area in an image.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明の実施例を示す図、 第2図は補正処理で利用する周囲画素の例を示す図、 第3図は上記実施例のフローチャート、 第4図は本発明の文字領域分離装置を利用して構成した
複写機の例を示す図、 第5図は画像中の文字領域の例を示す図である。
FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing an example of surrounding pixels used in correction processing, FIG. 3 is a flowchart of the above embodiment, and FIG. FIG. 5 is a diagram illustrating an example of a copying machine configured by using the apparatus, and FIG. 5 is a diagram illustrating an example of a character area in an image.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−263974(JP,A) 特開 昭63−240175(JP,A) 特開 昭64−81080(JP,A) 特開 平1−227573(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 H04N 1/60 ──────────────────────────────────────────────────続 き Continued on the front page (56) References JP-A-63-263974 (JP, A) JP-A-63-240175 (JP, A) JP-A-64-81080 (JP, A) JP-A-1- 227573 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) H04N 1/40-1/409 H04N 1/46 H04N 1/60

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力画像中から文字領域を分離する文字領
域分離方法において、入力画像データに平滑化処理を施
し、平滑化された画像データからエッジ画素を抽出し、
所定の局所領域内における当該エッジ画素の密度情報に
基づいて画像中の文字領域を仮判定し、前記仮判定され
た文字領域に属する注目画素と該注目画素から所定の方
向に所定の距離だけ離れた位置に存在する複数の画素の
属性情報に基づいて前記注目画素が正規の文字画素であ
るか否かを判定する領域補正を行うことを特徴とする文
字領域分離方法。
In a character area separating method for separating a character area from an input image, a smoothing process is performed on the input image data, and edge pixels are extracted from the smoothed image data.
A character region in the image is provisionally determined based on the density information of the edge pixel in the predetermined local region, and a target pixel belonging to the provisionally determined character region is separated from the target pixel by a predetermined distance in a predetermined direction. A region correction for determining whether or not the pixel of interest is a legitimate character pixel based on attribute information of a plurality of pixels present at the specified position.
【請求項2】前記注目画素から所定の方向に所定の距離
だけ離れた位置に存在する複数の画素が、注目画素の
縦、横および斜め方向に位置する8画素であることを特
徴とする請求項1記載の文字領域分離方法。
2. The method according to claim 1, wherein the plurality of pixels located at a predetermined distance from the target pixel in a predetermined direction are eight pixels located in the vertical, horizontal, and oblique directions of the target pixel. Item 1. The character area separating method according to Item 1.
【請求項3】前記8画素中に文字画素が1個も存在しな
いときに前記注目画素を正規の文字画素ではないと判定
することを特徴とする請求項2記載の文字領域分離方
法。
3. The character area separating method according to claim 2, wherein when there is no character pixel in the eight pixels, it is determined that the pixel of interest is not a regular character pixel.
【請求項4】入力画像中から文字領域を分離する文字領
域分離装置において、 入力画像データに平滑化処理を施す平滑化手段と、 平滑化された画像データからエッジ画素を抽出するエッ
ジ画素抽出手段と、 所定の局所領域内における当該エッジ画素の密度情報に
基づいて画像中の文字領域を仮判定する文字領域判定手
段と、 前記仮判定された文字領域に属する注目画素と該注目画
素から所定の方向に所定の距離だけ離れた位置に存在す
る複数の画素の属性情報に基づいて前記注目画素が正規
の文字画素であるか否かを判定する領域補正手段と、 を備えたことを特徴とする文字領域分離装置。
4. A character region separating apparatus for separating a character region from an input image, wherein: a smoothing means for performing a smoothing process on the input image data; and an edge pixel extracting means for extracting edge pixels from the smoothed image data. Character region determining means for temporarily determining a character region in an image based on density information of the edge pixel in a predetermined local region; and a target pixel belonging to the provisionally determined character region and a predetermined Region correction means for determining whether or not the pixel of interest is a regular character pixel based on attribute information of a plurality of pixels located at positions separated by a predetermined distance in the direction. Character area separation device.
【請求項5】前記領域補正手段の前記注目画素から所定
の方向に所定の距離だけ離れた位置に存在する複数の画
素が、注目画素の縦、横および斜め方向に位置する8画
素であることを特徴とする請求項4記載の文字領域分離
装置。
5. A plurality of pixels located at a predetermined distance from the pixel of interest in the area correction means in a predetermined direction in a predetermined direction are eight pixels located in the vertical, horizontal, and oblique directions of the pixel of interest. 5. The character area separating apparatus according to claim 4, wherein:
【請求項6】前記8画素中に文字画素が1個も存在しな
いときに前記注目画素を正規の文字画素ではないと判定
することを特徴とする請求項5記載の文字領域分離装
置。
6. The character region separating apparatus according to claim 5, wherein when there is no character pixel in the eight pixels, the pixel of interest is determined to be not a regular character pixel.
JP01229241A 1989-09-06 1989-09-06 Character region separation method and apparatus Expired - Lifetime JP3100383B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01229241A JP3100383B2 (en) 1989-09-06 1989-09-06 Character region separation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01229241A JP3100383B2 (en) 1989-09-06 1989-09-06 Character region separation method and apparatus

Publications (2)

Publication Number Publication Date
JPH0393355A JPH0393355A (en) 1991-04-18
JP3100383B2 true JP3100383B2 (en) 2000-10-16

Family

ID=16889033

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01229241A Expired - Lifetime JP3100383B2 (en) 1989-09-06 1989-09-06 Character region separation method and apparatus

Country Status (1)

Country Link
JP (1) JP3100383B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7697163B2 (en) 2003-09-25 2010-04-13 Brother Kogyo Kabushiki Kaisha Image processing apparatus, image processing method, and image processing program for distinguishing pixels of an edge portion

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07115534A (en) * 1993-10-15 1995-05-02 Minolta Co Ltd Image reader
JPH09267090A (en) * 1996-03-29 1997-10-14 Shirouma Sci Kk Device for removing organic halogen in water
US7199637B2 (en) 2003-09-02 2007-04-03 Semiconductor Energy Laboratory Co., Ltd. Rectifier circuit without alternating-current feedback
JP4243614B2 (en) 2006-01-11 2009-03-25 Necアクセステクニカ株式会社 Line segment detector and line segment detection method
JP5368141B2 (en) * 2009-03-25 2013-12-18 凸版印刷株式会社 Data generating apparatus and data generating method
JP5974589B2 (en) * 2012-03-30 2016-08-23 ブラザー工業株式会社 Image processing apparatus and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7697163B2 (en) 2003-09-25 2010-04-13 Brother Kogyo Kabushiki Kaisha Image processing apparatus, image processing method, and image processing program for distinguishing pixels of an edge portion

Also Published As

Publication number Publication date
JPH0393355A (en) 1991-04-18

Similar Documents

Publication Publication Date Title
JP3088010B2 (en) Line drawing separation method and apparatus
JP3100383B2 (en) Character region separation method and apparatus
JP3142279B2 (en) Halftone dot area separation device
JP3118469B2 (en) Image area separation device
JP2972172B2 (en) Halftone area detection method
JP2962742B2 (en) Image processing device
JP3007102B2 (en) Image processing device
JP3093235B2 (en) Image processing method and apparatus
JP2777378B2 (en) Halftone area detection method
JP2777379B2 (en) Area separation device
JP3004244B2 (en) Area separation device
JP2778669B2 (en) Halftone area detection method
JP2702133B2 (en) Image processing method
JP2900343B2 (en) Image processing device
JPH05292312A (en) Dot area separator
JP3177508B2 (en) Image processing device
JP3245586B2 (en) Pole pixel detection device
JP2972171B2 (en) Halftone area detection method
JP2777380B2 (en) Halftone area detection method
JP3004245B2 (en) Halftone area detection method
JP3070174B2 (en) Image forming device
JP3095767B2 (en) Image processing device
JP2674083B2 (en) Image area identification device
JPH06152947A (en) Image processor
JPH03153167A (en) Character area separation system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080818

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080818

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090818

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090818

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100818

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100818

Year of fee payment: 10