JPS60117967A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPS60117967A
JPS60117967A JP58226061A JP22606183A JPS60117967A JP S60117967 A JPS60117967 A JP S60117967A JP 58226061 A JP58226061 A JP 58226061A JP 22606183 A JP22606183 A JP 22606183A JP S60117967 A JPS60117967 A JP S60117967A
Authority
JP
Japan
Prior art keywords
data
shift register
input
added
pixels
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
JP58226061A
Other languages
Japanese (ja)
Inventor
Yuji Ito
裕二 伊藤
Kuniaki Konishi
邦明 小西
Tsutomu Nagato
永戸 勉
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP58226061A priority Critical patent/JPS60117967A/en
Publication of JPS60117967A publication Critical patent/JPS60117967A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform the filter processing without so much delay in a data input mode by using an on-line 2-dimensional filter using a shift register. CONSTITUTION:The digital signals obtained by an A/D converter 3 are supplied successively to a shift register 8a. The output signals of shift registers 8a and 8b are supplied to shift registers the shift register 8b and 8c, respectively. Here the head 3-picture element data of registers 8a-8c are weighted by multipliers 10a- 10c, 10d-10f and 10g-10i and added by adders 9a-9c, respectively. The outputs of adders 9a-9c are added by an adder 9d. Finally 9 picture element data are weighted and added in all. These added data are divided by a divider 10 and averaged to be supplied to a frame memory 6. For the total time between the input of data and the end of filter processing, just a period of time equivalent to the input of data equivalent to nearly one scanning line is increased to the data input time.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、光電変換器を用いてライン走査を行うことに
より文字や図形を光学的に読み取り、さらにその画像を
電子的に処理する画像処理装置に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to an image processing device that optically reads characters and figures by performing line scanning using a photoelectric converter, and further processes the image electronically. Regarding.

〔従来技術〕[Prior art]

従来の画像処理装置の例を第1図を用いて説明する。第
1図において1は光電変換器、2はアナログ信号低域通
過フィルタ、3はアナログ/ディジタル変換器、4,6
はフレームメモリ、5は2次元フィルタである。
An example of a conventional image processing device will be described with reference to FIG. In Figure 1, 1 is a photoelectric converter, 2 is an analog signal low-pass filter, 3 is an analog/digital converter, 4, 6
is a frame memory, and 5 is a two-dimensional filter.

次に動作について説明すると、まず文字や図形が描かれ
た原稿をライン走査し、光電変換器lによって電気信号
に変換する。この電気信号を低域通過フィルタ2に送り
、この低域通過フィルタ2においてそのノイズを除去す
る。さらにアナログ/ディジタル変換器3によりディジ
タル信号に変換する。このディジタル信号を一旦、一画
面分だけフレームメモリ4に入力し、一画面分のデータ
入力が終了した時点でデータを読み出し、2次元フィル
タ5でフィルタ処理した後フレームメモリ6に入力する
Next, the operation will be explained. First, a document on which characters and figures are drawn is line-scanned and converted into an electric signal by a photoelectric converter l. This electrical signal is sent to a low-pass filter 2, where the noise is removed. Further, it is converted into a digital signal by an analog/digital converter 3. This digital signal is once input into the frame memory 4 for one screen, and when the input of data for one screen is completed, the data is read out, subjected to filter processing by the two-dimensional filter 5, and then input to the frame memory 6.

2次元フィルタ5の処理内容を第2図を用いて説明する
。第2図においてAはライン走査方向、Bは原稿の送り
方向を示している。j番目の走査線の1番目の画素の濃
度を表すデータD(i,j)とすると、D(i,j)と
その周囲のデータとの重み付き平均を行うことにより、
フィルタ後のデータを決定することができる。これらの
データの重みは、たとえば、不鮮明像の鮮明化、コント
ラスト強調等の画像処理の目的に応じて適当に定められ
る。例えばD(i,j)とその周囲8画素のデータの単
純平均で新しいデータを決定する場合には、すべての重
みを1として、 なる計算処理を行う。
The processing contents of the two-dimensional filter 5 will be explained using FIG. In FIG. 2, A indicates the line scanning direction, and B indicates the document feeding direction. Assuming that data D(i,j) represents the density of the first pixel of the j-th scanning line, by performing a weighted average of D(i,j) and the surrounding data,
The filtered data can be determined. The weights of these data are appropriately determined depending on the purpose of image processing, such as sharpening a blurred image or enhancing contrast. For example, when determining new data by a simple average of data of D(i,j) and its surrounding eight pixels, all weights are set to 1, and the following calculation process is performed.

