JPS63226777A - Image data reading system - Google Patents

Image data reading system

Info

Publication number
JPS63226777A
JPS63226777A JP62060794A JP6079487A JPS63226777A JP S63226777 A JPS63226777 A JP S63226777A JP 62060794 A JP62060794 A JP 62060794A JP 6079487 A JP6079487 A JP 6079487A JP S63226777 A JPS63226777 A JP S63226777A
Authority
JP
Japan
Prior art keywords
slice level
image data
level value
input
output
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
JP62060794A
Other languages
Japanese (ja)
Inventor
Atsushi Sasaki
淳 佐々木
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP62060794A priority Critical patent/JPS63226777A/en
Publication of JPS63226777A publication Critical patent/JPS63226777A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE:To increase the number of divided parts in one line and to improve the reading accuracy of image data by automatically forming a slice level value by a hardware. CONSTITUTION:Prior to reading out image data, slice level values respectively corresponding to plural divided image signals are previously stored in an FIFO 11 through a selector 10. During the period of image data reading based on a line sensor 1, the oldest slice level value out of plural ones stored in the FIFO 11 is outputted to a comparator 7 every input of a shift clock signal and simultaneously reinputs its output as the up-to-date slice level value. Since the shift clock signals corresponding to the divided number are applied to the FIFO 11, the slice level values corresponding to one period, i.e. one line, can be outputted to the comparator 7 and the image data can be identified by comparing the image signal with the slice level value through the comparator 7.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、画像読取機能を有する機器における画像デー
タ読取方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image data reading method in a device having an image reading function.

(従来の技術) 従来の画像データ読取方式を第2図(a) 、 (b)
について説明する。すなわち、ライセンサ1で光電変換
されさらに増幅器2で増幅された画像信号aが比較器7
の一方の入力(−)に入力され、該比較器7の他方の入
力(+)には、画像信号のスライスレベル値が入力され
る。該スライスレベル値は1、例えば第2図(b)に示
す様に、画像信号aの主走査方向1ライン分をm分割し
、この分割された各々の区間にそれぞれ与えられるもの
で、CPU3内のメモリにデジタル値としてm個(Vl
 。
(Prior art) The conventional image data reading method is shown in Fig. 2 (a) and (b).
I will explain about it. That is, the image signal a photoelectrically converted by the licensor 1 and further amplified by the amplifier 2 is sent to the comparator 7.
The slice level value of the image signal is input to one input (-) of the comparator 7, and the other input (+) of the comparator 7 is input. The slice level value is 1, for example, as shown in FIG. m digital values (Vl
.

V2.・・・Vm)格納しである。該CPU3はシフト
クロック信号すによって割込まれると、メモリ内に格納
しであるデジタル値を読取り、次に書込み命令によって
並列信号を取扱う入出力インタフェースである、パラレ
ルインプットアウトプットコントローラ(以下、PIO
と称す)4に書込む。
V2. ...Vm) is stored. When the CPU 3 is interrupted by a shift clock signal, it reads a digital value stored in the memory, and then executes a parallel input/output controller (hereinafter referred to as PIO), which is an input/output interface that handles parallel signals according to a write command.
4).

該PI04からの出力Cはシフトクロック信号すによっ
てレジスタ5に入力され、該レジスタ5の出力dはD/
A変換器6に入力されてデジタル値からアナログ値への
変換が行なわれる。該D/A変換器6の出力は比較器7
の他方の入力(+)の入力となり、該アナログ値が画像
信号aと比較された結果、2値化デ一タ信号eに示すよ
うに、白データは低レベル値「0」、黒データは高レベ
ル値「1」に変換される。以上の処理を1ラインにつき
m分割分、すなわちm回実行して1ラインの画像データ
を読取る。
The output C from the PI04 is input to the register 5 by the shift clock signal S, and the output d of the register 5 is input to the D/
The signal is input to the A converter 6 and converted from a digital value to an analog value. The output of the D/A converter 6 is sent to the comparator 7.
The analog value is compared with the image signal a, and as shown in the binarized data signal e, the white data has a low level value "0" and the black data has a low level value "0". Converted to high level value "1". The above process is executed for m divisions per line, that is, m times, to read one line of image data.

