JP2575300B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2575300B2
JP2575300B2 JP7007349A JP734995A JP2575300B2 JP 2575300 B2 JP2575300 B2 JP 2575300B2 JP 7007349 A JP7007349 A JP 7007349A JP 734995 A JP734995 A JP 734995A JP 2575300 B2 JP2575300 B2 JP 2575300B2
Authority
JP
Japan
Prior art keywords
image
document
signal
data
value
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 - Lifetime
Application number
JP7007349A
Other languages
Japanese (ja)
Other versions
JPH07283935A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP7007349A priority Critical patent/JP2575300B2/en
Publication of JPH07283935A publication Critical patent/JPH07283935A/en
Application granted granted Critical
Publication of JP2575300B2 publication Critical patent/JP2575300B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Control Or Security For Electrophotography (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は原稿の画像を記録シート
の中央に記録させる画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for recording an image of a document at the center of a recording sheet.

【0002】[0002]

【従来の技術】従来、複写機と言えば、単に原稿を忠実
に再現したり、又、原稿をある固定した倍率で縮小又は
拡大したりする程度であった。上記複写機の原理は原稿
を蛍光灯又はタングステンランプ等の光源により照射
し、その原稿面からの反射光を原稿像としてレンズ,ミ
ラーを介して直接予め表面に電荷を帯電させてある感光
体に照射することによって静電潜像を形成し、その後現
像剤をこの感光体に印加して可視像としている。
2. Description of the Related Art Conventionally, a copying machine merely reproduces an original faithfully or reduces or enlarges the original at a fixed magnification. The principle of the copier is that the original is illuminated by a light source such as a fluorescent lamp or a tungsten lamp, and the light reflected from the original surface is used as an original image on a photoreceptor whose surface is directly charged in advance via a lens or mirror. Irradiation forms an electrostatic latent image, after which a developer is applied to this photoreceptor to form a visible image.

【0003】また、原稿の中の所望の領域を指定し、指
定した領域の画像のみを抽出して像形成する機能も考え
られている。
Further, a function of designating a desired area in a document, extracting only an image of the designated area, and forming an image has been considered.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、原稿の
指定領域の画像を記録シートに複写する場合、複写され
る画像は、原稿の指定領域に対応した記録シート上の位
置に複写されてしまうため、例えば原稿の左下角部の領
域の画像は記録シートの左下角部に複写され、見にくい
コピーとなっていた。
However, when an image in a designated area of a document is copied onto a recording sheet, the copied image is copied to a position on the recording sheet corresponding to the designated area of the document. For example, the image in the lower left corner of the document is copied to the lower left corner of the recording sheet, making the copy hard to see.

【0005】また、記録シートのサイズによっては、指
定された領域の画像が記録シート上に複写されない不都
合もあった。
Further, depending on the size of the recording sheet, there is also a disadvantage that an image in a designated area is not copied on the recording sheet.

【0006】そこで、原稿の画像を記録シートの所望の
位置に記録するように、複写位置を指定することも考え
られている。
Therefore, it has been considered to designate a copy position so that an image of a document is recorded at a desired position on a recording sheet.

【0007】しかし、操作者が記録位置を入力する操作
をしなくてはならず、操作性も悪かった。特に、記録シ
ートの中央に記録したい場合は、操作者が記録位置を計
算しなければならなかった。
However, the operator has to perform an operation of inputting a recording position, and the operability is poor. In particular, if it is desired to record at the center of the recording sheet, the operator has to calculate the recording position.

【0008】本発明は、上記の欠点を除去した画像処理
装置を提供することを目的とするものである。
[0008] An object of the present invention is to provide an image processing apparatus which eliminates the above-mentioned disadvantages.

【0009】[0009]

【課題を解決するための手段】本発明は上述した課題を
解決するために、原稿が載置される原稿台と、前記原稿
台に載置された原稿を走査する走査手段と、原稿の所望
の領域を指定する領域指定手段と、前記走査手段により
走査された原稿の画像を記録材に記録する記録手段と、
前記領域指定手段により指定された領域の縦方向と横方
向における先端位置と後端位置及び記録材のサイズに従
って、記録材の縦方向の端部と記録材に形成される指定
領域の画像の縦方向の端部との距離が、縦方向における
原稿の先端位置から後端位置までの長さを記録材の縦方
向の長さから差し引いた値の半分となるような、かつ、
記録材の横方向の端部と記録材に形成される指定領域の
画像の横方向の端部との距離が、横方向における原稿の
先端位置から後端位置までの長さを記録材の横方向の長
さから差し引いた値の半分となるような画像の移動量を
決定し、決定した移動量に基づいて前記原稿の画像を記
録材の中央に記録させる制御手段と、を有するものであ
る。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides a document table on which a document is placed, scanning means for scanning the document placed on the document table, Area designating means for designating an area, and recording means for recording an image of a document scanned by the scanning means on a recording material,
The longitudinal end of the recording material and the vertical length of the image of the designated area formed on the recording material according to the front and rear end positions and the recording material size in the vertical and horizontal directions of the area designated by the area designation means. The distance from the edge in the direction is half the value obtained by subtracting the length from the leading edge to the trailing edge of the document in the vertical direction from the length in the vertical direction of the recording material, and
The distance between the horizontal edge of the recording material and the horizontal edge of the image in the designated area formed on the recording material is determined by the length from the leading edge to the trailing edge of the document in the horizontal direction. Control means for determining a moving amount of the image that is half the value subtracted from the length in the direction, and recording the image of the document at the center of the recording material based on the determined moving amount. .

【0010】[0010]

【作用】本発明によれば、原稿の指定領域と記録材のサ
イズとに従って、指定領域の画像を記録材の中央に記録
することにより、見やすい画像を得るようにしたもので
ある。
According to the present invention, an image in the designated area is recorded at the center of the recording material in accordance with the designated area of the document and the size of the recording material, so that an easy-to-view image is obtained.

【0011】[0011]

【実施例】以下、本発明を実施例に基づいて説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below based on embodiments.

【0012】本実施例では、原稿を光源で照射し、原稿
像となるその反射光を直接感光体に投影するのではな
く、光電変換素子に投影し原稿像を電気信号として得る
ようにした。そして、この電気信号を回路的手段とソフ
ト的手段により処理を行い、原稿像を連続的な任意の倍
率に拡大/縮小したり、原稿像の任意の領域を抜き出し
たり、又、この領域を別の任意の領域に移動させたり、
更には、この3つの機能を組合せて、原稿像の任意の領
域を任意の倍率に拡大/縮小し、それを任意の場所に移
動させる等の多機能な画像処理能力、及び、こうして処
理された画像情報を遠方に送信できる機能を本実施例装
置は有する。更には従来画像メモリ手段を使った画像処
理方法はいくつか提案されているが、本実施例装置は原
稿像を走査中に上記の処理をリアルタイムで行うように
して前記メモリ手段を不要とし、大巾コストダウンをし
ていることである。
In this embodiment, an original is irradiated with a light source, and the reflected light, which is an original image, is not directly projected on a photosensitive member, but is projected on a photoelectric conversion element to obtain an original image as an electric signal. The electric signal is processed by circuit means and software means to enlarge / reduce the original image to a continuous arbitrary magnification, extract an arbitrary area of the original image, and separate this area. Move to any area of
Further, by combining these three functions, an arbitrary area of the original image is enlarged / reduced to an arbitrary magnification and moved to an arbitrary place, and a multifunctional image processing capability and the like are obtained. The apparatus of this embodiment has a function of transmitting image information to a distant place. Further, some image processing methods using conventional image memory means have been proposed, but the apparatus of this embodiment performs the above-described processing in real time while scanning a document image, thereby eliminating the need for the memory means. That is to reduce the width cost.

【0013】図1に本発明による複写装置の外観を示
す。本装置は基本的に2つのユニットにより構成され
る。リーダAとプリンタBである。このリーダAとプリ
ンタBは機械的にも機能的にも分離してあり、それ自身
を単独で使うことが出来るようになっている。接続は電
気ケーブルでのみ接続するようになっている。リーダA
には操作部A−1が付いている。詳細は後述する。
FIG. 1 shows the appearance of a copying apparatus according to the present invention. This device is basically composed of two units. Reader A and printer B. The reader A and the printer B are mechanically and functionally separated so that they can be used independently. Connections are made only by electrical cables. Reader A
Has an operation unit A-1. Details will be described later.

【0014】図3にリーダA、プリンタBの構造断面図
を示す。原稿は原稿ガラス3上に下向きに置かれ、その
載置基準は正面から見て左奥側にある。その原稿は原稿
カバー4によって原稿ガラス3上に押えつけられる。原
稿は蛍光灯ランプ2により照射され、その反射光はミラ
ー5、7とレンズ6を介して、CCD1の面上に集光す
るよう光路が形成されている。そしてこのミラー7とミ
ラー5は2:1の相対速度で移動するようになってい
る。この光学ユニットはDCサーボモータによってPL
Lをかけながら一定速度で左から右へ移動する。この移
動速度は原稿を照射している往路は180mm/sec
で、戻りの復路は468mm/secである。この副走
査方向の解像度は16lines/mmである。処理で
きる原稿の大きさはA5〜A3まであり、原稿の載置方
向はA5、B5、A4が縦置きで、B4、A3が横置き
である。そして原稿サイズに応じて光学ユニットの戻し
位置を3ケ所設けてある。第1ポイントはA5、B5、
A4共通で原稿基準位置より220mmのところ、第2
ポイントはB4で同じく364mmのところ、第3ポイ
ントはA3で同じく431.8mmのところとしてあ
る。
FIG. 3 is a structural sectional view of the reader A and the printer B. The original is placed downward on the original glass 3 and its placement reference is on the left back side when viewed from the front. The original is pressed onto the original glass 3 by the original cover 4. The original is illuminated by the fluorescent lamp 2, and an optical path is formed so that the reflected light is focused on the surface of the CCD 1 via the mirrors 5 and 7 and the lens 6. The mirror 7 and the mirror 5 move at a relative speed of 2: 1. This optical unit is PL driven by a DC servomotor.
Move from left to right at a constant speed while applying L. This moving speed is 180 mm / sec for the forward path where the document is irradiated.
The return path is 468 mm / sec. The resolution in the sub-scanning direction is 16 lines / mm. The size of the document that can be processed is A5 to A3, and the placement direction of the document is A5, B5, and A4 in the portrait orientation, and B4 and A3 in the landscape orientation. The optical unit is provided with three return positions according to the size of the document. The first point is A5, B5,
A4 common, 220 mm from the original reference position,
The point is also 364 mm at B4, and the third point is also 431.8 mm at A3.

【0015】次に主走査方向について、主走査巾は前記
の原稿載置向きによって最大A4のヨコ巾297mmと
なる。そして、これを16pel/mmで解像するため
に、CCDのビット数として4752(=297×1
6)ビット必要となるので、本装置では2628ビット
のCCDアレーセンサを2個用い、並列駆動するように
した。従って、16lines/min、180mm/
secの条件より、主走査周期(=CCDの蓄積時間)
Next, in the main scanning direction, the width of the main scanning is 297 mm, which is a maximum A4 width, depending on the above-mentioned document placing direction. Then, in order to resolve this at 16 pel / mm, the number of bits of the CCD is 4752 (= 297 × 1).
6) Since two bits are required, this apparatus uses two 2628-bit CCD array sensors and drives them in parallel. Therefore, 16 lines / min, 180 mm /
From the condition of sec, the main scanning cycle (= CCD accumulation time)
Is

【0016】[0016]

【外1】 となる。CCDの転送速度は[Outside 1] Becomes CCD transfer speed is

【0017】[0017]

【外2】 となる。[Outside 2] Becomes

【0018】次に図3に於いて、リーダAの下に置かれ
ているプリンタBの概観について説明する。リーダAで
処理されビット・シリアルになった画像信号はプリンタ
Bのレーザ走査光学系ユニット25に入力される。この
ユニット25は半導体レーザ、コリメータレンズ、回転
多面体ミラー、Fθレンズ、倒れ補正光学系より成って
いる。リーダAからの画像信号は半導体レーザに印加さ
れ電気−光変換されその発散するレーザ光をコリメータ
レンズで平行光とし、高速で回転する多面体ミラーに照
射され、レーザ光をそれによって感光体8に走査する。
この多面体ミラーの回転数は2,600rpmで回され
ている。そして、その走査巾は約400mmで、有効画
像巾はA4ヨコ寸法の297mmである。従って、この
時の半導体レーザに印加する信号周波数は約20MHz
(NRz)である。このユニット25からのレーザ光は
ミラー24を介して感光体8に入射される。
Next, referring to FIG. 3, an overview of the printer B placed below the reader A will be described. The bit-serial image signal processed by the reader A is input to the laser scanning optical system unit 25 of the printer B. This unit 25 comprises a semiconductor laser, a collimator lens, a rotating polyhedral mirror, an Fθ lens, and a tilt correction optical system. The image signal from the reader A is applied to the semiconductor laser and converted into light and light. The divergent laser light is collimated by a collimator lens, and is irradiated on a polyhedral mirror rotating at high speed, thereby scanning the photosensitive member 8 with the laser light. I do.
The number of rotations of this polyhedral mirror is 2,600 rpm. The scanning width is about 400 mm, and the effective image width is 297 mm, which is A4 horizontal size. Therefore, the signal frequency applied to the semiconductor laser at this time is about 20 MHz.
(NRz). The laser light from the unit 25 is incident on the photoconductor 8 via the mirror 24.

【0019】この感光体8は一例として導電層−感光層
−絶縁層の3層からなる。従って、これに像形成を可能
とさせるプロセスコンポーネントが配置されている。9
は前除電器、10は前除電ランプ、11は一次帯電器、
12は二次帯電器、13は前面露光ランプ、14は現像
器、15は給紙カセット、16は給紙ローラ、17は給
紙ガイド、18はレジスト・ローラ、19は転写帯電
器、20は分離ローラ、21は搬送ガイド、22は定着
器、23はトレーである。感光体8及び搬送系の速度は
リーダの往路と同じく180mm/secである。従っ
て、リーダAとプリンタBを組合せてコピーをとる時の
速度はA4で30枚/分となる。又、プリンタBは感光
ドラム8に密着したコピー紙を分離するのに手前側に分
離ベルトを用いているが、その為にそのベルト巾分の画
像が欠ける。もし、その巾分にも信号を乗せてしまうと
現像をしてしまい、そのトナーによって分離ベルトが汚
れ、以後の紙にも汚れをつけてしまう結果になるので、
予めリーダ側でこの分離ベルト巾分8mmにはプリント
出力のビデオ電気信号をカットするようにしてある。
又、コピー紙の先端にトナーが付着していると定着する
際、定着器22の定着ローラに巻き付きジャムの原因に
なるので、紙の先端2mm巾だけトナーが付着しない様
同じく電気信号をリーダ側でカットしている。次に図1
7及び図18にリーダA、プリンタBの主走査方向と出
力される画像を示している。リーダは奥側へ主走査を行
っている。
The photoreceptor 8 comprises, for example, three layers of a conductive layer, a photosensitive layer and an insulating layer. Accordingly, a process component is provided for enabling image formation. 9
Is a pre-discharger, 10 is a pre-discharge lamp, 11 is a primary charger,
12 is a secondary charger, 13 is a front exposure lamp, 14 is a developing device, 15 is a paper feed cassette, 16 is a paper feed roller, 17 is a paper feed guide, 18 is a registration roller, 19 is a transfer charger, and 20 is a transfer charger. A separation roller, 21 is a conveyance guide, 22 is a fixing device, and 23 is a tray. The speed of the photosensitive member 8 and the transport system is 180 mm / sec as in the outward path of the reader. Accordingly, the speed when copying is performed by combining the reader A and the printer B is 30 sheets / minute at A4. Further, the printer B uses a separation belt on the front side to separate the copy paper adhered to the photosensitive drum 8, but an image corresponding to the belt width is missing. If a signal is also applied to the width, development will occur, the separation belt will be stained by the toner, and the subsequent paper will also be stained.
In advance, the reader side cuts the video electric signal of the print output for the width of the separation belt of 8 mm.
Further, when toner is adhered to the leading edge of the copy paper, the toner may be wrapped around the fixing roller of the fixing unit 22 when fixing is performed. It is cut by. Next, FIG.
7 and 18 show the main scanning direction of the reader A and the printer B and the output image. The reader is performing main scanning toward the back side.

【0020】本例の複写装置は画像編集等のインテリジ
ェンシを持つが、このインテリジェンシはリーダA側
で、CCD1で読取った信号を加工して行っており、リ
ーダAから出力される段階ではいかなる場合に於いて
も、一定ビット数(4752)で一定速度(13.89
MHz)の信号が出るようになっている。インテリジェ
ンシの機能としては、0.5→2.0倍の範囲の任意の
倍率、特定の倍率に拡大/縮小すること、指定された領
域のみ画像を抜き出すトリミング機能、トリミングされ
た像をコピー紙上の任意の場所に移動させる移動機能が
ある。その他、キー指定により32階調でハーフトーン
処理する機能がある。更にはこれらの個々のインテリジ
ェント機能を組合せた複合機能を有する。図26〜図2
8にこれらの具体例を示す。
The copying apparatus of this embodiment has intelligence for image editing and the like. This intelligence is performed on the reader A by processing the signal read by the CCD 1. In any case, a constant speed (13.89) with a constant number of bits (4752).
MHz). The intelligence functions include: magnification from 0.5 to 2.0 times, enlargement / reduction to a specific magnification, trimming function to extract image only in specified area, copy of trimmed image There is a move function to move to any place on paper. In addition, there is a function of performing halftone processing in 32 gradations by key designation. Furthermore, it has a composite function combining these individual intelligent functions. 26 to 2
FIG. 8 shows specific examples of these.