このように2次元フィルタでは処理すべきデータD(i
,j)の上下左右のデータを参照する必要があるため、
ライン走査によって光電変換を行う通常のデータ入力装
置を用いる場合には、一旦全データをフレームメモリに
入力した後に周囲のデータを合わせて読み出してフィル
タ処理を行い、別のフレームメモリに入力する必要があ
った。
In this way, the two-dimensional filter uses the data D(i
, j), it is necessary to refer to the upper, lower, left, and right data.
When using a normal data input device that performs photoelectric conversion by line scanning, it is necessary to first input all data into a frame memory, read out the surrounding data together, perform filter processing, and input it into another frame memory. there were.

したがって、1回のフィルタ処理につき1フレームメモ
リが必要となり、メモリ容量を増加させなければならな
いという問題があった。また一旦、全データを入力した
後にフィルタ処理するため、処理時間が長いという欠点
もあった。
Therefore, one frame memory is required for one filter process, and there is a problem in that the memory capacity must be increased. Another disadvantage is that the processing time is long because filter processing is performed after all data has been input.

〔発明の目的〕[Purpose of the invention]

本発明は、上述した従来の問題を改善するためになされ
たもので、メモリ容量を増大させることなく処理時間を
短縮させることができる画像処理装置を提供することを
目的とする。
The present invention has been made to improve the above-mentioned conventional problems, and an object of the present invention is to provide an image processing device that can shorten processing time without increasing memory capacity.

〔発明の構成〕[Structure of the invention]

本発明の画像処理装置は、画像を画素毎の濃度を表すデ
ィジタル信号に変換する手段と、前記ディジタル信号を
順次入力してn−1(nは2以上の整数)本の走査線分
だけ記憶する第1シフトレジスタと、n画素分のディジ
タル信号を入力して記憶する第2シフトレジスタと、前
記第1シフトレジスタ内の各走査線の先頭に該当するn
画素分のデータと前記第2シフトレジスタのn画素分ノ
データとを加算する手段と、該加算したデータを平均化
する手段とで構成される。
The image processing device of the present invention includes a means for converting an image into a digital signal representing the density of each pixel, and a means for sequentially inputting the digital signal and storing only n-1 (n is an integer of 2 or more) scanning lines. a first shift register that inputs and stores digital signals for n pixels; and a second shift register that inputs and stores digital signals for n pixels, and a
It is comprised of means for adding data for pixels and data for n pixels of the second shift register, and means for averaging the added data.

〔実施例〕〔Example〕

以下第3図を参照しながら本発明の実施例について説明
する。第3図において7はシフトレジスタを用いた本発
明による2次元フィルタ、いわゆるオンライン2次元フ
ィルタ(以下このように称する)である。この図におい
て第1図の回路と同一の参照番号を付したものはその回
路と同一の機能を有するものである。
An embodiment of the present invention will be described below with reference to FIG. In FIG. 3, 7 is a two-dimensional filter according to the present invention using a shift register, a so-called online two-dimensional filter (hereinafter referred to as such). In this figure, circuits with the same reference numerals as the circuits in FIG. 1 have the same functions as those circuits.

次にこの画像処理装置の動作について説明する。Next, the operation of this image processing device will be explained.

まず原稿(図示せず)をライン走査し、光電変換器1で
電気信号に変換し、低域通過フィルタ2でノイズ除去を
行った後、アナログ/ディジタル変換器3でディジタル
信号に変換する。このディジタル信号をシフトレジスタ
を用いたオンライン2次元フィルタフによってフィルタ
処理した後、フレームメモリ6に入力する。
First, a document (not shown) is line-scanned, converted into an electrical signal by a photoelectric converter 1, noise removed by a low-pass filter 2, and then converted into a digital signal by an analog/digital converter 3. After this digital signal is filtered by an online two-dimensional filter using a shift register, it is input to the frame memory 6.