(発明が解決しようとする問題点) しかしながら、上記構成の方式では、シフトクロック信
号すによるCPU3への割込によってスライスレベル値
をCPU3のメモリから読込んでPIO4に書込みをし
ているため、この間にモータ駆動や印字等の処理が重な
った時、スライスレベル値をCPU3のメモリから読込
んでPI04に書込むという処理に時間がかかる。この
ため、シフトクロック信号すの周期を短くすると、次の
シフトクロック信号すによる割込みが発生するまでに、
上記処理が完結しない状態、いわゆるオーバランが発生
してしまう。
(Problem to be Solved by the Invention) However, in the system with the above configuration, the slice level value is read from the memory of the CPU 3 and written to the PIO 4 by an interrupt to the CPU 3 by the shift clock signal. When processes such as motor driving and printing overlap, it takes time to read the slice level value from the memory of the CPU 3 and write it to the PI04. Therefore, if the period of the shift clock signal S is shortened, the time required for an interrupt by the next shift clock signal S is reduced.
A state in which the above processing is not completed, a so-called overrun, occurs.

従って、シフトクロック信号すの周期を制限しなければ
ならないため、画像信号の1ラインの分割数をふやすこ
とができず、画像信号の読取精度を向上させることがで
きないという問題点があった。
Therefore, since the cycle of the shift clock signal must be limited, the number of divisions of one line of the image signal cannot be increased, resulting in a problem that the reading accuracy of the image signal cannot be improved.

本発明は、上記問題点に鑑み、画像信号の一層の細分化
を可能とし、これより画像信号を高精度に読取ることが
できる画像データ読取方式を提供するqとを目的とする
SUMMARY OF THE INVENTION In view of the above problems, an object of the present invention is to provide an image data reading method that enables further segmentation of an image signal and thereby allows the image signal to be read with high precision.

(問題点を解決するための手段) 本発明は上記目的を達成するために、主走査方向1ライ
ンを複数に分割した画像信号と該分割した画像信号の各
々のスライスレベル値とを比較手段で比較して画像デー
タを読取る画像データ読取方式において、該各々のスラ
イスレベル値を随時格納しておく格納手段と、該格納手
段への入力を適宜選択する選択手段とを有し、該格納手
段は、画像データ読取前には該選択手段を介して画像信
号の分割数分のスライスレベル値を入力し、画像データ
読取中はシフトクロック信号毎に該格納手段に格納され
ている最古のスライスレベル値を前記比較手段に出力す
るとともに、該出力を前記選択手段を介して最新のスラ
イスレベル値として再入力することを特徴とする。
(Means for Solving the Problems) In order to achieve the above object, the present invention uses a means for comparing an image signal obtained by dividing one line in the main scanning direction into a plurality of parts and the slice level value of each of the divided image signals. An image data reading method for reading image data by comparison includes a storage means for storing each slice level value as needed, and a selection means for appropriately selecting an input to the storage means, the storage means , before reading the image data, input slice level values for the number of divisions of the image signal through the selection means, and while reading the image data, the oldest slice level stored in the storage means is input for each shift clock signal. The present invention is characterized in that the value is output to the comparison means, and the output is re-inputted as the latest slice level value via the selection means.

