JPH0594531A - Binarizing filter device - Google Patents
Binarizing filter deviceInfo
- Publication number
- JPH0594531A JPH0594531A JP3280564A JP28056491A JPH0594531A JP H0594531 A JPH0594531 A JP H0594531A JP 3280564 A JP3280564 A JP 3280564A JP 28056491 A JP28056491 A JP 28056491A JP H0594531 A JPH0594531 A JP H0594531A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- noise component
- input image
- binarizing
- fixed noise
- 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
Links
Landscapes
- Image Input (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
(57)【要約】
【目的】簡単な構成でイメージデータのノイズ成分を除
去する2値化フィルタを得る。
【構成】入力イメージデータを、ヒステリシス特性を持
ったフィルタに通し、この出力を2値化することで微小
なノイズ成分に関しては固定ノイズ成分とランダムノイ
ズ成分を共に除去した出力結果を得るようにする。
(57) [Summary] [Objective] To obtain a binarization filter that removes noise components of image data with a simple configuration. [Structure] The input image data is passed through a filter having a hysteresis characteristic, and the output is binarized to obtain an output result in which both fixed noise components and random noise components are removed from minute noise components. ..
Description
【0001】[0001]
【産業上の利用分野】本発明は、外部から入力された文
字、映像等のイメージデータ中に含まれるノイズ成分
を、ヒステリシス特性を備えたフィルタを用いることで
除去することを特徴とする2値化フィルタ装置に関する
ものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention eliminates noise components contained in image data such as characters and images input from the outside by using a filter having a hysteresis characteristic. The present invention relates to a digital filter device.
【0002】[0002]
【従来の技術】従来、入力されたイメージデータ中に含
まれるノイズ成分を除去し、2値化する方法としては図
4に示すような方法が用いられている。これは、入力機
器の特性により入力された入力イメージデータ1中の特
定位置に現れる固定ノイズ成分2を信号処理系に設けら
れた固定ノイズ成分記憶メモリ3に予め記憶させ、差分
回路8で入力された固定ノイズ成分2が含まれる入力イ
メージデータ1と記憶された基準固定ノイズ成分4の差
分を取ることで固定ノイズ成分2を含まない出力イメー
ジデータ5を得て、これを2値化するものである。2. Description of the Related Art Conventionally, a method shown in FIG. 4 has been used as a method for removing noise components contained in input image data and binarizing them. This is because the fixed noise component 2 that appears at a specific position in the input image data 1 that is input due to the characteristics of the input device is stored in advance in the fixed noise component storage memory 3 provided in the signal processing system, and is input by the difference circuit 8. The input image data 1 containing the fixed noise component 2 and the stored reference fixed noise component 4 are obtained to obtain the output image data 5 not containing the fixed noise component 2 and binarize the output image data 5. is there.
【0003】この装置では、使用に先立ち固定ノイズ成
分記憶メモリ3に基準固定ノイズ成分4を登録する必要
がある。これはイメージデータ取込装置6に対して、本
来その出力が一様に丁度0となるような対象を入力し、
この時の得られる入力イメージデータ1を基準固定ノイ
ズ成分4として固定ノイズ成分記憶メモリ3に登録する
ことで行われる。基準固定ノイズ成分4は、イメージデ
ータ取込装置6の出力信号である入力イメージデータ1
中のどの位置に現れたものかを加味しながら固定ノイズ
成分記憶メモリ3に登録される。In this apparatus, it is necessary to register the reference fixed noise component 4 in the fixed noise component storage memory 3 before use. This is to input an object to the image data capturing device 6 whose original output is exactly 0,
The input image data 1 obtained at this time is registered in the fixed noise component storage memory 3 as the reference fixed noise component 4. The reference fixed noise component 4 is the input image data 1 which is the output signal of the image data capturing device 6.
It is registered in the fixed noise component storage memory 3 while taking into consideration the position in which it appears.
【0004】ノイズ除去と2値化の動作は次の手順で行
われる。入力イメージデータ1はその位置がイメージデ
ータ取込装置6のどの位置に該当するかを示した位置情
報7と共に入力される。この入力された位置情報7は固
定ノイズ成分記憶メモリ3に与えられ、固定ノイズ成分
記憶メモリ3は上記の動作により記憶させた該当位置の
基準固定ノイズ成分4を差分回路8に出力する。上記入
力イメージデータ1も同様に差分回路8に入力され、差
分回路8は入力された入力イメージデータ1と基準固定
ノイズ成分4の差を取り、この結果の出力イメージデー
タ5を2値化回路9に入力する。2値化回路9は与えら
れた信号の2値化を行い、最終結果10を得る。The noise removing and binarizing operations are performed in the following procedure. The input image data 1 is input together with position information 7 indicating which position of the image data capturing device 6 the position corresponds to. The input position information 7 is given to the fixed noise component storage memory 3, and the fixed noise component storage memory 3 outputs the reference fixed noise component 4 of the corresponding position stored by the above operation to the difference circuit 8. The input image data 1 is also input to the difference circuit 8, and the difference circuit 8 takes the difference between the input image data 1 and the reference fixed noise component 4, and the resulting output image data 5 is binarized circuit 9 To enter. The binarization circuit 9 binarizes the given signal and obtains a final result 10.
【0005】次に図5を用いて、従来技術の動作説明を
行う。説明の簡単化のために、イメージデータ取込装置
6をラインセンサとし、その長さをデータ数で8個分、
出力値が0〜7、固定ノイズ成分2は2の大きさで操作
方向に対して、 0 0 +2 0 0 -2 0 0 として現れるものとする。イメージデータ取込装置6に
本来その出力が 2 2 2 2 5 5 5 5 となる対象を入力した場合、入力イメージデータ1は固
定ノイズ成分2が加えられ、 2 2 4 2 5 3 5 5 となる値を取る。Next, the operation of the prior art will be described with reference to FIG. For simplification of description, the image data capturing device 6 is a line sensor, and the length of the line sensor corresponds to eight data,
The output value is 0 to 7, and the fixed noise component 2 has a magnitude of 2 and appears as 0 0 +2 0 0 -2 0 0 in the operation direction. When an object whose output is originally 2 2 2 2 5 5 5 5 is input to the image data capturing device 6, a fixed noise component 2 is added to the input image data 1 and becomes 2 2 4 2 5 3 5 5. Takes a value.
【0006】この入力イメージデータは差分回路8に入
力されるが、それと同時に固定ノイズ成分記憶メモリ3
に予め記憶された 0 0 +2 0 0 -2 0 0 なる基準固定ノイズデータ4も差分回路8に入力され、
差分回路8は入力イメージデータ1と基準固定ノイズ成
分4との差分を取り 2 2 2 2 5 5 5 5 なる出力イメージデータ5を得て、これを2値化回路9
に入力し、最終結果10を得ることになる。仮に切り捨
て回路の入力範囲0〜7、出力1ビットとすると、最終
結果10は固定ノイズ成分2を除去した場合は 0 0 0 0 1 1 1 1 となり、固定ノイズ成分2を除去しない場合は 0 0 1 0 1 0 1 1 となる。This input image data is input to the difference circuit 8, and at the same time, the fixed noise component storage memory 3
The reference fixed noise data 4 of 0 0 +2 0 0 -2 0 0 stored in advance is also input to the difference circuit 8,
The difference circuit 8 takes the difference between the input image data 1 and the reference fixed noise component 4 to obtain output image data 5 of 2 2 2 2 5 5 5 5 which is binarized.
To obtain the final result of 10. If the input range of the truncation circuit is 0 to 7 and the output is 1 bit, the final result 10 is 0 0 0 0 1 1 1 1 when the fixed noise component 2 is removed, and 0 0 when the fixed noise component 2 is not removed. It becomes 1 0 1 0 1 1.
【0007】図6は、上記の固定ノイズ成分に加えて次
に示すようなランダムノイズが加わった場合のものであ
る。 0 +2 0 0 0 0 0 -2 この場合は、固定ノイズ成分記憶メモリ3に記憶した上
記の固定ノイズ成分2との差分を取るだけでは除去でき
ず、出力イメージデータ5に次のようなノイズが生じ
る。 2 (4) 2 2 5 5 5 (3) また、最終結果10にも次のようなノイズが生ずること
になる。 0 (1) 0 0 1 1 1 (0) なお()内のデータはランダムノイズに影響を受けたデ
ータを示す。FIG. 6 shows the case where the following random noise is added to the above fixed noise component. 0 +2 0 0 0 0 0 -2 In this case, it cannot be removed only by taking the difference with the fixed noise component 2 stored in the fixed noise component storage memory 3, and the following noise is added to the output image data 5. Occurs. 2 (4) 2 2 5 5 5 (3) Also, the following noise is generated in the final result 10. 0 (1) 0 0 1 1 1 (0) The data in parentheses indicates data affected by random noise.
【0008】[0008]
【発明が解決しようとする課題】上記従来の装置におい
ては、次のような問題がある。第1点は、固定ノイズ成
分記憶メモリ3が必要となることである。固定ノイズ成
分記憶メモリ3は、イメージデータ取込装置6の処理単
位と同じ大きさにする必要があり、イメージデータ取込
装置6がラインセンサならばその長さ方向のデータ数と
同じ大きさの記憶領域が必要であり、エリアセンサであ
ればその中に含まれるデータ数と同じ大きさの記憶領域
が必要となる。The above-mentioned conventional apparatus has the following problems. The first point is that the fixed noise component storage memory 3 is required. The fixed noise component storage memory 3 needs to have the same size as the processing unit of the image data capturing device 6, and if the image data capturing device 6 is a line sensor, it has the same size as the number of data in the length direction. A storage area is required, and an area sensor requires a storage area having the same size as the number of data contained therein.
【0009】第2点は、基準固定ノイズ成分4の正確な
登録が必要となることである。基準固定ノイズ成分4の
登録中に図6に示すようなランダムに発生するランダム
ノイズ16の混入等が生ずると、基準固定ノイズ成分4
が誤って登録された場合、入力イメージデータ1と基準
固定ノイズ成分4の差分を取る動作は却ってノイズ成分
を増やすことになり、出力イメージデータ5を劣化させ
る原因となる。The second point is that it is necessary to accurately register the reference fixed noise component 4. If random noise 16 randomly generated as shown in FIG. 6 is mixed in while registering the reference fixed noise component 4, the reference fixed noise component 4 is generated.
If is mistakenly registered, the operation of obtaining the difference between the input image data 1 and the reference fixed noise component 4 will increase the noise component, which causes the output image data 5 to deteriorate.
【0010】第3点は、図6に示すように基準固定ノイ
ズ成分4として登録されたノイズ以外のノイズ成分に対
しては全く効果が無いことである。入力イメージデータ
1にランダムノイズ16が加わった場合、このノイズは
固定ノイズ成分記憶メモリ3に記憶されていないため、
差分を取ってもそのまま残ってしまうこととなる。The third point is that it has no effect on noise components other than the noise registered as the reference fixed noise component 4 as shown in FIG. When random noise 16 is added to the input image data 1, this noise is not stored in the fixed noise component storage memory 3,
Even if you take the difference, it will remain as it is.
【0011】[0011]
【課題を解決するための手段】本発明は上記の問題を解
決するため、外部から入力される文字、映像等のイメー
ジデータを2値化する2値化フィルタ装置において、入
力されたイメージデータに対して、該イメージデータ中
に含まれるノイズ成分を除去するヒステリシス特性を持
ったフィルタを設け、2値化の際の微小ノイズ成分によ
る影響を無くするようにした構成にする。In order to solve the above problems, the present invention provides a binarizing filter device for binarizing image data such as characters and images inputted from the outside, by converting the input image data into On the other hand, a filter having a hysteresis characteristic for removing a noise component contained in the image data is provided to eliminate the influence of a minute noise component at the time of binarization.
【0012】また、ノイズ成分を含む入力イメージデー
タを一処理時間遅延させるラッチと、該ラッチからの一
処理時間遅延した入力イメージデータと元の入力イメー
ジデータとの大小を比較する大小比較器と、該大小比較
器で比較した比較データと上記元のイメージデータより
2値化信号を導出するデコーダとを設けた構成にする。Also, a latch for delaying the input image data containing a noise component by one processing time, and a size comparator for comparing the size of the input image data delayed by one processing time from the latch with the original input image data, The comparison data compared by the size comparator and a decoder for deriving a binary signal from the original image data are provided.
【0013】[0013]
【作用】上記の構成によれば、微小なノイズに関しては
固定ノイズ成分記憶メモリ3を使用することもなく、固
定ノイズ成分2を除去することが出来、またランダムノ
イズ16に関しても除去が可能となる。According to the above configuration, the fixed noise component 2 can be removed from the minute noise without using the fixed noise component storage memory 3, and the random noise 16 can be removed. ..
【0014】[0014]
【実施例】以下、本発明の一実施例を添付図面に従って
詳細に説明する。図1は本発明の一実施例の構成図であ
る。本実施例はイメージデータ取込装置6、データ保持
用のラッチ11、大小比較器12及びデコーダ13から
なっている。イメージデータ取込装置6の出力する入力
イメージデータ1はラッチ11、大小比較器12とデコ
ーダ13に入力される。ラッチ11の出力である前入力
イメージデータ14は現在の入力イメージデータ1の直
前の入力イメージデータ1を保持したものであり、入力
イメージデータ1を一処理分だけ遅延させたものであ
る。これは大小比較器12にも入力される。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram of an embodiment of the present invention. This embodiment comprises an image data capturing device 6, a data holding latch 11, a size comparator 12 and a decoder 13. The input image data 1 output from the image data capturing device 6 is input to the latch 11, the size comparator 12 and the decoder 13. The previous input image data 14, which is the output of the latch 11, holds the input image data 1 immediately before the current input image data 1, and is obtained by delaying the input image data 1 by one process. This is also input to the magnitude comparator 12.
【0015】大小比較器12の出力である比較結果15
は、入力イメージデータ1と、前入力イメージデータ1
4の大小比較を行った結果であり、入力イメージデータ
1の方が大きければ10、入力イメージデータ1の方が
小さければ01、入力イメージデータ1と前入力イメー
ジデータ14の値が等しければ11となる。比較結果1
5はデコーダ13に入力される。The comparison result 15 which is the output of the magnitude comparator 12
Is the input image data 1 and the previous input image data 1
4 is the result of comparing the magnitudes of 4 and 10 if the input image data 1 is larger, 01 if the input image data 1 is smaller, and 11 if the values of the input image data 1 and the previous input image data 14 are equal. Become. Comparison result 1
5 is input to the decoder 13.
【0016】デコーダ13は入力イメージデータ1と比
較結果15をもとに、入力イメージデータにヒステリシ
ス特性を持った2値化を行い、その結果を最終結果10
として出力する。The decoder 13 binarizes the input image data having a hysteresis characteristic based on the input image data 1 and the comparison result 15, and the final result 10 is obtained.
Output as.
【0017】以下、図2を用いて図1の動作説明を行
う。説明の簡単化のために、イメージデータ取込装置6
をラインセンサとし、その長さをデータ数8で個分、出
力値を0〜7とする。イメージデータ取込装置6は対象
を取り込み入力イメージデータ1を得る。この時、本来
得られる入力イメージデータ1が 2 2 2 2 5 5 5 5 であり、固定ノイズ成分2が 0 0 +2 0 0 -2 0 0 であり、ランダムノイズ16が 0 +2 0 0 0 0 0 -2 であれば、入力イメージデータ1の値は 2 4 4 2 5 3 5 3 となる。The operation of FIG. 1 will be described below with reference to FIG. For simplification of description, the image data capturing device 6
Is a line sensor, the length of which is 8 pieces of data, and the output values are 0 to 7. The image data capturing device 6 captures the target and obtains the input image data 1. At this time, the input image data 1 originally obtained is 2 2 2 2 5 5 5 5, the fixed noise component 2 is 0 0 +2 0 0 -2 0 0, and the random noise 16 is 0 +2 0 0 0 0. If it is 0 0 -2, the value of the input image data 1 will be 2 4 4 2 5 3 5 3.
【0018】ラッチ11の出力である前入力イメージデ
ータ14は入力イメージデータ1を1処理分だけ遅延さ
せたものであるから * 2 4 4 2 5 3 5 となる。入力イメージデータ1と前入力イメージデータ
14を大小比較器12で比較すると比較結果15は次の
値となる。 * 10 11 01 10 01 10 01 デコーダの特性は図3に示す通りである。本例では入力
イメージデータ1の第1項は2であるから比較結果15
の値に関係なく最終結果10は0となる。第2項は入力
イメージデータ1が4で、比較結果が10であるから最
終結果10は0となる。以下同様にして最終結果10は 0 0 0 0 1 1 1 1 となるが、ヒステリシス特性を持たせずに単純2値化を
行った場合は 0 1 1 0 1 0 1 0 となる。The previous input image data 14 which is the output of the latch 11 is obtained by delaying the input image data 1 by one process, and therefore becomes * 2 4 4 2 5 3 5. When the input image data 1 and the previous input image data 14 are compared by the size comparator 12, the comparison result 15 has the following value. * 10 11 01 10 01 10 01 The characteristics of the decoder are as shown in Fig. 3. In this example, since the first term of the input image data 1 is 2, the comparison result 15
The final result 10 is 0 regardless of the value of. In the second term, the input image data 1 is 4, and the comparison result is 10, so the final result 10 is 0. In the same manner, the final result 10 is 0 0 0 0 1 1 1 1 1. However, when simple binarization is performed without the hysteresis characteristic, the final result 10 is 0 0 1 1 0 1 0 1 0.
【0019】[0019]
【発明の効果】本発明は以上のような構成であるので、
微小なノイズに関しては固定ノイズと共にランダムに発
生するノイズも共に除去された2値化を行うことが出来
る。Since the present invention is constructed as described above,
For minute noise, binarization can be performed by removing both fixed noise and randomly generated noise.
【図1】 本発明の一実施例の構成図。FIG. 1 is a configuration diagram of an embodiment of the present invention.
【図2】 図1の動作説明図。FIG. 2 is an operation explanatory diagram of FIG.
【図3】 本発明に用いるデコーダの特性図。FIG. 3 is a characteristic diagram of a decoder used in the present invention.
【図4】 従来例の構成図。FIG. 4 is a configuration diagram of a conventional example.
【図5】 図4の動作説明図。FIG. 5 is an operation explanatory diagram of FIG. 4;
【図6】 図4の動作説明図。FIG. 6 is an operation explanatory diagram of FIG. 4;
11 ラッチ 12 大小比較器 13 デコーダ 11 Latch 12 Large / small comparator 13 Decoder
───────────────────────────────────────────────────── フロントページの続き (72)発明者 矢野目 毅 大阪市阿倍野区長池町22番22号 シヤ−プ 株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Takeshi Yanome 22-22 Nagaike-cho, Abeno-ku, Osaka City Inside Sharp Corporation
Claims (2)
ジデータを2値化する2値化フィルタ装置において、入
力されたイメージデータに対して、該イメージデータ中
に含まれるノイズ成分を除去するヒステリシス特性を持
ったフィルタを設け、2値化の際の微小ノイズ成分によ
る影響を無くするようにしたことを特徴とする2値化フ
ィルタ装置。1. A binarizing filter device for binarizing image data such as characters and images inputted from the outside, wherein a noise component contained in the image data is removed from the inputted image data. A binarization filter device characterized in that a filter having a hysteresis characteristic is provided so as to eliminate the influence of a minute noise component at the time of binarization.
ジデータを2値化する2値化フィルタ装置において、ノ
イズ成分を含む入力イメージデータを一処理時間遅延さ
せるラッチと、該ラッチからの一処理時間遅延した入力
イメージデータと元の入力イメージデータとの大小を比
較する大小比較器と、該大小比較器で比較した比較デー
タと上記元のイメージデータより2値化信号を導出する
デコーダとを設けたことを特徴とする2値化フィルタ装
置。2. A binarizing filter device for binarizing image data such as characters and images inputted from the outside, a latch for delaying input image data containing a noise component by one processing time, and one of the latches. A size comparator for comparing the size of the input image data delayed by the processing time with the size of the original input image data; and a decoder for deriving a binary signal from the comparison data compared by the size comparator and the original image data. A binarizing filter device provided.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3280564A JP2947994B2 (en) | 1991-09-30 | 1991-09-30 | Binary filter device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3280564A JP2947994B2 (en) | 1991-09-30 | 1991-09-30 | Binary filter device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0594531A true JPH0594531A (en) | 1993-04-16 |
| JP2947994B2 JP2947994B2 (en) | 1999-09-13 |
Family
ID=17626793
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3280564A Expired - Fee Related JP2947994B2 (en) | 1991-09-30 | 1991-09-30 | Binary filter device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2947994B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10927894B2 (en) | 2018-12-17 | 2021-02-23 | Aktiebolaget Skf | Roller bearing with lubrication channel |
-
1991
- 1991-09-30 JP JP3280564A patent/JP2947994B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10927894B2 (en) | 2018-12-17 | 2021-02-23 | Aktiebolaget Skf | Roller bearing with lubrication channel |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2947994B2 (en) | 1999-09-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| FR2585915A1 (en) | APPARATUS FOR CORRECTING THE EXCEEDING OF A DIGITAL SIGNAL | |
| JPH0594531A (en) | Binarizing filter device | |
| JPS6093878A (en) | Picture reader | |
| JPS62219754A (en) | image reading device | |
| JP3066154B2 (en) | Selective binarization method | |
| JP2853140B2 (en) | Image area identification device | |
| JPS62297981A (en) | Binarization system for image | |
| JP2765339B2 (en) | Through hole inspection equipment | |
| JPS6170673A (en) | Image processor | |
| JPH06164931A (en) | Image signal processor | |
| JPH07319445A (en) | Character image reduction circuit | |
| JPS63189047A (en) | Binary picture signal processor | |
| JPS6116379A (en) | Picture binarizing circuit | |
| JPH02128575A (en) | Image processing device | |
| JPS6410872B2 (en) | ||
| JPH05191649A (en) | Picture binarizing circuit | |
| JPH01155486A (en) | Text/photo image judgment device | |
| JPH0685186B2 (en) | Photo area identification device | |
| JPH01177278A (en) | Picture reader | |
| JPH02202687A (en) | Method for discriminating similar character | |
| JPH04142676A (en) | Binary image conversion method | |
| JPH05315893A (en) | Digital filter device | |
| JPH04101570A (en) | Image signal binarizing device | |
| JPS6365778A (en) | Picture identification system | |
| JPS63221487A (en) | Threshold level detection device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070702 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080702 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090702 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |