JPH07322060A - Image area separation device, facsimile equipment provided with the device and electronic file device - Google Patents

Image area separation device, facsimile equipment provided with the device and electronic file device

Info

Publication number
JPH07322060A
JPH07322060A JP6109700A JP10970094A JPH07322060A JP H07322060 A JPH07322060 A JP H07322060A JP 6109700 A JP6109700 A JP 6109700A JP 10970094 A JP10970094 A JP 10970094A JP H07322060 A JPH07322060 A JP H07322060A
Authority
JP
Japan
Prior art keywords
edge
image
pixel
density
image area
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.)
Pending
Application number
JP6109700A
Other languages
Japanese (ja)
Inventor
Toshiaki Nakamura
敏明 中村
Akihiro Asada
昭広 浅田
Shinichi Shinoda
伸一 篠田
Tomoo Kobori
智生 小堀
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP6109700A priority Critical patent/JPH07322060A/en
Publication of JPH07322060A publication Critical patent/JPH07322060A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To clearly read coexisting characters and to display the patterns of a dot and a photograph without generating a moire pattern by judging the respective edges of a character area and a dot area and selecting picture element values which are respectively processed in accordance with judgement results. CONSTITUTION:A line sensor 101 reads an original 103 where the patterns of the character and the dot coexist, and an edge detection means 106 detects the edge part of the character area. Then, the edge of the character area and the edge of the dot area are judged. A selection part 112 selects a character information picture element which is processed in an edge emphasis part 107, and a density correction part 108 based on the judged result and whose edge is emphasized or the pattern information of the dot, in which background density is set to be white by a gamma correction part 109 and a moire suppression edge emphasis part 111 and the generation of the moire pattern is prevented without the over-emphasis of edge density.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は画像を読み取る機能を備
えるファクシミリや電子ファイル等に係り、特に、文
字,網点,写真等の混在する画像を読み取ったときに文
字部のエッジ領域をそれ以外の領域から容易且つ良好に
分離するのに好適な像域分離装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a facsimile, an electronic file, etc. having a function of reading an image, and more particularly, when an image containing characters, halftone dots, photographs and the like is read, the edge area of the character portion is The present invention relates to an image area separating device suitable for easily and satisfactorily separating the image area.

【0002】[0002]

【従来の技術】イメージスキャナ等で読み取った画像
を、文字画像領域と絵柄画像領域とに区別する従来技術
として、特公平5ー51225号公報に記載された方法
がある。この従来技術では、画像処理の対象となる画素
と、その周辺画素とで構成されるウインド内の平均濃度
値を求め、その値に対して着目画素の濃度値との差があ
る範囲内にあれば中間調画像とみなすようにしている。
2. Description of the Related Art As a conventional technique for distinguishing an image read by an image scanner or the like into a character image region and a pattern image region, there is a method described in Japanese Patent Publication No. 5-51225. In this conventional technique, an average density value in a window composed of a pixel to be image-processed and its peripheral pixels is calculated, and if the average density value is within a range in which there is a difference with the density value of the pixel of interest. For example, it is considered as a halftone image.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術では、着
目画素の濃度値と平均濃度値のみの情報で像域の判別を
行なっているため、文字と同様に黒画素と白画素で表現
されている網点写真領域を文字領域と誤判定してしまう
という問題がある。
In the above-mentioned prior art, since the image area is discriminated only by the information of the density value and the average density value of the pixel of interest, the image area is represented by the black pixel and the white pixel like the character. There is a problem that a halftone dot photograph area is erroneously determined as a character area.

【0004】本発明の目的は、網点写真領域を文字領域
と誤判定することのない像域分離装置とこれを用いたフ
ァクシミリ装置及び電子ファイル装置を提供することに
ある。
An object of the present invention is to provide an image area separating apparatus which does not erroneously determine a halftone dot picture area as a character area, a facsimile apparatus and an electronic file apparatus using the same.

【0005】[0005]

【課題を解決するための手段】上記目的は、文字画像と
中間調画像とが混在する画像を取り込み処理する像域分
離装置において、取り込まれた画像のうち文字領域のエ
ッジに属する画素であるか否かを判定するエッジ検出手
段と、取り込まれた画像のうちエッジと判定された画素
についてはエッジ強調処理および濃度補正処理を行なっ
た後の画素値として出力する第1手段と、取り込まれた
画像に対しガンマ補正処理および連続エッジにはエッジ
強調として働き孤立エッジには平滑化として働く処理を
行った後の画素値として出力する第2手段と、前記エッ
ジ検出手段が文字領域のエッジと判定したときは前記第
1手段から出力される画素値を選択し前記エッジ検出手
段が非エッジと判定したときは第2手段から出力される
画素値を選択する選択手段と、該選択手段で選択された
画素値を誤差拡散処理して2値化出力とする手段とを設
けることで、達成される。
In the image area separation device for capturing an image in which a character image and a halftone image are mixed, is the pixel belonging to the edge of the character region in the captured image? An edge detecting means for determining whether or not there is a pixel, a first means for outputting a pixel value after performing edge enhancement processing and density correction processing for a pixel determined to be an edge in the captured image, and the captured image On the other hand, the gamma correction processing and the second means for outputting the pixel value after performing the edge enhancement for the continuous edge and the processing for the isolated edge as the smoothing, and the edge detecting means determine the edge of the character area. In this case, the pixel value output from the first means is selected, and when the edge detection means determines that the edge is not an edge, the pixel value output from the second means is selected. And-option unit, the pixel value selected by said selection means by providing the means for error diffusion processing on the binarized output is achieved.

【0006】[0006]

【作用】文字領域のエッジと、網点領域のエッジとが存
在する場合、文字領域エッジは強調し、網点領域エッジ
はそれほど強調しない。これにより、文字は明確に表示
され、網点領域はエッジが強調されすぎてモアレ模様と
なるのが防止される。
When the edge of the character area and the edge of the halftone dot area exist, the edge of the character area is emphasized and the halftone dot area edge is not so emphasized. As a result, the characters are clearly displayed, and the halftone dot area is prevented from being over-emphasized to form a moire pattern.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は本発明の一実施例に係る像域分離装置の
要部構成図である。センサ101は例えばファクシミリ
で使われている密着ラインセンサであり、2048画素
分の光電変換素子を横に並べた構成となっており、原稿
103上の一走査線毎に画像情報を1画素単位にアナロ
グ電圧に変換する。A/D変換器104は、センサ10
1のアナログ信号出力をデジタル信号に変換する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram of a main part of an image area separation device according to an embodiment of the present invention. The sensor 101 is, for example, a contact line sensor used in a facsimile, and has a configuration in which photoelectric conversion elements for 2048 pixels are arranged side by side, and image information is provided in pixel units for each scanning line on the document 103. Convert to analog voltage. The A / D converter 104 includes the sensor 10
The analog signal output of 1 is converted into a digital signal.

【0008】センサ特性補正手段105は、センサの1
画素単位の光電変換素子の特性バラツキや温度変動及び
経時劣化特性を補正し画像信号を正規化した信号を出力
する。例えば、原稿の読取り以前に白基準板102をセ
ンサ101で読取り、主走査1ライン分のセンサ出力を
メモリに記憶しておく。この信号をS(x)とする。次
に、原稿103の読取り時の主走査1ライン分のセンサ
出力をP(x)とする。またA/D変換器104の出力
を8ビット精度とし、黒情報を“0”、白情報を“25
5”の256階調出力とすると、センサ特性補正105
の出力V(x)は、次の数1式で表わせる。xは画素位
置を示す変数で、主走査2048画素の左端の画素位置
を“0”、右端の画素位置を“2047”とする。
The sensor characteristic correcting means 105 is one of the sensors.
A signal obtained by correcting the characteristic variation of the photoelectric conversion element for each pixel, the temperature variation, and the deterioration characteristic over time, and normalizing the image signal is output. For example, before reading the original, the white reference plate 102 is read by the sensor 101, and the sensor output for one main scanning line is stored in the memory. This signal is S (x). Next, the sensor output for one main scanning line at the time of reading the document 103 is set to P (x). Further, the output of the A / D converter 104 has 8-bit precision, black information is "0", and white information is "25".
If 256 gradation output of 5 "is made, the sensor characteristic correction 105
Output V (x) can be expressed by the following equation 1. x is a variable indicating a pixel position, and the leftmost pixel position of the main scanning 2048 pixels is “0” and the rightmost pixel position is “2047”.

【0009】[0009]

【数1】V(x)=255/S(x)・P(x) この機能は一般にシェーディング補正として良く知られ
ている。
## EQU1 ## V (x) = 255 / S (x) .P (x) This function is generally well known as shading correction.

【0010】エッジ検出手段106は、詳細は後述する
様に、画像情報から文字領域のエッジ部を検出する。
The edge detecting means 106 detects the edge portion of the character area from the image information, as will be described later in detail.

【0011】エッジ強調手段107は、1画素単位に入
力される画像情報がエッジ領域の画素であった場合、黒
に近ければより黒に、白に近ければより白の情報に変換
することによりエッジ領域のボケを補正し、2値出力に
メリハリを付ける機能を有する。例えば図4に示す様
に、太枠の四角で示されたエッジ強調の対象画素を中心
とした主走査3画素,副走査3画素で構成される画像領
域と、各画素位置に対応する係数107の様なデジタル
フィルタとの間でコンボリューション演算を行なうこと
でエッジ強調を実現する。画素位置xの濃度値をV
(x)、エッジ強調出力をE(x)とすると、画素位置
P12のエッジ強調出力E(P12)は次の数2式のコ
ンボリューション演算
The edge emphasizing means 107 converts the image information input pixel by pixel into black information if it is close to black and white information if it is close to white, thereby converting the edge information. It has the function of correcting blur in the area and adding sharpness to the binary output. For example, as shown in FIG. 4, an image area composed of 3 pixels in the main scanning and 3 pixels in the sub-scanning centered on the target pixel for edge enhancement indicated by a square in a thick frame, and a coefficient 107 corresponding to each pixel position. Edge enhancement is realized by performing a convolution operation with a digital filter such as. The density value at pixel position x is V
(X), where the edge emphasis output is E (x), the edge emphasis output E (P12) at the pixel position P12 is the convolution operation of the following equation 2.

【0012】[0012]

【数2】E(P12)=5・V(P12)−V(P02)−V(P11)
−V(P13)−V(P22) で表される。
[Equation 2] E (P12) = 5 · V (P12) -V (P02) -V (P11)
It is represented by -V (P13) -V (P22).

【0013】このエッジ強調フィルタの特性は、図4の
グラフに示す様に、空間周波数(1mm当りの濃淡変化
数)が上がるにつれ主走査,副走査,斜め45度方向と
もに利得が高くなる。従って、文字領域,網点領域どち
らに於ても、濃度変化の急峻な箇所はエッジ強調され
る。
As shown in the graph of FIG. 4, the characteristics of this edge enhancement filter are such that the gain becomes higher in the main scanning direction, the sub-scanning direction and the oblique 45 degree direction as the spatial frequency (the number of changes in density per 1 mm) increases. Therefore, in both the character region and the halftone dot region, the edge where the density change is sharp is emphasized.