(作 用) 上記構成によれば、画像データを読み取る前には、複数
に分割された画像信号の各々に対応するスライスレベル
値を選択手段を介して前もって格納手段に格納でき、画
像データ読取中は、シフトクロック信号毎に格納手段に
格納されている複数のスライスレベル値のうち最古のス
ライスレベル値を比較手段へ出力し、同時に該出力を最
新のスライスレベル値として再入力するので、シフトク
ロック信号を分割数分だけ格納手段に与えることにより
1周期即ち1ライン分のスライスレベル値を比較手段へ
出力でき、該比較手段で画像信号とスライスレベル値と
を比較することで画像データの識別ができる。
(Function) According to the above configuration, before reading the image data, the slice level values corresponding to each of the divided image signals can be stored in advance in the storage means via the selection means, and while the image data is being read. In the shift clock signal, the oldest slice level value among the plurality of slice level values stored in the storage means is output to the comparing means, and at the same time, the output is re-inputted as the latest slice level value. By supplying the clock signal by the number of divisions to the storage means, the slice level value for one period, that is, one line, can be output to the comparison means, and by comparing the image signal and the slice level value with the comparison means, the image data can be identified. Can be done.

(実施例) 第1図、第3図乃至第5図(a)(b)は本発明の実施
例を示すもので、従来例との同一構成部分は同一符号に
て表わす。即ち1はラインセンサ、2は増幅器、3はC
PU、6はD/A変換器、7は比較器で前記増幅器2か
ら出力された画像信号とD/A変換器6からのアナログ
化されたスライスレベル値とを比較した結果を、2値化
デ一タ信号として出力する。
(Embodiment) FIGS. 1, 3 to 5(a) and 5(b) show embodiments of the present invention, and the same components as those of the conventional example are denoted by the same reference numerals. That is, 1 is a line sensor, 2 is an amplifier, and 3 is a C
PU, 6 is a D/A converter, and 7 is a comparator, which binarizes the result of comparing the image signal output from the amplifier 2 and the analogized slice level value from the D/A converter 6. Output as a data signal.

10はセレクタで、OUT命令によりCPU3から出力
されたデータバス14上のスライスレベル値と、最初に
入力したデータを最初に出力するファーストインファー
ストアウト(以下、FIFOと称す)11に格納されて
いるスライスレベル値の出力Bとのいずれかをセレクト
信号Aのレベル値により選択し、該FIFOIIの入力
を決定する。該セレクタ10はセレクト信号Aが低レベ
ル「0」のときCPU3からのスライスレベル値が、高
レベル「1」のとき出力Bが選択され入力されるように
なっている。尚前記FIFOIIは1ラインをn分割し
てスライスレベル値を決定する場合、n段のメモリから
なる。12はオーダデコーダで、前記CPU3からの命
令をアドレスバス15を介して入力し、該命令を解読し
た結果をパルス信号Eとして出力する。
10 is a selector which stores the slice level value on the data bus 14 output from the CPU 3 in response to the OUT command and the first-in-first-out (hereinafter referred to as FIFO) 11 that outputs the first input data first. One of the slice level values and the output B is selected according to the level value of the select signal A, and the input of the FIFO II is determined. The selector 10 is configured such that when the select signal A is at a low level "0", the slice level value from the CPU 3 is selected, and when the select signal A is at a high level "1", the output B is selected and input. Incidentally, when one line is divided into n parts and a slice level value is determined, the FIFO II is composed of n stages of memory. Reference numeral 12 denotes an order decoder which inputs instructions from the CPU 3 via the address bus 15 and outputs the result of decoding the instructions as a pulse signal E.

ここで前記FIFOIIに、前記CPU3のメモリに格
納しであるデジタル値のスライスレベル値n個(Vl、
V2・・・Vn)を格納する場合、即ち前記セレクト信
号Aが低レベルrOJの場合について説明する。
Here, n slice level values (Vl,
A case where the select signal A is at a low level rOJ will be described.

まず、画像信号Fが有効な時間アクティブとなるセレク
ト信号Aの後縁にて微分信号りが作られ、該信号りが前
記CF’U3に割り込むと、該CPU3は割り込み処理
ルーチンに入りOUT命令を出す。該OUT命令は前記
アドレスバス15を介して前記オーダデコーダ12に入
力され、解読された結果パルス出力Eとして20R13
を介して前記FIFOIIのクロック信号として入力さ
れる。
First, a differential signal is generated at the trailing edge of the select signal A that is active during the valid period of the image signal F, and when this signal interrupts the CF'U3, the CPU 3 enters the interrupt processing routine and issues an OUT command. put out. The OUT command is input to the order decoder 12 via the address bus 15, and as a result of being decoded, a pulse output E is output as 20R13.
The signal is input as the clock signal of the FIFO II via the FIFO II.

一方該OUT命令により、第4図に示すように前記CP
U3のメモリに格納されているスライスレベル値は、デ
ータバス14、前記セレクタ10を介して前記FIFO
IIに入力される。該入力と出力Bとの関係は該FIF
OIIにvlが入力されると出力Bとしてv′1が出力
され、v2が入力されるとV’ 2が出力され、以下同
様にvnが入力されるとv′nが出力される様になって
いる。
On the other hand, due to the OUT command, the CP
The slice level value stored in the memory of U3 is transferred to the FIFO via the data bus 14 and the selector 10.
II. The relationship between the input and output B is the FIF
When vl is input to OII, v'1 is output as output B, when v2 is input, V'2 is output, and in the same way, when vn is input, v'n is output. ing.

但しV′1〜v′nは以前に前記FIFOIIに格納さ
れていたスライスレベル値である。
However, V'1 to v'n are slice level values previously stored in the FIFO II.

以上の様に、前記CPU3から前記FIFO11に与え
るべきスライスレベル値の設定は、画像信号F、の有効
範囲を示すセレクト信号Aの後縁微分信号りを前記CP
U3の割り込みとし、該割り込みによって処理を実行す
ることにより、セレクト信号Aの低レベル「0」期間に
限定するべくなしである。
As described above, the setting of the slice level value to be given from the CPU 3 to the FIFO 11 is based on the trailing edge differential signal of the select signal A indicating the effective range of the image signal F.
By using the U3 interrupt and executing the process using the interrupt, it is not possible to limit the process to the low level "0" period of the select signal A.

次にセレクト信号Aが高レベル「1」の場合、即ち前記
FIFOIIの出力Bが前記D/A変換器6に入力され
るとともに前記セレクタ10を介して該FIFOIIに
再入力される場合について説明する。
Next, the case where the select signal A is at a high level "1", that is, the case where the output B of the FIFO II is input to the D/A converter 6 and re-input to the FIFO II via the selector 10 will be explained. .

第5図(a)に示す様に、該FIFOIIの最終段に格
納されているスライスレベル値V1は、20R13を通
ってきたシフトクロック信号Cにより出力Bとして出力
され、該出力BはD/A変換器6に入力されると同時に
前記セレクタ4を介して第5図(b)に示す様に該FI
FOIIに再入力される。前記D/A変換器6に入力さ
れたデジタル値であるスライスレベル値v1はアナログ
値である電圧レベルに変換されて出力され、比較値7の
入力(+)に入力されて、該比較器7の一方の入力(−
)の入力である画像信号Fと比較された結果、該比較器
7より2値化デ一タ信号Gとして出力される。以下同様
の処理を1ラインの最終スライスレベル値Vnが前記比
較器7において画像信号Fと比較され、該比較器7より
2値化デ一タ信号Gとして出力されるまで繰り返しくn
回)行なうことによって1ラインの画像データを読みと
る。なお、この処理においてシフトクロック信号Cは、
スライスレベル値の分割数分、即ちn回出力されること
になる。
As shown in FIG. 5(a), the slice level value V1 stored in the final stage of the FIFO II is output as an output B by the shift clock signal C passing through the 20R13, and the output B is As shown in FIG. 5(b), the FI
Re-entered into FOII. The slice level value v1, which is a digital value, inputted to the D/A converter 6 is converted to a voltage level, which is an analog value, and outputted, and inputted to the input (+) of the comparison value 7. One input of (−
) is compared with the image signal F, which is the input of the comparator 7, and the comparator 7 outputs it as a binarized data signal G. Thereafter, similar processing is repeated until the final slice level value Vn of one line is compared with the image signal F in the comparator 7 and outputted from the comparator 7 as a binarized data signal G.
times) to read one line of image data. Note that in this process, the shift clock signal C is
It will be output for the number of divisions of the slice level value, that is, n times.