【0021】(a)は編集機能を示すもので、(1)は
原稿表面を示し、(2)はトリミング座標指定のみを行
ったときのコピー完成時の状態、(3)はトリミング座
標指定+移動座標指定(但し、コピー紙サイズを超える
とエラー表示)を行ったときの、(4)はトリミング座
標指定+移動座標指定+任意倍率の拡大(但し、コピー
紙サイズを超えるとエラー表示)を行ったときの、
(5)はトリミング座標指定+移動座標指定+任意倍率
の縮小を行ったときの、(6)はトリミング座標指定+
AUTO指定(0.5→2倍の範囲の倍率でカセット・
サイズ向きに合わせて基準位置より変倍する)を行った
ときの、(7)はトリミング座標指定+AUTO指定を
行ったときのコピー完成時の状態を示す。尚、移動座標
にシフトされるトリミング座標は副走査方向の値が一番
小さい座標ポイントを基準にして決める。
(A) shows the editing function, (1) shows the surface of the original, (2) shows the state when the copy is completed when only the trimming coordinates are specified, and (3) shows the trimming coordinates + When the movement coordinates are specified (however, an error is displayed when the size exceeds the copy paper size), (4) specifies trimming coordinates + specification of the movement coordinates + enlargement of an arbitrary magnification (however, an error is displayed when the size exceeds the copy paper size). When I went,
(5) Trimming coordinate designation + moving coordinate designation + reduction of arbitrary magnification, (6) Trimming coordinate designation +
AUTO specified (0.5 to 2 times cassette
(7) shows the state at the time of copy completion when the trimming coordinate designation + AUTO designation is performed when (magnification is changed from the reference position according to the size direction). The trimming coordinates shifted to the movement coordinates are determined based on the coordinate point having the smallest value in the sub-scanning direction.

【0022】(b)はCCDとレーザの主走査方向の関
係を示したもの、(c)はトリミング座標指定の手法を
示したものである。
FIG. 2B shows the relationship between the CCD and the main scanning direction of the laser, and FIG. 2C shows the method of specifying trimming coordinates.

【0023】直線で囲まれた1つのワクであれば、指定
順序は〜の如く行う。この座標指定は図4のテンキ
ー12aを用いて行う。
In the case of one work enclosed by a straight line, the designation order is as follows. This coordinate designation is performed using the numeric keypad 12a in FIG.

【0024】図2は、原稿カバー4とガラス3との間に
挟み得る透明ホルダA−2を示したもので、このホルダ
は原稿を収納できるように2辺を張り合せた袋状になっ
ていて、ガラス3の面と同じ広さがある。そしてその袋
ホルダの一方には図の如くセクション状に区分けしたラ
インがひかれていて、その周囲にはタテ、ヨコ1又は5
〜10mm間隔の1〜n、1〜mの座標が描かれてあ
る。各座標点はガラス3上の各点に対応する。そこでこ
の袋ホルダ中に原稿の像面を座標面に向けて原稿を挟み
込むと原稿の像面各所が上記座標で示されることが目視
で分かる。従って図19(C)のトリミング座標、移動
座標をこのホルダを目視しつつ操作部A−1のキーを操
作して入力することができる。入力した後、原稿の像面
をひっくり返して袋ホルダに収納し直してガラス3面上
の規定の位置に載置するか、又は原稿を袋ホルダからぬ
き出して載置する。又、CCD1が感応しない波長の色
で座標を描くと、原稿を袋ホルダに入れたままガラス面
の基準位置に載置することができる。尚、袋ホルダは3
辺又は1辺を張り合せて構成することもできる。1辺張
り合せ、つまり折りシート構成のものであると、厚手、
本等の原稿に対しても座標指定ができる。
FIG. 2 shows a transparent holder A-2 which can be sandwiched between the original cover 4 and the glass 3. This holder is formed in a bag shape with two sides attached so that the original can be stored. And has the same size as the surface of the glass 3. One of the bag holders is provided with a sectioned line as shown in the figure, and the periphery of the line is vertical, horizontal 1 or 5
The coordinates of 1 to n and 1 to m at intervals of 10 to 10 mm are drawn. Each coordinate point corresponds to each point on the glass 3. Therefore, when the document is sandwiched in the bag holder with the image plane of the document facing the coordinate plane, it can be visually recognized that the image plane of the document is indicated by the coordinates described above. Therefore, the trimming coordinates and the movement coordinates shown in FIG. 19C can be input by operating the keys of the operation unit A-1 while viewing the holder. After the input, the image surface of the original is turned upside down and stored again in the bag holder and placed at a specified position on the surface of the glass 3, or the original is pulled out of the bag holder and placed. If the coordinates are drawn in a color of a wavelength that the CCD 1 is insensitive to, the original can be placed at the reference position on the glass surface with the original placed in the bag holder. The bag holder is 3
A side or one side may be laminated. One-sided lamination, that is, a folded sheet configuration,
Coordinates can be specified for an original such as a book.

【0025】次に本実施例装置の持つ機能について説明
する。本装置は、単なる複写機能の他に、任意の拡大縮
小ができる変倍機能や、原稿の任意の部分を抜き出した
り削除したりする編集機能、更に、原稿の大きさや位置
を自動的に検知し変倍や編集を自動的に行う等の様々な
機能を持つ。この様な、原稿の画像を操作する機能を総
括して、「画像操作機能」と呼ぶ。他に、接続されたプ
リンタでリーダにより読み取った原稿画像のコピーを取
るだけでなく、CCU(Comunication C
ontrol Unit=通信制御ユニット)を介し
て、他のプリンタに原稿画像を送信することができる。
又、他のリーダから送られて来た原稿画像を、手元のプ
リンタに受信することもできる。この様な機能を「画像
転送機能」と呼ぶ。更に、上記の選択された機能を、6
個のプリセット・キーに任意に登録することができる。
登録内容は、ユーザが任意に指定可能で、電源を切って
も内容を保持する。
Next, the functions of the present embodiment will be described. In addition to the mere copying function, this device has a scaling function that allows arbitrary enlargement and reduction, an editing function that extracts or deletes any part of the original, and automatically detects the size and position of the original. It has various functions such as automatic scaling and editing. Such a function of operating an image on a document is generally referred to as an “image operation function”. In addition to copying a document image read by a reader with a connected printer, the CCU (Communication C
The document image can be transmitted to another printer via the control unit (communication control unit).
Also, an original image sent from another reader can be received by the printer at hand. Such a function is called an “image transfer function”. In addition, the selected function
Any number of preset keys can be registered.
The registered contents can be arbitrarily specified by the user, and the contents are retained even when the power is turned off.

【0026】この様な機能を「プリセット機能」と呼
ぶ。更に原稿の地肌を飛ばす自動露光機能や写真などの
階調を持つ画像を再現よく出力する中間調処理機能があ
る。これらを総じて「画質処理機能」と呼ぶ。以下整理
すると、画像操作機能の中に次の5つがある。
Such a function is called a "preset function". Further, there are an automatic exposure function for removing the background of the document and a halftone processing function for outputting an image having a gradation such as a photograph with good reproducibility. These are generally referred to as “image quality processing functions”. To summarize, there are the following five image operation functions.

【0027】即ち変倍機能として等倍(倍率100
%)、定形編倍(サイズ指定)、無段階変倍(倍率指定
50〜200%)、XY変倍(主・副走査方向の独立変
倍)がある。画像反転機能としてオリジナル画像、ネガ
・ポジ反転画像がある。編集機能として編集ナシ、白マ
スキング、黒マスキングがある。但し後者の2つは自動
的にXY変倍オート機能になり、他の変倍機能の指定は
できない。白枠トリミング、黒枠トリミング、原稿位置
自動検知がある。但しここでは変倍、画像反転、移動、
特殊変倍機能が連動する。移動機能として移動ナシ、移
動先指定、原点移動(コーナリング)、センタリングが
ある。特殊変倍機能として特殊変倍指定ナシ、変倍オー
ト、XY変倍オートがある。但し後者の2つは他の変倍
機能の指定はできない。移動機能と特殊変倍機能は、編
集機能の白・黒枠トリミング、原稿位置自動検知が指定
された時だけ有効になる。
That is, the same magnification (magnification 100)
%), Fixed magnification (size specification), stepless magnification (magnification 50-200%), and XY magnification (independent magnification in the main and sub scanning directions). The image inversion function includes an original image and a negative / positive inverted image. Editing functions include editing pear, white masking, and black masking. However, the latter two are automatically set to the XY scaling auto function, and other scaling functions cannot be designated. There are white frame trimming, black frame trimming, and automatic document position detection. However, here, scaling, image inversion, movement,
The special zoom function is linked. The movement functions include no movement, designation of destination, movement to the origin (cornering), and centering. The special scaling function includes no special scaling designation, no scaling auto, and XY scaling auto. However, the latter two cannot specify other scaling functions. The movement function and the special scaling function are enabled only when the editing function of white / black frame trimming and automatic document position detection is specified.

【0028】又画像転送機能の中にはローカル・コピー
(通常のコピー)、送信(CCUを介して他のプリンタ
に原稿画像を送信)、受信(CCUを介して他のリーダ
から原稿画像を受信)がある。
The image transfer function includes local copy (normal copy), transmission (sending an original image to another printer via the CCU), and receiving (receiving an original image from another reader via the CCU). ).

【0029】又プリセット機能の中には登録(プリセッ
ト・キーに記憶)、読み出し(プリセット・キーの記憶
内容読み出し)、リセット(全ての機能を標準モードに
戻す)がある。
The preset functions include registration (stored in the preset key), reading (reading out the stored contents of the preset key), and resetting (returning all functions to the standard mode).

【0030】又画質処理機能の中には自動露光(A
E)、中間調処理がある。
The image processing function includes automatic exposure (A
E), there is halftone processing.

【0031】図4は図1の操作部A−1の詳細図であ
る。この操作部は大きく3つのブロックに別れている。
右側のブロックが従来の複写機に見られる汎用キー表示
部100である。中央のブロックがユーザがプログラム
による任意に創作登録しておいた複写伝送機能を呼び出
して使う為のファンクション・キー表示部300であ
る。左側のブロックは、ユーザが任意に複写・伝送機能
を創作する為のソフト・キー表示部200である。汎用
キー表示部100についてまず説明する。103は所望
コピー枚数セット表示及び途中のコピー枚数表示用の7
セグメントLED表示器である。102は従来の複写機
に用いられているジャム、トナーなし、紙なし、コピー
割り込み等の警告表示である。104はコピー濃度切換
えレバー及びそれにより得られた濃度表示である。10
5は原稿画像が文字だけのもの、写真だけのもの、文字
と写真が混在したもの、セクションペーパのものに対す
る選択表示器である。これらは4種の原稿像を最適化し
た形でコピーできる様異なった画像処理を施す為に設け
られている。106は選択されたカセット段が上段か下
段かを表示している。107は選択されたカセット段の
カセットに収納されている紙サイズを表示する為の表示
器である。108は0〜9、Cのテン・キー群であって
表示器103への枚数セット及びソフト・キー表示部2
00にてプログラム創作過程での数値のエントリ(例え
ばトリミング座標、移動座標、変倍の倍率、送信先アド
レス指定等)に用いられる。そして表示部200に表示
されているキーエントリー内容の確認キーとして109
のエントリー・キーが設けられている。110はマルチ
コピーを中断して他のマルチコピーをする割込みキー、
111はプリンタBのマルチコピーを中止又は受信を中
止するコピー・キャンセル・キー、101はプリンタの
プリント開始又は伝送開始を指令するコピー・キーであ
る。113は選択表示器105の原稿画像切換えキー、
112はカセット段切換えキーである。113、112
はキーをオンする毎に上から下に選択シフトする。ファ
ンクション・キー表示部300に於てこの部分は構造的
にカバーが着脱自在になっている。理由は前述した通
り、ソフト・キー表示部で任意創作した機能の1つが登
録されて302の1つのキーに対応するようになってい
るので自分で創作した機能に何らかの名称をつけてキー
302に書込んでおく必要がある。従って、機能を登録
した後はこのカバーを外して登録したいずれかのキー3
02に名称を書込んで、再びカバーをつけるといった動
作になる。以上よりファンクション・キー302は6個
用意されているので6個の機能をユーザは登録できる。
ソフトキー表示部200でユーザが機能を創作した段階
で、ソフトキーの表示部202に登録するか否かの問い
合わせのメッセージが出てくるので、ソフトキー201
でそれに応答してやればファンクション表示部300に
ある6個のキーに対応した表示器303の6個が全て点
滅動作を行う。これは“どのファンクション・キーに前
記機能を登録しますか?”と機械側からオペレータに問
いかけをしている事を意味している。従ってこの時にオ
ペレータはいずれかのキーを押すと、そのキーに対応し
た表示器が点灯になり、他の表示器は消灯する。そして
オペレータはカバーを外し、そのキー上にファンクショ
ン名を記入し再びカバーを着ける。以後ここで登録され
た内容はメモリがバッテリバックアップされているの
で、電源スイッチが切られても消えないようになってい
る。キー301は標準モード復帰キーである。
FIG. 4 is a detailed view of the operation unit A-1 in FIG. This operation unit is roughly divided into three blocks.
The block on the right is a general-purpose key display unit 100 found in a conventional copying machine. The central block is a function key display unit 300 for calling and using a copy transmission function arbitrarily created and registered by a user according to a program. The block on the left is a soft key display unit 200 for allowing the user to arbitrarily create a copy / transmission function. First, the general-purpose key display unit 100 will be described. Reference numeral 103 denotes a desired copy number set display and a copy number display 7 in the middle.
It is a segment LED display. Reference numeral 102 denotes a warning display such as a jam, no toner, no paper, or a copy interrupt used in a conventional copying machine. Reference numeral 104 denotes a copy density switching lever and a density display obtained by the lever. 10
Reference numeral 5 denotes a selection indicator for a document image of only characters, a photograph only, a mixture of characters and photographs, and a section paper. These are provided to perform different image processing so that four types of original images can be copied in an optimized form. Reference numeral 106 indicates whether the selected cassette stage is an upper stage or a lower stage. Reference numeral 107 denotes a display for displaying the size of the paper stored in the cassette of the selected cassette stage. Reference numeral 108 denotes a numeric key group of 0 to 9 and C, which is used to set the number of copies on the display 103 and to display the soft key
00 is used for entry of numerical values (for example, trimming coordinates, moving coordinates, scaling ratio, transmission destination address designation, etc.) in the program creation process. Then, 109 is used as a confirmation key for the key entry content displayed on the display unit 200.
Entry key is provided. 110 is an interrupt key for interrupting multicopy and performing another multicopy,
Reference numeral 111 denotes a copy / cancel key for stopping multi-copy or reception of the printer B, and 101 denotes a copy key for instructing the printer to start printing or transmission. 113 is a document image switching key of the selection display 105;
Reference numeral 112 denotes a cassette stage switching key. 113, 112
Shifts from top to bottom each time the key is turned on. In the function key display section 300, the cover is structurally detachable in this portion. The reason is that, as described above, one of the functions created arbitrarily in the soft key display section is registered and corresponds to one key of 302, so that the function created by oneself is given a certain name to the key 302. Must be written. Therefore, after registering the function, remove this cover
The operation of writing the name in 02 and attaching the cover again is performed. As described above, since six function keys 302 are prepared, the user can register six functions.
When the user creates a function in the soft key display unit 200, a message asking whether to register the function in the soft key display unit 202 appears.
In response to this, all six of the indicators 303 corresponding to the six keys in the function display unit 300 perform a blinking operation. This means that the machine is asking the operator, "Which function key should the function be registered?" Therefore, at this time, when the operator presses any key, the display corresponding to that key is turned on, and the other displays are turned off. Then, the operator removes the cover, writes the function name on the key, and puts on the cover again. Thereafter, the registered contents are not erased even when the power switch is turned off, since the memory is backed up by a battery. A key 301 is a standard mode return key.

【0032】ところで表示器114は割り込みキー11
0をオンすると点灯するが、他方受信モードになると点
滅表示をして、他のステーションからのイメージデータ
の受信を知らせ、コピーキー101によるプリントを阻
止する。受信プリント中はキー部200、300による
データセット、登録は可能である。従って受信プリント
終了後、又、受信中、コピーキー101をオンすると受
信内容(送信元アドレス、受信プリント総数、受信プリ
ントカウント数)を液晶表示器202で表示する。この
表示はクリアキーCにより消され、標準モード表示又は
コピーキー101をオンする前にセットしたデータなど
を表示する。マルチプリントの受信中、キャンセルキー
111をオンすると給紙を阻止し、既に通路中にある紙
の分のプリントサイクルを完了させてプリントを中止す
る。送信側は液晶表示器202に中止をメッセージ表示
する。
The display 114 is provided with the interrupt key 11
When 0 is turned on, the light is turned on. On the other hand, when the receiving mode is set, a blinking display is displayed to notify reception of image data from another station, and printing by the copy key 101 is prevented. During reception printing, data setting and registration can be performed using the key units 200 and 300. Therefore, when the copy key 101 is turned on after the reception print is completed or during reception, the received contents (source address, total number of received prints, number of received prints) are displayed on the liquid crystal display 202. This display is turned off by the clear key C, and the standard mode display or data set before the copy key 101 is turned on is displayed. If the cancel key 111 is turned on during the reception of the multi-print, the paper feeding is stopped, the print cycle for the paper already in the passage is completed, and the printing is stopped. The transmitting side displays a message on the liquid crystal display 202 indicating the suspension.