【0014】濃度補正手段108は、エッジ強調された
出力に対し、ある一定値を加減算することで濃度の調整
を行なう。例えばエッジ強調出力の濃度を更に高くする
場合は、予め設定しておいた一定値を加算することで実
現する。
The density correction means 108 adjusts the density by adding or subtracting a certain fixed value to the edge-enhanced output. For example, when the density of the edge emphasis output is further increased, it is realized by adding a preset constant value.

【0015】ガンマ補正手段109は、正規化された画
像信号に対し、入力画素濃度に応じた濃度補正を行な
い、擬似中間調出力時の階調表現のコントラストの調整
や、明るさの調整を行なう。この機能は、例えば画素濃
度をランダムアクセスメモリのアドレスに入力し、その
アドレスのデータ出力にガンマ補正結果を割り当てるこ
とで実現できる。
The gamma correction means 109 performs density correction on the normalized image signal according to the input pixel density, and adjusts the contrast of gradation expression and the brightness of pseudo halftone output. . This function can be realized, for example, by inputting the pixel density to an address of the random access memory and assigning the gamma correction result to the data output of that address.

【0016】原稿背景濃度検出手段110は、原稿の読
取り開始時にセンサ101で原稿103の先端部分の主
走査線を数ライン読取り、その最小濃度値を検出する。
そして検出した最小濃度値が2値化時に白として出力さ
れる様にガンマ補正109の補正特性を修正する。この
結果、例えば新聞の様に原稿の背景が白でない場合でも
2値化出力は背景を白にでき、ファクシミリに於ける電
送時間の短縮に効果がある。
The document background density detecting means 110 reads several main scanning lines at the leading end of the document 103 by the sensor 101 at the start of reading the document and detects the minimum density value thereof.
Then, the correction characteristic of the gamma correction 109 is corrected so that the detected minimum density value is output as white when binarized. As a result, even if the background of the original is not white as in a newspaper, for example, the binarized output can make the background white, which is effective in shortening the transmission time in the facsimile.

【0017】モアレ抑圧エッジ強調手段111は、1画
素単位に入力される画像情報が文字領域や絵柄領域のエ
ッジ部の画素であった場合、黒に近ければより黒に、白
に近ければより白の情報に強調することによりエッジ領
域のボケを補正し、2値出力にメリハリを付ける。但
し、網点写真領域のエッジの画素であった場合は、エッ
ジ強調を小さくして、2値出力時に網点領域でのモアレ
発生を防止する。例えば図5に示す様に、太枠の四角で
示されたエッジ強調の対象画素を中心とした主走査5画
素,副走査3画素で構成される画像領域301と、各画
素位置に対応する係数111の様なデジタルフィルタと
の間でコンボリューション演算を行なうことで実現す
る。画素位置xの濃度値をV(x)、モアレ抑圧エッジ
強調出力をM(x)とすると、画素位置P12のモアレ
抑圧エッジ強調出力M(P12)は、次の数3式のコン
ボリューション演算
The moiré suppressing edge emphasizing means 111, when the image information input on a pixel-by-pixel basis is a pixel in the edge portion of a character area or a picture area, is closer to black, and is closer to white, and is closer to white. The blur of the edge area is corrected by emphasizing the information of (1) to add sharpness to the binary output. However, if it is a pixel at the edge of the halftone dot photographic area, the edge emphasis is reduced to prevent moire from occurring in the halftone dot area during binary output. For example, as shown in FIG. 5, an image region 301 composed of 5 pixels in the main scanning and 3 pixels in the sub-scanning centering on the target pixel for edge enhancement indicated by a square in a thick frame, and a coefficient corresponding to each pixel position. It is realized by performing a convolution operation with a digital filter such as 111. Assuming that the density value of the pixel position x is V (x) and the moire suppression edge emphasis output is M (x), the moire suppression edge emphasis output M (P12) of the pixel position P12 is the convolution calculation of the following formula 3.

【0018】[0018]

【数3】M(P12)=5/2・V(P12)+3/8(V(P02)
+V(P11)+V(P13)+V(P22))−5/8・(V(P01)
+V(P03)+V(P21)+V(P23))−1/8・(V(P00)
+V(P04)+V(P20)+V(P24)) で表される。
[Equation 3] M (P12) = 5/2 ・ V (P12) +3/8 (V (P02)
+ V (P11) + V (P13) + V (P22))-5/8 ・ (V (P01)
+ V (P03) + V (P21) + V (P23))-1/8 ・ (V (P00)
It is represented by + V (P04) + V (P20) + V (P24)).

【0019】このモアレ抑圧エッジ強調フィルタ111
の特性は、図5のグラフに示す様に、空間周波数(1mm
当りの濃淡変化数)が上がるにつれ主走査,副走査方向
は利得が高くなるが、斜め45度方向では空間周波数が
高くなると利得が低くなる特性をもつ。これは、文字や
絵柄の輪郭部の様に、縦方向,横方向等に高濃度画素が
連続する場合はエッジ強調度を高くし、網点領域の様に
高濃度と低濃度の画素が市松模様の様に交互に存在する
様な場合にはエッジ強調度を低くするためである。この
機能により、2値化出力に於て文字や絵柄の輪郭部はメ
リハリのある表現ができ、かつ網点領域のエッジ強調に
起因するモアレ発生が防止できる。
The moire suppressing edge enhancement filter 111
As shown in the graph in Fig. 5, the characteristics of the spatial frequency (1 mm
The gain becomes higher in the main scanning direction and the sub-scanning direction as the number of gradation changes per hit increases, but in the oblique 45 ° direction, the gain decreases as the spatial frequency increases. This is to increase the edge emphasis degree when high-density pixels are continuous in the vertical and horizontal directions, such as the outline of a character or pattern, and to check high-density and low-density pixels in a checkered area such as a halftone dot area. This is to reduce the edge enhancement degree when the patterns are alternately present. With this function, it is possible to express the contours of characters and patterns with sharpness in the binarized output, and it is possible to prevent the occurrence of moire due to the edge emphasis of the halftone dot area.

【0020】選択手段112は、エッジ検出手段106
の出力結果に応じ2つの入力から1つを選択して出力す
る。エッジと判定された場合は、エッジ強調手段107
及び濃度補正手段108で処理された画素と、ガンマ補
正手段110及びモアレ抑圧エッジ強調手段111で処
理された画素のうち、濃度の高い方を選択する。非エッ
ジと判定された場合は、ガンマ補正手段110及びモア
レ抑圧エッジ強調手段111で処理された画素を選択す
る。
The selection means 112 is an edge detection means 106.
One of the two inputs is selected and output according to the output result of. If it is determined to be an edge, the edge enhancing means 107
The pixel having the higher density is selected from the pixels processed by the density correction unit 108 and the pixels processed by the gamma correction unit 110 and the moire suppression edge enhancement unit 111. If it is determined to be a non-edge, the pixel processed by the gamma correction unit 110 and the moire suppression edge enhancement unit 111 is selected.

【0021】誤差拡散手段113は、複数画素領域の平
均階調を黒画素数と白画素数の出力割合に変換すること
で、擬似的に中間調を表現する。
The error diffusion means 113 converts the average gradation of a plurality of pixel areas into an output ratio of the number of black pixels and the number of white pixels, so that a pseudo halftone is expressed.

【0022】次に、図1に示す像域分離装置の動作につ
いて説明する。最初に白基準板102をセンサ101で
読取り、センサ101の主走査1ライン分の特性をセン
サ特性補正手段105内のメモリに記憶する。原稿10
3の入力が開始したら、センサ特性補正手段105に記
憶したセンサ特性を用いて正規化出力される原稿先端部
の画素濃度データから、原稿背景濃度検出手段110が
最小濃度値を検出する。
Next, the operation of the image area separation device shown in FIG. 1 will be described. First, the white reference plate 102 is read by the sensor 101, and the characteristics of the sensor 101 for one main scanning line are stored in the memory in the sensor characteristic correction unit 105. Manuscript 10
When the input of No. 3 is started, the document background density detecting unit 110 detects the minimum density value from the pixel density data of the document front end that is normalized and output using the sensor characteristics stored in the sensor characteristic correcting unit 105.

【0023】そして、その最小濃度値が白に変換される
様に、ガンマ補正手段109の補正特性を変更する。以
後、原稿の読取り終了まで1画素単位にエッジ検出を行
ない、エッジと判定された場合は、エッジ強調手段10
7でエッジ強調され更に濃度補正手段108で高い濃度
にシフトされた画素濃度と、ガンマ補正手段109でガ
ンマ補正され更にモアレ抑圧エッジ強調手段111で処
理された画素濃度のうち高い方を選択する。非エッジと
判定された場合は、ガンマ補正手段109で原稿の背景
濃度を白に、また絵柄領域のコントラストや明るさの補
正を行ない、そしてモアレ抑圧エッジ強調手段111で
絵柄内の輪郭部の画素がエッジ強調され、かつ網点内の
エッジ強調が防止された画素濃度を選択する。
Then, the correction characteristic of the gamma correction means 109 is changed so that the minimum density value is converted into white. After that, the edge detection is performed pixel by pixel until the reading of the original is completed.
The higher of the pixel densities edge-enhanced by 7 and further shifted to a higher density by the density correction means 108 and the pixel density gamma-corrected by the gamma correction means 109 and processed by the moire suppression edge emphasis means 111 is selected. When it is determined that the image is not an edge, the gamma correction unit 109 corrects the background density of the document to white, the contrast and brightness of the pattern area are corrected, and the moire suppression edge enhancement unit 111 corrects the pixels of the contour portion in the pattern. Is edge-enhanced and the pixel density in which the edge enhancement in the halftone dot is prevented is selected.

【0024】最後に、選択手段112から出力される画
素を一律に誤差拡散手段113で擬似中間調2値化処理
することにより、文字領域は濃くメリハリのある且つ中
間調領域,網点写真領域は高階調表現され、また原稿の
背景は白として2値出力することが可能となる。
Finally, the pixels output from the selection means 112 are uniformly subjected to the pseudo halftone binarization processing by the error diffusion means 113, so that the character area is dark and sharp, and the halftone area and the halftone dot photographic area are It is possible to perform high-gradation expression, and the background of the document can be binary output with white.

【0025】図2は、エッジ検出手段106で、着目画
素がエッジであるか否かを判定するための、主走査方向
5画素,副走査方向3画素で構成される参照領域を示し
た図である。着目画素の位置を仮にP12とすると、P
00からP24に位置する画素の濃度値を参照して、着
目画素P12のエッジ検出を行なう。
FIG. 2 is a diagram showing a reference area composed of 5 pixels in the main scanning direction and 3 pixels in the sub-scanning direction for determining whether or not the pixel of interest is an edge by the edge detecting means 106. is there. If the position of the pixel of interest is P12, P
The edge value of the pixel of interest P12 is detected with reference to the density values of the pixels located from 00 to P24.

【0026】図3は、エッジ検出手段106の詳細機能
構成図である。背景濃淡値検出手段201は、エッジ判
定の対象となる画素の周辺の画素から2画素の平均の最
小値(最も白に近いレベル)を検出する。この目的は、
文字領域ではエッジの周辺に原稿の背景濃度が存在する
確率が高いことから、2画素の平均の最小値として原稿
の背景濃度を選択させるためである。周辺2画素の最小
平均値をMNAとすると、次の数4式
FIG. 3 is a detailed functional block diagram of the edge detecting means 106. The background gray value detecting means 201 detects the average minimum value of two pixels (the level closest to white) from the pixels around the pixel to be subjected to edge determination. The purpose is
This is because the background density of the document is highly likely to exist around the edge in the character area, and therefore the background density of the document is selected as the minimum average value of two pixels. Assuming that the minimum average value of the two surrounding pixels is MNA,

【0027】[0027]

【数4】MNA=MIN(Th1、Th2、Th3、T
h4、Th5、Th6) 但し Th1=1/2(P00+P01) Th2=1/2(P03+P04) Th3=1/2(P10+P11) Th4=1/2(P13+P14) Th5=1/2(P20+P21) Th6=1/2(P23+P24) で表される。
[Formula 4] MNA = MIN (Th1, Th2, Th3, T
h4, Th5, Th6) where Th1 = 1/2 (P00 + P01) Th2 = 1/2 (P03 + P04) Th3 = 1/2 (P10 + P11) Th4 = 1/2 (P13 + P14) Th5 = 1 / 2 (P20 + P21) Th6 = 1/2 (P23 + P24)

【0028】具体的には、エッジ検出手段の詳細回路図
である図6の符号201に示す様に、隣接2画素の濃度
値を平均化回路407に入力し、その最小値を最小値選
択回路408から出力すれば良い。平均化回路407は
加算器で実現でき、最小値選択回路408は比較器の組
み合わせで容易に実現できる。
Specifically, as indicated by reference numeral 201 in FIG. 6 which is a detailed circuit diagram of the edge detecting means, the density values of two adjacent pixels are input to the averaging circuit 407 and the minimum value thereof is selected as the minimum value selecting circuit. It is sufficient to output from 408. The averaging circuit 407 can be realized by an adder, and the minimum value selection circuit 408 can be easily realized by a combination of comparators.

【0029】図3の空間周波数検出手段202は、エッ
ジ検出の対象となる画素を中心とした周辺画素領域の空
間周波数特性を検出する。具体的には、図2の着目画素
P12に対するモアレ抑圧エッジ強調フィルタ111の
出力から、着目画素P12の濃度値を減算した値を出力
する。対象画素P12の濃度値をV(P12)、モアレ
抑圧エッジ強調フィルタ出力値をM(P12)、空間周
波数検出202の出力をF(P12)とすると、次の数
5式で表わされる。なお、M(P12)は上記の数3式
The spatial frequency detecting means 202 of FIG. 3 detects the spatial frequency characteristic of the peripheral pixel area centering on the pixel for edge detection. Specifically, a value obtained by subtracting the density value of the pixel of interest P12 from the output of the moire suppression edge enhancement filter 111 for the pixel of interest P12 of FIG. 2 is output. When the density value of the target pixel P12 is V (P12), the moire suppression edge enhancement filter output value is M (P12), and the output of the spatial frequency detection 202 is F (P12), the following expression 5 is given. In addition, M (P12) is the above formula 3

【0030】[0030]

【数5】F(P12)=M(P12)−V(P12) で求められる。[Equation 5] F (P12) = M (P12) -V (P12)

【0031】その結果、F(P12)は文字領域では大
きな値を出力し、網点領域では小さな値を出力し、また
写真領域の様な濃淡変化の緩やかな領域ではほぼ“0”
を出力する。
As a result, F (P12) outputs a large value in the character area, a small value in the halftone dot area, and almost "0" in an area where the gradation changes gently such as a photograph area.
Is output.

【0032】判定しきい値演算手段203は、着目画素
P12が文字領域のエッジかどうかを判定するための判
定しきい値を決定する。空間周波数検出202の出力は
F(P12)であるため、背景濃度値検出手段201の
出力をK(P12)とし、定数設定レジスタ404の出
力をaとすると、判定しきい値THは、次の数6式
The judgment threshold value calculation means 203 determines a judgment threshold value for judging whether or not the pixel of interest P12 is an edge of a character area. Since the output of the spatial frequency detection 202 is F (P12), assuming that the output of the background density value detecting means 201 is K (P12) and the output of the constant setting register 404 is a, the determination threshold TH is Formula 6

【0033】[0033]

【数6】TH=a−F(P12)+K(P12) で表される。[Equation 6] TH = a−F (P12) + K (P12)

【0034】その結果、文字領域では、F(P12)は
大きな値、K(P12)は小さな値となるから、THは
小さな値となる。また、網点領域,写真領域では、F
(P12)は小さな値、K(P12)は大きな値となる
から、THは大きな値となる。具体的には、図6の符号
203に示す様に、定数設定レジスタ404の出力と空
間周波数検出202の出力を減算器405に入力し、次
にその出力と背景濃度値検出201の出力を加算器40
6で加算した結果を判定しきい値とする。また、定数a
は、センサ101等の読取り系の特性に応じてMPU1
14から自由に設定できる。
As a result, in the character area, F (P12) has a large value and K (P12) has a small value, so TH has a small value. In the halftone dot area and photo area, F
Since (P12) has a small value and K (P12) has a large value, TH has a large value. Specifically, as indicated by reference numeral 203 in FIG. 6, the output of the constant setting register 404 and the output of the spatial frequency detection 202 are input to the subtractor 405, and then the output and the output of the background density value detection 201 are added. Bowl 40
The result of addition in 6 is used as the judgment threshold value. Also, the constant a
Depending on the characteristics of the reading system such as the sensor 101.
It can be set freely from 14.

【0035】判定対象値演算手段204は、着目画素P
12と隣接する画素のそれぞれ2画素の平均値の最大値
MXVで置き換える。判定対象値演算出力PBは、次の
数7式
The judgment target value calculating means 204 determines the pixel P of interest.
12 is replaced with the maximum value MXV of the average value of two pixels adjacent to each other. The judgment target value calculation output PB is expressed by the following formula 7

【0036】[0036]

【数7】MXV=1/2(P12+PP) 但し PP=MAX(P01、P02、P03、P11、P13、P21、
P22、P23) で表わされる。
## EQU7 ## MXV = 1/2 (P12 + PP) where PP = MAX (P01, P02, P03, P11, P13, P21,
P22, P23).