次に、オンライン2次元フィルタ7の構造を第4図を用
いて具体的に説明ずる。8a,8bはライン走査によっ
て得られる1走査線分の画素データが記憶できるシフト
レジスタであって本発明の第1シフトレジスタを構成す
るものである。すなわち本例では合計2走査線分の画素
データを記憶できるシフトレジスタが用いられている。
Next, the structure of the online two-dimensional filter 7 will be specifically explained using FIG. 4. 8a and 8b are shift registers capable of storing pixel data for one scanning line obtained by line scanning, and constitute the first shift register of the present invention. That is, in this example, a shift register is used that can store pixel data for a total of two scanning lines.

8cは3画素分のデータを記憶できるシフトレジスタで
あって本発明の第2シフトレジスタに相当する。
8c is a shift register capable of storing data for three pixels, and corresponds to the second shift register of the present invention.

9a〜9dは加算器であって、上記シフトレジスタ8a
,8bに記憶された画素データのうし各走査線の先頭に
ある3画素分のデータと上記シフトレジスタ8cに記憶
された3画素分のデータ、合計3×3=9画素分のデー
タを加算する。
9a to 9d are adders, and the shift register 8a
, 8b, the data for 3 pixels at the beginning of each scanning line and the data for 3 pixels stored in the shift register 8c, a total of 3×3=9 pixels are added. .

10a〜10iは上記9画素分のデータに重みをつける
ための乗算器、11は加算されたデータを平均化するた
めの除算器である。
10a to 10i are multipliers for weighting the data for the nine pixels, and 11 is a divider for averaging the added data.

次に、このオンライン2次元フィルタ7の動作について
説明する。
Next, the operation of this online two-dimensional filter 7 will be explained.

アナログ/ディジタル変換器3で得られるデイジタル信
号は順次シフトレジスタ8aに入力し、シフトレジスタ
8aの出力信号はシフトレジスク8bに、シフトレジス
タ8bの出力信号はシフトレジスタ8cにそれぞれ入力
する。ここでシフトレジスタ8a,8b,8cの先頭3
画素データは、それぞれ乗算器10a〜10c,10d
〜10f,10g〜10iで重み付けされ、加算器9a
〜9cによって加算される。さらに加算器9a〜9cの
出力が加算器9dで加算され、結局合計9画素データが
重み付けされて加算される。これを除算器10で除算し
、乎均を取ってフレームメモリ6に入力する。
Digital signals obtained by the analog/digital converter 3 are sequentially input to a shift register 8a, an output signal of the shift register 8a is input to a shift register 8b, and an output signal of the shift register 8b is input to a shift register 8c. Here, the first three of shift registers 8a, 8b, 8c
The pixel data is sent to multipliers 10a to 10c, 10d, respectively.
~10f, 10g~10i, adder 9a
~9c is added. Further, the outputs of the adders 9a to 9c are added by an adder 9d, and a total of nine pixel data are weighted and added. This is divided by a divider 10, the average value is calculated, and the result is input into the frame memory 6.

従来例で説明したように、各画素に均等に重み付けを行
う場合には、重み付けのための乗算器10a〜10iは
不要である。
As explained in the conventional example, when weighting each pixel equally, the multipliers 10a to 10i for weighting are unnecessary.

また文字や図形の描かれた原稿を入力する場合は、各画
素2値(すなわち1ビット)で表現できる。したがって
シフトレジスタ8a〜8Cの各レジスタの容量は1ビッ
トで良く、9画素の和をめた結果についても、除算器の
代わりに、例えば和が0〜4の場合は“0”,和が5〜
9の場合は“1”を出力するようなコンパレータを用い
ることも可能である。
Furthermore, when inputting a document with characters or figures drawn on it, each pixel can be expressed as a binary value (that is, 1 bit). Therefore, the capacity of each of the shift registers 8a to 8C only needs to be 1 bit, and for the result of adding up the sum of 9 pixels, instead of using a divider, for example, if the sum is 0 to 4, it is "0", and if the sum is 5, ~
In the case of 9, it is also possible to use a comparator that outputs "1".