【0033】リーダユニットの詳細説明を行う。図5に
リーダユニットのシステムブロック図を示す。このリー
ダとのインタフェース信号は右側に示されている。プリ
ンタと接続する時はコネクタJR1をプリンタ側のコネ
クタJP1をプリンタ側のコネクタJP1に接続する。
リーダ/プリンタをセットにし、且つ外部を通信すると
きはJR1からコネクタJP1に本来行く信号を通信制
御ユニット(CCU)のJC1に一度入れ、通信制御ユ
ニット(CCU)のJC1′からJP1に接続するよう
になっている。これとは別にプロトコール用信号として
JR2とJC2を接続する。JR1のインタフェース信
号のタイミングは図7、図8に示す。BEAM DET
ECT信号BDはプリンタを接続した時、スキャナの回
転と同期をとるためのもので各ラインの先端信号と対応
する。VIDEOは画像信号であり、それぞれ1ライン
当り一画素55ns巾で4752個出力される。但し一
画素は3値まで、すなわち0、1/2、1の状態を持つ
ようにしているので、0では55ns巾Lで、1/2は
前半の27.5nsがHで後半の27.5nsがL、1
では55ns巾Hになる。この信号はプリンタが接続さ
れている場合はBEAM DETECT信号に同期して
出力され、そうでないとき(他への伝送等)は内部の擬
似信号に同期して出力される。VIDEO ENABL
Eは前記画像データが4752ビット出力されている期
間信号である。これもBEAM DETECT信号又は
内部の擬似信号に同期して出力される。VSYNCは画
像先端検知センサ37bの出力とBEAM DETEC
T信号又は内部の擬似信号に同期して出力される信号で
あって、これから画像データが出力されるという意味で
ある。信号巾はVIDEO ENABLEと同じであ
る。PRINT START信号はプリンタ側への給紙
指令である。このPRINT STARTとVSYNC
との時間間隔は制御回路(図10、図16)で変倍倍率
やトリミング領域とを考慮して決定される。PRINT
ENDはプリント側からの応答信号で、コピー紙の後
端が感光ドラム8から離れて搬送ベルト12上に乗った
時点で出されるもので、プリント動作が終了した事を示
す。これはコピー紙の分離完了を検知するが、シーケン
スタイミングによって出される。ABX CONNEC
T信号はCCUが接続された事を示す。CCUが接続さ
れるとそのモジュール内でこの端子をGNDに落とすよ
うになっており、それによって通信作動状態にされる。
PRINTER CONNECT信号はPRINTER
を接続した時に出力されるもので、プリンタ側でこの端
子はGNDに接続してある。それによりプリント作動状
態にされる。
The reader unit will be described in detail. FIG. 5 shows a system block diagram of the reader unit. The interface signal with this reader is shown on the right. When connecting to the printer, the connector JR1 is connected to the connector JP1 on the printer side and the connector JP1 on the printer side.
When a reader / printer is set and external communication is performed, a signal originally going from JR1 to connector JP1 is once input to JC1 of the communication control unit (CCU), and connected to JP1 from JC1 'of the communication control unit (CCU). It has become. Separately, JR2 and JC2 are connected as protocol signals. The timing of the interface signal of JR1 is shown in FIGS. BEAM DET
The ECT signal BD is used to synchronize with the rotation of the scanner when the printer is connected, and corresponds to the leading end signal of each line. VIDEO is an image signal, and 4752 pixels are output with a width of 55 ns per pixel per line. However, one pixel has a state of up to three values, that is, 0, 1/2, and 1; therefore, at 0, the width L is 55 ns, and at 1/2, the first 27.5 ns is H and the second half is 27.5 ns. Is L, 1
Then, the width H becomes 55 ns. This signal is output in synchronization with the BEAM DETECT signal when the printer is connected, and is output in synchronization with the internal pseudo signal otherwise (transmission to other devices, etc.). VIDEO ENABLE
E is a period signal during which the image data is output in 4752 bits. This is also output in synchronization with the BEAM DETECT signal or an internal pseudo signal. VSYNC is the output of the image leading edge detection sensor 37b and the BEAM DETEC
This signal is output in synchronization with the T signal or an internal pseudo signal, and means that image data is output from this signal. The signal width is the same as VIDEO ENABLE. The PRINT START signal is a paper feed command to the printer. This PRINT START and VSYNC
Is determined by the control circuit (FIGS. 10 and 16) in consideration of the magnification and the trimming area. PRINT
END is a response signal from the printing side, which is output when the trailing edge of the copy sheet separates from the photosensitive drum 8 and rides on the conveyor belt 12, and indicates that the printing operation has been completed. This detects the completion of the separation of the copy paper, and is issued at a sequence timing. ABX CONNECT
The T signal indicates that the CCU has been connected. When the CCU is connected, this terminal is dropped to GND in the module, whereby the communication is activated.
The PRINTER CONNECT signal is PRINTER
Is output when is connected, and this terminal is connected to GND on the printer side. As a result, a print operation state is set.

【0034】S.DATA、S.CLK、CSC BU
SY、PSC BUSY、はリーダAとプリンタB間で
プロトコール(両者間での伝送の許容、合図等の情報交
換)をするためのシリアル信号ラインである。
S. DATA, S.M. CLK, CSC BU
SY and PSC BUSY are serial signal lines for performing a protocol between the reader A and the printer B (permitting transmission between them and exchanging information such as a signal).

【0035】S.DATA、S.CLKは16ビットの
プロトコール・データとクロックであっていずれも双方
向ラインである。CSC BUSYは前記ラインにリー
ダ側がデータとクロックを出力する時に出力され、PS
C BUSYは前記ラインにプリンタ側がデータとクロ
ックを出力する時に出力される。従って、これらはS.
DATAとS.CLKの伝送方向を示すラインというこ
とになる。詳細のタイミングは図8を参照されたい。
S. DATA, S.M. CLK is 16-bit protocol data and a clock, both of which are bidirectional lines. CSC BUSY is output when the reader outputs data and clock to the line,
C BUSY is output when the printer outputs data and a clock to the line. Thus, these are
DATA and S.M. This is a line indicating the transmission direction of CLK. See FIG. 8 for detailed timing.

【0036】再び図5に戻り、リーダのシステムブロッ
クについて説明する。CCD読取部601、601′に
はCCD、CCDのクロックドライバ、CCDからの信
号増巾器、それをA/D変換するA/Dコンバータが内
蔵されている。このCCDへの制御信号はCCD制御信
号発生部603及び603′で生成されCCD読取部6
01、601′のクロックドライバに供給される。この
制御信号はプリンタBからの水平同期信号BDに同期し
て生成される。CCD読取部601、601′からは6
ビットのデジタル信号に変換された画像データが出力さ
れ画像処理部602、602′に入力される。この画像
処理部602、602′ではCCD出力をサンプリング
して光源の光量をCPU614が制御する為のサンプリ
ング回路、光源及びレンズ等のシェーデング量検出回路
及びその補正回路、AE機能を行う為に各主走査に於け
る光量のピーク値を検出するピークホールド回路、シェ
ーデング補正完了後の6ビット画像データを前ライン又
は前々ラインのピークホールド値又はデイザパターンに
基づきスライスレベルを決め2値化又は3値化をする為
の量子化回路を有している。画像処理部602、60
2′で量子化された画像信号は画像編集部604、60
4′に入力される。この画像編集部604、604′に
は2ライン分のバッファメモリがある。1ライン分の容
量は1ライン当りの画素数4752の2倍以上の容量を
持っている。この理由は200%拡大時に各画素データ
を2倍のサンプリンブレートにてメモリに書き込む為、
データ量が倍になるからである。又2ライン分のバッフ
ァメモリにしてあるのはメモリが書き込みと読み出しを
同時に行うことができない為に、Nライン目の画像デー
タを第1メモリに書き込んでいる時には第2メモリから
N−1ライン目の画像を読み出す様にする為である。そ
の他にこの部分にはこのバッファメモリに画像データを
書き込む為のライトアドレスカウンタ、読み出す為のリ
ードアドレスカウンタとこの2つのカウンタからのアド
レス信号を切換える為のアドレスセレクタ回路がある。
前記カウンタは初期値がプリセットできるパラレルロー
ドタイプを用い、初期値はCPU614がI/Oポート
にロードする様になっている。CPU614は操作部6
07で指示された座標情報に従い、副走査がトリミング
座標に対応するラインに達する度に前記カウンタに主走
査座標に対応するアドレス値をプリセットすることで原
稿情報の編集を可能ならしめている。白マスキング、黒
マスキング、白枠トリミング、黒枠トリミングを可能な
らしめる為の座標領域制御カウンタとゲート回路があ
る。CCDの自動つなぎの為のつなぎ目検出シフトレジ
スタがある。画像編集部からの画像データは最初に60
4から出力され次に604′から出力されるのでそれを
スムーズに切換えて一本のシリアルな画像データにする
のが合成部605である。認識部606はコピーボタン
オン後プリンタが空回転期間中に原稿の前走査を行い、
その時に原稿の置かれている座標を検出する為のもので
ある。この部分には連続する白画像データ8ビットを検
出するシフトレジスタ、I/Oポート、主/副走査カウ
ンタがある。操作部607にはキーマトリクス、LE
D、液晶及び液晶ドライバがある。608は光学系走査
用DCモータであり、609はその駆動回路である。6
10は原稿照明用蛍光灯であり、611はその点灯回路
である。612は光学系ユニットがホームポジションに
あることを検出するホトセンサであり、613は光学系
ユニットが原稿先端を照射する位置にあることを検出す
るホトセンサである。CPU部614はCPU、RO
M、RAM、バッテリバックアップ回路、タイマ回路、
I/Oインタフェースで構成されている。CPU部61
4は操作部607を制御し、オペレータからの操作指令
に従いリーダのシーケンス制御を行うと同時にコマンド
でプリンタを制御する。また操作部607からの画像処
理に係る指令に従い原稿走査に先立ち又は原稿走査中に
画像処理部602、602′、画像編集部604、60
4′に於ける各種カウンタに対しデータのセットを行
う。更にCPU614は原稿走査に先立ち画像処理部か
らの光量データに基づき蛍光灯点灯装置611に対し光
量制御を行い、倍率指令に従いDCモータ駆動回路60
9に対し速度データをプリセットしたり、画像編集部6
04、604′からの画像つなぎデータを収集しつなぎ
量を算出する。
Referring back to FIG. 5, the system block of the reader will be described. The CCD reading units 601 and 601 'incorporate a CCD, a clock driver for the CCD, a signal amplifier from the CCD, and an A / D converter for A / D converting the signal. The control signal to the CCD is generated by CCD control signal generators 603 and 603 ',
01, 601 '. This control signal is generated in synchronization with the horizontal synchronization signal BD from the printer B. 6 from the CCD reading units 601 and 601 '
The image data converted into the digital signal of bits is output and input to the image processing units 602 and 602 '. In the image processing units 602 and 602 ', a sampling circuit for sampling the CCD output and controlling the light amount of the light source by the CPU 614, a shading amount detection circuit such as a light source and a lens, a correction circuit therefor, and a main circuit for performing the AE function. A peak hold circuit for detecting the peak value of the amount of light in scanning, and the 6-bit image data after the completion of the shading correction is determined into a slice level based on the peak hold value or dither pattern of the previous line or the line before the previous line, and is binarized or converted into three. It has a quantization circuit for performing value conversion. Image processing units 602, 60
The image signal quantized in 2 'is sent to image editing units 604 and 60
4 '. The image editing units 604 and 604 'have a buffer memory for two lines. The capacity of one line is twice as large as the number of pixels of 4752 per line. The reason for this is that each pixel data is written to the memory at twice the sampling rate when the image is enlarged by 200%.
This is because the data amount is doubled. Also, the buffer memory for two lines is used because the memory cannot simultaneously perform writing and reading, so that when writing the image data of the Nth line to the first memory, the Nth line to the (N-1) th line is used. This is for reading out the image. In addition, this portion includes a write address counter for writing image data to the buffer memory, a read address counter for reading, and an address selector circuit for switching address signals from the two counters.
The counter uses a parallel load type in which an initial value can be preset, and the CPU 614 loads the initial value to the I / O port. The CPU 614 is an operation unit 6
In accordance with the coordinate information designated by 07, each time the sub-scan reaches the line corresponding to the trimming coordinates, the counter is preset with an address value corresponding to the main scanning coordinates, thereby enabling the editing of the document information. There is a coordinate area control counter and a gate circuit for enabling white masking, black masking, white frame trimming, and black frame trimming. There is a joint detection shift register for automatic CCD connection. The image data from the image editor is initially 60
The output from the output unit 4 and then from the output unit 604 'is switched by the synthesizing unit 605 to smoothly switch the data into one serial image data. After the copy button is turned on, the recognition unit 606 performs a pre-scan of the document during the idle rotation period of the printer,
This is for detecting the coordinates where the document is placed at that time. In this part, there are a shift register for detecting 8 bits of continuous white image data, an I / O port, and a main / sub scanning counter. A key matrix, LE
D, liquid crystal and liquid crystal driver. Reference numeral 608 denotes a DC motor for scanning the optical system, and 609 denotes a driving circuit thereof. 6
Reference numeral 10 denotes a fluorescent lamp for document illumination, and reference numeral 611 denotes a lighting circuit thereof. A photo sensor 612 detects that the optical system unit is at the home position, and a photo sensor 613 detects that the optical system unit is at the position where the front end of the document is irradiated. The CPU unit 614 includes a CPU and an RO.
M, RAM, battery backup circuit, timer circuit,
It is composed of an I / O interface. CPU unit 61
Reference numeral 4 controls the operation unit 607, controls the sequence of the reader in accordance with an operation command from the operator, and controls the printer by a command. Further, in accordance with a command relating to image processing from the operation unit 607, prior to or during document scanning, the image processing units 602 and 602 ', the image editing units 604 and 60 are used.
Data is set for various counters at 4 '. Further, the CPU 614 controls the light intensity of the fluorescent lamp lighting device 611 based on the light intensity data from the image processing unit prior to scanning of the original, and according to the magnification command, the DC motor driving circuit 60.
9 is preset to speed data,
04, 604 'are collected and the amount of connection is calculated.

【0037】図6はCPU614による操作部607の
キー制御のフローチャートで、リーダの電源スイッチを
オンすると、まず後述のシフトメモリやRAM等のリセ
ットを行い(1)、液晶表示器202のメモリに等倍、
編集なし、ポジ、送信なしをセットし、100側に下段
カセット、文字原稿、1枚をセットする。つまり標準モ
ードをセットする(2)。これは割込みキー110、リ
セットキー301をオンした時も同様である。次にコピ
ーキーを判別し(3)、否(N)のとき受信か否かを判
別し(4)、否のときキー部200、300のエントリ
ルーチン(5)に進む。200、300によるモード及
びデータのセット、登録の後プリンタがプリント可能か
否かを判定し(6)、可能なときコピーキーのルーチン
に進む。コピーキーがオンのとき、送信か否かを判別し
(8)、否のときプリントスタート信号をCCUに出力
し(9)、送信のときはCCUに送信先アドレスデータ
他、送信に必要なデータを送る(10)。受信モードに
なるとコピーキーをオンしても送信、プリントは阻止さ
れるが、それ迄のモードデータの表示をメモリのあるエ
リアに退避させ、代わりに表示器202に受信内容を表
示する(11)。クリアキーでその表示から元のモード
データ表示に戻る(12)。コピーキーをオンしない間
はキー部200、300によるエントリを可能にし、か
つその変更も可能にしている(13)。受信が終わると
(14)、ステップ3のコピーキーのルーチンに進み、
コピー可能にする。ステップ13の中でキャンセルキー
111をオンすると所定時間の後ステップ3に進み受信
を中止する。尚ステップ13の中でクリアキーをオンし
た場合数に関するデータはリセットクリアされるが、ソ
フトキーによりセットされたモードデータ等はリセット
されない。キー301で標準化リセットされる。
FIG. 6 is a flowchart of the key control of the operation unit 607 by the CPU 614. When the power switch of the reader is turned on, first, a shift memory and a RAM, which will be described later, are reset (1). Times,
No editing, positive, and no transmission are set, and a lower cassette, a text document, and one sheet are set on the 100 side. That is, the standard mode is set (2). This is the same when the interrupt key 110 and the reset key 301 are turned on. Next, a copy key is determined (3), and if not (N), it is determined whether or not reception is performed (4). After setting the mode and data according to 200 and 300, and registering, it is determined whether or not the printer is capable of printing (6). When the copy key is ON, it is determined whether or not transmission is performed (8). When the copy key is ON, a print start signal is output to the CCU (9). (10). In the reception mode, transmission and printing are prevented even if the copy key is turned on. However, the display of the mode data up to that point is saved in an area of the memory, and the received content is displayed on the display 202 instead (11). . The display returns to the original mode data display from the display by the clear key (12). As long as the copy key is not turned on, entry by the key units 200 and 300 is enabled, and its change is also enabled (13). When the reception is completed (14), the process proceeds to the copy key routine of step 3 and
Make it copyable. When the cancel key 111 is turned on in step 13, the process proceeds to step 3 after a predetermined time, and the reception is stopped. When the clear key is turned on in step 13, the data on the number is reset and cleared, but the mode data and the like set by the soft key are not reset. The standardization is reset by the key 301.

【0038】図9と図7に従って、シーケンス制御につ
いて説明する。図9に示す如く、リーダの走査光学系上
には3個の位置センサ37a〜37cを有する。リーダ
正面より見て最も左側に光学系ホーム位置センサ(信号
OHPを出力)があり、通常光学系はこの位置に停止し
ている。リーダAが駆動されると光学系は左から右へ走
査を開始し、丁度画像の基準位置にあたるところに画像
先端センサ37bを設けてある。制御回路はこのセンサ
37bを検知すると画像データ信号(VIDEO,CL
K)を出力すると共に、各主走査サイクル(347.2
μS)に於けるデータ有効期間(VIDEO ENAB
LE)を示す信号を発生させる。そして制御回路はこの
VIDEO ENABLE信号の数を前記センサ37b
より計数を開始し、プリンタBのカセットサイズ又は変
倍に応じた第1ポイント、第2ポイント、第3ポイント
に対応する計数値αに達した時、光学系前進駆動信号を
切り、後進駆動信号に切換え反転する。復路の途中に
は、PRINT STARTセンサ37cが設けてあ
り、反転後光学系がこのセンサ37cを作動すると制御
回路は指定されたコピー枚数分走査したかどうか判断
し、指示枚数と一致しなければプリンタに次の給紙指示
を与えるためのPRINT START信号を発生させ
る。尚、図9のT2 がT1 と等しくなるようセンサ37
cの位置を調整することが必要である。
The sequence control will be described with reference to FIGS. As shown in FIG. 9, three position sensors 37a to 37c are provided on the scanning optical system of the reader. The optical system home position sensor (outputs the signal OHP) is on the leftmost side when viewed from the front of the reader, and the optical system is normally stopped at this position. When the reader A is driven, the optical system starts scanning from left to right, and an image tip sensor 37b is provided just at the reference position of the image. When the control circuit detects the sensor 37b, the image data signal (VIDEO, CL)
K) and outputs each main scan cycle (347.2).
μS) (VIDEO ENAB)
LE). Then, the control circuit counts the number of VIDEO ENABLE signals to the sensor 37b.
Counting is started, and when the count value α corresponding to the first point, the second point, and the third point according to the cassette size or the magnification of the printer B is reached, the optical system forward drive signal is turned off, and the reverse drive signal is turned off. And reverses. A PRINT START sensor 37c is provided in the middle of the return path. When the optical system activates this sensor 37c after the reversal, the control circuit determines whether or not the specified number of copies have been scanned. Generates a PRINT START signal for giving the next paper feed instruction. The sensor 37 so that T 2 of the FIG. 9 is equal to T 1
It is necessary to adjust the position of c.

【0039】(変倍)次に原稿像を拡大/縮小する方法
について図13を基に述べる。変倍の基本的考え方とし
ては、副走査方向はDCサーボモータ37dの速度を可
変にすることである。CPUがキー入力された倍率を基
に速度を計算し、更にその速度に対応するPLL周波数
を算出しI/Oラッチ(1)58に走査前にプリセット
しておく。復路の時はある固定値がセットされ、それに
より高速で光学系を戻す。これはCPUのROMに格納
された値がこのI/Oラッチ(1)58にプリセットす
ることでなされる。従って、2倍に拡大する時は等倍時
の速度(180mm/sec)に対し1/2の速度で動
かし、1/2に縮小する時は2倍の速度で動かすことに
なる。主走査は、一定周波数で出力されてくるCCD1
のシリアル信号(A/D変換後)を倍率に応じたクロッ
ク・レートでサンプリングする方法である。例えば2倍
に拡大する時はCCDクロックレートの2倍のクロック
レートでサンプリングすれば原情報1ビットに対し、1
ビット増加でデータが得られ、1/2倍に縮小する時は
CCDクロックレートの1/2クロックレートでサンプ
リングすれば原情報2ビットに対し1ビット間引かれた
データが得られるようになる。CPUは入力倍率を基に
このクロック・レートを算出し、副走査開始前にI/O
ラッチ(2)50にセットするようにする。前述した如
く、CCD1は2628ビット構成であるが、その中に
はダミービットが36ビットあり、有効ビットは259
2ビットということになる。そしてその駆動周波数は
7.569MHzであって、その信号ラインがφ1クロ
ックライン55である。変倍の為のクロックラインφ2
は、φ1と同じ原発振I/Oラッチ(2)の値に基づ
き、VCO49で発振される周波数をPLL48で同期
をとりφ2として可変周波数を形成している。CCD1
から出力される2592ビットのアナログ信号はAMP
42で増巾されAGC(自動利得制御回路)にかけられ
る。AGC43は、蛍光灯の長期的な光量変化、原稿の
地肌等によって白レベルが変化するので、その白レベル
を検知し、それからの相対的変化量がA/Dコンバータ
44にかけられるよう白レベルをクランプする回路であ
る。そしてAGC43の出力はA/Dコンバートされ2
値である6ビットのパラレルビットに変換される。一
方、デイザROM54は主走査方向は8ビット間隔、副
走査方向も8ビット間隔で同じ重みコード(6ビット)
が出力するように設定してあり、そしてこの8×8=6
4ビットのマトリックス内は32種の重みコードが割振
られている。従って3ビットの主走査カウンタ51と3
ビットの副走査カウンタ52によってこのデイザROM
54をアドレッシングしてやることによって異なった重
みコードが出力される。又この8×8の中に設定されて
いる重みコードの組合せは複数組あり、その組合せによ
ってハーフトーン画像の再現性を変えられるよう配慮さ
れている。この組合せの選択はI/Oラッチ(3)53
により行われ、このラッチ(3)53へのプリセットは
CPUによって副走査開始前に行われる。この主走査カ
ウンタ51は倍率による可変周波数であるφ2クロック
によって駆動され、副走査カウンタ52はBEAM D
ETECT信号により駆動される。そして、このデイザ
ROM54からの6ビットの重みコードとA/D変換し
た6ビットコードがコンパレータ47でコンパレートさ
れ2値化された、シリアルなハーフトーン再現可能な画
像信号が得られるようになっている。従って、異なった
クロックレートでサンプリングすると言った意味はA/
D変換値を、異なったクロックレートで出力される重み
コードとコンパレートされるという意味である。もし、
このコンパレートをφ1と同レートでコンパレート後、
変倍を単純にビットの間引、挿入を、あるアルゴリズム
の下で行った場合、通常の2値画像ならそれでいいが、
ハーフトーンでデイザがかかったものを行ったならば、
45°のデイザパターンが30°とか60°とかのパタ
ーンになったり、それが段階状になってしまいスムーズ
な再現が得られなくなる。従って、本例では、コンパレ
ートのレートを変倍の倍率に応じて変えるようにした。
Next, a method of enlarging / reducing a document image will be described with reference to FIG. The basic concept of zooming is to make the speed of the DC servo motor 37d variable in the sub-scanning direction. The CPU calculates the speed based on the magnification input by the key, further calculates the PLL frequency corresponding to the speed, and presets it in the I / O latch (1) 58 before scanning. On the return trip, a fixed value is set, thereby returning the optical system at high speed. This is done by presetting the value stored in the ROM of the CPU in the I / O latch (1) 58. Therefore, when the image is enlarged twice, it is moved at half the speed of the speed at the same magnification (180 mm / sec), and when it is reduced to half, it is moved at twice the speed. The main scan is a CCD 1 that is output at a constant frequency.
Is a method of sampling the serial signal (after A / D conversion) at a clock rate according to the magnification. For example, when the image is enlarged twice, sampling at a clock rate twice as high as the CCD clock rate allows 1 bit of the original information to be 1 bit.
When data is obtained by increasing the number of bits, and when the data is reduced by a factor of two, if sampling is performed at a half clock rate of the CCD clock rate, data obtained by thinning out one bit from two bits of the original information can be obtained. The CPU calculates this clock rate based on the input magnification, and performs I / O before starting the sub-scan.
The latch (2) 50 is set. As described above, the CCD 1 has a 2628-bit configuration, in which there are 36 dummy bits and 259 effective bits.
That is, 2 bits. And that the driving frequency is a 7.569MHz, the signal line is phi 1 clock line 55. Clock line φ 2 for zooming
Is based on the same value of the original oscillation I / O latch (2) as φ 1 , the frequency oscillated by the VCO 49 is synchronized by the PLL 48 and forms a variable frequency as φ 2 . CCD1
The 2592-bit analog signal output from AMP is
It is amplified at 42 and applied to an AGC (automatic gain control circuit). The AGC 43 detects the white level due to a long-term change in the amount of light of the fluorescent lamp, the background of the document, etc., and detects the white level, and clamps the white level so that the relative change from the white level can be applied to the A / D converter 44. Circuit. The output of the AGC 43 is A / D converted and
It is converted into a value of 6 parallel bits. On the other hand, the dither ROM 54 has the same weight code (6 bits) in the main scanning direction at 8-bit intervals and also in the sub-scanning direction at 8-bit intervals.
Is set to output, and this 8 × 8 = 6
In the 4-bit matrix, 32 kinds of weight codes are allocated. Therefore, the 3-bit main scanning counters 51 and 3
This dither ROM is controlled by a sub-scanning counter 52 of bits.
By addressing 54, different weight codes are output. In addition, there are a plurality of combinations of weight codes set in this 8 × 8, and consideration is given to changing the reproducibility of the halftone image by the combination. The selection of this combination is performed by the I / O latch (3) 53
The preset to the latch (3) 53 is performed by the CPU before the sub-scanning is started. The main scanning counter 51 is driven by the phi 2 clock is variable frequency due to the magnification, the subscanning counter 52 BEAM D
It is driven by the ETECT signal. Then, the 6-bit weight code from the dither ROM 54 and the A / D converted 6-bit code are compared by the comparator 47 and binarized to obtain a serial halftone reproducible image signal. I have. Therefore, the meaning of sampling at different clock rates is A /
This means that the D-converted value is compared with a weight code output at a different clock rate. if,
After comparing this comparison with φ 1 at the same rate,
When scaling is performed by simply decimating and inserting bits under a certain algorithm, that is fine for a normal binary image.
If you go to halftone and do something with a dither,
The 45 ° dither pattern becomes a pattern such as 30 ° or 60 °, or the pattern becomes stepwise, and smooth reproduction cannot be obtained. Therefore, in this example, the comparison rate is changed according to the magnification of the magnification.

【0040】次に45の回路であるが、これはA/D変
換による変換時間が各ビットにより異なる為に再度φ1
でラッチし同期を合わせている。又、当然のこととし
て、シフトメモリ57−1、57−2のアドレスカウン
タ63はφ2クロックで動かされる。以上によって、シ
フトメモリ57−1、57−2には等倍時には2592
ビット入り、1/2倍時には1296ビット、2倍時に
は5184ビット入ることになる。
Next, there is a circuit 45, which is φ 1 again because the conversion time by A / D conversion differs for each bit.
And synchronized. Moreover, as a matter of course, the address counter 63 of the shift memory 57-1 and 57-2 is moved in the phi 2 clock. As described above, the shift memories 57-1 and 57-2 store 2592 at the same magnification.
Bits, 1296 bits for 1/2 times, 5184 bits for 2 times.

【0041】副走査用DCモー37dの速度はCPUに
I/Oラッチ(1)58にプリセットされた値がVCO
59に入力され、これによる発振周波数が原発振とPL
L60と同期がとられ、サーボ回路61に印加されるこ
とによって制御される様になっている。尚、変倍時の副
走査のストロークはいかなる倍率に於いても第3ポイン
ト(431.8mm)まで走査する。これにより無段階
変倍する領域指定に対し都合がいい(CCD継目補
正)。
The speed of the sub-scanning DC mode 37d is determined by the CPU by the value preset in the I / O latch (1) 58 by the VCO.
59, and the resulting oscillation frequency is equal to the original oscillation and PL
It is synchronized with L60 and is controlled by being applied to the servo circuit 61. Note that the sub-scanning stroke at the time of magnification change scans to the third point (431.8 mm) at any magnification. This is convenient for designating an area for stepless magnification (CCD joint correction).

【0042】2つのCCD1、2を自動で継なぐ方法
(主走査方向)について述べる。
A method for automatically connecting the two CCDs 1 and 2 (main scanning direction) will be described.

【0043】図14に示す如くリーダ(光学系)のホー
ム位置上(スイッチ37a上)の主走査巾にわたって白
色板を設け、通常光学系がホーム・ポジションにあっ
て、光源を点灯した時はこの白色板が照射され、その反
射光がCCD1、2に入力されるようになっている。従
って、制御回路はホーム・ポジションにある時、光量の
バラツキ、2つのCCD1、2の感度のバラツキを補正
(シェーディング補正)する。また、この白色板の中心
位置に2mm巾で副走査方向に長い黒細線Blを設けて
ある。尚この細線は量子化の整数倍寸法巾であればよ
い。そして、同じく光学系がホーム位置にある時、光源
を点灯することによって2つのCCD1、2の各々の端
部のビットにこの黒細線が現れるので、これらCCD
1、2の信号をシフトメモリに入力し、CCD1系信号
の下位128ビット、CCD2系信号の上位128ビッ
トを比較する。そしてこの各々の128ビット・データ
は前後に必ず白ビットが現われ黒ビットがサンドイッチ
になっていることを確認する。そしてCCD1系の下位
の白ビット数とCCD2系の上位の白ビット数と黒ビッ
ト数を加えたビット数をCCD2系のシフト・メモリか
ら読み出す時に間引く。図中CCD1、2の矢印は主走
査方向、副の矢印は副走査方向を示す。
As shown in FIG. 14, a white plate is provided over the main scanning width on the home position (on the switch 37a) of the reader (optical system). When the optical system is normally at the home position and the light source is turned on, this white plate is provided. The white plate is illuminated, and the reflected light is input to the CCDs 1 and 2. Accordingly, when the control circuit is at the home position, the control circuit corrects (shading correction) a variation in light amount and a variation in sensitivity of the two CCDs 1 and 2. Further, a black fine line Bl having a width of 2 mm and being long in the sub-scanning direction is provided at the center position of the white plate. Note that the fine line may have an integral multiple of the width of the quantization. Similarly, when the optical system is at the home position, turning on the light source causes a black thin line to appear at the bit at each end of the two CCDs 1 and 2.
The signals 1 and 2 are input to the shift memory, and the lower 128 bits of the CCD1 system signal and the upper 128 bits of the CCD2 system signal are compared. Then, it is confirmed that white bits always appear before and after each of the 128-bit data and black bits are sandwiched. Then, the number of bits obtained by adding the number of lower white bits of the CCD1 system and the number of upper white bits and black bits of the CCD2 system is thinned out when reading from the shift memory of the CCD2 system. In the drawings, the arrows of the CCDs 1 and 2 indicate the main scanning direction, and the sub-arrows indicate the sub-scanning direction.

【0044】図15及び図16に具体的な方法を記す。
シフト・メモリに画像信号を書き込む為には、シフト・
メモリ57−1、57−2にスタテイックRAMを使う
ので書込み用アドレス・カウンタ(ライトアドレス・カ
ウンタ63)と読み出し用アドレス・カウンタ(リード
・アドレス・カウンタ64、65)を設ける。CCDに
入力される情報量は変倍の倍率毎に異なるので本例で
は、まずCCD1系のライト・アドレス・カウンタ
(1)をLSBよりアップカウントで、入力されるクロ
ックφ2によって計数し、何カウントで止まったか確認
する。これをCPUのRAMに記憶する。もし等倍の倍
率であったならば2592カウントで止まるはずであ
る。次にCCD1系の上位8ビット(主走査で最初に出
てくるビットがMSB)とCCD1系の下位8ビットを
取りだすために、CCD1系のライト・アドレス・カウ
ンタに前記の確認された値をセットし、CCD2系のア
ドレス・カウンタに08H(ヘキサコードの08)をセ
ットし、ダウンカウントモードに指定する。一方各々の
CCDからの画像信号を入力する8ビットのシフトレジ
スタ74、76を設け、このシフトレジスタ74、76
の駆動期間をCCDの主走査期間を示すVIDEO E
NABLE信号の立上りから、前記カウンタ(VIDE
O ENABLE期間出力されるクロックにより動
く。)のリップル・キャリまでとすることによって、C
CD1系のシフトレジスタ74には、CCD1系の最上
位8ビットの、CCD2系のシフトレジスタ76には再
下位8ビットの画像信号が残ることになる。そして、こ
れらのシフトレジスタ74、76に残った値はCPUに
読み取られメモリに記憶する。次に、CCD1系の上位
9〜16ビット、CCD2系の下位9〜16ビットを取
り出すために、CCD1系のライト・アドレス・カウン
タには(前記確認された値−8)をセットし、CCD2
系のライト・アドレス・カウンタには10Hをセット
し、以下前記と同様の手法によって読出す。この動作を
次々と繰返し、CCD1系の上位128ビット、CCD
2系の下位128ビットをメモリに展開した後、黒ビッ
ト数、CCD1系の下位白ビット数、CCD2系の上位
白ビット数を算出する。そしてCCD1系の下位白ビッ
ト数、CCD2系の上位白ビット数、黒ビット数を加え
たビット数をCCD2系のシフト・メモリ(2)57−
2から読み出す時に間引くことによって主走査方向の継
なぎを達成する。
FIGS. 15 and 16 show a specific method.
To write the image signal to the shift memory,
Since a static RAM is used for the memories 57-1 and 57-2, a write address counter (write address counter 63) and a read address counter (read address counters 64 and 65) are provided. Amount of information to be inputted to the CCD is different because this example for each magnification of the magnification change, firstly the CCD1 system write address counter (1) than in the up-count LSB, counted by the clock phi 2 is input, nothing Check if counting has stopped. This is stored in the RAM of the CPU. If the magnification was the same, it should stop at 2592 counts. Next, in order to take out the upper 8 bits of the CCD1 system (the first bit that appears in the main scan is the MSB) and the lower 8 bits of the CCD1 system, the above-mentioned confirmed value is set in the write address counter of the CCD1 system. Then, 08H (hex code 08) is set in the address counter of the CCD2 system, and the down count mode is designated. On the other hand, 8-bit shift registers 74 and 76 for inputting image signals from the respective CCDs are provided.
Is a VIDEO E indicating the main scanning period of the CCD.
From the rise of the NABLE signal, the counter (VIDE
Operated by the clock output during O ENABLE. ) Up to the ripple carry, C
In the shift register 74 of the CD1 system, the image signal of the most significant 8 bits of the CCD1 system remains, and in the shift register 76 of the CCD2 system, the lower 8-bit image signal remains. The values remaining in the shift registers 74 and 76 are read by the CPU and stored in the memory. Next, in order to take out the upper 9 to 16 bits of the CCD1 system and the lower 9 to 16 bits of the CCD2 system, (the confirmed value -8) is set in the write address counter of the CCD1 system,
10H is set in the write address counter of the system, and reading is performed in the same manner as described above. This operation is repeated one after another, and the upper 128 bits of the CCD1 system, the CCD
After developing the lower 128 bits of the second system in the memory, the number of black bits, the number of lower white bits of the CCD1 system, and the upper white bit of the CCD2 system are calculated. The number of bits obtained by adding the number of lower white bits of the CCD1 system, the number of upper white bits of the CCD2 system, and the number of black bits is calculated by the shift memory (2) 57-
By skipping the data when reading from 2, the splicing in the main scanning direction is achieved.

【0045】次に継なぎ論理成立後のシフト・メモリの
動きを説明する。シフト・メモリ57−1、57−2に
書き込む時は、CCD1系及びCCD2系のライト・ア
ドレス・カウンタに前記何カウントで止まったか確認し
た値をプリセットし、ダウン・カウントでシフト・メモ
リをアドレッシングして書込む。シフト・メモリから読
出す時にまず考慮しなければならないのは原稿の主走査
方向の基準である。図14に示す如く、原稿載置基準は
継なぎ用の黒細線(1.5mm巾)の中心から148.
5mmのところにあるので、CCD1系のシフト・メモ
リ(1)57−1の読み出し開始アドレスは、(上記の
下位白ビット数)+(黒ビット数/2)+(148.5
×16×倍率)の値になる。CCD2系の読み出し開始
アドレスは(前記の確認された値)−(継なぎビット
数)の値である。そして13.89MHzで4752パ
ルスのリード・クロックによってまずCCD1系のリー
ド・アドレス・カウンタ(1)64をダウンカウントで
動かし、0になりリップル・キャリが出たらCCD2系
のリード・アドレス・カウンタ(2)65をダウン・カ
ウントで動かす。
Next, the operation of the shift memory after the joining logic is established will be described. When writing to the shift memories 57-1 and 57-2, the value of the number of stops is preset in the write address counters of the CCD1 and CCD2 systems, and the shift memory is addressed by down counting. Write. The first consideration when reading from the shift memory is the reference in the main scanning direction of the document. As shown in FIG. 14, the document placement reference is 148.15 mm from the center of the connecting thin black line (1.5 mm width).
Since the distance is 5 mm, the read start address of the shift memory (1) 57-1 of the CCD1 system is (the number of lower white bits) + (the number of black bits / 2) + (148.5).
× 16 × magnification). The read start address of the CCD 2 system is the value of (the value confirmed above)-(the number of connection bits). Then, the read address counter (1) 64 of the CCD1 system is first operated by down-counting with a read clock of 4752 pulses at 13.89 MHz, and when it becomes 0 and ripple carry occurs, the read address counter (2) of the CCD2 system. ) 65 moves down count.

【0046】図16にこれらシフト・メモリに係る回路
図を示す。シフト・メモリ(1)57−1はCCD1系
の画像データが入るスタテイック・メモリである。シフ
ト・メモリ(2)57−2はCCD2系の画像データが
入るスタテイック・メモリである。ライト・アドレス・
カウンタ(1)63はシフト・メモリ(1)57−1、
及び(2)57−2にデータを書込む時のアドレス・カ
ウンタである。リード・アドレス・カウンタ(1)64
はシフト・メモリ(1)57−1からデータ読み出す時
のアドレス・カウンタであり、リード・アドレス・カウ
ンタ(2)65はシフト・メモリ(2)57−2から読
み出す時のアドレス・カウンタである。アドレス・セレ
クタ(1)71はライト・アドレス・カウンタ(1)6
3のアドレス信号とリード・アドレス・カウンタ(1)
64のアドレス信号のいずれかを選択しシフト・メモリ
(1)57−1をアドレッシングするためのものであ
り、アドレス・セレクタ(2)71はライト・アドレス
・カウンタ(1)63のアドレス信号とリード・アドレ
ス・カウンタ(2)57−2のアドレス信号のいずれか
を選択しシフト・メモリ(2)をアドレッシングするた
めのものである。シフト・レジスタ74はCCD1系の
画像データを最下位から8ビットずつ取り出すためのレ
ジスタであり、シフト・レジスタ76はCCD2系の最
上位から8ビットずつ画像データを取り出すためのレジ
スタである。F/F73はVIDEOENABLE信号
の立上がりでセットし、ライト・アドレス・カウンタ
(1)63のリップル・キャリでリセットするフリップ
・フロップ(F/F)でシフトレジスタ74に入力する
期間を制御するためのものであり、F/F75はVID
EO ENABLE立上がりでセットし、リード・アド
レス・カウンタ(2)65のリップル・キャリでリセッ
トするF/Fで、シフトレジスタ76に入力する期間を
制御するためのものである。I/Oポート72はライト
・アドレス・カウンタ(1)63をアップ・カウントで
動かした時にどこまで計数したかCPUが読み取り確認
するためのI/Oである。I/Oレジスタ66、67、
69はライト・アドレスカウンタ(1)63、リード・
アドレス・カウンタ(1)64、(2)65にそれぞれ
プリセット値をCPUが与えるためのレジスタである。
I/Oレジスタ68はライト・アドレス・カウンタ
(1)63、リード・アドレス・カウンタ(2)65に
アップ・カウントかダウンカウントかをCPUが指定す
るためのもの、又アドレス・セレクタ(1)70、
(2)71にどちらかのカウンタ値を選択するかCPU
が指定するためのもの、リード・アドレス・カウンタ
(2)65をライトクロックかリードクロックで動かす
かを決めるためのものと、継なぎを行うにあたってte
st信号を与えることによって1ライン分の画像データ
をCCDドライバ回路からシフト・メモリ回路に対し与
えてくれるようCPUが制御するためのものである。
FIG. 16 is a circuit diagram relating to these shift memories. The shift memory (1) 57-1 is a static memory for storing image data of the CCD1 system. The shift memory (2) 57-2 is a static memory for storing image data of the CCD2 system. Write address
The counter (1) 63 is a shift memory (1) 57-1,
And (2) an address counter for writing data to 57-2. Read address counter (1) 64
Is an address counter for reading data from the shift memory (1) 57-1, and a read address counter (2) 65 is an address counter for reading data from the shift memory (2) 57-2. The address selector (1) 71 is a write address counter (1) 6
3 address signal and read address counter (1)
The address selector (2) 71 selects one of the 64 address signals and addresses the shift memory (1) 57-1, and the address selector (2) 71 reads the address signal of the write address counter (1) 63 and the read signal. The address counter (2) is for selecting any of the address signals of the address 57-2 and addressing the shift memory (2). The shift register 74 is a register for extracting the image data of the CCD1 system from the lowest bit by 8 bits, and the shift register 76 is a register for extracting the image data of the CCD2 system from the highest bit by 8 bits. The F / F 73 is set at the rising edge of the VIDEO ENABLE signal, and is used to control the period of input to the shift register 74 by a flip-flop (F / F) reset by the ripple carry of the write address counter (1) 63. And F / F75 is VID
This F / F is set at the rising edge of EO ENABLE and reset by the ripple carry of the read address counter (2) 65 to control the period of input to the shift register 76. The I / O port 72 is an I / O for the CPU to confirm how far the CPU has read when the write address counter (1) 63 is moved up. I / O registers 66, 67,
69 is a write address counter (1) 63;
These registers are for the CPU to provide preset values to the address counters (1) 64 and (2) 65, respectively.
The I / O register 68 is used by the CPU to specify whether to count up or down to the write address counter (1) 63 and the read address counter (2) 65, and the address selector (1) 70 ,
(2) Select either counter value for 71 or CPU
Is used to determine whether the read address counter (2) 65 is operated by the write clock or the read clock.
By providing the st signal, the CPU controls so that one line of image data is supplied from the CCD driver circuit to the shift memory circuit.

【0047】この回路図に従い、継なぎを行うためにC
CD1系の画像データを最下位より8ビットずつ、CC
D2系の画像データを最上位より8ビットずつ128ビ
ット取り出す動作を説明する。
According to this circuit diagram, C
The image data of the CD1 system is transferred from the least significant bit by 8 bits at a time.
An operation of extracting 128 bits of the D2 system image data from the most significant bit by 8 bits will be described.

【0048】CPUはまずライト・アドレス・カウン
タ(1)63をアップカウントモードに、I/Oレジス
タ(1)66に0をセットする。I/Oレジスタ
(4)68のTEST信号(マシンスタートに相当)と
して1個パルスを与えることにより図13のCCDドラ
イバから1個のVIDEO ENABLE、倍率に応じ
たφ2クロックが発生し、データがシフト・メモリ
(1)57−1、(2)57−2に与えられる。I/
Oポート72よりライト・アドレス・カウンタ(1)6
3の値をCPUが取り込む。ライト・アドレス・カウ
ンタ(1)63をダウンカウントモードに、リード・ア
ドレス・カウンタ(2)65をダウンカウントモードに
セットし、I/Oレジスタ(1)66にで記憶した値
をプリセットし、I/Oレジスタ(3)69に7Hをプ
リセットする。TEST信号に1個パルスを与えVI
DEO ENABLEがなくなったらシフト・レジスタ
74、76の8ビットを順次メモリに取り込み記憶す
る。I/Oレジスタ(1)66に(の値−7H)
を、I/Oレジスタ(2)67に10Hをセットする。
を行う。以下同様にしてI/Oレジスタ(1)6
6に(の値−77H)を、I/Oレジスタ(2)67
に7FHをセットし、TEST信号を与え、シフトレジ
スタ74、76を読込むまで行う。以上継ぎ目補正につ
いては同出願人による特願昭57−128073号公報
明細書に詳しい。
First, the CPU sets the write address counter (1) 63 to the up-count mode and sets 0 to the I / O register (1) 66. By giving one pulse as a TEST signal (corresponding to a machine start) of the I / O register (4) 68, one VIDEO ENABLE and φ2 clock corresponding to the magnification are generated from the CCD driver of FIG. -It is given to the memories (1) 57-1 and (2) 57-2. I /
Write address counter (1) 6 from O port 72
The value of 3 is taken in by the CPU. The write address counter (1) 63 is set in the down-count mode, the read address counter (2) 65 is set in the down-count mode, and the value stored in the I / O register (1) 66 is preset. 7H is preset in the / O register (3) 69. Apply one pulse to the TEST signal and
When DEO ENABLE disappears, 8 bits of the shift registers 74 and 76 are sequentially fetched and stored in the memory. (Value of -7H) in I / O register (1) 66
Is set to 10H in the I / O register (2) 67.
I do. Similarly, the I / O register (1) 6
6 to the I / O register (2) 67.
Is set to 7FH, a TEST signal is applied, and the operation is performed until the shift registers 74 and 76 are read. The seam correction is described in detail in Japanese Patent Application No. 57-128073 by the same applicant.

【0049】図19にトリミング像を任意のポイントを
基準に任意の倍率に変倍する画像編集を行う手法につい
て図解する。(A)は原稿図、(B)は拡大図、(C)
はシフト図である。その画像編集の基本的手法は、ト
リミング領域の座標値と移動座標値と倍率とによって編
集後の座標値を算出する(A〜C)ものである。それは
トリミング領域の座標値から主走査方向の座標値
(x)、副走査方向の座標値(y)のうち最小(原稿載
置基準より)のものをCPUが判定しx0、y0とする。
座標はmm単位でキーにより入力されるので、又16ラ
イン/mmなので、y0座標のライ数L0は(y0×1
6)となる。又x0座標の情報量I0は(x0×16)と
なる(A)。編集後の領域座標値からx方向、y方向
の最小のものをCPUが判定し、x1、y1とする
(C)。x0と倍率とx1をベースに、シフト・メモリ
から読出すリード・アドレス・カウンタにおける読出し
開始アドレスのプリセット値を決める(CのアドレスA
3の算出)。この点を図22により詳述する。これはシ
フト・メモリで2倍の拡大に供すべく(4752×2)
ビットがある。単純拡大した時メモリの情報量I1
(x0×倍率×16)ビットとなる。又、x0座標の倍率
に応じたシフトメモリのアドレスA1は(A1−I1)と
なる。尚、A1はメモリの先頭アドレスでCCDのつな
ぎ補正時RAMに記憶されている。ところでy0座標の
倍率に応じたライン数L2は(L0×倍率)となる。次に
この拡大像をx1にシフト点から出力すべくシフトメモ
リの読出し開始アドレスA3を求めるが、それはA2+I
2となる。尚I2はシフト座標x1に応じた情報量で、
(x1×16)である。ところでy1座標のライン数L1
はy1×16である。
FIG. 19 illustrates a method of performing image editing in which a trimmed image is scaled to an arbitrary magnification based on an arbitrary point. (A) is a manuscript drawing, (B) is an enlarged view, (C)
Is a shift diagram. The basic method of image editing is to calculate coordinate values after editing based on the coordinate values of the trimming area, the moving coordinate values, and the magnification (A to C). The CPU determines the minimum value (from the document placement reference) of the coordinate value (x) in the main scanning direction and the coordinate value (y) in the sub-scanning direction from the coordinate values of the trimming area, and sets them as x 0 and y 0 . .
Since the coordinates are entered by a key in mm units and are also 16 lines / mm, the number of lines L 0 of the y 0 coordinate is (y 0 × 1
6). The information amount I 0 of the x 0 coordinate is (x 0 × 16) (A). The CPU determines the smallest one in the x-direction and the y-direction from the coordinate values of the area after editing, and sets them as x 1 and y 1 (C). x 0 and the magnification and the x 1 based determines the preset value of the read start address from the shift memory in reading the read address counter (C address A
3). This point will be described in detail with reference to FIG. This is to provide double the size of the shift memory (4752 x 2)
There are bits. Information amount I 1 of the memory when the simple enlargement becomes (x 0 × magnification × 16) bits. The address A 1 of the shift memory in accordance with the magnification of x 0 coordinate becomes (A 1 -I 1). Incidentally, A 1 is stored in the CCD tether correction at RAM start address of the memory. Meanwhile the number of lines L 2 corresponding to the magnification of y 0 coordinate becomes (L 0 × magnification). Then determine the read start address A 3 shift memory to be output from the shift point the enlarged image to x 1, but it A 2 + I
It becomes 2 . Note that I 2 is the information amount according to the shift coordinate x 1 ,
(X 1 × 16). By the way, the number of lines L 1 at the y 1 coordinate
Is y 1 × 16.

【0050】次にy0と倍率とy1をベースに前述PR
INT START(給紙)信号の発生から光学系をス
タートする迄の又はVSYNK発生迄の時間間隔を決定
する(L3の算出)。即ちL1−L2がそれに対応する。
この差が+L3の時はSTART信号又はVSYNK信
号を基準より、L3×主走査サイクル(347.2μ
S)早く出す。又−L3の時はSTART信号又はVS
YNK信号を上記より遅く出す。編集の領域のみに画
像を出力するために、主走査方向の画像データの一部の
みをゲートするためのスタートビットカウンタとエンド
ビットカウンタを設ける。これは図16の80、81に
各々対応する。これはI/Oを介してゲートの為のカウ
ントデータをプリセットする。フリップフロップ82は
カウンタ80のカウントアップでセットされ、カウンタ
81でリセットされる。図20にその動作が示される。
トリミング領域の座標値と倍率から副走査方向の変化
点間のライン数を算出する(D、E、F)。これはCP
UでVIDEO ENABLEをカウントすることによ
り行う。図中Mが副走査方向の変化点間のライン数、H
が主走査方向のビット数、Nが変倍時の副走査方向の変
化点間のライン数(N=M×倍率)である。
Next, based on y 0 , magnification and y 1 , the aforementioned PR
INT START to determine the time interval from generation of the (paper feed) signal until up or VSYNK generating start the optical system (calculation of L 3). That is, L 1 -L 2 corresponds to it.
The reference the START signal or VSYNK signal when the difference is + L 3, L 3 × main scanning cycle (347.2Myu
S) Put it out early. The time of -L 3 is START signal or VS
The YNK signal is output later than the above. In order to output an image only to the editing area, a start bit counter and an end bit counter for gating only a part of the image data in the main scanning direction are provided. This corresponds to 80 and 81 in FIG. 16, respectively. This presets the count data for the gate via I / O. The flip-flop 82 is set by the count-up of the counter 80 and reset by the counter 81. FIG. 20 shows the operation.
The number of lines between the changing points in the sub-scanning direction is calculated from the coordinate value of the trimming area and the magnification (D, E, F). This is CP
This is performed by counting VIDEO ENABLE in U. In the figure, M is the number of lines between changing points in the sub-scanning direction, and H
Is the number of bits in the main scanning direction, and N is the number of lines between changing points in the sub-scanning direction during magnification (N = M × magnification).