【0037】この目的は、文字領域の様な縦,横,斜め
方向に高濃度画素が連続する領域では、2画素平均値の
最大値に置き換えても、対象画素と同等の濃淡値になる
のに対し、網点領域の様な高濃度画素と低濃度画素が交
互に存在する市松模様の様な領域では、2画素平均値の
最大値に置き換えても着目画素より低い濃度値になるこ
とを利用して、次に説明するエッジ判定手段205に於
て判定しきい値より小さな値になるように作用し、網点
領域のエッジ誤検出防止に寄与するためである。
The purpose of this is that, in a region such as a character region where high-density pixels are continuous in the vertical, horizontal, and diagonal directions, even if the maximum value of the two-pixel average value is replaced, the same gray value as the target pixel is obtained. On the other hand, in a checkerboard-like area where high-density pixels and low-density pixels alternate such as a halftone dot area, even if the maximum value of the two-pixel average value is replaced, the density value becomes lower than the pixel of interest. This is because the edge determining means 205 described below acts to make the value smaller than the determination threshold value and contributes to the prevention of erroneous edge detection in the halftone dot area.

【0038】エッジ判定手段205は、判定対象値と判
定しきい値とを比較し、対象値P12が文字領域のエッ
ジであるかどうかを判定する。判定対象値をMXV、判
定しきい値をTHとすると、判定は次の数8式
The edge determining means 205 compares the determination target value with the determination threshold value and determines whether the target value P12 is the edge of the character area. When the judgment target value is MXV and the judgment threshold value is TH, the judgment is made by the following formula 8

【0039】[0039]

【数8】MXV>TH ならば P12=エッジ MXV≦TH ならば P12=非エッジ で表わせる。If MXV> TH, P12 = edge If MXV ≦ TH, P12 = non-edge

【0040】文字領域のエッジの場合、判定対象値MX
Vは大きな値となり、判定しきい値THは小さな値とな
るため、着目画素P12はエッジとして判定される。一
方、網点領域及び中間調領域の場合、判定対象値MXV
は小さな値となり、判定しきい値THは大きな値となる
ため、着目画素P12は非エッジとして判定される。具
体的には、図6の符号206に示す様に、比較器409
で構成できる。
In the case of the edge of the character area, the judgment target value MX
Since V has a large value and the determination threshold TH has a small value, the pixel of interest P12 is determined as an edge. On the other hand, in the case of the halftone dot area and the halftone area, the determination target value MXV
Becomes a small value and the determination threshold value TH becomes a large value, so that the pixel of interest P12 is determined as a non-edge. Specifically, as indicated by reference numeral 206 in FIG. 6, the comparator 409
Can be configured with.

【0041】[0041]

【発明の効果】本発明によれば、文字と網点,写真等の
絵柄とが混在する画像を2値化処理した際に、文字領域
では濃度が濃く、輪郭がはっきりしており、網点,写真
等の絵柄領域ではモアレの発生がなく、高階調表現さ
れ、かつ原稿の背景濃度を白とした高画質2値化出力が
簡単な回路構成で得られる。
According to the present invention, when an image in which characters and patterns such as halftone dots and photographs are mixed is binarized, the character region has high density and a clear outline, and halftone dots are used. In a picture area such as a photograph, moire does not occur, high gradation expression is performed, and high image quality binary output in which the background density of a document is white can be obtained with a simple circuit configuration.

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

【図1】本発明の一実施例に係る像域分離装置の構成図
である。
FIG. 1 is a configuration diagram of an image area separation device according to an embodiment of the present invention.

【図2】エッジ検出の説明図である。FIG. 2 is an explanatory diagram of edge detection.

【図3】図1に示すエッジ検出手段の機能構成図であ
る。
FIG. 3 is a functional configuration diagram of an edge detection unit shown in FIG.

【図4】エッジ強調処理の説明図である。FIG. 4 is an explanatory diagram of edge enhancement processing.

【図5】モアレ抑圧エッジ強調処理の説明図である。FIG. 5 is an explanatory diagram of moire suppression edge enhancement processing.

【図6】エッジ検出部の具体的回路構成図である。FIG. 6 is a specific circuit configuration diagram of an edge detection unit.

【符号の説明】[Explanation of symbols]

