JPH06164931A - Picture signal processor - Google Patents

Picture signal processor

Info

Publication number
JPH06164931A
JPH06164931A JP4312229A JP31222992A JPH06164931A JP H06164931 A JPH06164931 A JP H06164931A JP 4312229 A JP4312229 A JP 4312229A JP 31222992 A JP31222992 A JP 31222992A JP H06164931 A JPH06164931 A JP H06164931A
Authority
JP
Japan
Prior art keywords
pattern
binarization
binarized data
image signal
data
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.)
Granted
Application number
JP4312229A
Other languages
Japanese (ja)
Other versions
JP3303990B2 (en
Inventor
Hideyuki Miyazawa
秀幸 宮沢
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 JP31222992A priority Critical patent/JP3303990B2/en
Publication of JPH06164931A publication Critical patent/JPH06164931A/en
Application granted granted Critical
Publication of JP3303990B2 publication Critical patent/JP3303990B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To attain proper binarization processing to a picture signal. CONSTITUTION:A picture signal is converted into a digital signal at an A/D converter 1 and the digital signal is binarized by plural binarization circuits 2 whose threshold level differs from each other, Binarization data from the binarization circuits 2 are stored in line buffers 3 to form a matrix output of 3X3 picture elements. Then each pattern of a matrix output and a character line pattern are compared by a pattern detection circuit 5 and binarized data from the binarization circuit 2 whose patterns are coincident are outputted through a selection circuit 6.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ファクシミリ,複写機
などの画像読取装置に適用され、画像信号を二値化する
画像信号処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image signal processing device which is applied to an image reading device such as a facsimile or a copying machine and which binarizes an image signal.

【0002】[0002]

【従来の技術】従来の上記の画像信号処理装置では、特
開昭60−74775号公報に示されているように、画像信号
を所定のしきい値と比較して、大きければ黒、また小さ
ければ白とすることで二値化している。前記しきい値
は、通常固定されているが、シェーディング波形に応じ
て、しきい値を変化させて二値化する方式もある。
2. Description of the Related Art In the conventional image signal processing apparatus described above, as shown in JP-A-60-74775, the image signal is compared with a predetermined threshold value, and if it is large, it is black or if it is small. If it is white, it is binarized. The threshold value is usually fixed, but there is also a method in which the threshold value is changed according to the shading waveform and binarized.

【0003】[0003]

【発明が解決しようとする課題】上記の従来の画像信号
処理装置における二値化方式では、しきい値が固定、あ
るいはシェーディング波形に応じて変化させているだけ
であったため、細い文字や細線などは、MTF(変調伝
達関数)の劣化により、黒と白のレベル差が小さくなっ
て、黒レベルであるのに中間レベルとして出力されて、
文字がかすれたり、線切れ,つぶれなどが発生するとい
う問題があった。
In the binarization method in the above-mentioned conventional image signal processing apparatus, the threshold value is fixed or changed only in accordance with the shading waveform. Due to deterioration of MTF (modulation transfer function), the level difference between black and white becomes small, and the black level is output as an intermediate level.
There was a problem that the characters were faint, broken lines, and crushed.

【0004】本発明の目的は、画像信号に対して適正な
二値化処理がなされる画像信号処理装置を提供すること
にある。
An object of the present invention is to provide an image signal processing device which can appropriately perform binarization processing on an image signal.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
め、本発明は、画像信号を異なるしきい値で比較して二
値化する複数の二値化部と、各二値化部から出力された
複数画素分の二値化データを所定の文字・線パターンと
比較するパターン検出部と、パターン検出部の比較結果
により前記二値化部からの二値化データの1つを選択し
て出力する選択部とを備えたことを特徴とする。
In order to achieve the above object, the present invention comprises a plurality of binarizing units for comparing image signals with different threshold values and binarizing the image signals. A pattern detection unit that compares the output binarized data for a plurality of pixels with a predetermined character / line pattern, and selects one of the binarized data from the binarization unit based on the comparison result of the pattern detection unit. And a selecting unit for outputting the output.

【0006】また前記パターン検出部において、中心画
素を注目画素とした3×3画素のマトリクスでパターン
比較を行うように構成したことを特徴とする。
Further, the pattern detection unit is characterized in that the pattern comparison is performed by a matrix of 3 × 3 pixels in which a central pixel is a target pixel.

【0007】さらに注目画素より先に処理される参照画
素には既に選択決定された二値化データを使用し、さら
に注目画素および注目画素より後で処理される参照画素
には複数の二値化データを使用することを特徴とする。
Further, the selected and determined binarized data is used for the reference pixel processed before the target pixel, and a plurality of binarized data is used for the target pixel and the reference pixel processed after the target pixel. It is characterized by using data.

【0008】[0008]

【作用】上記の手段によれば、画像信号に対してそれぞ
れ異なるしきい値で二値化を行い、異なるしきい値ごと
による二値化データの複数画素からなる各パターンを、
例えば文字の輪郭や細い線などに表われるパターンと比
較し、パターンが一致したとき文字,線部分と判断し
て、該当二値化データを選択して出力することで、細い
文字や細線に係る画像信号に対しても黒レベルの二値化
データが確実に出力され、適正な二値化処理がなされる
ことになる。
According to the above means, the image signal is binarized with different threshold values, and each pattern consisting of a plurality of pixels of binarized data with different threshold values is converted into
For example, by comparing with a pattern appearing in the outline of a character or a thin line, if the pattern matches, it is determined that it is a character or a line portion, and the corresponding binarized data is selected and output, thereby relating to a thin character or a thin line. Even for the image signal, the black level binarized data is surely output, and proper binarization processing is performed.

【0009】また前記パターンの比較を3×3のマトリ
クスで行うことで、効率のよいパターン比較が可能にな
る。
Further, by comparing the patterns with a 3 × 3 matrix, it is possible to perform efficient pattern comparison.

【0010】さらに各二値化データのパターン検出デー
タとして、既に選択決定された前画素(前ライン)に係る
二値化データを共通して用いることで、二値化データを
記憶する記憶部などの設置数を減少させることが可能に
なり、しかも少なくとも1つのデータが、既に選択決定
されたものになるので、検出精度が向上する。
Further, as the pattern detection data of each binarized data, the binarized data relating to the previous pixel (previous line) which is already selected and decided is used in common to store the binarized data. It is possible to reduce the number of installations, and since at least one data is already selected and determined, the detection accuracy is improved.

【0011】[0011]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1は本発明の第1実施例の構成を示すブ
ロック図であり、1は画像読取部 (図示せず)からの画
像信号をデジタル信号化するA/D(アナログ/デジタ
ル)変換器であって、本実施例では全白を「0」,全黒
を「15」とし、その間の中間レベルを「1〜14」で表して
いる。
FIG. 1 is a block diagram showing a configuration of a first embodiment of the present invention, in which 1 is an A / D (analog / digital) conversion for converting an image signal from an image reading section (not shown) into a digital signal. In this embodiment, all white is "0", all black is "15", and the intermediate level between them is "1-14".

【0013】さらに2は複数(本実施例では3個用いた)
の二値化回路であって、各二値化回路2は、それぞれし
きい値が異なり、本実施例ではしきい値を「8」「7」
「6」に設定している。
Further, 2 is a plurality (three are used in this embodiment).
In the binarization circuit of No. 2, each of the binarization circuits 2 has a different threshold value. In this embodiment, the threshold value is set to "8" or "7".
It is set to "6".

【0014】3は、各二値化回路2に2個ずつ設けられ
た記憶部であるラインバッファであり、この2個のライ
ンバッファ3と1本の出力線4とで、後で詳述する3×
3マトリクス・データが出力されるようになっている。
Reference numeral 3 denotes a line buffer, which is a storage unit provided in each of the two binarization circuits 2. Two line buffers 3 and one output line 4 will be described in detail later. 3x
3 matrix data are output.

【0015】5は各二値化回路2に対応して設けられた
パターン検出回路であり、このパターン検出回路5に
は、それぞれ二値化データの前記3×3マトリクス・デ
ータが入力される。6は、後述する各パターン検出回路
5における比較結果により、適正な二値化回路2の二値
化データを選択して出力する選択回路である。
Reference numeral 5 denotes a pattern detection circuit provided corresponding to each binarization circuit 2. The pattern detection circuit 5 is supplied with the 3 × 3 matrix data of binarized data. Reference numeral 6 is a selection circuit that selects and outputs appropriate binarized data of the binarization circuit 2 based on the comparison result in each pattern detection circuit 5 described later.

【0016】次に、上記の第1実施例の動作を説明す
る。
Next, the operation of the first embodiment will be described.

【0017】A/D変換器1でデジタル信号化された画
像信号は、しきい値の異なる3個の二値化回路2に入っ
て二値化される。各二値化回路2で二値化されたデータ
は、それぞれラインバッファ3に記憶されて、図2に示
したように、前ライン,現ライン,次ラインと、次画
素,現画素,前画素とからなる3×3画素のマトリクス
が形成されることになる。
The image signal digitized by the A / D converter 1 is binarized by entering three binarizing circuits 2 having different threshold values. The binarized data in each binarization circuit 2 is stored in the line buffer 3, and as shown in FIG. 2, the previous line, the current line, the next line, the next pixel, the current pixel, and the previous pixel. Thus, a matrix of 3 × 3 pixels consisting of and is formed.

【0018】図2において、中心画素が注目画素(の
画素)であり、各数字は二値化データの出力レベルの例
を示している。各二値化回路2のしきい値が「8」「7」
「6」であるので、各パターン検出回路5に入力される
マトリクスの状態は、図2の出力レベルでは、それぞれ
図3(a)〜(c)に示したようになる。図3(a)〜(c)におい
て、斜線部分が黒画素、白地部分が白画素を示してい
る。
In FIG. 2, the central pixel is the pixel of interest (pixel thereof), and each numeral indicates an example of the output level of the binarized data. The threshold value of each binarization circuit 2 is “8” or “7”
Since it is "6", the states of the matrix input to each pattern detection circuit 5 are as shown in FIGS. 3A to 3C at the output level of FIG. In FIGS. 3 (a) to 3 (c), the shaded portions indicate black pixels and the white background portions indicate white pixels.

【0019】すなわち、しきい値が「8」の二値化回路
2では、黒画素が1個(図3(a))、しきい値が「7」の
二値化回路2では黒画素が3個(図3(b))、しきい値が
「6」の二値化回路2では黒画素が4個(図3(c))にな
る。
That is, in the binarization circuit 2 having a threshold value of "8", there is one black pixel (FIG. 3A), and in the binarization circuit 2 having a threshold value of "7", there is one black pixel. In the binarization circuit 2 having three (FIG. 3B) and a threshold value of “6”, there are four black pixels (FIG. 3C).

【0020】パターン検出回路5には、図4(a)〜(d)に
示した細い文字や文字の輪郭などに表われる代表的なパ
ターンが記憶されている。図4(a)〜(d)において、斜線
部分が黒画素、白地部分が白画素を示している。パター
ン検出回路5では、図4(a)〜(d)のパターンと図3(a)
〜(c)の比較対象パターンであるマトリクス出力とが一
致するか否か比較・検出され、この比較結果により一致
したマトリクス出力に係る二値化回路2の二値化データ
が選択回路6から選択されて出力される。
The pattern detection circuit 5 stores typical patterns appearing in thin characters and character outlines shown in FIGS. 4 (a) to 4 (d). In FIGS. 4 (a) to 4 (d), the shaded portions indicate black pixels and the white background portions indicate white pixels. In the pattern detection circuit 5, the patterns of FIGS. 4 (a) to 4 (d) and FIG.
It is compared and detected whether or not the matrix output, which is the comparison target pattern of (c), matches, and the binarized data of the binarization circuit 2 relating to the matched matrix output is selected from the selection circuit 6 by the comparison result. Is output.

【0021】本実施例では、図3(c)と図4(c)とのパタ
ーンが一致するため、しきい値「6」の二値化回路2か
らの二値化データが出力されるが、一致するパターンが
ない場合、あるいは複数の一致するパターンがある場合
には、デフォルト値を選択することにする。
In the present embodiment, since the patterns of FIG. 3 (c) and FIG. 4 (c) match, the binarized data from the binarization circuit 2 having the threshold value “6” is output. , If there is no matching pattern, or if there are multiple matching patterns, the default value will be selected.

【0022】このように画像信号に対して複数のしきい
値で二値化を行い、各しきい値による二値化データによ
るパターンから文字の輪郭,細線などのパターンと一致
するものを選択しているので、二値化データに対する文
字,線部分の対応判断が適切になされ、細い文字や線な
どの二値化データにおいて黒レベルと白レベルのレベル
差が小さいものであっても、黒レベルに対応する二値化
データが正確に出力されることになり、出力画像におい
て、文字のかすれ,線切れ,つぶれなどの発生を防ぐこ
とができる。
In this way, the image signal is binarized with a plurality of threshold values, and a pattern that matches the pattern such as the outline of a character or a thin line is selected from the patterns of the binarized data according to each threshold value. Therefore, the correspondence of the character and line parts to the binarized data is properly determined, and even if the level difference between the black level and the white level in the binarized data such as thin characters and lines is small, the black level Since the binarized data corresponding to is accurately output, it is possible to prevent the occurrence of character blurring, line breakage, crushing, and the like in the output image.

【0023】またマトリクス状での二値化データとパタ
ーンとの一致検出がパターン検出回路5でなされるの
で、効率が良く正確な検出が可能になる。
Further, since the pattern detection circuit 5 detects the coincidence between the binarized data and the pattern in a matrix, the pattern detection circuit 5 can detect the pattern efficiently and accurately.

【0024】図5は本発明の第2実施例の構成を示すブ
ロック図であり、基本的構成は第1実施例と同じである
が、この第2実施例ではラインバッファ13に前ラインの
二値化データを記憶しておき、図2のマトリクス出力に
それぞれ共通して用いるようにしており、各二値化回路
2に対応して設けられるラインバッファの数を少なくし
ている。さらに前ラインの二値化データは、既に選択決
定されたデータであるので、検出精度を向上させること
ができる。
FIG. 5 is a block diagram showing the structure of the second embodiment of the present invention. The basic structure is the same as that of the first embodiment, but in this second embodiment, the line buffer 13 is provided with two lines of the previous line. The binarized data is stored and commonly used for the matrix output of FIG. 2, and the number of line buffers provided corresponding to each binarization circuit 2 is reduced. Furthermore, since the binarized data on the previous line is the data that has already been selected and determined, the detection accuracy can be improved.

【0025】なお、前記二値化回路2のしきい値は、適
宜変えられるようにしておくことで適用範囲を広げられ
る。また二値化回路2の設置数は前記実施例の3個に限
定されない。同様にパターンおよびマトリクス出力も3
×3のマトリクスに限定されない。
The threshold value of the binarization circuit 2 can be appropriately changed to broaden the applicable range. Further, the number of binarization circuits 2 installed is not limited to three in the above-described embodiment. Similarly, the pattern and matrix outputs are 3
The matrix is not limited to × 3.

【0026】[0026]

【発明の効果】以上説明したように、本発明の画像信号
処理装置は、請求項1記載の構成によれば、画像信号を
複数の異なるしきい値で二値化して、異なるしきい値ご
とによる二値化データの複数画素からなる各パターンを
予め定められた文字・線パターンと比較することで、二
値化データの文字,線部分の判断、すなわち黒データの
判断が確実にでき、細い文字や細線に係る画像信号にお
いて黒レベルの二値化データを確実に出力できることに
なり、出力画像における文字のかすれ,線切れ,つぶれ
などの発生を防止できる。
As described above, according to the image signal processing device of the present invention, according to the structure of claim 1, the image signal is binarized by a plurality of different threshold values and different threshold values are set. By comparing each pattern consisting of a plurality of pixels of the binarized data according to the above with a predetermined character / line pattern, it is possible to reliably judge the characters and line parts of the binarized data, that is, the black data, and it is fine. It is possible to reliably output the black level binarized data in the image signal related to the character or the thin line, and it is possible to prevent the occurrence of the character blurring, line breakage, crushing, or the like in the output image.

【0027】また請求項2記載の構成によれば、前記パ
ターンの比較を3×3のマトリクスで行うことで、効率
の良いパターン比較ができる。
According to the second aspect of the present invention, efficient pattern comparison can be performed by comparing the patterns with a 3 × 3 matrix.

【0028】さらに請求項3記載の構成によれば、前記
パターン検出データの1つとして前画素(前ライン)に係
る二値化データを用いることで、パターン形成のための
二値化データ記憶部などの設置数を減らすことができ、
しかも前記二値化データは既に選択決定されたものであ
るので検出精度が向上する。
Further, according to the third aspect of the invention, the binarized data storage unit for forming the pattern is used by using the binarized data relating to the previous pixel (previous line) as one of the pattern detection data. The number of installations such as
Moreover, since the binarized data has already been selected and determined, the detection accuracy is improved.

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

【図1】本発明の第1実施例における画像信号処理装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an image signal processing device according to a first embodiment of the present invention.

【図2】マトリクス出力の説明図である。FIG. 2 is an explanatory diagram of matrix output.

【図3】異なるしきい値で二値化した各マトリクス出力
の説明図である。
FIG. 3 is an explanatory diagram of each matrix output binarized with different threshold values.

【図4】文字・線パターンの説明図である。FIG. 4 is an explanatory diagram of character / line patterns.

【図5】本発明の第2実施例における画像信号処理装置
の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of an image signal processing device according to a second embodiment of the present invention.

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

1…A/D変換器、 2…二値化回路、 3,13…ライ
ンバッファ、 4…出力線、 5…パターン検出回路、
6…選択回路。
1 ... A / D converter, 2 ... Binarization circuit, 3, 13 ... Line buffer, 4 ... Output line, 5 ... Pattern detection circuit,
6 ... Selection circuit.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 画像信号を異なるしきい値で比較して二
値化する複数の二値化部と、各二値化部から出力された
複数画素分の二値化データを所定の文字・線パターンと
比較するパターン検出部と、パターン検出部の比較結果
により前記二値化部からの二値化データの1つを選択し
て出力する選択部とを備えたことを特徴とする画像信号
処理装置。
1. A plurality of binarization units for comparing image signals with different threshold values to binarize them, and binarized data for a plurality of pixels output from each binarization unit into predetermined characters. An image signal, comprising: a pattern detecting unit for comparing with a line pattern; and a selecting unit for selecting and outputting one of the binarized data from the binarizing unit according to a comparison result of the pattern detecting unit. Processing equipment.
【請求項2】 前記パターン検出部において、中心画素
を注目画素とした3×3画素のマトリクスでパターン比
較を行うように構成したことを特徴とする請求項1の画
像信号処理装置。
2. The image signal processing apparatus according to claim 1, wherein the pattern detection unit is configured to perform pattern comparison using a matrix of 3 × 3 pixels in which a central pixel is a target pixel.
【請求項3】 注目画素より先に処理される参照画素に
は既に選択決定された二値化データを使用し、さらに注
目画素および注目画素より後で処理される参照画素には
複数の二値化データを使用することを特徴とする請求項
1または2の画像信号処理装置。
3. The binarized data that has already been selected and used is used for a reference pixel processed before the target pixel, and a plurality of binary values are used for the target pixel and the reference pixel processed after the target pixel. 3. The image signal processing device according to claim 1, wherein the image data is used.
JP31222992A 1992-11-20 1992-11-20 Image signal processing device Expired - Fee Related JP3303990B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31222992A JP3303990B2 (en) 1992-11-20 1992-11-20 Image signal processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31222992A JP3303990B2 (en) 1992-11-20 1992-11-20 Image signal processing device

Publications (2)

Publication Number Publication Date
JPH06164931A true JPH06164931A (en) 1994-06-10
JP3303990B2 JP3303990B2 (en) 2002-07-22

Family

ID=18026738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31222992A Expired - Fee Related JP3303990B2 (en) 1992-11-20 1992-11-20 Image signal processing device

Country Status (1)

Country Link
JP (1) JP3303990B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010220250A (en) * 2003-07-01 2010-09-30 Xerox Corp Segmentation method and system for multiple raster content (mrc) representation of document

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010220250A (en) * 2003-07-01 2010-09-30 Xerox Corp Segmentation method and system for multiple raster content (mrc) representation of document

Also Published As

Publication number Publication date
JP3303990B2 (en) 2002-07-22

Similar Documents

Publication Publication Date Title
EP0513612A2 (en) Fingerprint data registering method
US4817174A (en) Image processing apparatus
US5272763A (en) Apparatus for inspecting wiring pattern formed on a board
JPH06164931A (en) Picture signal processor
US5299030A (en) Image data processing method and apparatus with mixture of simple binarization and psuedo intermediate tone
JP3239447B2 (en) Isolated point judgment circuit
JP2003203218A (en) Visual inspection device and method
JPH063541B2 (en) Pattern inspection equipment
JP2765339B2 (en) Through hole inspection equipment
JP3251119B2 (en) Image processing device
JP3358133B2 (en) Image processing device
JP2853140B2 (en) Image area identification device
JPH0129643Y2 (en)
JP2841373B2 (en) Pattern inspection equipment
JP2507948B2 (en) Image area identification device
JPH08272956A (en) Method and device for noise removal
JPH06150059A (en) Image area separator
JPH04295980A (en) Image reader
JP3267372B2 (en) Method and apparatus for generating matching pattern signal in pattern matching inspection
JPH05344330A (en) Picture area discriminating device
JP2853141B2 (en) Image area identification device
JPH0414067B2 (en)
JP2766031B2 (en) Image processing apparatus and image processing method
JP3436003B2 (en) Image processing device
JP3002473B2 (en) Pattern inspection method and apparatus

Legal Events

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

Free format text: PAYMENT UNTIL: 20080510

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090510

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees