JP3303990B2 - Image signal processing device - Google Patents

Image signal processing device

Info

Publication number
JP3303990B2
JP3303990B2 JP31222992A JP31222992A JP3303990B2 JP 3303990 B2 JP3303990 B2 JP 3303990B2 JP 31222992 A JP31222992 A JP 31222992A JP 31222992 A JP31222992 A JP 31222992A JP 3303990 B2 JP3303990 B2 JP 3303990B2
Authority
JP
Japan
Prior art keywords
line
pattern
pixel
matrix
image signal
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 - Fee Related
Application number
JP31222992A
Other languages
Japanese (ja)
Other versions
JPH06164931A (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 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

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 apparatus which is applied to an image reading apparatus such as a facsimile, a copying machine, etc. and binarizes an image signal.

【0002】[0002]

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

【0003】[0003]

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

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

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
め、本発明は、画像信号を異なるしきい値で比較して二
値化する複数の二値化部と、各二値化部にそれぞれ対応
して設置されて各二値化部から出力された二値化データ
それぞれ前ライン,現ライン,次ラインと次画素,現
画素,前画素とからなる3×3画素のマトリクスとして
出力するラインバッファ部と、これらのラインバッファ
部の出力パターンとあらかじめ記憶されている3×3画
素のマトリクスからなる所定の文字・線パターンと
較するパターン検出部と、このパターン検出部の比較結
果により前記二値化部からの二値化データの1つを選択
して出力する選択部とを備えたことを特徴とする。
In order to achieve the above object, the present invention provides a plurality of binarizing sections for binarizing an image signal by comparing them with different threshold values, Correspond to each
To set up has been binarized data, respectively before line outputted from the binarization unit, current line, next line and the next pixel, current
As a matrix of 3 × 3 pixels consisting of the pixel and the previous pixel
Output line buffer section and these line buffers
Output pattern and 3x3 image stored in advance
Select a pattern detection section for matrix ratio <br/> compare a predetermined character-line pattern consisting of hydrogen, one of the binarized data from the binarizing unit by comparison of the pattern detection unit And a selector for outputting the data.

【0006】また前記選択部により既に選択決定された
前ラインの二値化データを記憶するラインバッファ部を
備え、該前ラインの二値化データを前記各二値化部に対
応して設置されるラインバッファ部に共通して用いて該
ラインバッファ部から3×3画素のマトリクスとして前
記パターン検出部に出力することを特徴とする。
[0006] In addition, the selection unit has already selected and decided.
A line buffer for storing the binarized data of the previous line
And stores the binarized data of the previous line in each of the binarized units.
Commonly used for line buffers
Before the line buffer section as a 3 × 3 pixel matrix
The data is output to the pattern detection unit .

【0007】さらに前記パターン検出部において、中心
画素を注目画素とした3×3画素のマトリクスでパター
ン比較を行うように構成したことを特徴とする。
Further, in the pattern detecting section, the center
A 3 × 3 pixel matrix with pixels as target pixels
It is characterized by performing a comparison .

【0008】[0008]

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

【0009】また前記パターンの比較を3×3のマトリ
クスで行うことで、効率のよいパターン比較が可能にな
る。
Further, by performing the pattern comparison in a 3 × 3 matrix, efficient pattern comparison can be performed.

【0010】さらに各二値化データのパターン検出デー
タとして、既に選択決定された前画素(前ライン)に係る
二値化データを共通して用いることで、二値化データを
記憶する記憶部などの設置数を減少させることが可能に
なり、しかも少なくとも1つのデータが、既に選択決定
されたものになるので、検出精度が向上する。
A storage unit for storing binarized data by commonly using binarized data relating to a previously selected and determined previous pixel (previous line) as pattern detection data of each binarized data. Can be reduced, and at least one piece of data is already selected and determined, so that 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 the configuration of a first embodiment of the present invention. Reference numeral 1 denotes an A / D (analog / digital) converter for converting an image signal from an image reading section (not shown) into a digital signal. In this embodiment, all white is set to "0", all black is set to "15", and intermediate levels between them are indicated by "1 to 14".

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

【0014】3は、各二値化回路2に2個ずつ設けられ
た記憶部であるラインバッファであり、この2個のライ
ンバッファ3と1本の出力線4とで、後で詳述する3×
3マトリクス・データが出力されるようになっている。
Reference numeral 3 denotes a line buffer, which is a storage unit provided two by two in each binarizing circuit 2. The two line buffers 3 and one output line 4 will be described later in detail. 3x
Three matrix data is 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 receives the 3 × 3 matrix data of the binarized data. Reference numeral 6 denotes a selection circuit that selects and outputs appropriate binarized data of the binarization circuit 2 based on a 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画素のマトリクス
が形成されることになる。
An image signal converted into a digital signal by the A / D converter 1 enters three binarizing circuits 2 having different threshold values and is binarized. The data binarized by 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 and the next pixel, the current pixel, the previous pixel. And a matrix of 3 × 3 pixels is formed.

【0018】図2において、中心画素が注目画素(の
画素)であり、各数字は二値化データの出力レベルの例
を示している。各二値化回路2のしきい値が「8」「7」
「6」であるので、各パターン検出回路5に入力される
マトリクスの状態は、図2の出力レベルでは、それぞれ
図3(a)〜(c)に示したようになる。図3(a)〜(c)におい
て、斜線部分が黒画素、白地部分が白画素を示してい
る。
In FIG. 2, the center pixel is the pixel of interest (the pixel of interest), and each number indicates an example of the output level of the binarized data. The threshold value of each binarization circuit 2 is "8""7"
Since it is "6", the state of the matrix input to each pattern detection circuit 5 is as shown in FIGS. 3A to 3C at the output level of FIG. 3A to 3C, hatched portions indicate black pixels and white 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", one black pixel is provided (FIG. 3A), and in the binarization circuit 2 having a threshold value of "7", the black pixel is provided. In the binarization circuit 2 having three pixels (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. 4A to 4D. 4A to 4D, a hatched portion indicates a black pixel, and a white background portion indicates a white pixel. In the pattern detection circuit 5, the patterns shown in FIGS.
It is compared and detected whether or not the matrix output which is the comparison target pattern of (c) matches, and the binarization data of the binarization circuit 2 relating to the matched matrix output is selected from the selection circuit 6 according to the comparison result. Is output.

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

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

【0023】またマトリクス状での二値化データとパタ
ーンとの一致検出がパターン検出回路5でなされるの
で、効率が良く正確な検出が可能になる。
Further, since the coincidence between the binary data in the matrix and the pattern is detected by the pattern detection circuit 5, efficient and accurate detection becomes possible.

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

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

【0026】[0026]

【発明の効果】以上説明したように、本発明の画像信号
処理装置によれば、画像信号を複数の異なるしきい値で
二値化して、異なるしきい値ごとによる二値化データ
てそれぞれ前ライン,現ライン,次ラインと次画素,現
画素,前画素とからなる3×3画素のマトリクスパター
ンとし、このマトリクスパターンと予め定められている
3×3画素のマトリクスからなる所定の文字・線パター
ンと比較することで、二値化データの文字,線部分の
判断、すなわち黒データの判断が確実にでき、細い文字
や細線に係る画像信号において黒レベルの二値化データ
を確実に出力できることになり、出力画像における文字
のかすれ,線切れ,つぶれなどの発生を防止できる。
As described in the foregoing, according to the image signal processing equipment of the present invention, by binarizing an image signal at a plurality of different threshold values, the binary data by each different threshold
The previous line, current line, next line and next pixel,
3x3 pixel matrix pattern consisting of pixel and previous pixel
And this matrix pattern is predetermined
By comparing with a predetermined character / line pattern composed of a matrix of 3 × 3 pixels, the determination of the character and line portion of the binarized data, that is, the determination of the black data can be reliably performed. Black level binarized data can be reliably output from the signal, and the occurrence of blurred characters, broken lines, and crushed characters in the output image can be prevented.

【0027】また前記パターンの比較を中心画素を注目
画素とした3×3画素のマトリクスで行うことで、効率
の良いパターン比較ができる。
The attention of the center pixel of the comparison of the previous Symbol pattern or
Efficient pattern comparison can be performed by using a matrix of 3 × 3 pixels as pixels .

【0028】さらに、前記パターン検出データの1つ
として前ラインに係る二値化データを用いることで、パ
ターン形成のためのラインバッファなどの設置数を減ら
すことができ、しかも前記二値化データは既に選択決定
されたものであるので検出精度が向上する。
[0028] Furthermore, by using the binary data according to one <br/> and to previous line detection data before Symbol pattern, it is possible to reduce the number of installation such as a line buffer for patterning Moreover, since the binarized data has already been selected and determined, the detection accuracy is improved.

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

【図1】本発明の第1実施例における画像信号処理装置
の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating 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 by different threshold values.

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

【図5】本発明の第2実施例における画像信号処理装置
の構成を示すブロック図である。
FIG. 5 is a block diagram illustrating 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…選択回路。
DESCRIPTION OF SYMBOLS 1 ... A / D converter, 2 ... Binary circuit, 3,13 ... Line buffer, 4 ... Output line, 5 ... Pattern detection circuit,
6 ... Selection circuit.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像信号を異なるしきい値で比較して二
値化する複数の二値化部と、各二値化部にそれぞれ対応
して設置されて各二値化部から出力された二値化データ
それぞれ前ライン,現ライン,次ラインと次画素,現
画素,前画素とからなる3×3画素のマトリクスとして
出力するラインバッファ部と、これらのラインバッファ
部の出力パターンとあらかじめ記憶されている3×3画
素のマトリクスからなる所定の文字・線パターンと
較するパターン検出部と、このパターン検出部の比較結
果により前記二値化部からの二値化データの1つを選択
して出力する選択部とを備えたことを特徴とする画像信
号処理装置。
1. A plurality of binarization units for comparing image signals with different threshold values and binarizing the image signals, and corresponding to each of the binarization units.
To set up has been binarized data, respectively before line outputted from the binarization unit, current line, next line and the next pixel, current
As a matrix of 3 × 3 pixels consisting of the pixel and the previous pixel
Output line buffer section and these line buffers
Output pattern and 3x3 image stored in advance
Select a pattern detection section for matrix ratio <br/> compare a predetermined character-line pattern consisting of hydrogen, one of the binarized data from the binarizing unit by comparison of the pattern detection unit An image signal processing device, comprising:
【請求項2】 前記選択部により既に選択決定された前
ラインの二値化データを記憶するラインバッファ部を備
え、該前ラインの二値化データを前記各二値化部に対応
して設置されるラインバッファ部に共通して用いて該ラ
インバッファ部から3×3画素のマトリクスとして前記
パターン検出部に出力することを特徴とする請求項1
の画像信号処理装置。
2. Before being already selected and determined by the selection unit.
Equipped with a line buffer to store the binary data of the line
The binarized data of the previous line corresponds to each of the binarized units.
This line is used in common for the line buffer
From the in-buffer section as a 3 × 3 pixel matrix
Claim 1 Symbol for and outputs the pattern detection unit
Placing the image signal processing apparatus.
【請求項3】 前記パターン検出部において、中心画素
を注目画素とした3×3画素のマトリクスでパターン比
較を行うように構成したことを特徴とする請求項1また
は2記載の画像信号処理装置。
3. A pattern detecting section, comprising : a central pixel;
Pattern ratio in a 3 × 3 pixel matrix with
The image signal processing apparatus according to claim 1 or 2, wherein the configured to perform compare.
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 JPH06164931A (en) 1994-06-10
JP3303990B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI366156B (en) * 2003-07-01 2012-06-11 Xerox Corp Method and system for thinning or eroding a gray image of an input image defined by a plurality of pixels

Also Published As

Publication number Publication date
JPH06164931A (en) 1994-06-10

Similar Documents

Publication Publication Date Title
US4817174A (en) Image processing apparatus
US5568597A (en) Adapting image data resolution to match resolution of an output device
EP0685959B1 (en) Image processing apparatus for identifying character, photo and dot images in the image area
US5278919A (en) Image area determining apparatus
JPH07262374A (en) Image processor
US4996602A (en) Image-processing apparatus
JP3303990B2 (en) Image signal processing device
JP3239447B2 (en) Isolated point judgment circuit
US6625324B1 (en) Apparatus and method for providing compensation bits for post image processing
JP2589928B2 (en) Isolated point removal device
JPS63288565A (en) Image processor
JP3215146B2 (en) Image processing device
JP3466655B2 (en) Image processing device
JP3451490B2 (en) Image information processing method
JPH0851537A (en) Image processor discriminating character/photograph/dot area
JP3136671B2 (en) Image reading device
JP2521744B2 (en) Image processing device
JPH0127473B2 (en)
JP2507948B2 (en) Image area identification device
JP2624427B2 (en) Image discriminating device
JPH05284358A (en) Picture processing unit
JP3216165B2 (en) Image region identification device and image region identification method
JP2766031B2 (en) Image processing apparatus and image processing method
JP2812006B2 (en) Binarization circuit
JPH0736607B2 (en) Image signal processing method

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