JPS621370A - Image processing method for digital copying machine or the like - Google Patents

Image processing method for digital copying machine or the like

Info

Publication number
JPS621370A
JPS621370A JP60141098A JP14109885A JPS621370A JP S621370 A JPS621370 A JP S621370A JP 60141098 A JP60141098 A JP 60141098A JP 14109885 A JP14109885 A JP 14109885A JP S621370 A JPS621370 A JP S621370A
Authority
JP
Japan
Prior art keywords
data
white data
white
timing
line
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
JP60141098A
Other languages
Japanese (ja)
Inventor
Kazuo Murai
村井 和夫
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 JP60141098A priority Critical patent/JPS621370A/en
Publication of JPS621370A publication Critical patent/JPS621370A/en
Pending legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To prevent the occurrence of a black framed copy by detecting the timing of the first white data and that of the last white data in each one-line components of picture data and judging these read lines to be original edge parts and setting data on the outside of them to white data. CONSTITUTION:A flip flop 12 is reset when white data is inputted as picture data, and an up-counter 14 detects the timing of the first white data through an AND gate 13. When one-line components of data are terminated, an up- counter 15 detects the timing of the last white data through a latch 16. A comparator 20 outputs white data whose number corresponds to the number of clocks before the timing of the first white data, and a comparator 22 outputs white data whose number corresponds to the number of clocks after the timing of the last white data. Outputs of comparators 20 and 22 pass an OR gate 23, and the output where data in the part other than the original is inverted to white data is obtained from a gate circuit 26.

Description

【発明の詳細な説明】 技術分野 本発明は、原稿画像をデジタル的に処理するデジタル複
写機、ファクシミリ等における画、像処理方法に関する
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to an image processing method for digital copying machines, facsimile machines, etc. that digitally processes original images.

従来技術 従来、通常のアナログ複写機においては原稿よりも転写
紙の方が大きいような場合に、原稿外の部分が黒くコピ
ーされないように白色の原稿圧板を用いるようにしてい
る。一方、デジタル複写機では、原稿圧板を白くするよ
り、逆に鏡面とし。
BACKGROUND ART Conventionally, in a typical analog copying machine, when the transfer paper is larger than the original, a white original pressure plate is used to prevent the outside of the original from being copied in black. On the other hand, in digital copying machines, rather than making the document pressure plate white, it has a mirror surface.

原稿外からの光が受光部に入射せず、黒画像部分と同一
となるようにしている。これは、原稿の端部を検出して
原稿サイズ、位置を把握し、原稿がコンタクトガラス上
の所定位置にない場合であっても、移動処理させる等の
デジタル処理によるメリットを発揮させるためである。
Light from outside the original does not enter the light receiving section, so that the light is the same as the black image area. This is to leverage the benefits of digital processing, such as detecting the edge of the document, determining its size and position, and moving the document even if it is not in the specified position on the contact glass. .

このような機能は、例えばキャノンレーザー複写システ
ムNP−9030における原稿位置/サイズ検知機能、
オート用紙選択機能等として知られている。しかし。
Such functions include, for example, the document position/size detection function in the Canon laser copying system NP-9030;
This is known as an automatic paper selection function. but.

このような処理による場合、原稿外が黒とみなされるの
で、原稿端を正確に検出する処理を行わないと原稿外に
黒枠を生ずるコピーとなってしまう。
In such a process, the outside of the original is considered black, so unless the edge of the original is accurately detected, the copy will have a black frame outside the original.

この点、前述した製品では、!稿の白点のX。In this regard, the products mentioned above! X at the white point on the manuscript.

Y座標の最小値、最大値を検出して、これらの値の外側
の画像データを全て白に反転させるようにしている。し
かし、このような方法による場合。
The minimum and maximum values of the Y coordinate are detected, and all image data outside these values is inverted to white. However, if you use this method.