101…センサ、102…遮断白基準板、103…原
稿、104…A/D変換器、105…センサ特性補正
部、106…エッジ検出部、107…エッジ強調部、1
08…濃度補正部、109…ガンマ補正部、110…原
稿背景濃度検出部、111…モアレ抑圧エッジ強調部、
112…選択部、113…誤差拡散部、114…MP
U、201…背景濃度地検出部、202…空間周波数検
出部、203…判定しきい値演算部、204…判定対象
値演算部、205…エッジ判定部、301…参照画素領
域、302…参照画素領域、401…最大値選択回路、
402…平均化回路、403…減算器、404…定数設
定レジスタ、405…減算器、406…加算器、407
…平均化回路、408…最小値選択回路、409…比較
器。
Reference numeral 101 ... Sensor, 102 ... Blocking white reference plate, 103 ... Original, 104 ... A / D converter, 105 ... Sensor characteristic correction section, 106 ... Edge detection section, 107 ... Edge enhancement section, 1
08 ... Density correction unit, 109 ... Gamma correction unit, 110 ... Original background density detection unit, 111 ... Moire suppression edge enhancement unit,
112 ... Selection unit, 113 ... Error diffusion unit, 114 ... MP
U, 201 ... Background density detection unit, 202 ... Spatial frequency detection unit, 203 ... Judgment threshold value calculation unit, 204 ... Judgment target value calculation unit, 205 ... Edge judgment unit, 301 ... Reference pixel area, 302 ... Reference pixel Area, 401 ... Maximum value selection circuit,
402 ... Averaging circuit, 403 ... Subtractor, 404 ... Constant setting register, 405 ... Subtractor, 406 ... Adder, 407
... averaging circuit, 408 ... minimum value selecting circuit, 409 ... comparator.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06K 9/20 340 L 7459−5L G06F 15/70 330 Z (72)発明者 小堀 智生 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所映像メディア研究所内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06K 9/20 340 L 7459-5L G06F 15/70 330 Z (72) Inventor Tomoo Kobori Yokohama, Kanagawa Prefecture 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Ltd.

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 文字画像と中間調画像とが混在する画像
を取り込み処理する像域分離装置において、取り込まれ
た画像のうち文字領域のエッジに属する画素であるか否
かを判定するエッジ検出手段と、取り込まれた画像のう
ちエッジと判定された画素についてはエッジ強調処理お
よび濃度補正処理を行なった後の画素値として出力する
第1手段と、取り込まれた画像に対しガンマ補正処理お
よび連続エッジにはエッジ強調として働き孤立エッジに
は平滑化として働く処理を行った後の画素値として出力
する第2手段と、前記エッジ検出手段が文字領域のエッ
ジと判定したときは前記第1手段から出力される画素値
を選択し前記エッジ検出手段が非エッジと判定したとき
は第2手段から出力される画素値を選択する選択手段
と、該選択手段で選択された画素値を誤差拡散処理して
2値化出力とする手段とを備えることを特徴とする像域
分離装置。
1. An image area separation apparatus for capturing an image in which a character image and a halftone image are mixed, and edge detection means for determining whether or not the captured image is a pixel belonging to an edge of a character region. A first means for outputting a pixel value after performing edge enhancement processing and density correction processing for pixels determined to be edges in the captured image; and gamma correction processing and continuous edge processing for the captured image. A second means for outputting a pixel value after performing a process for acting as an edge enhancement on an isolated edge and a process for acting on an isolated edge as a smoothing; and an output from the first means when the edge detecting means determines that it is an edge of a character area. Selecting a pixel value to be selected and selecting the pixel value output from the second means when the edge detecting means determines that the edge is not an edge, and the selecting means. An image area separation device comprising: means for performing error diffusion processing on the processed pixel values to generate a binary output.
【請求項2】 文字画像と中間調画像とが混在する画像
を取り込み処理する像域分離装置において、文字領域の
エッジに属する画素を判定するエッジ検出手段と、文字
領域のエッジと判定された画素に対してはガンマ補正を
行う前と後の画素濃度値のうち高い方の画素濃度値を選
択する手段と、文字領域のエッジでないと判定された画
素についてはガンマ補正を行った後の画素濃度値を選択
する手段とを備えることを特徴とする像域分離装置。
2. An image area separating apparatus for capturing an image in which a character image and a halftone image are mixed, and an edge detecting unit for determining a pixel belonging to an edge of a character area, and a pixel determined to be an edge of the character area. For, the means for selecting the higher pixel density value before and after the gamma correction, and the pixel density after the gamma correction for the pixels determined not to be the edge of the character area An image area separation device comprising means for selecting a value.
【請求項3】 請求項1または請求項2において、エッ
ジ検出手段は、文字画像と中間調画像とが混在する画像
から像域を判定するしきい値を該判定の対象画素の周辺
画素の濃淡情報と空間周波数情報とから決定する手段を
備えることを特徴とする像域分離装置。
3. The edge detection means according to claim 1 or 2, wherein the edge detection means sets a threshold value for determining an image area from an image in which a character image and a halftone image are mixed, to a density of peripheral pixels of a target pixel of the determination. An image area separation device comprising means for determining from information and spatial frequency information.
【請求項4】 請求項3において、エッジ検出手段は、
像域判定の対象となる画素とその周辺画素との演算結果
を像域判定用のしきい値と比較することで対象画素の像
域を判定する手段を備えることを特徴とする像域分離装
置。
4. The edge detecting means according to claim 3,
An image area separating device comprising means for judging an image area of a target pixel by comparing the calculation result of a pixel which is an object of image area judgment and a peripheral pixel thereof with a threshold value for image area judgment. .
【請求項5】 請求項1乃至請求項4のいずれかにおい
て、エッジの判定および/またはエッジと判定された画
素の2値化を白基準面が白ピークとなる様に濃度補正し
た画像情報を用いて行ないそれ以外の部分の2値化処理
は原稿の背景濃度が白で出力される様に濃度補正した画
像情報を用いて行なう手段を備えることを特徴とする像
域分離装置。
5. The image information according to any one of claims 1 to 4, wherein the edge determination and / or the binarization of the pixel determined to be the edge are density-corrected so that the white reference plane becomes a white peak. An image area separating device, characterized in that it is provided with means for performing the binarization processing of the other portion by using the image information whose density is corrected so that the background density of the document is output in white.
【請求項6】 請求項5において、原稿の先端部分で最
小濃度を検出しその最小濃度が白に補正される様にガン
マ補正特性を変更する手段を備えることを特徴とする像
域分離装置。
6. The image area separation device according to claim 5, further comprising means for detecting the minimum density at the leading edge of the document and changing the gamma correction characteristic so that the minimum density is corrected to white.
【請求項7】 請求項3において、空間周波数情報の検
出は主走査方向の空間周波数と副走査方向の空間周波数
が大きく異なっている場合は高い値を出力し、両方向の
値が同じ位の値を示す場合は低い値を出力するフィルタ
の出力を用いることを特徴とする像域分離装置。
7. The detection of spatial frequency information according to claim 3, wherein a high value is output when the spatial frequency in the main scanning direction and the spatial frequency in the sub scanning direction are significantly different, and the values in both directions are the same value. The image area separation device is characterized by using the output of a filter that outputs a low value.
【請求項8】 請求項3において、周辺画素の濃淡情報
は、判定対象画素周辺に位置する2画素以上の平均値の
中から最も白に近い値を採用することを特徴とする像域
分離装置。
8. The image area separation device according to claim 3, wherein the grayscale information of the peripheral pixels adopts a value closest to white among the average values of two or more pixels located around the determination target pixel. .
【請求項9】 文字画像と中間調画像とが混在する画像
を取り込み処理する像域分離置において、文字領域のエ
ッジに属する画素とそれ以外の画素で異なる画像処理を
行なう手段を備えることを特徴とする像域分離装置。
9. An image area separation device for capturing and processing an image in which a character image and a halftone image are mixed is provided with means for performing different image processing for pixels belonging to the edge of the character area and other pixels. Image area separation device.
【請求項10】 請求項1乃至請求項9のいずれかに記
載の像域分離装置を備えることを特徴とするファクシミ
リ装置。
10. A facsimile apparatus comprising the image area separation device according to claim 1. Description:
【請求項11】 請求項1乃至請求項9のいずれかに記
載の像域分離装置を備えることを特徴とする電子ファイ
ル装置。
11. An electronic file device comprising the image area separation device according to claim 1. Description:
JP6109700A 1994-05-24 1994-05-24 Image area separation device, facsimile equipment provided with the device and electronic file device Pending JPH07322060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6109700A JPH07322060A (en) 1994-05-24 1994-05-24 Image area separation device, facsimile equipment provided with the device and electronic file device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6109700A JPH07322060A (en) 1994-05-24 1994-05-24 Image area separation device, facsimile equipment provided with the device and electronic file device