【0051】編集後のx方向座標値からの変化点に
おけるスタートビットカウンタ80とエンドビットカウ
ンタ81のプリセット値を算出し、図21の如くセット
する。
The preset values of the start bit counter 80 and end bit counter 81 at the point of change from the edited x-direction coordinate value are calculated and set as shown in FIG.

【0052】尚、トリミングがなく全面に画像を出力す
る場合に於いても、このスタートビットカウンタ80と
エンドビットカウンタ81を先端余白と分かり余白作成
のために利用する。初期化時は上と同様であるが、先端
余白の2mm×16ライン=36ライン計数後は分離ベ
ルトかけ巾分をさけるためにスタートビットカウンタ8
0を7.5mm×16ビット=120ビットにセットす
る。
Note that, even when an image is output on the entire surface without trimming, the start bit counter 80 and the end bit counter 81 are used as a margin at the leading end as a margin. At the time of initialization, it is the same as the above, but after counting 2 mm × 16 lines = 36 lines in the top margin, the start bit counter 8 is used to avoid the width of the separation belt.
0 is set to 7.5 mm × 16 bits = 120 bits.

【0053】図10に原稿照明用光源及びレンズのシェ
ーディング補正するための構成を示す。シェーディング
補正はコピー毎に光学系がホーム位置にあるとき以下の
シーケンスで行う。まず蛍光灯を点灯しホーム位置HP
上にある図14のBl巾の主方向の標準白板または灰色
板を照射し、反射光がCCDに入力される。この時回路
に於いてスイッチ701は1側にしておきCCDから光
電変換された信号はAMP、A/D変換される。そして
8画素毎そのデータがサンプリングされてRAM702
に書込まれる。8画素毎にそうしている理由はRAM7
02のメモリ容量を減らすためである。したがってある
一画素のシェーディングデータに基づき隣接する8画素
(白画素も含めて)の補正を行っている。
FIG. 10 shows a configuration for correcting the shading of the light source for illumination of the original and the lens. Shading correction is performed in the following sequence when the optical system is at the home position for each copy. First, turn on the fluorescent lamp and set the home position HP
A standard white board or gray board of Bl width in the main direction shown in FIG. 14 above is irradiated, and reflected light is input to the CCD. At this time, the switch 701 is set to the 1 side in the circuit, and the signal photoelectrically converted from the CCD is subjected to AMP and A / D conversion. Then, the data is sampled every eight pixels, and RAM 702
Is written to. The reason for doing so every 8 pixels is RAM7
02 in order to reduce the memory capacity. Therefore, the correction of eight adjacent pixels (including white pixels) is performed based on the shading data of a certain pixel.

【0054】次に光学系が原稿走査に移るとスイッチ7
01は2側になりCCDのA/D変換された画像データ
は逐次乗算ROM703にアドレス信号として入力され
ると共にRAM702の内容もCCDの信号8ビットに
付き1回読出され、同じく乗算ROM703にアドレス
信号として入力される。乗算ROM703にはRAM7
02からの入力値が例えば3/4になる値あればROM
703ではCCDからの入力値に4/3の値を乗じた内
容が書き込まれる。これによって乗算ROM703では
RAM702からの入力値に基づきCCDの信号を補正
しコンパレータ705へ出力するようになっている。又
構成上、標準板の中心に自動CCDつなぎ用の黒細線が
あるので、この部分の補正値はRAM702にシェーデ
ィング値を書込む際にその近傍の値を書込む様になって
いる。
Next, when the optical system shifts to original scanning, the switch 7 is turned on.
Reference numeral 01 denotes the side 2. The A / D-converted image data of the CCD is sequentially input to the multiplication ROM 703 as an address signal, and the contents of the RAM 702 are also read once per 8 bits of the CCD signal. Is entered as The multiplication ROM 703 has a RAM 7
ROM if the input value from 02 is, for example, 3/4
At 703, the content obtained by multiplying the input value from the CCD by a value of 4/3 is written. Thus, the multiplication ROM 703 corrects the CCD signal based on the input value from the RAM 702 and outputs the corrected signal to the comparator 705. In addition, due to the configuration, there is a black thin line for automatic CCD connection at the center of the standard plate, so that when writing the shading value to the RAM 702, the correction value in this portion is written in the vicinity.

【0055】又、標準灰色板の反射光により蛍光灯を安
定調光する。即ちA/D出力を基準値と比較し蛍光灯の
点灯周期を制御することで蛍光灯の光変動を防止でき
る。これは上記シェーディング補正の前又は後で行う。
Further, the fluorescent lamp is stably adjusted by the reflected light of the standard gray plate. That is, by comparing the A / D output with the reference value and controlling the lighting cycle of the fluorescent lamp, light fluctuation of the fluorescent lamp can be prevented. This is performed before or after the shading correction.

【0056】図11に2値回路を示す。ラッチ(1)8
01とデイザROM704からの出力はセレクタ803
で切換えるようになっているが、これは操作部で写真原
稿等の指示入力があった時にCPUがデイザROM70
4からの出力をセレクトし、文字原稿等の指示入力があ
った時にはラッチ(1)801の出力をセレクトできる
ようにするためのものである。操作部からの指示が文字
原稿等の指示にある時、CPUはセレクタ803をラッ
チ(1)801にセレクトし、前又は前々の主走査ライ
ンのピークホールド値(図12)と操作部濃度レバー1
04(図4)値に基づきスライスベルを決定しラッチ
(1)801にセットする。これにより地肌除去(A
E)が行われる。操作部からの指示が写真原稿等の場合
CPUはセレクタ803をデイザROM704にする。
このときCPUは操作部レバー104値に基づきO〜F
のデイザの種類をラッチ(2)804にセットしてセレ
クトする。これはデイザエレメントのレベル及びその配
列が異なる。
FIG. 11 shows a binary circuit. Latch (1) 8
01 and the output from the dither ROM 704
The CPU is switched by the dither ROM 70 when an instruction such as a photo original is input on the operation unit.
4 to enable the output of the latch (1) 801 to be selected when an instruction such as a character document is input. When the instruction from the operation unit is included in the instruction for a text document or the like, the CPU selects the selector 803 to the latch (1) 801 and sets the peak hold value (FIG. 12) of the previous or previous main scanning line (FIG. 12) and the operation unit density lever. 1
The slice bell is determined based on the value 04 (FIG. 4) and set in the latch (1) 801. This removes the background (A
E) is performed. When the instruction from the operation unit is a photo original or the like, the CPU sets the selector 803 to the dither ROM 704.
At this time, the CPU sets the values of O to F based on the value of the operation unit lever 104.
Is set in the latch (2) 804 and selected. This differs in the level of dither elements and their arrangement.

【0057】又原稿走査に先立ちCCDのつなぎ量をC
PUが算出し画像データをつなぐことは前述したが、デ
イザのパターンも左右でつなぐ必要があるので、CPU
は予め算出したつなぎ量をラッチ(3)807にセット
しその値分だけ主走査カウンタ(1)805の値がオフ
セットされる。カウンタ(1)805は主走査クロック
駆動される3ビットカウンタで、カウンタ(2)806
は副走査クロック、例えばVIDEO ENABLE信
号で駆動される3ビットカウンタである。このことから
デイザパターンは最大8×8のマトリクスである。尚デ
イザROM704をRAMとし、CPUによりO〜Fの
入力に応じてRAMのマトリクスエレメントを設定する
こともできる。
Prior to the scanning of the original, the amount of connection of the CCD is set to C.
Although the calculation of the PU and the connection of the image data have been described above, the dither pattern also needs to be connected on the left and right.
Is set in the latch (3) 807, and the value of the main scanning counter (1) 805 is offset by that value. The counter (1) 805 is a 3-bit counter driven by the main scanning clock, and the counter (2) 806
Is a 3-bit counter driven by a sub-scanning clock, for example, a VIDEO ENABLE signal. From this, the dither pattern is a maximum 8 × 8 matrix. Note that the dither ROM 704 may be a RAM, and a matrix element of the RAM may be set by the CPU according to the input of OF.

【0058】図12にAEの為の回路を示す。原稿地肌
除去について、主走査ライン毎にCCDからの画像信号
のピーク値を検出する。即ち原稿の地肌は原稿照射した
ときその原稿で最も反射光量が多いはずなので、CCD
出力のピーク値を各主走査ライン毎(1/16mmピッ
チ)に検出しそのピーク値と最小値の中間のところにス
ライスレベルを設定すれば必ず地肌は除去できる。そし
てこのスライスレベルをいつ設定するかであるが、ピー
ク値検出が完了するのは主走査が終了しないと分からな
いので、基本的には前のラインのピーク値に基づき現行
のラインのスライスレベルを、前ラインの主走査完了後
設定することになる。画像に対する影響はない。
FIG. 12 shows a circuit for AE. Regarding the background removal of the document, the peak value of the image signal from the CCD is detected for each main scanning line. In other words, the background of the document should reflect the largest amount of light when the document is illuminated.
If the peak value of the output is detected for each main scanning line (1/16 mm pitch) and the slice level is set at an intermediate point between the peak value and the minimum value, the background can be always removed. Then, when this slice level is set, it is not known that the peak value detection is completed until the main scanning is completed. Therefore, the slice level of the current line is basically set based on the peak value of the previous line. , After the main scanning of the previous line is completed. There is no effect on the image.

【0059】図12に従い乗算ROM703からシェー
ディング補正された1画素目の画像データはラッチ90
4にラッチされる。ラッチ後、ラッチデータと2画素目
の画像データはコンパレータ705によって比較され、
2画素目のデータが1画素目のデータより大ならばポー
トA<Bが出力しラッチ904にセットされ、そうでな
ければ1画素目データがそのままラッチ904に残って
いる。以後同様な方法で主走査終了迄続けると最大値が
ラッチ904に残っていることになる。のこデータをI
/Oポート906を介して主走査終了毎に読込む。この
後CPUは直ちにスライスレベルを決定し、図11のラ
ッチ(1)801にセットする。
The image data of the first pixel subjected to shading correction from the multiplication ROM 703 according to FIG.
4 latched. After the latch, the latch data and the image data of the second pixel are compared by the comparator 705,
If the data of the second pixel is larger than the data of the first pixel, port A <B is output and set in the latch 904; otherwise, the data of the first pixel remains in the latch 904 as it is. Thereafter, when the same method is continued until the end of the main scanning, the maximum value remains in the latch 904. Saw data I
The data is read via the / O port 906 each time main scanning is completed. Thereafter, the CPU immediately determines the slice level and sets it in the latch (1) 801 in FIG.

【0060】次に原稿位置検知について説明する。図2
9にはリーダAの原稿台ガラス3上に原稿300が置か
れている状態を示す。基本的には前述の如く載置位置は
決まっているが、図の如く斜めにも置ける。この場合原
稿ガラス302上の基準座標SPからの主走査方向を
X、副走査方向をYとしたときの4点の座標(X1 、Y
1 )、(X2 、Y2 )、(X3 、Y3 )、(X4 、Y
4 )をプリンタの前回転動作期間中に、光学系を前走査
して検出する。これにより原稿の大きさや位置を判別で
きる。これによりマルチコピー中のスキャナスキャンス
トロークを決めたり、所望カセットを選択したりでき
る。原稿の置かれている領域外の画像データは必ず黒デ
ータになる様に、原稿カバー4(図2)が鏡面処理され
ている。副走査はガラス面全域を行うべく、主走査、副
走査を行い、その後引続きプリントの為の走査を行う。
この副走査速度はプリント時より速い。
Next, document position detection will be described. FIG.
9 shows a state in which the original 300 is placed on the original platen glass 3 of the reader A. Basically, the mounting position is fixed as described above, but the mounting position can be inclined as shown in the figure. In this case, when the main scanning direction from the reference coordinates SP on the original glass 302 is X, and the sub-scanning direction is Y, the coordinates of four points (X 1 , Y
1 ), (X 2 , Y 2 ), (X 3 , Y 3 ), (X 4 , Y
4 ) During the pre-rotation operation of the printer, the optical system is pre-scanned and detected. Thus, the size and position of the document can be determined. Thus, a scanner scan stroke during multi-copy can be determined, and a desired cassette can be selected. The original cover 4 (FIG. 2) is mirror-finished so that image data outside the area where the original is placed is always black data. In the sub-scanning, main scanning and sub-scanning are performed to cover the entire glass surface, and then scanning for printing is performed.
This sub-scanning speed is faster than during printing.

【0061】図30の回路図に前記座標を検出する論理
を示す。前走査により2値化された画像データVIDE
Oはシフト・レジスタ301に8ビット単位で入力され
る。8ビット入力が完了した時点で、ゲート回路302
は8ビットデータの全てが白画像かのチェックを行い、
Yesならば信号ライン303に1を出力する。原稿走
査開始後、最初の8ビット白が現われた時F/F304
がセットする。このF/F304はVSYNC(画像先
端信号)によって予めリセットされている。以後、次の
VSYNCの来るまでセットし放しである。F/F30
4がセットした時点でラッチF/F305にその時の主
走査カウンタ351(図11の主走査カウンタ805又
は専用カウンタ)の値がロードされる。これがX座標に
なる。又ラッチ306にその時の副走査カウンタ352
(図11の副走査カウンタ806又は専用カウンタ)の
値がロードされる。これがY1 座標値になる。従ってP
1(X1 、Y1 )が求まる。
The logic for detecting the coordinates is shown in the circuit diagram of FIG. Image data VIDE binarized by pre-scanning
O is input to the shift register 301 in 8-bit units. When the 8-bit input is completed, the gate circuit 302
Checks whether all of the 8-bit data is a white image,
If Yes, 1 is output to the signal line 303. F / F 304 when the first 8-bit white appears after document scanning starts
Is set. This F / F 304 has been reset in advance by VSYNC (image leading edge signal). Thereafter, it is set and released until the next VSYNC comes. F / F30
When 4 is set, the value of the main scanning counter 351 (the main scanning counter 805 or the dedicated counter in FIG. 11) at that time is loaded into the latch F / F 305. This becomes the X coordinate. The sub-scanning counter 352 at that time is stored in the latch 306.
The value of (the sub-scanning counter 806 or the dedicated counter in FIG. 11) is loaded. This is Y 1 coordinate values. Therefore P
1 (X 1 , Y 1 ) is obtained.