原稿の画像を全部読取った後に初めて処理できるもので
しかない。このため、例えば第3図(a)に示すように
原稿1がコンタクトガラス2上に斜めにセットされてい
るような場合には、この斜め状態の原稿1に外接する四
角形3のコピー用紙4を選択してコピーするため、得ら
れるコピー用紙4には同図(b)に示すように原稿画像
5外に黒枠コピ一部分6を生じてしまうものである。、
:の結果、コピー品質が低下してしまう、従って、黒枠
コピーを生じさせないためには、原稿セットに際してオ
ペレータに細心の注意を要求するものとなり。
It can only be processed after all images of the original have been read. For this reason, for example, when the original 1 is set obliquely on the contact glass 2 as shown in FIG. Since selective copying is performed, the resulting copy paper 4 has a black frame copy portion 6 outside the original image 5, as shown in FIG. 4(b). ,
: As a result, the copy quality deteriorates. Therefore, in order to prevent black border copies from occurring, the operator is required to be extremely careful when setting the original.

コピ一作業性が悪いものとなってしまうものである。This results in poor copying efficiency.

目的 本発明は、このような点に鑑みなされたもので、原稿が
斜めにセットされたような場合であっても、原稿外部分
が黒枠状コピーとなるようなことがなく、原稿セットに
細心の注意を要することのないデジタル複写機等におけ
る画像処理方法を提供することを目的とする。
Purpose The present invention has been made in view of the above points, and even when the original is set diagonally, the outer part of the original does not become a black frame copy, and the original is set with great care. An object of the present invention is to provide an image processing method for a digital copying machine, etc., which does not require special attention.

構成 本発明は、上記目的を達成するため、原稿画像を受光部
により1ライン毎に順次デジタル的に読取り1ラインバ
ッファを介して画像データを出力させるデジタル複写機
等であって原稿外の画像データを黒データとして読取ら
せるものにおいて、1ラインバッファへの画像データ入
力時□にその1ライン分の画像データにおいて最初に白
データが出るタイミングと最後に白データが出るタイミ
ングとを検出し、1ラインバッファからの画像データ出
力時に最初に白データが出るタイミング前及び最後に白
データが出るタイミング後の画像データを全て白データ
として出力させることを特徴とするものである。
Structure In order to achieve the above object, the present invention provides a digital copying machine or the like that sequentially digitally reads an original image line by line using a light receiving unit and outputs image data via a 1-line buffer, and which outputs image data outside the original. When inputting image data to one line buffer, the timing at which white data appears first and the timing at which white data appears last in one line of image data is detected, and the timing at which white data appears last is detected. The present invention is characterized in that, when outputting image data from a line buffer, all image data before the timing at which white data appears first and after the timing at which white data appears last are output as white data.

以下、本発明の一実施例を図面に基づいて説明する。ま
ず、デジタルスキャナにおいてCCD等により1ライン
毎に読み取られた画像データDATAが1ライン分入力
される1ラインバッファ11が設けられている。ここに
、この画像データDATAは第2図に示すように主走査
1ラインの同期信号LINEによる制御の下、1画素に
対応する基準クロック信号CLK毎に生ずる1画素のデ
ータであり、クロック信号CLKの立上り時には安定し
ているものである。そして、Lレベルが黒に対応し、H
レベルが白に対応する。ここで、第2図に一例として示
す画像データDATAを見ると、従来例で説明したよう
に原稿外が黒データとして処理されていることが判る。
Hereinafter, one embodiment of the present invention will be described based on the drawings. First, a one-line buffer 11 is provided to which one line of image data DATA read line by line by a CCD or the like in a digital scanner is input. Here, as shown in FIG. 2, this image data DATA is one pixel data generated every reference clock signal CLK corresponding to one pixel under the control of the synchronization signal LINE of one main scanning line, and the clock signal CLK It is stable at the rise of . Then, the L level corresponds to black, and the H level corresponds to black.
Level corresponds to white. Here, when looking at the image data DATA shown as an example in FIG. 2, it can be seen that the outside of the document is processed as black data, as explained in the conventional example.

ところが、この画像データDATAをそのまま出力させ
ると黒枠コピーが発生してしまうことがあるものである
However, if this image data DATA is output as is, a black frame copy may occur.

しかして1本実施例では、このような黒枠コピーの発生
を防止する手段を講じているものである。
However, in this embodiment, measures are taken to prevent the occurrence of such black border copies.