なお、本発明によれば画素(i,j)のフィルタ後の出
力を得るのは画素(i+1,j+1)が入力した時点で
あり、1走査線+1画素の遅延は常に生じる。しかしデ
ータ入力からフィルタ処理終了までの合計時間ではデー
タ入力時間に対し、ほぼ1走査線分のデータ入力に相当
する時間だけ増加するのみであり、問題にはならない。
According to the present invention, the filtered output of pixel (i, j) is obtained at the time when pixel (i+1, j+1) is input, and a delay of one scanning line+one pixel always occurs. However, the total time from data input to the end of filter processing increases only by the time equivalent to approximately one scanning line of data input compared to the data input time, so this does not pose a problem.

第5図は、第4図に示す実施例において、2次元フィル
タ7と同一機能を有する2次元フィルタ7aを直列に接
続し、よりフィルタ効果を上げた別の実施例である。こ
の場合は、画素(i,j)のフィルタ処理後のデータを
得るのは、画素(i+2,j+2)を入力した時点であ
るが、前述したように処理時間上問題となることはない
FIG. 5 shows another embodiment in which a two-dimensional filter 7a having the same function as the two-dimensional filter 7 is connected in series in the embodiment shown in FIG. 4 to further improve the filtering effect. In this case, the filtered data of pixel (i, j) is obtained at the time when pixel (i+2, j+2) is input, but as described above, this does not pose a problem in terms of processing time.

上記説明においては、3×3画素の単純平均をめること
で2次元的にノイズ除去する場合について述べたが、そ
れ以外の例えば2×2画素、あるいは5×5画素等の場
合でも有効である。また各画素に重み付けずることによ
り様々なフィルタ効果を得ることが可能であることも自
明である。
In the above explanation, we have described the case where noise is removed two-dimensionally by taking a simple average of 3 x 3 pixels, but it is also effective in other cases such as 2 x 2 pixels, or 5 x 5 pixels, etc. be. It is also obvious that various filter effects can be obtained by weighting each pixel.

さらに、各画素が複数ビットのデータで表現される場合
にも本発明を適用できることも明白である、〔発明の効
果〕 本発明によれば、シフトレジスタを用いたオンライン2
次元フィルタにより、データ入力時に対してそれ程大き
な遅延もなくフィルタ処理を行うことができる。したが
って従来に比べてメモリ容量の増大を伴うことなく画像
処理時間を短縮することができる。
Furthermore, it is clear that the present invention can be applied even when each pixel is expressed by multiple bits of data. [Effects of the Invention] According to the present invention, online 2
The dimensional filter allows filter processing to be performed without much delay compared to when data is input. Therefore, the image processing time can be shortened without increasing the memory capacity compared to the conventional method.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来の画像処理装置の例を示すブロック図、 第2図は従来の画像処理装置におけるフィルタ処理を説
明するための説明図、 第3図は本発明の一実施例を示すブロック図、第4図は
本発明の画像処理装置に用いるオンライン2次元フィル
タの構造例を示す図、第5図は本発明の他の実施例を示
すブロック図である。 1・・・・・光電変換器、2・・・・・低域通過フィル
タ、3・・・・・アナログ/ディジタル変換器、4、6
・・・・・・フレームメモリ、 5・・・・・・2次元フィルタ、 7,7a・・・・・オンライン2次元フィルタ、8a〜
8c・・・・・シフトレジスタ、9a〜9d・・・・・
・加算器、 10a〜10i・・・・・乗算器、11・・・・・除算
器。
FIG. 1 is a block diagram showing an example of a conventional image processing device, FIG. 2 is an explanatory diagram for explaining filter processing in the conventional image processing device, and FIG. 3 is a block diagram showing an example of the present invention. 4 is a diagram showing an example of the structure of an online two-dimensional filter used in the image processing apparatus of the present invention, and FIG. 5 is a block diagram showing another embodiment of the present invention. 1...Photoelectric converter, 2...Low pass filter, 3...Analog/digital converter, 4, 6
...Frame memory, 5...Two-dimensional filter, 7,7a...Online two-dimensional filter, 8a~
8c...Shift register, 9a-9d...
- Adder, 10a to 10i... Multiplier, 11... Divider.