【0062】又信号ライン303に1が出力する度に主
走査カウンタ351からの値をラッチ307にロードす
る。この値は直ちに(次の8ビットがシフトレジスタ3
01に入る迄にクラッチ308に記憶される。最初の8
ビットの白が現われた時の主走査からの値がラッチ30
8にロードされると、ラッチ310(これはVSYNC
時点で“0”にされている)のデータとコンパレータ3
09で大小比較される。もしラッチ308のデータの方
が大ならばラッチ308のデータすなわちラッチ307
のデータがラッチ310にロードされる。又、この時副
走査カウンタ352の値がラッチ311にロードされ
る。この動作は次の8ビットがシフト・レジスタ301
に入る迄に処理される。この様にラッチ308とラッチ
310のデータ比較を全画像領域について行えば、ラッ
チ310には原稿領域X方向の最大値が残り、この時の
Y方向の座標がラッチ311に残ることになる。これが
3(X3 、Y3 )座標である。
Each time 1 is output to the signal line 303, the value from the main scanning counter 351 is loaded into the latch 307. This value immediately (the next 8 bits are
The data is stored in the clutch 308 before entering 01. First eight
The value from the main scan when the bit white appears appears in latch 30
8, the latch 310 (which is VSYNC
At the time “0”) and the comparator 3
09 is compared. If the data in the latch 308 is larger, the data in the latch 308, ie, the latch 307
Is loaded into the latch 310. At this time, the value of the sub-scanning counter 352 is loaded into the latch 311. In this operation, the next 8 bits are stored in the shift register 301.
Processed before entering. When the data comparison between the latches 308 and 310 is performed for the entire image area in this manner, the maximum value in the document area X direction remains in the latch 310, and the coordinates in the Y direction at this time remain in the latch 311. This is the P 3 (X 3 , Y 3 ) coordinate.

【0063】F/F312は各主走査ライン毎に最初に
8ビット白が現われた時点でセットするF/Fで水平同
期信号HSYNCでリセットされ最初の8ビット白でセ
ットし、次のHSYNCまで保持する。このF/F31
2がセットする時点で主走査カウンタ351の値をラッ
チ313にセットし、次のHSYNC迄の間にラッチ3
14にロードする。そしてラッチ315とコンパレータ
316で大小比較される。ラッチ315にはVSYNC
発生時点でX方向の最大値がプリセットされている。も
しラッチ315のデータの方がラッチ314のデータよ
り大きいならば信号317がアクティブになり、ラッチ
314すなわちラッチ313のデータがラッチ315に
ロードされる。この動作はHSYNC−HSYNC間で
行われる。以上の比較動作を全画像領域について行うと
ラッチ315には原稿座標のX方向の最小値が残ること
になる。これがX2 である。又、信号ライン317が出
力する時、副走査カウンタ352からの値がラッチ31
8にロードされる。これがY2 になる。
The F / F 312 is an F / F which is set when 8 bits white first appears for each main scanning line, is reset by the horizontal synchronizing signal HSYNC, is set with the first 8 bits white, and is held until the next HSYNC. I do. This F / F31
2 is set, the value of the main scanning counter 351 is set in the latch 313, and the value of the latch 3 is set until the next HSYNC.
Load 14 Then, the magnitude is compared by the latch 315 and the comparator 316. Latch 315 has VSYNC
The maximum value in the X direction is preset at the time of occurrence. If the data in latch 315 is greater than the data in latch 314, signal 317 becomes active and the data in latch 314, ie, latch 313, is loaded into latch 315. This operation is performed between HSYNC and HSYNC. When the comparison operation described above is performed for all image areas, the minimum value of the document coordinates in the X direction remains in the latch 315. This is X 2. Also, when the signal line 317 outputs, the value from the sub-scanning counter 352 is latched.
8 is loaded. This is Y 2.

【0064】ラッチ319と320は全画像領域におい
て8ビット白が現われる度にその時の主走査カウンタ3
51の値と副走査カウンタ352の値がロードされる。
従って、原稿前走査完了時では最後に8ビット白が現わ
れた時点でのカウント値がカウンタに残っていることに
なる。これが(X4 、Y4 )である。
Each time the 8-bit white appears in the entire image area, the latches 319 and 320 store the main scan counter 3 at that time.
The value of 51 and the value of the sub-scanning counter 352 are loaded.
Therefore, when the original pre-scanning is completed, the count value at the time when 8-bit white finally appears remains in the counter. This is (X 4 , Y 4 ).

【0065】以上の8つのラッチ(306、311、3
20、318、305、310、315、319)のデ
ータラインは図5のCPUのバスラインBUSに接続さ
れ、CPUは前走査終了時にこのデータを読み込むこと
になる。
The above eight latches (306, 311, 3
20, 318, 305, 310, 315, and 319) are connected to the bus line BUS of the CPU in FIG. 5, and the CPU reads this data at the end of the pre-scan.

【0066】そして、これらのデータのうち、X2 、X
3 、Y1 、Y4 の領域が原稿領域として判別し、前述し
たトリミング処理をプリントのための原稿走査時に行う
ようになっている。即ち原稿の座標成分のX2 、X3
1 、Y4 によって点線の、原稿位置P1 〜P4 を囲む
長方形の座標が認識でき、従ってそれに対応したサイズ
のシートが少なくとも必要であることが分かる。
Then, of these data, X 2 , X
3, Y 1, to determine the areas original area of Y 4, and performs at the original scanning for printing the trimming process described above. That is, X 2 , X 3 ,
The dotted line by Y 1, Y 4, unrecognized rectangular coordinates surrounding the original position P 1 to P 4, it can be seen therefore the size of the sheet corresponding thereto is at least necessary.

【0067】従って第1の例としてプリンタからのカセ
ットサイズデータと原稿サイズデータを比較し、原稿サ
イズに近い方のカセットを選択する。それは図31の如
きCPUのフローによる。座標Y4 とY1 との間の距離
Δyを算出し(ステップ1)、それがA4サイズに相当
するものより小さいか否かを比較し(ステップ2)、小
さい場合A4カセットを選択すべくプリンタにA4Cの
データを出力する(ステップ3)。大きい場合かつB4
サイズより小さい場合B4カセットを、更にB4サイズ
より大きい場合A3カセットを選択すべく出力する(ス
テップ4、5)。プリンタB側のCPUはこれらのデー
タ(S.DATAラインを介する)に従って、2つのカ
セットから既に得られているサイズ信号と各々比較して
該当するものがある場合、該当するカセットから給紙す
べく制御し、ない場合は警告をすべくリーダA側にその
旨のデータを送り返す。リーダAはその旨を表示する。
又プリンタB側は紙先端と座標Y1 とが同期するようレ
ジストローラ18の給紙制御がなされる。標準モードで
はリーダAからの信号VSYNC(前述画先センサ37
bと同期)でレジストローラ18を作動するが、この場
合、前述トリミングシフトの場合と同様この信号と画先
センサ37bからの信号との間にY1 に相当する時間を
設けることでなされる。また、各カセットはリーダの基
準位置SP側に対応した位置を基準に装填されるので、
主走査方向についてX1 だけイメージ出力をシフトさせ
る。これは前述トリミングシフトの場合と同様リードア
ドレスカウンタのプリセットの手法により行う。以上の
制御モードは前述エトセトラキーにより設定される表示
対応のシフトキーにより選択されるが、専用キーを設
け、それを入力作動することによってもなし得る。
Accordingly, as a first example, the cassette size data from the printer and the original size data are compared, and the cassette closer to the original size is selected. It depends on the flow of the CPU as shown in FIG. Calculating a distance Δy between the coordinate Y 4 and Y 1 (step 1), it compares whether than or less corresponds to the A4 size (step 2), so as to select a smaller case A4 cassette printer A4C data is output to the device (step 3). Large and B4
If the size is smaller than the B4 cassette, the B4 cassette is output (steps 4 and 5). In accordance with these data (via the S.DATA line), the CPU on the printer B side compares the size signals already obtained from the two cassettes with each other, and if there is a corresponding one, feeds the paper from the corresponding cassette. If not, control returns the data to reader A to issue a warning. Reader A displays that effect.
The printer B side feed control of the registration roller 18 so that the leading end of the paper and the coordinate Y 1 is synchronization is made. In the standard mode, the signal VSYNC from the reader A (the image sensor 37 described above) is output.
While operating the registration roller 18 by b and synchronization), this is done by providing a time corresponding to Y 1 between the signal from the case as well as the signal and the image tip sensor 37b described above trimming shift. Also, since each cassette is loaded based on the position corresponding to the reference position SP of the reader,
The main scanning direction by X 1 shifts the image output. This is performed by the method of presetting the read address counter as in the case of the trimming shift. The above-described control mode is selected by a shift key corresponding to the display set by the above-mentioned etcetera key. However, it can also be performed by providing a dedicated key and performing an input operation of the key.

【0068】第2の例として前述オート指令を入力して
おくことにより、この部分をカセットのシートに適合す
る様な大きさに変倍を施してプリントすることができ
る。これはプリンタの選択されたカセットのサイズ信号
がS.DATAラインを介してリーダに送られるので、
この信号により図26〜図28の前述の如き手順で、ト
リミング、シフト、変倍を順次行って所望のコピーを得
ることができる。即ちオート1は、図32の如くカセッ
トシートのX方向、Y方向のサイズPx、Pyに対する
原稿のX方向、Y方向のサイズΔx、Δyの各々の比率
mx、myを求める(ステップ11〜14)。そして比
率の小さい方をX、Yに関する共通の倍率としてRAM
にセットし(ステップ15〜17)、前述の変倍処置を
行う。従ってシートの一方向を基準にしたオート変倍の
コピーが得られる。オート2は、図33の如く、シート
のX、Y方向に対する原稿のX、Y方向の各比率を求め
(ステップ21、22、24、25)、X方向の倍率、
Y方向の倍率を各々独立にセットする(ステップ23、
26)。従ってシート一杯に原稿像をコピーできる。そ
れらオート1、2はトリミング座標を指定して行うオー
ト変倍においても同様に実行できる。
As a second example, by inputting the above-mentioned auto command, this portion can be scaled to a size suitable for the sheet of the cassette and printed. This is because the size signal of the selected cassette of the printer is S.P. Since it is sent to the reader via the DATA line,
With this signal, the desired copy can be obtained by sequentially performing trimming, shifting, and scaling in accordance with the procedure described above with reference to FIGS. That is, the auto 1 obtains the ratios mx and my of the sizes .DELTA.x and .DELTA.y in the X and Y directions of the document with respect to the sizes Px and Py in the X and Y directions of the cassette sheet as shown in FIG. 32 (steps 11 to 14). . The smaller ratio is set as a common magnification for X and Y in the RAM.
(Steps 15 to 17), and the above-described zooming treatment is performed. Therefore, an auto-magnifying copy based on one direction of the sheet is obtained. As shown in FIG. 33, the auto 2 calculates the respective ratios of the original in the X and Y directions with respect to the X and Y directions of the sheet (steps 21, 22, 24 and 25), and calculates the magnification in the X direction.
The magnification in the Y direction is set independently (step 23,
26). Therefore, the original image can be copied to the full sheet. The automatic operations 1 and 2 can be similarly performed in the automatic zooming performed by specifying trimming coordinates.

【0069】第3の例として原稿の傾き警告ができる。
即ち、図34の如くP1 〜P4 のX1 、X2 が、X3
4 が、Y1 、Y3 が、Y2 、Y4 が各々等しい(数ビ
ットの差がある位)か否かを判断し(ステップ31〜3
4)、否のとき警告表示を出す(ステップ36)。但
し、プリント動作は可能とする。以上のフローチャート
はリーダのCPUにより処理されるプログラムフローで
ある。
As a third example, a document tilt warning can be issued.
That is, as shown in FIG. 34, X 1 and X 2 of P 1 to P 4 are X 3 ,
X 4 is, Y 1, Y 3 is, Y 2, Y 4 is (position there is a difference of several bits) each equal to whether the determined (step 31-3
4) If not, a warning display is issued (step 36). However, printing operation is allowed. The above flowchart is a program flow processed by the CPU of the reader.

【0070】尚、図25に前述トリミング、変倍、シフ
トの手順をフローチャートで示す。シフトのある場合に
限りx0 、y0 点に関して先ず処置を行ったが(図2
3)、シフト(移動)のない場合順次図24の如く、X
0 ′、y0 ′→x5 、y5 により図16のスタートビッ
トカウンタ80、エンドドットカウンタ81の制御をし
てトリミング外を白とすることができる。この場合トリ
ミング可能なエリアは直線で囲まれた1つの領域である
から、y軸方向に長方形に分割される領域指定をxy座
標で対角線の2点を指定することにより行う。尚、同一
原稿に対して3分割を最大値とする。単位はmmで入力
する。
FIG. 25 is a flowchart showing the procedure of trimming, scaling, and shifting. Only when there is a shift, the treatment was first performed for the points x 0 and y 0 (FIG. 2).
3) When there is no shift (movement), as shown in FIG.
0 ', y 0' → x 5, the start bit counter 80 of FIG. 16 by y 5, can be the control of the end-dot counter 81 for trimming the outside white. In this case, since the area that can be trimmed is one area surrounded by a straight line, the area divided into rectangles in the y-axis direction is specified by specifying two diagonal points by xy coordinates. Note that the maximum value is three divisions for the same document. The unit is mm.

【0071】つまり(x00 、x11 )+(x2
2 、x33 )+(x44 、x55 )となる処理を
順次行う。これはマニュアルシフト、オートにした場合
も同様前述の如く座標変換してVIDEO出力の制御を
行う。
That is, (x 0 y 0 , x 1 y 1 ) + (x 2 y
2, x 3 y 3) + (x 4 y 4, x 5 y 5) and comprising processing sequentially performed. In the case of manual shift and auto, the coordinates are converted as described above to control the VIDEO output.

【0072】図16において、90、91は画像領域を
決めるための排他オアゲート、OFはそれを制御する信
号で、1のときSTカウンタ、ENカウンタで決まるワ
ク内をマスクし、外を出力画像とし、0のときはそのワ
ク内を出力画像としワク外をマスクする。92は先のイ
メージデータを出力制御するアンドゲート、93は前述
マスクを黒として出力するか、白として出力するかを決
めるためのアンドゲート、BBはそれを制御する信号
で、1のとき黒、0のとき白を出力する。95はゲート
92、93により出力されるイメージ出力をVIDEO
として出力するオアゲート、94はイメージデータを白
黒反転制御する排他オアゲート、INはそれを制御する
信号で1のときオリジナルの生イメージ、0のとき反転
させる。各信号は、CPUがシフトキーにより、マスキ
ング、白、黒、ネガの入力のあったことを判定して出力
される。
Referring to FIG. 16, reference numerals 90 and 91 denote exclusive OR gates for determining an image area. OF denotes a signal for controlling the exclusive area. When the signal is 1, the area determined by the ST counter and the EN counter is masked, and the outside is set as an output image. , 0, the inside of the box is set as an output image and the outside of the box is masked. 92 is an AND gate for controlling the output of the previous image data, 93 is an AND gate for determining whether to output the mask as black or white, and BB is a signal for controlling the mask. When the value is 0, white is output. A VIDEO 95 outputs the image output from the gates 92 and 93.
An OR gate 94 outputs an exclusive OR gate for controlling black and white inversion of the image data. IN is a signal for controlling the image data. Each signal is output after the CPU determines that a masking, white, black, or negative input has been made using the shift key.

【0073】即ちマスク信号1の場合STカウンタのア
ップでフリフロ82のQが1となるゲート90の出力が
0となって、ゲート92はENカウンタがアップする迄
つまりQが0となる迄ゲート92の出力はない。つまり
マスクされる。替わりにゲート91の出力はその間1な
ので黒/白信号BBを1の場合ゲート93は1であり、
従ってイメージ出力ゲート95は1を続けて出力する。
つまりマスクされる。逆にOF=1、BB=0とすると
白マスクされる。またOF=0とするとゲート90、9
1の出力が各々その間1、0となるので、BB=1とす
るとトリミング外が黒、OFF=0、BB=0とすると
トリミング外が白となる。
That is, in the case of the mask signal 1, the output of the gate 90 at which the Q of the free flow 82 becomes 1 by the ST counter being up becomes 0, and the gate 92 remains until the EN counter is up, that is, until the Q becomes 0. There is no output. That is, it is masked. Instead, since the output of the gate 91 is 1 during that time, when the black / white signal BB is 1, the gate 93 is 1,
Therefore, the image output gate 95 outputs 1 continuously.
That is, it is masked. Conversely, if OF = 1 and BB = 0, white masking is performed. If OF = 0, gates 90 and 9
Since the outputs of 1 are 1 and 0 during that time, black outside trimming is obtained when BB = 1, and white outside trimming is obtained when OFF = 0 and BB = 0.

【0074】図35及び図36は小さいオリジナルの又
はオリジナルのトリミングしたものをシートの略中央に
移動してプリント(センタリング)させるための説明図
とCPUによる制御フロー図である。即ち前述の如くし
て斜線部のトリミング座標の最大値と最小値(TXMA
X、TYMAX)、(TXMIN、TYMIN)として
セットする(1)。これは前述座標検知によってセット
することもできる。次にシートに合うX、Y方向の倍率
を決める。これはサブルーチンオートAT2の手法によ
りMX、MYとして求まる(2)。尚X、Y方向に任意
の倍率選択すべく前述の如くテンキーによりMX、MY
を決めることもできるし、又サブルーチンAT1によっ
て決めることもできる。次にシートのX方向、Y方向の
長さをPS・X、PS・YとしてRAMにセットする。
これはプリンタからのデータにより決まる(3)。これ
らのデータを用いてセンタリングの為の移動座標TX
M、TYMを求める(4)。つまりX方向のトリミング
巾の変倍した長さをシートの長さから差し引いてその結
果を1/2するとX方向座標TXMが求まる。同様にY
方向のTYMが求まる。そのTXM、TYMが正の場合
に限り有効とみなし、負の場合は警告を出す(5)。そ
の後は前述の図19〜図24の方法に従う。
FIGS. 35 and 36 are an explanatory diagram and a control flow diagram of the CPU for moving a small original or trimmed original to the approximate center of the sheet for printing (centering). That is, as described above, the maximum value and the minimum value (TXMA)
X, TYMAX) and (TXMIN, TYMIN) (1). This can be set by the coordinate detection described above. Next, the magnification in the X and Y directions suitable for the sheet is determined. These are obtained as MX and MY by the method of the subroutine auto AT2 (2). Note that MX, MY can be selected by the numeric keypad as described above to select an arbitrary magnification in the X and Y directions.
Can be determined, or can be determined by the subroutine AT1. Next, the lengths of the sheet in the X and Y directions are set in the RAM as PS · X and PS · Y.
This is determined by the data from the printer (3). Moving coordinates TX for centering using these data
M and TYM are obtained (4). In other words, the scaled width of the trimming width in the X direction is subtracted from the length of the sheet and the result is halved to obtain the X direction coordinate TXM. Similarly Y
The TYM of the direction is obtained. It is considered valid only when TXM and TYM are positive, and a warning is issued when it is negative (5). Thereafter, the method shown in FIGS. 19 to 24 is followed.

【0075】図37に、(1)XY変倍、(2)白マス
ク、(3)黒マスク、(4)白枠トリミング、(5)黒
枠トリミング、(6)白枠トリミング+移動先指定+テ
ンキー倍率指定、(7)白枠トリミング+センタリング
+テンキー倍率指定、(8)原稿位置自動検知+原点
(SP)移動+オート変倍(AT2)の例を示す。
FIG. 37 shows (1) XY scaling, (2) white mask, (3) black mask, (4) white frame trimming, (5) black frame trimming, (6) white frame trimming + destination designation + An example of ten-key magnification designation, (7) white frame trimming + centering + ten-key magnification designation, (8) automatic document position detection + origin (SP) movement + automatic scaling (AT2) is shown.