まず、前記画像データDATAが入力されるフリップフ
ロップ12が設けられている。このフリップフロップ1
2は画像データDATAとして初めてHレベルの白デー
タが入力されることによりセットされるものである。従
って1画像データDATAが初めて白データになるまで
の間このフリップフロップ12の出力端子間からはHレ
ベルの信号が出力される。ここに、この出方端子τがら
の出力とクロック信号CLKとが入力されるANDゲー
ト13が設けられ、このANDゲート13がらの出力数
をカウントするアップカウンタ14が設けられている。
First, a flip-flop 12 is provided to which the image data DATA is input. This flip flop 1
2 is set when H level white data is input for the first time as image data DATA. Therefore, an H level signal is output from between the output terminals of the flip-flop 12 until one image data DATA becomes white data for the first time. Here, an AND gate 13 to which the output from the output terminal τ and the clock signal CLK are input is provided, and an up counter 14 for counting the number of outputs from the AND gate 13 is provided.

これにより、このアップカウンタ14は同期信号LIN
Eに基づき開始された1ライン読取りにおいて画像デー
タDATAが初めて白データになるまでのクロック信号
CLKのパルス数をカウントすることになる。このよう
にカウントされたパルス数により最初に白データが出る
タイミングが検出される。
As a result, this up counter 14 receives the synchronization signal LIN.
The number of pulses of the clock signal CLK until the image data DATA becomes white data for the first time in one line reading started based on E is counted. The timing at which white data is first output is detected based on the number of pulses counted in this manner.

一方、クロック信号CLKを順次カウントアツプするア
ップカウンタ15も設けられている。このアップカウン
タ15にはラッチ16が接続されており、画像データD
ATAに白データが生ずる毎にアップカウンタ15によ
りカウントされたクロック数がこのラッチ16にセット
される。従って、1ラインのデータ終了時には、最後に
画像データDATAが白データとなったクロック数がこ
のランチ16にセットされていることになる。このラッ
チ16にセットされているクロック数により最後に白デ
ータが出るタイミングが検出される。
On the other hand, an up counter 15 that sequentially counts up the clock signal CLK is also provided. A latch 16 is connected to this up counter 15, and the image data D
The number of clocks counted by the up counter 15 is set in this latch 16 every time white data is generated in the ATA. Therefore, at the end of one line of data, the number of clocks at which the image data DATA became white data is set in the launch 16. The timing at which white data is finally output is detected by the number of clocks set in this latch 16.

このようにして1ラインの読取りが終了し、次の1ライ
ンの走査開始時にライン同期信号LINEの立上りによ
りアップカウンタ14の値がプリセットカウンタ17に
セットされるとともに、ランチ16の値がラッチ18に
セットされる。そして、ライン同期信号LINEの立下
がり時にアップカウンタ14,15及びラッチ16がリ
セットされる。ここに、前記アップカウンタ15と同様
にクロック数をカウントするアップカウンタ19もリセ
ットされる。
In this way, reading of one line is completed, and at the start of scanning of the next line, the value of the up counter 14 is set to the preset counter 17 by the rise of the line synchronization signal LINE, and the value of the launch 16 is set to the latch 18. Set. Then, when the line synchronization signal LINE falls, the up counters 14 and 15 and the latch 16 are reset. At this time, like the up counter 15, the up counter 19 that counts the number of clocks is also reset.

そして、ライン同期信号LINEに基づき開始される次
の1ラインの画像データDATAについても前述の場合
と同様の処理が繰返されると同時に、前の1ラインにつ
いてプリセットカウンタ17の値をクロック信号CLK
毎に−1していき。
Then, the same process as described above is repeated for the next line of image data DATA started based on the line synchronization signal LINE, and at the same time, the value of the preset counter 17 for the previous line is changed to the clock signal CLK.
-1 each time.

その値が0になるまでコンパレータ20により比較して
1(白データとしてのHレベル)を出力させる。つまり
、最初に白データが出るタイミング前のクロック数分で
ある。なお、プリセットカウンタ17の値が0になった
ら更に−1しないようにプリセットカウンタ17の入力
側に設けられたANDゲート21に対して0出力を戻す
。又、ラッチ18にセットされた値はクロック信号CL
Kを継続的にカウントしているアップカウンタ19の値
とコンパレータ22により比較され、このラッチ18に
セットされている値以上のクロック数に対してコンパレ
ータ22から1 (白データとしてのHレベル)を出力
させる。つまり、最後に白データが出るタイミング後の
クロック数分である。
The comparator 20 compares the value until it becomes 0, and outputs 1 (H level as white data). In other words, it is the number of clocks before the timing when white data is first output. Incidentally, when the value of the preset counter 17 reaches 0, a 0 output is returned to the AND gate 21 provided on the input side of the preset counter 17 so that it does not further decrease by 1. Also, the value set in the latch 18 is the clock signal CL.
The comparator 22 compares the value of the up counter 19 that continuously counts K, and when the number of clocks exceeds the value set in the latch 18, the comparator 22 outputs 1 (H level as white data). Output. In other words, it is the number of clocks after the timing when the last white data is output.