Claims (1)

【特許請求の範囲】[Claims] 光電変換器を用いてライン走査を行うことにより文字や
図形を光学的に読み取り、さらにその画像を電子的に処
理する画像処理装置において、前記文字や図形の画像を
画素毎の濃度を表すデイジタル信号に変換する手段と、
前記デイジタル信号を順次入力してn−1(nは2以上
の整数)本の走査線分だけ記憶する第1シフトレジスタ
と、n画素分のディジタル信号を入力して記憶する第2
シフトレジスタと、前記第1シフトレジスタ内の各走査
線の先頭に該当するn画素分のデータと前記第2シフト
レジスタのn画素分のデータとを加算する手段と、該加
算したデータを平均化する手段とを具備する画像処理装
置。
In an image processing device that optically reads characters and figures by performing line scanning using a photoelectric converter and further processes the image electronically, the image of the characters and figures is converted into a digital signal representing the density of each pixel. a means of converting it into
a first shift register into which the digital signals are sequentially input and stored for n-1 (n is an integer of 2 or more) scanning lines; and a second shift register into which digital signals for n pixels are input and stored.
a shift register; means for adding data for n pixels corresponding to the beginning of each scanning line in the first shift register to data for n pixels in the second shift register; and averaging the added data. An image processing device comprising means for.
JP58226061A 1983-11-30 1983-11-30 Picture processor Pending JPS60117967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58226061A JPS60117967A (en) 1983-11-30 1983-11-30 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58226061A JPS60117967A (en) 1983-11-30 1983-11-30 Picture processor

Publications (1)

Publication Number Publication Date
JPS60117967A true JPS60117967A (en) 1985-06-25

Family

ID=16839184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58226061A Pending JPS60117967A (en) 1983-11-30 1983-11-30 Picture processor

Country Status (1)

Country Link
JP (1) JPS60117967A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS631161A (en) * 1986-06-19 1988-01-06 Nec Corp Picture signal processing method and its apparatus
JPS6457547U (en) * 1987-10-06 1989-04-10

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5668872A (en) * 1979-11-08 1981-06-09 Fujitsu Ltd Picture correcting device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5668872A (en) * 1979-11-08 1981-06-09 Fujitsu Ltd Picture correcting device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS631161A (en) * 1986-06-19 1988-01-06 Nec Corp Picture signal processing method and its apparatus
JPS6457547U (en) * 1987-10-06 1989-04-10

Similar Documents

Publication Publication Date Title
US4328426A (en) Filter for image pixels
JPH0557626B2 (en)
JPS62231509A (en) Adaptable median filter apparatus
US4328425A (en) Filter for image pixels
EP0069542B1 (en) Data processing arrangement
KR930003658A (en) Image forming apparatus
JPH0134496B2 (en)
JP2633024B2 (en) Color image processing equipment
JPH07110041B2 (en) Image processing device
US4710823A (en) Density conversion in image reproduction
JPS60117967A (en) Picture processor
CN100544396C (en) Image-signal processing method and equipment
EP0763280B1 (en) Signal processing device
US5850357A (en) Signal processing device
JPH07118002B2 (en) Image processing device
JP3783815B2 (en) Image processing device
JPS63102467A (en) Converting device for resolution of picture data
JP2548466B2 (en) Image processing device
CN100409657C (en) Image processing method and device
JPH0691598B2 (en) Pattern recognition method and image reduction apparatus therefor
JPS5977771A (en) Picture signal processor
JPS592164A (en) Picture input device
JP3061830B2 (en) Image processing device
JPH02128575A (en) Picture processor
JPS63193770A (en) Method and device for processing image