【0076】図38、図39はプラテン上にブック原稿
を開いたまま右、左ページを各々独立に、又は、続けて
読取って、1枚又は2枚のシートにプリントする説明図
と制御フロー図である。まず、図38にて原稿を前スキ
ャンして原稿のサイズ(X1、Y1)を前述の如くして
検出座標から判定する(1)。本スキャンを行いY1−
Y2巾の1/2の座標点で光学ユニットを反転して戻
す。つまり左半分をまず読取ってY1から1/2の分を
プリントアウトする(2)。次に第2の本スキャンをY
2の点迄行い反転し、光学系を戻す。この場合1/2か
らY2の分をプリントする(3)。
FIGS. 38 and 39 are explanatory diagrams and control flow charts in which the right and left pages are read independently or successively while the book original is opened on the platen and printed on one or two sheets. It is. First, the document is pre-scanned in FIG. 38, and the size (X1, Y1) of the document is determined from the detected coordinates as described above (1). Perform main scan and Y1-
The optical unit is inverted and returned at a coordinate point of 巾 of the Y2 width. That is, the left half is read first, and a half of Y1 is printed out (2). Next, the second main scan is performed in Y
The operation is repeated up to point 2, and the optical system is returned. In this case, the print from 1/2 to Y2 is printed (3).

【0077】図39のフローにおいて、まずブックモー
ドの指定がソフトキーで入力されると、コピーキーの入
力時前スキャンしてサイズ検出する原稿サイズ検出フラ
グをセットする。次に要求コピーが左のみか(1)、右
のみか(2)、左右両方をシート一枚にプリントするか
(3)、上述図38の如く左右別々に順次プリントか
(4)、判断する。これはソフトキーの入力をCPUが
判断することによる。左のみの場合トリミング座標のY
MINをY1としてYMAXを(Y1+Y2)×0.5
を演算して求める。つまりブックの中心(とじ目)が求
まる(5)。次に前述センタリングを施す(6)。次に
光学ユニットの反転位置Pを(Y1+Y2)×0.5と
して求め若干の余裕分rをプラスする(7)。これらデ
ータはRAMにセットされる。このようにして求めた座
標に従って左半分のイメージをシート中央にプリントで
きる。
In the flow of FIG. 39, first, when the book mode is designated by a soft key, a document size detection flag for scanning and detecting the size at the time of input of the copy key is set. Next, it is determined whether the requested copy is left only (1), right only (2), both right and left are printed on one sheet (3), or left and right are sequentially printed separately as shown in FIG. 38 (4). . This is because the CPU determines the input of the soft key. Y for trimming coordinates when left only
MIN is Y1, YMAX is (Y1 + Y2) × 0.5
Is calculated. That is, the center (binding) of the book is obtained (5). Next, the centering is performed (6). Next, the reversal position P of the optical unit is determined as (Y1 + Y2) × 0.5, and a slight margin r is added (7). These data are set in the RAM. The left half image can be printed at the center of the sheet according to the coordinates thus obtained.

【0078】右のみの場合トリミング座標のYMINを
(Y1+Y2)×0.5とし、YMAXをY2とする
(8)。次にセンタリング(9)を施し反転P(10)
を求める。
In the case of right only, the trimming coordinates YMIN are set to (Y1 + Y2) × 0.5, and YMAX is set to Y2 (8). Next, centering (9) is performed, and inversion P (10)
Ask for.

【0079】左と右を同一シートにプリントする場合は
通常のY1、Y2のトリミングと同じ様に座標を求め
(11)、センタリング(12)を施し、反転Pを求め
る(13)。
When the left and right are printed on the same sheet, the coordinates are obtained (11) and the centering (12) is performed in the same manner as the normal trimming of Y1 and Y2, and the inverted P is obtained (13).

【0080】又、左と右を順次別のシートにプリントす
る場合、上述の左のみの場合と右のみの場合を順次行っ
てデータセットする(14)。即ち、2サイクル分のデ
ータを記憶する。コピーキーをオンするとBKモードか
否かを判定し、BKのとき前スキャンを行い、各モード
に応じ座標データを記憶するが、前スキャン終了後(右
+左)モードのときまず左のみのデータをRAMから読
出して前述アドレスカウンタのプリセット制御、スキャ
ナのシーケンス制御を行って1枚目のプリントを行う。
スキャン終了しホーム位置に戻るとCPUは(右+左)
モードが設定されたままか否かをRAMデータから判定
し、このモードのときは右分のデータを読出して上記制
御を行って2枚目のプリントを実行する。
When the left and right are sequentially printed on separate sheets, the above-described only-left and right-only cases are sequentially performed to set the data (14). That is, data for two cycles is stored. When the copy key is turned on, it is determined whether or not the mode is the BK mode. When the mode is BK, a pre-scan is performed, and coordinate data is stored according to each mode. Is read from the RAM, and the preset control of the address counter and the sequence control of the scanner are performed to print the first sheet.
When the scan ends and returns to the home position, the CPU (right + left)
It is determined from the RAM data whether or not the mode is still set. In this mode, the right data is read out and the above control is performed to execute the second print.

【0081】以上の場合オート変倍を施さず原稿以外の
領域を黒又は白とすることもできる。以上の各モードで
は、前述の如くスキャナのスタートタイミング又はプリ
ンタ側のシート給紙のレジストタイミングをセンタリン
グ等による情報量に応じて遅らしたり早めにしたりする
ことにより、適正位置に像再生する。
In the above case, the area other than the original can be made black or white without performing the automatic scaling. In each of the above modes, as described above, the image is reproduced at an appropriate position by delaying or advancing the start timing of the scanner or the registration timing of sheet feeding on the printer side according to the amount of information by centering or the like.

【0082】尚、原稿座標Y1、Y2をテンキー又はサ
イズキーを使ってマニュアル入力することもできる。又
主走査方向は自動検知、キー入力で求めたX1、X2に
より単にセンタリングのみを行うこともできる。
Note that the document coordinates Y1 and Y2 can also be manually input using the numeric keys or size keys. In the main scanning direction, it is also possible to perform only centering based on X1 and X2 obtained by automatic detection and key input.

【0083】このようにしてリアルタイムで本の右、左
頁を本を移動することなく適正変倍してプリントでき、
コピー操作を極めて容易にできるものである。又シート
の中央部にプリントでき、又余分な情報を任意にカット
できるので、極めてコピー品質を高くできる。又リーダ
による読取り完了前にプリントを開始でき各編集を行っ
たにも拘らずコピー速度を際めて高くできる。又他プリ
ンタへの送信モードの場合CCUのコマンド制御により
リーダ付属のプリンタに同時にイメージデータを送る様
構成したので伝送読取像のモニタができる。又プロトコ
ルラインとリーダのCPUを接続し各プリンタ端末の情
況認識をCPUが行った上で正常のとき上記各種編集、
画質制御を行って、イメージデータを付属プリンタを含
む複数プリンタに伝送するので、誤りなく再生画質等の
チェックができる。
In this way, the right and left pages of a book can be printed in real time without moving the book by appropriately scaling.
The copying operation can be made extremely easy. In addition, since printing can be performed at the center of the sheet and unnecessary information can be arbitrarily cut, copy quality can be extremely improved. In addition, the printing can be started before the reading by the reader is completed, and the copying speed can be remarkably increased despite the editing. In the transmission mode to another printer, the image data is simultaneously transmitted to the printer attached to the reader under the command control of the CCU, so that the transmission read image can be monitored. In addition, the protocol line and the CPU of the reader are connected and the CPU recognizes the situation of each printer terminal.
Since the image data is transmitted to a plurality of printers including the attached printer by controlling the image quality, the reproduction image quality can be checked without error.

【0084】[0084]

【発明の効果】以上説明した様に本発明によれば、原稿
の指定領域の位置に拘らず、指定領域の画像を記録材の
中央に記録し、見やすい画像を得ることができる。
As described above, according to the present invention, the image of the designated area is recorded at the center of the recording material regardless of the position of the designated area of the document, so that an easy-to-view image can be obtained.

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

【図1】本発明が適用できる画像処理装置の外観図。FIG. 1 is an external view of an image processing apparatus to which the present invention can be applied.

【図2】ドキュメントホルダの斜視図。FIG. 2 is a perspective view of a document holder.

【図3】画像処理装置の断面図。FIG. 3 is a cross-sectional view of the image processing apparatus.

【図4】操作部の平面図。FIG. 4 is a plan view of an operation unit.

【図5】画像処理装置の構成を示すブロック図。FIG. 5 is a block diagram illustrating a configuration of an image processing apparatus.

【図6】画像処理装置の概略動作を示すフローチャー
ト。
FIG. 6 is a flowchart illustrating a schematic operation of the image processing apparatus.

【図7】画像処理に係わるタイムチャート。FIG. 7 is a time chart related to image processing.

【図8】画像処理に係わるタイムチャート。FIG. 8 is a time chart relating to image processing.

【図9】画像処理に係わるタイムチャート。FIG. 9 is a time chart related to image processing.

【図10】図5の詳細を示すブロック図。FIG. 10 is a block diagram showing details of FIG. 5;

【図11】図5の詳細を示すブロック図。FIG. 11 is a block diagram showing details of FIG. 5;

【図12】図5の詳細を示すブロック図。FIG. 12 is a block diagram showing details of FIG. 5;

【図13】図5の詳細を示すブロック図。FIG. 13 is a block diagram showing details of FIG. 5;

【図14】CCDの継ぎ目補正の説明図。FIG. 14 is an explanatory diagram of seam correction of a CCD.

【図15】CCDの継ぎ目補正の説明図。FIG. 15 is an explanatory diagram of seam correction of a CCD.

【図16】図5の詳細を示すブロック図。FIG. 16 is a block diagram showing details of FIG. 5;

【図17】CCDの主・副走査を示す図。FIG. 17 is a diagram showing main and sub-scanning of the CCD.

【図18】プリンタ部の主・副走査を示す図。FIG. 18 is a diagram illustrating main / sub scanning of the printer unit.

【図19】画像編集の説明図。FIG. 19 is an explanatory diagram of image editing.

【図20】図16のブロック図におけるタイムチャー
ト。
FIG. 20 is a time chart in the block diagram of FIG. 16;

【図21】画像編集の説明図。FIG. 21 is an explanatory diagram of image editing.

【図22】画像編集の説明図。FIG. 22 is an explanatory diagram of image editing.

【図23】画像編集処理のフローチャート。FIG. 23 is a flowchart of an image editing process.

【図24】画像編集処理のフローチャート。FIG. 24 is a flowchart of an image editing process.

【図25】画像編集の説明図。FIG. 25 is an explanatory diagram of image editing.

【図26】画像編集の一例を示す図。FIG. 26 is a diagram showing an example of image editing.

【図27】画像編集の一例を示す図。FIG. 27 is a diagram showing an example of image editing.

【図28】画像編集の一例を示す図。FIG. 28 is a diagram showing an example of image editing.

【図29】原稿の載置領域の座標認識の説明図。FIG. 29 is a diagram illustrating the recognition of the coordinates of the document placement area.

【図30】座標認識のための回路図。FIG. 30 is a circuit diagram for coordinate recognition.

【図31】カセット選択処理のフローチャート。FIG. 31 is a flowchart of a cassette selection process.

【図32】倍率選択処理のフローチャート。FIG. 32 is a flowchart of a magnification selection process.

【図33】倍率選択処理のフローチャート。FIG. 33 is a flowchart of a magnification selection process.

【図34】原稿の傾き検知のフローチャート。FIG. 34 is a flowchart of document inclination detection.

【図35】センタリングの説明図。FIG. 35 is an explanatory diagram of centering.

【図36】センタリングの処理のフローチャート。FIG. 36 is a flowchart of a centering process.

【図37】画像編集の一例を示す図。FIG. 37 is a diagram showing an example of image editing.

【図38】ブックモードの説明図。FIG. 38 is an explanatory diagram of a book mode.

【図39】ブックモード処理のフローチャート。FIG. 39 is a flowchart of book mode processing.

【符号の説明】[Explanation of symbols]

A リーダ部 B プリンタ部 A−1 操作部 A reader unit B printer unit A-1 operation unit

フロントページの続き (72)発明者 有本 忍 東京都大田区下丸子3丁目30番2号キヤ ノン株式会社内 (72)発明者 鈴木 良行 東京都大田区下丸子3丁目30番2号キヤ ノン株式会社内 (56)参考文献 特開 昭55−40460(JP,A) 特開 昭57−78527(JP,A) 特開 昭56−64561(JP,A)Continuation of the front page (72) Inventor Shinobu Arimoto 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Yoshiyuki Suzuki 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (56) References JP-A-55-40460 (JP, A) JP-A-57-78527 (JP, A) JP-A-56-64561 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 原稿が載置される原稿台と、 前記原稿台に載置された原稿を走査する走査手段と、 原稿の所望の領域を指定する領域指定手段と、 記走査手段により走査された原稿の画像を記録材に
録する記録手段と、前記領域指定手段により指定された領域の縦方向と横方
向における先端位置と後端位置及び記録材のサイズに従
って、記録材の縦方向の端部と記録材に形成される指定
領域の画像の縦方向の端部との距離が、縦方向における
原稿の先端位置から後端位置までの長さを記録材の縦方
向の長さから差し引いた値の半分となるような、かつ、
記録材の横方向の端部と記録材に形成される指定領域の
画像の横方向の端部との距離が、横方向における原稿の
先端位置から後端位置までの長さを記録材の横方向の長
さから差し引いた値の半分となるような画像の移動量を
決定し、決定した移動量に基づいて前記原稿の画像を記
録材の中央に記録させる制御手段と、 を有することを特徴とする画像処理装置。
And 1. A platen on which an original is placed, a scanning means for scanning a document placed on the document table, a region designation means for designating a desired area of the document, scanning the front Symbol scanning means recording means for serial <br/> recorded on a recording medium the images of the document, the vertical and horizontal direction of the region specified by the region specifying means
According to the leading and trailing edge positions in the
The vertical edge of the recording material and the designation formed on the recording material
The distance between the region and the vertical end of the image is
Measure the length from the leading edge to the trailing edge of the document
Half of the value subtracted from the length of the direction, and
The horizontal edge of the recording material and the designated area formed on the recording material
The distance from the horizontal edge of the image is
Measure the length from the leading edge position to the trailing edge position in the horizontal direction of the recording material.
The amount of movement of the image that is half of the value subtracted from the
Is determined, and the image of the document is recorded based on the determined movement amount.
An image processing apparatus , comprising: control means for recording at the center of a recording material .
【請求項2】前記制御手段は、縦方向における指定領域2. The control device according to claim 1, wherein the control unit includes a designated area in a vertical direction.
の先端位置から後端位置までの長さを記録材の縦方向のLength from the leading edge to the trailing edge of the recording material
長さから差し引いた値または横方向における指定領域のThe value subtracted from the length or the specified area in the horizontal direction
先端位置から後端位置までの長さを記録材の横方向の長Measure the length from the leading edge position to the trailing edge position in the horizontal direction of the recording material.
さから差し引いた値が負になる場合、警告を行うことをIf the subtracted value is negative, a warning is issued.
特徴とする請求項1記載の画像処理装置。The image processing apparatus according to claim 1, wherein:
JP7007349A 1995-01-20 1995-01-20 Image processing device Expired - Lifetime JP2575300B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7007349A JP2575300B2 (en) 1995-01-20 1995-01-20 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7007349A JP2575300B2 (en) 1995-01-20 1995-01-20 Image processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP57185286A Division JPH0754958B2 (en) 1982-10-08 1982-10-21 Image processor

Publications (2)

Publication Number Publication Date
JPH07283935A JPH07283935A (en) 1995-10-27
JP2575300B2 true JP2575300B2 (en) 1997-01-22

Family

ID=11663482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7007349A Expired - Lifetime JP2575300B2 (en) 1995-01-20 1995-01-20 Image processing device

Country Status (1)

Country Link
JP (1) JP2575300B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5540460A (en) * 1978-09-14 1980-03-21 Fuji Xerox Co Ltd Image transfer device
JPS5664561A (en) * 1979-10-30 1981-06-01 Toshiba Corp Original scanner
JPS5778527A (en) * 1980-11-05 1982-05-17 Konishiroku Photo Ind Co Ltd Image recording method

Also Published As

Publication number Publication date
JPH07283935A (en) 1995-10-27

Similar Documents

Publication Publication Date Title
US5001574A (en) Image processing system
US4920502A (en) Image processing apparatus which selectably outputs image information
US6222545B1 (en) Image processing apparatus and method
JPS59223074A (en) Image processing device
JPH0946509A (en) Digital copying machine
US5276533A (en) Image processing system
JP2635319B2 (en) Image magnification device
JPS59189781A (en) Picture processing device
JP2575301B2 (en) Image processing device
JP2575300B2 (en) Image processing device
JP3170515B2 (en) Copier with facsimile function
JPH0754958B2 (en) Image processor
JPH0354502B2 (en)
JPH0564506B2 (en)
JPH0638028A (en) Image reader
JP2537192B2 (en) Image playback device
JPH0363271B2 (en)
JPH0519863B2 (en)
JPH06334854A (en) Color copying machine
JPH0752915B2 (en) Image processing device
JPH09116737A (en) Image processor and method therefor
JP2538571B2 (en) Copying device
JPH0937064A (en) Device and method for processing image
JPH02161869A (en) Image processor
JP2547748B2 (en) Image processing device