これらのコンパレータ20,22からの出力がORゲー
ト23に入力されている。従って、このORゲート23
から1(=Hレベル)なる出力は最初に白データが出る
タイミング前及び最後に白データがでるタイミング後に
おけるクロック信号CLKに対応したものとなる。そこ
で、このORゲート23の出力と1ラインの未処理の1
ラインバッファ11からの出刃とを排他的ORゲート2
4とORゲート25とによるゲート回路26を介して出
力させることにより、第2図に出力データとして示す如
く原稿外部分のデータが全て白データに反転された出力
が得られることになる。このような処理が各ライン毎に
リアルタイムにより行われるので、原稿がコンタクトガ
ラス上に斜めにセットされたような場合であっても、原
稿外部分が黒枠コピーされてしまうようなことがない。
Outputs from these comparators 20 and 22 are input to an OR gate 23. Therefore, this OR gate 23
An output of 1 (=H level) corresponds to the clock signal CLK before the timing when white data is first output and after the timing when white data is output last. Therefore, the output of this OR gate 23 and the unprocessed 1 of one line
Exclusive OR gate 2 with Deba from line buffer 11
4 and an OR gate 25, an output is obtained in which all data outside the document is inverted to white data, as shown as output data in FIG. Since such processing is performed for each line in real time, even if the original is set diagonally on the contact glass, the outside of the original will not be copied with a black border.

なお、1ラインの画像データDATAが全て黒データの
場合には、アップカウンタ14に1ライン全画素数分が
セットされるので、1ラインは全て白データに反転され
る。もつとも、原稿の先端がずれている等の場合により
1ラインの画像データDATAが全て黒データである時
にはこのような反転処理でよいが、原稿中央部等に実際
に黒線画像があった場合にはこれを白データとしてしま
うと画像欠損となる。これを防止するためには、原稿の
中央部等の処理中においてフリップフロップ12がセッ
トされない場合(つまり、白データが出現しない場合)
には白データへの反転を禁止させるようにすればよい。
Note that when all of the image data DATA of one line is black data, the up counter 14 is set to the total number of pixels of one line, so that all of the one line is inverted to white data. Of course, if one line of image data DATA is all black data, such as when the leading edge of the document is misaligned, such inversion processing is sufficient, but if there is actually a black line image in the center of the document, etc. If this is used as white data, the image will be lost. To prevent this, if the flip-flop 12 is not set while processing the center part of the document (in other words, if white data does not appear)
Inversion to white data may be prohibited.

効果 本発明は、上述したように1ライン分の画像データ毎に
白データが最初と最後に出るタイミングを検出し、この
白データが出る最初と最後のタイミング位置をその読取
りラインの原稿エツジ部分とみなして、1ラインバッフ
ァから出力される画像データのこれらの外側部分のデー
タは白データとするようにしたので、1M稿が斜めにセ
ットされているような場合であっても、リアルタイム処
理にして原稿外領域に黒枠コピーが生ずるのを防止する
ことができるものである。
Effects As described above, the present invention detects the timing at which white data appears first and last for each line of image data, and determines the timing positions at which this white data appears at the beginning and end as the document edge portion of that reading line. As a result, the outer part of the image data output from the 1-line buffer is treated as white data, so even if a 1M document is set diagonally, it can be processed in real time. This makes it possible to prevent black border copying from occurring in areas outside the original.

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

第1図は本発明の一実施例を示すブロック図、第2図は
タイミングチャート、第3図(a)、(b)は従来例を
示す平面図である。 11・・・1ラインバッファ
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a timing chart, and FIGS. 3(a) and 3(b) are plan views showing a conventional example. 11...1 line buffer

Claims (1)