(発明の効果) 以上説明したように、本発明によれば、スライスレベル
値を、画像データ読取り前に格納手段内に格納し、画像
データ読取り中は、シフトクロック信号により格納手段
内の最古のスライスレベル値を出力し、該出力を最新の
スライスレベル値として該格納手段に再入力することに
より、スライスレベル値をハードウェアで自律的に与え
ることができ、ファームウェア処理はスライスレベル値
付与処理から解放されるため、オーバランとなることも
なく、1ラインの分割数をふやすことができるので、画
像データの読取精度が高くなるという利点がある。
(Effects of the Invention) As described above, according to the present invention, the slice level value is stored in the storage means before image data is read, and during image data reading, the slice level value is stored in the oldest slice level value in the storage means by a shift clock signal. By outputting the slice level value of , and re-inputting the output to the storage means as the latest slice level value, the slice level value can be autonomously given by hardware, and the firmware processing is the slice level value giving process. Since the number of divisions of one line can be increased without overrun, there is an advantage that the accuracy of reading image data is increased.

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

第1図は本発明の画像データ読取方式の実施例を示すブ
ロック図、第2図(a)は、従来の画像データ読取方式
の実施例を示すブロック図、第2図(b)は、第2図(
a)の動作を説明するための波形図、第3図は第1図の
動作を説明するための波形図、第4図はCPUのメモリ
内に格納されているスライスレベル値を示す図、第5図
(a) 、 (b)はFIFo内に格納されているスラ
イスレベル値を示す図である。 図中、1・・・ライセンサ、2・・・増幅器、3・・・
cPU、4・・・PIo、5・・・レジスタ、6:・・
D/A変換回路、7・・・比較器、10・・・セレクタ
、11・・・FIFo、12−・・オーダデコーダ、1
3−2OR。 14・・・データバス、15・・・アドレスバス。 特許出願人  沖電気工業株式会社 代理人 弁理士  吉  1) 精  孝CV+   
V2  V3  V4 −−−  Vme わ」しへ萌イ象データλ豐取方式の壷カイ乍と言兄明す
る逼形国策2図(b) FIFO内のスライスレベル値、詠す国策5図(a) FIFO内のスライスレ■ルM’i、−r、す国策5図
(b)
FIG. 1 is a block diagram showing an embodiment of the image data reading method of the present invention, FIG. 2(a) is a block diagram showing an embodiment of the conventional image data reading method, and FIG. Figure 2 (
FIG. 3 is a waveform diagram to explain the operation of FIG. 1. FIG. 4 is a diagram showing slice level values stored in the memory of the CPU. FIGS. 5(a) and 5(b) are diagrams showing slice level values stored in FIFo. In the figure, 1...Licensor, 2...Amplifier, 3...
cPU, 4...PIo, 5...Register, 6:...
D/A conversion circuit, 7... Comparator, 10... Selector, 11... FIFo, 12-... Order decoder, 1
3-2 OR. 14...Data bus, 15...Address bus. Patent applicant Oki Electric Industry Co., Ltd. Agent Patent attorney Yoshi 1) Takashi Sei CV+
V2 V3 V4 --- Vme I want to use the elephant data λ. ) Slice level M'i, -r in FIFO, Figure 5 (b)

Claims (1)