Publications (1)

Publication Number Publication Date
JPH07322060A true JPH07322060A (en) 1995-12-08

Family

ID=14516999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6109700A Pending JPH07322060A (en) 1994-05-24 1994-05-24 Image area separation device, facsimile equipment provided with the device and electronic file device

Country Status (1)

Country Link
JP (1) JPH07322060A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6775031B1 (en) 1999-03-24 2004-08-10 Minolta Co., Ltd. Apparatus and method for processing images, image reading and image forming apparatuses equipped with the apparatus, and storage medium carrying programmed-data for processing images
CN100364328C (en) * 2004-02-18 2008-01-23 华亚微电子(上海)有限公司 System and method for detecting structure characteristic of video image
JP2008283397A (en) * 2007-05-09 2008-11-20 Kyocera Mita Corp Image processing device, image forming apparatus
JP2019186748A (en) * 2018-04-10 2019-10-24 コニカミノルタ株式会社 Image reading device, image forming apparatus, post-processing device, and image forming system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6775031B1 (en) 1999-03-24 2004-08-10 Minolta Co., Ltd. Apparatus and method for processing images, image reading and image forming apparatuses equipped with the apparatus, and storage medium carrying programmed-data for processing images
CN100364328C (en) * 2004-02-18 2008-01-23 华亚微电子(上海)有限公司 System and method for detecting structure characteristic of video image
JP2008283397A (en) * 2007-05-09 2008-11-20 Kyocera Mita Corp Image processing device, image forming apparatus
JP2019186748A (en) * 2018-04-10 2019-10-24 コニカミノルタ株式会社 Image reading device, image forming apparatus, post-processing device, and image forming system

Similar Documents

Publication Publication Date Title
JP2871127B2 (en) Image processing apparatus and method
JPS62172867A (en) Picture processor
JPH11164145A (en) Image processor
JPH07322060A (en) Image area separation device, facsimile equipment provided with the device and electronic file device
JPH07212592A (en) Image processing method
JP3334047B2 (en) IMAGE PROCESSING APPARATUS, IMAGE READING APPARATUS AND IMAGE FORMING APPARATUS EQUIPPED WITH THE SAME, IMAGE PROCESSING METHOD, AND COMPUTER-READABLE STORAGE MEDIUM CONTAINING IMAGE PROCESSING PROCEDURE
JP2521745B2 (en) Image processing device
JP3093235B2 (en) Image processing method and apparatus
JP3256267B2 (en) Image processing device
JP3725255B2 (en) Digital image processing device
JPS6180969A (en) Picture signal processor
JP3146516B2 (en) Image processing device
JP3046945B2 (en) Image data processing method
JP3346111B2 (en) Image processing device
JP3178077B2 (en) Binarization processing method
JP3136650B2 (en) Image processing device
JP3146517B2 (en) Image processing device
JPH0832802A (en) Image processing unit
JPS62165477A (en) Image processor
JPH0946523A (en) Image processing unit
JPH0488748A (en) Isolated point elimination device
JPH05300369A (en) Picture processing unit
JPH1011572A (en) Picture processing method and its device
JPH05344339A (en) Picture processor
JPH04336874A (en) Picture processor