【特許請求の範囲】[Claims] 原稿画像を受光部により1ライン毎に順次デジタル的に
読取り1ラインバッファを介して画像データを出力させ
るデジタル複写機等であつて原稿外の画像データを黒デ
ータとして読取らせるものにおいて、前記1ラインバッ
ファへの画像データ入力時にその1ライン分の画像デー
タにおいて最初に白データが出るタイミングと最後に白
データが出るタイミングとを検出し、前記1ラインバッ
ファからの画像データ出力時に最初に白データが出るタ
イミング前及び最後に白データが出るタイミング後の画
像データを全て白データとして出力させることを特徴と
するデジタル複写機等における画像処理方法。
In a digital copying machine or the like that sequentially digitally reads an original image line by line by a light receiving unit and outputs image data via a 1-line buffer, the image data outside the original is read as black data. When inputting image data to the line buffer, the timing at which white data appears first and the timing at which white data appears last in one line of image data is detected, and when image data is output from the one line buffer, white data appears first. An image processing method for a digital copying machine or the like, characterized in that all image data before the timing when white data is output and after the timing when white data is finally output are output as white data.
JP60141098A 1985-06-27 1985-06-27 Image processing method for digital copying machine or the like Pending JPS621370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60141098A JPS621370A (en) 1985-06-27 1985-06-27 Image processing method for digital copying machine or the like

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60141098A JPS621370A (en) 1985-06-27 1985-06-27 Image processing method for digital copying machine or the like

Publications (1)

Publication Number Publication Date
JPS621370A true JPS621370A (en) 1987-01-07

Family

ID=15284142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60141098A Pending JPS621370A (en) 1985-06-27 1985-06-27 Image processing method for digital copying machine or the like

Country Status (1)

Country Link
JP (1) JPS621370A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6436460A (en) * 1987-07-31 1989-02-07 Nec Corp Image processing system
US4899227A (en) * 1987-01-26 1990-02-06 Canon Kabushiki Kaisha Image processing apparatus detecting the size or position of an information portion of an original
US5327261A (en) * 1989-04-29 1994-07-05 Minolta Camera Kabushiki Kaisha Image reading apparatus capable of detecting paper size
US5719968A (en) * 1994-03-04 1998-02-17 Minolta Co., Ltd. Digital copy machine that carries out optimum copy regardless of original mounted position

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57115069A (en) * 1981-01-08 1982-07-17 Fuji Xerox Co Ltd Manuscript reading equipment of facsimile

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57115069A (en) * 1981-01-08 1982-07-17 Fuji Xerox Co Ltd Manuscript reading equipment of facsimile

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4899227A (en) * 1987-01-26 1990-02-06 Canon Kabushiki Kaisha Image processing apparatus detecting the size or position of an information portion of an original
JPS6436460A (en) * 1987-07-31 1989-02-07 Nec Corp Image processing system
US5327261A (en) * 1989-04-29 1994-07-05 Minolta Camera Kabushiki Kaisha Image reading apparatus capable of detecting paper size
US5719968A (en) * 1994-03-04 1998-02-17 Minolta Co., Ltd. Digital copy machine that carries out optimum copy regardless of original mounted position

Similar Documents

Publication Publication Date Title
JPS621370A (en) Image processing method for digital copying machine or the like
JPH04293359A (en) Picture reader
JPS62144462A (en) Image signal processor
JPH0638028A (en) Image reader
JP2996692B2 (en) Picture reader
JP2911489B2 (en) Color image processing equipment
JP2541937B2 (en) Image processing device
JPS59204378A (en) Image processor
JPS6213161A (en) Picture processing device
JPH04331563A (en) Image reader
JP3011942B2 (en) Digital image output device
JPH0631270U (en) Image reader
KR100245021B1 (en) Method for determining threshold value of line image
JP3217834B2 (en) Image reading device
JPH0364268A (en) Color copying device
JPS63189047A (en) Binary picture signal processor
JPS63196163A (en) Original processor
JPH0582782B2 (en)
JPH03120951A (en) Picture reader
JPS61239770A (en) Image reader
JPH01223878A (en) Picture processor
JPH07118763B2 (en) Image processing device
JPH099020A (en) Picture processor and its control method
JPH01256275A (en) Picture reader
JP2000216956A (en) Image reading device and its method and storage medium