【特許請求の範囲】 主走査方向1ラインを複数に分割した画像信号と該分割
した画像信号の各々のスライスレベル値とを比較手段で
比較して画像データを読取る画像データ読取方式におい
て、 該各々のスライスレベル値を随時格納しておく格納手段
と、該格納手段への入力を適宜選択する選択手段とを有
し、 該格納手段は、画像データ読取前には該選択手段を介し
て画像信号の分割数分のスライスレベル値を入力し、画
像データ読取中はシフトクロック信号毎に該格納手段に
格納されている最古のスライスレベル値を前記比較手段
に出力するとともに、該出力を前記選択手段を介して最
新のスライスレベル値として再入力すること を特徴とする画像データ読取方式。
[Scope of Claims] An image data reading method in which image data is read by comparing an image signal obtained by dividing one line in the main scanning direction into a plurality of parts and slice level values of each of the divided image signals using a comparing means, comprising: The storage means has a storage means for storing the slice level value as needed, and a selection means for appropriately selecting an input to the storage means, and the storage means selects the image signal via the selection means before reading the image data. The slice level values corresponding to the number of divisions are input, and during image data reading, the oldest slice level value stored in the storage means is outputted to the comparison means for each shift clock signal, and the output is outputted to the selection means. An image data reading method characterized by re-inputting the latest slice level value through means.
JP62060794A 1987-03-16 1987-03-16 Image data reading system Pending JPS63226777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62060794A JPS63226777A (en) 1987-03-16 1987-03-16 Image data reading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62060794A JPS63226777A (en) 1987-03-16 1987-03-16 Image data reading system

Publications (1)

Publication Number Publication Date
JPS63226777A true JPS63226777A (en) 1988-09-21

Family

ID=13152567

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62060794A Pending JPS63226777A (en) 1987-03-16 1987-03-16 Image data reading system

Country Status (1)

Country Link
JP (1) JPS63226777A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0546808A (en) * 1991-08-12 1993-02-26 Hitachi Electron Eng Co Ltd Picture signal processing circuit for ocr
JP2010099110A (en) * 2008-10-21 2010-05-06 Canon Inc Ultrasonic diagnostic apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5761377A (en) * 1980-09-30 1982-04-13 Nec Corp Image reader
JPS6228993A (en) * 1985-07-30 1987-02-06 Toshiba Corp Memory device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5761377A (en) * 1980-09-30 1982-04-13 Nec Corp Image reader
JPS6228993A (en) * 1985-07-30 1987-02-06 Toshiba Corp Memory device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0546808A (en) * 1991-08-12 1993-02-26 Hitachi Electron Eng Co Ltd Picture signal processing circuit for ocr
JP2010099110A (en) * 2008-10-21 2010-05-06 Canon Inc Ultrasonic diagnostic apparatus

Similar Documents

Publication Publication Date Title
US5136662A (en) Image processor for sequential processing of successive regions of an image
JPH05250305A (en) Data transfer control system
US4550369A (en) Apparatus and method for processing macroinstructions and microinstructions
JPH0220195B2 (en)
JPS63226777A (en) Image data reading system
JPS6046749B2 (en) Interrupt circuit to computer
US5053954A (en) Microprogram process for single cycle jump instruction execution
JPH0619651B2 (en) Sequence control device
JPS63200234A (en) Data processor
JPH01173237A (en) Ram access system
JPS58225779A (en) Decoding system for picture signal
JPS60254255A (en) Memory scan system
KR950009276B1 (en) Apparatus for generating hysterisis function
JPH0236423A (en) Saving/restoring register address generation circuit
KR100238173B1 (en) An automatic data loading device
SU561966A1 (en) Computing system for processing numbers and multidimensional vectors
JPS61260340A (en) Block transfer control part
JPH0134422B2 (en)
JPS6041772B2 (en) Parity creation circuit
JPS6111880A (en) Vector processor
JPS61281671A (en) Image information storing method for image processing
JPH05314256A (en) Image data processor
JPH02153444A (en) Memory control circuit
JPS61290543A (en) Error generating device
JPH04259080A (en) Pipeline type arithmetic device