JPH10200670A - Image input / output interface - Google Patents
Image input / output interfaceInfo
- Publication number
- JPH10200670A JPH10200670A JP9004343A JP434397A JPH10200670A JP H10200670 A JPH10200670 A JP H10200670A JP 9004343 A JP9004343 A JP 9004343A JP 434397 A JP434397 A JP 434397A JP H10200670 A JPH10200670 A JP H10200670A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- input
- printer
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Facsimiles In General (AREA)
- Storing Facsimile Image Data (AREA)
- Record Information Processing For Printing (AREA)
Abstract
(57)【要約】
【課題】画像入力手段と画像出力手段のデータ転送速度
が異なっているため、画像データの同期がとりにくく即
時に複写することが難しかった。また、同一画像データ
を並んで印写することが難しいので、画像の拡大ができ
なかった。
【解決手段】画像入力手段1と、画像出力手段3と、両
者間を接続するインターフェイスを有する複写装置で、
インターフェイス部分に複数のメモリと駆動信号発振回
路4を設ける。駆動信号発振回路4は画像出力手段3の
同期信号に従い、印写領域に同期して一組のメモリが画
像入力手段からの画像データを保存する。また他のメモ
リが画像出力手段に対して保存していた画像データを出
力する。同期信号に従ってメモりを交替し、画像データ
を転送する。
(57) [Summary] Since the data transfer rates of the image input means and the image output means are different, it is difficult to synchronize the image data and it is difficult to copy immediately. Further, since it is difficult to print the same image data side by side, the image cannot be enlarged. A copying apparatus includes an image input unit, an image output unit, and an interface connecting the two.
A plurality of memories and a drive signal oscillation circuit 4 are provided in the interface portion. In accordance with the synchronization signal of the image output means 3, the drive signal oscillation circuit 4 causes a set of memories to store the image data from the image input means in synchronization with the printing area. The other memory outputs the stored image data to the image output means. The memory is changed according to the synchronization signal, and the image data is transferred.
Description
【0001】[0001]
【発明の属する技術分野】本発明は画像入出力インター
フェイスに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image input / output interface.
【0002】[0002]
【従来の技術】従来、画像入力装置と画像出力装置が別
体であったとき、上位制御装置としてコンピュータを用
いる方法が一般的であった。先ず、画像入力手段と画像
出力手段が別体であり、その間を汎用のインターフェイ
スが接続する従来例について図2を用いて説明する。2. Description of the Related Art Conventionally, when an image input device and an image output device are separate, a method of using a computer as a host control device has been generally used. First, a conventional example in which an image input means and an image output means are separate and a general-purpose interface is connected between them will be described with reference to FIG.
【0003】今、汎用のインターフェイスとは、一般に
コンピュータとスキャナ,コンピュータとプリンタ,コ
ンピュータと外部記憶機器などを接続する、シリアルイ
ンターフェイス(RS232Cなど)やパラレルインタ
ーフェイス(SASI,SCSIインターフェイスなど)を示
し、主に各コンピュタメーカ、周辺機器メーカが提供す
るインターフェイスである。The general-purpose interface generally indicates a serial interface (RS232C or the like) or a parallel interface (SASI, SCSI interface, or the like) for connecting a computer to a scanner, a computer to a printer, a computer to an external storage device, and the like. Is an interface provided by each computer maker and peripheral device maker.
【0004】従来、図2に示すように、画像入力手段1
と画像出力手段3が別体であり、汎用のインターフェイ
スで接続する複写システムでは、中央制御装置2が必要
であった。先ず中央制御装置であるコンピュータ2が、
汎用の双方向パラレルインターフェイス、特にSCSI
インターフェイスを通して、画像入力手段であるイメー
ジスキャナ1を制御して、画像データをコンピュータ内
部のメモリに蓄える。次にコンピュータ2は汎用のプリ
ンタインターフェイスを通して画像出力手段であるプリ
ンタ3に対して画像データを出力する。今、プリンタが
ページプリンタであったとき、プリンタ内部の画像メモ
リに蓄積される。プリンタはこれらの送られてきた画像
データに従って画像を処理して出力する。Conventionally, as shown in FIG.
And the image output means 3 are separate units, and in a copying system connected by a general-purpose interface, the central control unit 2 is required. First, the computer 2, which is the central control device,
General-purpose bidirectional parallel interface, especially SCSI
The image scanner 1 serving as image input means is controlled through an interface to store image data in a memory inside the computer. Next, the computer 2 outputs image data to the printer 3 serving as image output means through a general-purpose printer interface. Now, when the printer is a page printer, it is stored in an image memory inside the printer. The printer processes and outputs an image according to the sent image data.
【0005】従来の方法であれば、スキャナからフレー
ムメモリへ、フレームメモリからプリンタへと複数回画
像データを転送するので、それぞれスキャナと同期した
速度でのデータ転送、プリンタと同期した速度でのデー
タ転送を行うことができ、スキャナとプリンタの同期を
とる必要が無い利点があった。しかし画像データを画像
入力手段から画像出力手段への転送途中でメモリなどに
蓄積するために、メモリなどに読み書き時間が必要とな
り複写に要する時間が長くなっていた。According to the conventional method, image data is transferred a plurality of times from the scanner to the frame memory and from the frame memory to the printer. Therefore, data transfer at a speed synchronized with the scanner and data transfer at a speed synchronized with the printer are performed. There is an advantage that the transfer can be performed and there is no need to synchronize the scanner and the printer. However, since the image data is stored in a memory or the like during the transfer from the image input unit to the image output unit, reading and writing time is required in the memory and the like, and the time required for copying is long.
【0006】特開平7−156460 号公報で、スキャナで読
みとったデータを上位装置を介することなくプリンタで
直接印刷出力し、これによって印刷出力の迅速化および
操作性および汎用性の改善を図ったプリンタ装置を提供
するとある。Japanese Patent Laid-Open Publication No. Hei 7-156460 discloses a printer in which data read by a scanner is directly printed out by a printer without passing through a host device, thereby speeding up the printout and improving operability and versatility. There is a provision of equipment.
【0007】しかしこの構成ではフレームメモリを用い
ているため、スキャナからの画像データを一度フレーム
メモリに蓄え、フレームメモリからプリンタへ画像デー
タを出力しており、読みとりから印刷まで時間を要して
いた。However, in this configuration, since the frame memory is used, the image data from the scanner is temporarily stored in the frame memory, and the image data is output from the frame memory to the printer, and it takes time from reading to printing. .
【0008】[0008]
【発明が解決しようとする課題】前記のように画像を読
み取り、後に印刷する方法では、画像データを保持する
メモリが必要になり、高価格になる。また一度フレーム
メモリに画像データを蓄えるため、画像の読みとりと同
時に印刷することが難しかった。As described above, the method of reading an image and printing it later requires a memory for holding the image data, which is expensive. Further, since the image data is once stored in the frame memory, it is difficult to read and print the image at the same time.
【0009】フレームメモリを用いないで印字しようと
したとき、プリンタの印字速度に応じたプリンタの同期
信号と、スキャナの読みとり速度に応じた駆動信号が異
なるタイミングで動いているため、即時に複写すること
が難しかった。When printing is performed without using the frame memory, the printer synchronization signal corresponding to the printing speed of the printer and the drive signal corresponding to the reading speed of the scanner are moving at different timings, so that copying is performed immediately. It was difficult.
【0010】ただ単にスキャナからの画像データを少量
のメモリに蓄え、プリンタの印字速度にあわせて画像デ
ータをメモリから出力するだけでは、FIFOメモリと
ほとんど変わらない。Simply storing image data from a scanner in a small amount of memory and outputting the image data from the memory in accordance with the printing speed of a printer is almost the same as in a FIFO memory.
【0011】しかし、低解像度の画像データを高解像度
のプリンタで出力するときや、画像を拡大して出力する
とき、一つの画像データを部分的に複数回印字する必要
がある。However, when outputting low-resolution image data with a high-resolution printer or when enlarging and outputting an image, it is necessary to partially print one image data a plurality of times.
【0012】[0012]
【課題を解決するための手段】本発明は、画像を読み取
り画像情報にする画像入力手段と、画像情報を印刷する
画像出力手段と、両者を接続する汎用のインターフェイ
スを有する複写装置において、画像出力手段の水平同期
信号,垂直同期信号,画素同期信号などの同期信号に従
って、画像出力における印写領域を検知するとともに、
インターフェイスと画像出力手段との間に少なくとも1
ライン以上のメモリを複数設け、一方のメモリを画像入
力手段からの画像データの入力に、他方のメモリを画像
出力手段への出力に用いるため切り換える切換手段を設
ける。SUMMARY OF THE INVENTION According to the present invention, there is provided a copying apparatus having image input means for reading an image into image information, image output means for printing the image information, and a general-purpose interface for connecting the two. In accordance with synchronization signals such as a horizontal synchronization signal, a vertical synchronization signal, and a pixel synchronization signal, a printing area in an image output is detected.
At least one between the interface and the image output means
A plurality of memories of lines or more are provided, and switching means is provided for switching one memory to use for inputting image data from the image input means and the other memory to use for outputting to the image output means.
【0013】更に画像入力のための駆動信号を所定のタ
イミングで発生する駆動信号発振回路を設けたり、一度
に入力または出力するデータ量を設定するカウンタを設
け、所定のデータ量で画像の入出力を停止できる駆動信
号発生回路を設けたりすることで高速な画像データの入
出力ができる。Further, a drive signal oscillating circuit for generating a drive signal for image input at a predetermined timing is provided, and a counter for setting an amount of data to be input or output at a time is provided. By providing a drive signal generation circuit capable of stopping the operation, image data can be input and output at high speed.
【0014】これにより、一方のメモリが入力している
間に、他方のメモリが1度に限らず複数回出力すること
ができ、容易に画像の拡大が行える。Thus, while one memory is being input, the other memory can output a plurality of times, not just once, and the image can be easily enlarged.
【0015】[0015]
【発明の実施の形態】画像入力手段とは、主にイメージ
スキャナのことを示し、デジタルスチルカメラなどの画
像入力機器を示す。また画像出力手段は、主にレーザプ
リンタなどのページプリンタのことを示すが、インクジ
ェットプリンタや熱転写型プリンタなどのシリアルプリ
ンタ、その他の画像出力機器を示す。以下、画像入力手
段をスキャナ、画像出力手段をプリンタと記述する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The image input means mainly means an image scanner, and means an image input device such as a digital still camera. The image output means mainly refers to a page printer such as a laser printer, but refers to a serial printer such as an ink jet printer or a thermal transfer printer, and other image output devices. Hereinafter, the image input means is described as a scanner, and the image output means is described as a printer.
【0016】本発明の特徴は、フレームメモリを用い
ず、プリンタとスキャナの間に複数ラインの画像データ
を蓄積できる複数組のメモリを設け、プリンタ側とスキ
ャナ側で別のクロックで駆動するとともに、スキャナと
プリンタがプリンタの同期信号で同期をとって、一方の
メモリはスキャナから画像データを保存し、他方のメモ
リはプリンタへの画像データの送出を行い、画像を印字
することにある。A feature of the present invention is that a plurality of sets of memories capable of storing a plurality of lines of image data are provided between a printer and a scanner without using a frame memory, and the printer side and the scanner side are driven by different clocks. One memory stores image data from the scanner, and the other memory sends image data to the printer and prints an image, by synchronizing the scanner and the printer with a printer synchronization signal.
【0017】本発明の実施例を図1に示し、以下に説明
する。以下複写の手順に従って詳細に説明する。なお、
図は複写するときの画像データがスキャナからプリンタ
へ転送される状態を説明するものであって、スキャナや
プリンタの初期設定の方法や制御方法を十分に説明でき
るものではない。An embodiment of the present invention is shown in FIG. 1 and will be described below. The details will be described below in accordance with the copying procedure. In addition,
The figure illustrates a state in which image data at the time of copying is transferred from the scanner to the printer, and cannot sufficiently explain a method of initial setting or control of the scanner or the printer.
【0018】画像入力装置1と画像出力装置3との間の
インターフェイス間に複写回路を置く。複写回路には、
画像入力手段と画像出力手段を制御する複写制御手段を
設けて、先ず画像入力手段及び画像出力手段の初期設定
を行わなくてはいけない。画像入力装置1及び画像出力
装置3の電源を投入した後、所望の複写画像を得るため
に色,画像サイズ,倍率などを選択し、それぞれを設定
しなければならない。この設定方法は従来より行われて
いるコンピュータからの設定と同様の手順で行われる。
一般にスキャナ1にはホワイトバランス調整,読みとり
サイズ,解像度,色,階調数、などが設定される。プリ
ンタ3に対しては色,メディアなどが設定される。設定
を行うには複写制御手段に設けられたカスタムICなど
を用いた設定回路を用いることが望ましいが、汎用のコ
ンピュータを使っても良い。A copying circuit is provided between the interface between the image input device 1 and the image output device 3. In the copy circuit,
Copy control means for controlling the image input means and the image output means must be provided, and the image input means and the image output means must first be initialized. After turning on the power of the image input device 1 and the image output device 3, a color, an image size, a magnification, and the like must be selected and set in order to obtain a desired copy image. This setting method is performed in the same procedure as the conventional setting from a computer.
In general, the scanner 1 is set with white balance adjustment, reading size, resolution, color, number of gradations, and the like. Colors, media, and the like are set for the printer 3. To perform the setting, it is desirable to use a setting circuit using a custom IC or the like provided in the copy control means, but a general-purpose computer may be used.
【0019】次に複写ボタンなどを用いて複写開始命令
を出し、プリンタは印写できるように起動し、スキャナ
はデータ要求信号を発生させる。Next, a copy start command is issued by using a copy button or the like, the printer is activated so as to perform printing, and the scanner generates a data request signal.
【0020】本発明の特徴である駆動信号発振手段は、
複写回路内部で複写制御手段とともに置かれる。The driving signal oscillating means, which is a feature of the present invention, comprises:
It is located together with the copy control means inside the copy circuit.
【0021】スキャナと複写回路との接続には、汎用の
インターフェイスが好ましく、双方向パラレルインター
フェイス、好ましくはSCSIインターフェイスなどが
良い。また複写回路とプリンタとの接続には、双方向パ
ラレルインターフェイスに加えてプリンタからの同期信
号の配線が必要である。以下は双方向パラレルインター
フェイスの中でもSCSIインターフェイスの規格(A
NSI X3.131−1994,参考文献:菅谷誠一
著「SCSI−2詳細解説 最新SCSI規格とコマン
ドリファレンス」CQ出版社)を基にしており、各画像
機器メーカ、各インターフェイスメーカが提供する双方
向パラレルインターフェイスの名称と異なる場合があ
る。同様の動作をする信号線があるので、置き換えて考
慮する必要がある。For connection between the scanner and the copying circuit, a general-purpose interface is preferable, and a bidirectional parallel interface, preferably a SCSI interface, etc. is preferable. In addition, the connection between the copying circuit and the printer requires wiring of a synchronization signal from the printer in addition to the bidirectional parallel interface. The following is the SCSI interface standard (A
NSI X3.131-1994, Reference: Seiichi Sugaya, "SCI-2 Detailed Description Latest SCSI Standards and Command References, CQ Publishing Company", bidirectional parallel provided by each imaging equipment manufacturer and each interface manufacturer May be different from interface name. Since there is a signal line that performs the same operation, it is necessary to replace the signal line and consider it.
【0022】図1は、二つのラインメモリ5a,5b
と、切換手段10と、駆動信号発振手段4を有する本発
明の実施例の説明図である。主にレーザプリンタは印字
開始をすると画像データを待って印字することができな
いため、プリンタはスキャナから印字するのに十分な画
像データを得なければならない。今、スキャナとプリン
タの間にラインメモリを設けることによって、プリンタ
が求める画素クロック(1画素を印字するのに必要な周
期)でラインメモリから画像データを入力することがで
きる。しかし一つのラインメモリでは、スキャナからの
画像データを保存するモードと、プリンタへ画像データ
を送出するモードと、二つのモードを切り替えなければ
ならず、高速印字するプリンタ(特にレーザプリンタ)
ではプリンタの印字速度に画像データの転送が間に合わ
ず、二つのモードを余裕を持って切り替えることができ
なかった。FIG. 1 shows two line memories 5a and 5b.
FIG. 3 is an explanatory diagram of an embodiment of the present invention having a switching unit 10 and a driving signal oscillating unit 4. Mainly, when a laser printer starts printing, it cannot wait for image data to print, so the printer must obtain enough image data from a scanner to print. Now, by providing a line memory between the scanner and the printer, it is possible to input image data from the line memory at a pixel clock (period necessary for printing one pixel) required by the printer. However, one line memory has to switch between a mode for storing image data from a scanner and a mode for sending image data to a printer, and a printer for high-speed printing (particularly a laser printer)
In this case, the transfer of image data could not keep up with the printing speed of the printer, and the two modes could not be switched with a margin.
【0023】そこで本発明のように二つのラインメモリ
5a,5bと切換手段10を用いることにより、一方の
ラインメモリはスキャナからの画像データ6を保存する
モードを、他方のラインメモリにはプリンタへの画像デ
ータ7を送出するモードを実行することにより、画像デ
ータの入力と出力を同時に行うことができる。例えばあ
る水平同期信号HSYNCが入力されたとき、メモリ5
aはスキャナからの画像データを入力,保存し、またメ
モリ5bはプリンタへ画像データを出力する。次に再び
水平同期信号HSYNCが入力されたとき、切換手段に
よりメモり5aとメモリ5bは交替してデータの入出力
を行う。Therefore, by using the two line memories 5a and 5b and the switching means 10 as in the present invention, one of the line memories is set to the mode for storing the image data 6 from the scanner, and the other line memory is set to the printer. By executing the mode for transmitting the image data 7, the input and output of the image data can be performed simultaneously. For example, when a certain horizontal synchronization signal HSYNC is input, the memory 5
a inputs and stores image data from a scanner, and the memory 5b outputs image data to a printer. Next, when the horizontal synchronizing signal HSYNC is input again, the memory 5a and the memory 5b alternately input and output data by the switching means.
【0024】切換手段が二つのメモリを切り替えるに
は、プリンタ3の同期信号を用いる。水平同期信号や垂
直同期信号などの印字領域の端を示す信号を利用するこ
とにより、印字開始と読み込み開始を決定できる。プリ
ンタは同期信号に従って印字を開始し所定の時間で印字
を終わり、また同期信号を待って次の行へ進むことにな
る。スキャナは同期信号が来たら読み込みを開始し、次
の同期信号がくるまでに所定の画像データを読み込まな
ければならない。The switching means uses the synchronization signal of the printer 3 to switch between the two memories. The start of printing and the start of reading can be determined by using a signal indicating the end of the printing area, such as a horizontal synchronization signal or a vertical synchronization signal. The printer starts printing according to the synchronization signal, finishes printing at a predetermined time, and proceeds to the next line after waiting for the synchronization signal. The scanner starts reading when a synchronization signal comes, and must read predetermined image data before the next synchronization signal comes.
【0025】図3に示すようにプリンタの画素クロック
とスキャナの読み込み速度は必ずしも同じである必要が
ない。プリンタの画素クロックはプリンタの印字速度に
依存する。それに対してスキャナの読み込み速度は同期
信号と次の同期信号との間の時間で所定の画像データを
読み込めればいいため、プリンタの画素クロックに同期
する必要がない。As shown in FIG. 3, the pixel clock of the printer and the reading speed of the scanner need not always be the same. The pixel clock of the printer depends on the printing speed of the printer. On the other hand, the reading speed of the scanner need only be able to read predetermined image data in the time between the synchronizing signal and the next synchronizing signal, and therefore does not need to be synchronized with the pixel clock of the printer.
【0026】そこでスキャナから画像データを読み込む
速度を決定する駆動信号発振回路を設けることによっ
て、画素クロックと異なる速度で画像データを読み込む
ことができる。この駆動信号発生回路から発生する駆動
信号Rclkは、スキャナから読み込む所定量の画像データ
6に必要な信号パルスであり、プリンタから送出される
同期信号と次の同期信号の間で発生する。例えばプリン
タの水平同期信号HSYNCが500nsごとにロー(Lo
w)になり、印字領域を示すロー状態が400ns続い
てハイ(Hi)状態に戻るとき、1ライン2000ドッ
トとするとプリンタに送出する画素クロックWclkは1ド
ット0.2ns の周期になる。それに対して、読み込み
は500nsで行えばいいため、1ドット0.25ns
以下でいいことになる。つまり4MHz以上でスキャナ
に対して読みとりの信号Rclkを入れることによって実現
できる。具体的には読みとりの信号であるスキャナから
のデータ要求信号REQに対してデータ応答信号ACK
を所定のタイミング、前述の場合、0.25ns ごとに
送出することによって実現できる。ちなみにプリンタの
画素同期信号は、前述の場合、5MHzとなる。Therefore, by providing a drive signal oscillation circuit that determines the speed at which image data is read from the scanner, image data can be read at a speed different from the pixel clock. The drive signal Rclk generated from the drive signal generation circuit is a signal pulse necessary for a predetermined amount of image data 6 read from the scanner, and is generated between a synchronization signal sent from the printer and the next synchronization signal. For example, the horizontal synchronizing signal HSYNC of the printer becomes low (Lo) every 500 ns.
w), and when the low state indicating the print area returns to the high (Hi) state for 400 ns and then returns to the high (Hi) state, the pixel clock Wclk sent to the printer has a cycle of 0.2 ns for one dot, assuming 2000 dots per line. On the other hand, since reading can be performed in 500 ns, one dot is 0.25 ns.
The following is good. That is, it can be realized by inputting a read signal Rclk to the scanner at 4 MHz or more. Specifically, a data response signal ACK is received in response to a data request signal REQ from the scanner, which is a reading signal.
At a predetermined timing, that is, every 0.25 ns in the case described above. Incidentally, the pixel synchronization signal of the printer is 5 MHz in the case described above.
【0027】前述のように読み込む速度は1ラインごと
の同期信号に従って読み込み始め、ちょうど読み込み終
わったときに次の同期信号が来るぐらいが適当である。
しかし1ライン分の画像データをメモリに書き込み終わ
ってしまった場合、次の同期信号がくるまで停止するよ
うにする。As described above, the reading speed is appropriately set so that reading is started in accordance with the synchronization signal for each line, and the next synchronization signal comes just after the reading is completed.
However, when one line of image data has been written to the memory, the operation is stopped until the next synchronization signal comes.
【0028】メモリの容量は少ない方がよく、望ましく
は1ライン分のメモリを二つのみがよい。1ライン以上
の容量のメモリにしたり、メモリを複数にすることによ
って、画像データの読み書きに時間的な余裕ができ、画
像処理などに応用することができる。また逆に1ライン
以下のメモリにする事もできるが、そのときには画像の
同期位置を複数設けなければならない。例えば半ライン
分のメモリを二つにしたとき、印写画像の主走査方向中
央に同期信号を与えなければならず、新たにプリンタの
画素同期信号を検知する手段を設ける必要がある。The smaller the capacity of the memory is, the better, preferably, only two memories for one line. By using a memory having a capacity of one line or more, or using a plurality of memories, there is ample time for reading and writing image data, and the invention can be applied to image processing and the like. Conversely, a memory of one line or less can be used, but at that time, a plurality of image synchronization positions must be provided. For example, when two half-line memories are provided, a synchronization signal must be provided at the center of the printed image in the main scanning direction, and it is necessary to newly provide a means for detecting a pixel synchronization signal of the printer.
【0029】1回に扱う画像データの容量はのようにな
るが、1回に読み込む画像データ量が決まっているの
で、本発明の特徴を示す別の実施例としてプリンタから
の同期信号をもとに所定量の画像データをスキャナの最
高速度で読みとり、メモリに保存する方法がある。この
場合、プリンタの同期信号により読みとりを開始した
後、インターフェイスのデータ要求信号REQまたはデ
ータ応答信号ACKの数を図4に示す駆動信号カウンタ
8で数えながら高速に画像データを読み込み、所定の数
になったら読み込みを停止する。この方法では画像の読
み込みに一定周期の発信器を必要とせず、REQに対し
て即時にACKを発行するので、スキャナの最高速度で
読み込みができる。The capacity of image data to be handled at one time is as follows. Since the amount of image data to be read at one time is determined, another embodiment showing the feature of the present invention is based on a synchronization signal from a printer. There is a method in which a predetermined amount of image data is read at the maximum speed of the scanner and stored in a memory. In this case, after reading is started by the synchronization signal of the printer, image data is read at high speed while counting the number of data request signals REQ or data response signals ACK of the interface by the drive signal counter 8 shown in FIG. Stop reading when it is done. This method does not require a transmitter having a fixed period for reading an image, and immediately issues an ACK to the REQ, so that reading can be performed at the maximum speed of the scanner.
【0030】また別の実施例として、事前に1ラインの
ドット数または画像データ量をカウンタ8に設定,記憶
させ、そのカウンタの数だけ1ラインで読み込みをす
る。この方法を用いると、実施例では、所定の1通りの
数でしかカウンタで読み込みができなかったが、本実施
例では複数の数を設定することができ、メディアのサイ
ズが変わっても対応することができる。As another embodiment, the number of dots or the amount of image data for one line is set and stored in the counter 8 in advance, and the number of the counter is read in one line. When this method is used, in the embodiment, reading can be performed by the counter only with a predetermined number, but in this embodiment, a plurality of numbers can be set, and even if the size of the medium changes, it can be handled. be able to.
【0031】以上はレーザプリンタなどのページプリン
タの画像データの同期をとる実施例であったが、インク
ジェットプリンタを含めたシリアルプリンタは以下のよ
うな実施例をもって画像データの同期をとる。Although the above is an embodiment for synchronizing image data of a page printer such as a laser printer, a serial printer including an ink-jet printer synchronizes image data with the following embodiment.
【0032】シリアルプリンタの場合、一般的に複数個
のノズルを、ステッピングモータなどの微小変位のでき
るモータによって移動して印字する。従ってステッピン
グモータの駆動に用いる駆動パルス、またはモータの変
位に応じて発生する位置検知信号をもとに同期をとり、
画像データを転送する。この場合は、図5に示す同期信
号カウンタ9を設けて、過去の原点からのパルス数や時
間から現在位置がどこであるか検知する。In the case of a serial printer, printing is generally performed by moving a plurality of nozzles by a motor capable of minute displacement such as a stepping motor. Therefore, synchronization is achieved based on the drive pulse used for driving the stepping motor or the position detection signal generated according to the displacement of the motor.
Transfer image data. In this case, a synchronization signal counter 9 shown in FIG. 5 is provided to detect where the current position is from the number of pulses from the past origin and the time.
【0033】そのほか、モータの相原点で生じる信号を
用いたり、プリントヘッドの機械的位置を検知するセン
サからの信号を用いたりする。これらの方法では、電気
的または機械的原点をとるため、絶対的な位置ずれを低
減して同期をとりながら画像を読み取ることができる
(図示せず)。In addition, a signal generated at the phase origin of the motor is used, or a signal from a sensor for detecting the mechanical position of the print head is used. In these methods, since an electrical or mechanical origin is obtained, an image can be read while synchronizing with reducing an absolute displacement (not shown).
【0034】多色複写や高解像度での複写を行うとき、
スキャナからプリンタへ送られる画像データは膨大な量
になり、画像の転送がプリンタの要求する印字速度に間
に合わない場合がある。それを改善するにはインターフ
ェイスはできるだけ高速で広いものを用いると良い。例
えば、従来の双方向パラレルインターフェースよりも、
SCSIインターフェイス、更にFastSCSIやWideSCSIや
UrtraSCSI と呼ばれる高速かつデータ線数の多いインタ
ーフェイスを用いることによってプリンタの印字速度に
応じた画像の読み取りが必要である。When performing multicolor copying or copying at high resolution,
The amount of image data sent from the scanner to the printer is enormous, and the image transfer may not be able to keep up with the printing speed required by the printer. To improve it, use a wide and fast interface as possible. For example, rather than the traditional bidirectional parallel interface,
SCSI interface, FastSCSI, WideSCSI,
It is necessary to read an image according to the printing speed of a printer by using an interface called UrtraSCSI, which has a high speed and a large number of data lines.
【0035】以上の説明で画像出力手段としてページプ
リンタ,シリアルプリンタについて説明した。画像入力
手段としてはスキャナについて説明したが、これについ
ては前述のように、デジタルスチルカメラ,ビデオカメ
ラなどの画像入力機器を持ちいることができる。デジタ
ルスチルカメラなどの画像メモリを有する画像入力機器
はスキャナと同様にデータ転送する場合が多く、同様に
複写を行うことができる。ものによってはシリアルデー
タ転送を行うシリアルインターフェースを用いているも
のがあるが、この場合、出力装置で再現する階調数を下
げ、パルス幅変調などの空間変調を含む二値処理を行っ
てみたり、印写されるドットを大きくするように画像を
拡大してみたりして、少ない画像データで複写する方法
を用いると良い。In the above description, a page printer and a serial printer have been described as image output means. Although a scanner has been described as the image input means, it is possible to have an image input device such as a digital still camera or a video camera as described above. An image input device having an image memory such as a digital still camera often transfers data in the same manner as a scanner, and can perform copying in a similar manner. Some products use a serial interface that performs serial data transfer.In this case, reduce the number of tones reproduced by the output device and try binary processing including spatial modulation such as pulse width modulation. It is preferable to use a method of enlarging an image so as to enlarge the dots to be printed and copying the image with a small amount of image data.
【0036】本発明の特徴を示す実施例として、画像の
拡大に有効な実施例について説明する。前述の場合、1
ラインの画像データを入力したとき、他方で1ラインの
画像データの出力を行っていたが、本発明では1ライン
の入力に対して同一データ、2ライン以上の出力ができ
る。例えば2ラインの出力を行う場合、1ラインの画像
データが入力される間隔に2ライン分の画像データの出
力を行えばよい。また逆に考えると、2ライン分の画像
データ出力をしている間、スキャナは1ライン分の画像
データを読みとればよい。従ってこの場合、プリンタか
らの同期信号が2回で1ライン分であるため、2回の信
号で1回の信号を出す同期信号カウンタが必要となる。
同様にして拡大の度合いに応じて複数回画像データを出
力するとよい。As an embodiment showing the features of the present invention, an embodiment effective for enlarging an image will be described. In the above case, 1
When one line of image data is input, one line of image data is output on the other side. In the present invention, the same data and two or more lines can be output for one line of input. For example, when outputting two lines, it is sufficient to output two lines of image data at intervals at which one line of image data is input. Conversely, the scanner only needs to read one line of image data while outputting two lines of image data. Therefore, in this case, since the synchronization signal from the printer is twice for one line, a synchronization signal counter that outputs one signal with two signals is required.
Similarly, image data may be output a plurality of times according to the degree of enlargement.
【0037】[0037]
【発明の効果】本発明は、画像出力手段の同期信号をも
とに、複数のメモリを用いて、一方のメモリが画像デー
タを画像入力手段から画像を入力して、他方のメモリか
ら即時に出力しているため、複写速度が速く、フレーム
メモリなどをもたないため低価格でかつ高精細,高画質
な印刷画像を得ることが出来る。According to the present invention, a plurality of memories are used based on a synchronization signal of an image output means, and one of the memories inputs image data from the image input means and instantly inputs the image data from the other memory. Since the output is performed, the copying speed is high, and since there is no frame memory, a low-cost, high-definition, high-quality print image can be obtained.
【0038】また、メモリが画像入力している間に、複
数回の画像出力ができるため、容易に画像の拡大ができ
る。Further, since the image can be output a plurality of times while the image is being input to the memory, the image can be easily enlarged.
【図1】画像出力手段の同期信号に同期して2組のライ
ンメモリに入力または出力する本発明の実施例の説明
図。FIG. 1 is an explanatory diagram of an embodiment of the present invention which inputs or outputs to two sets of line memories in synchronization with a synchronization signal of an image output unit.
【図2】画像入力手段と画像出力手段の間に中央処理装
置が必要な従来の例の説明図。FIG. 2 is an explanatory diagram of a conventional example that requires a central processing unit between an image input unit and an image output unit.
【図3】プリンタが必要とする画素同期信号Wclkとスキ
ャナを駆動する駆動信号が別クロックである実施例の説
明図。FIG. 3 is an explanatory diagram of an embodiment in which a pixel synchronization signal Wclk required by a printer and a drive signal for driving a scanner are different clocks.
【図4】インターフェイスで送受信するデータ要求信号
とデータ応答信号のパルス数を数えるカウンタを設けた
実施例の説明図。FIG. 4 is an explanatory diagram of an embodiment in which a counter for counting the number of pulses of a data request signal and a data response signal transmitted and received by an interface is provided.
【図5】プリンタから送信される同期信号から所定の時
間またはパルス数を数えるカウンタを設けた実施例の説
明図。FIG. 5 is an explanatory diagram of an embodiment in which a counter for counting a predetermined time or the number of pulses from a synchronization signal transmitted from a printer is provided.
1…画像入力手段、3…画像出力手段、4…駆動信号発
振回路、5a,5b…メモリ、6…スキャナからの画像
データ、7…プリンタへの画像データ、10…切換手
段。DESCRIPTION OF SYMBOLS 1 ... Image input means, 3 ... Image output means, 4 ... Drive signal oscillation circuit, 5a, 5b ... Memory, 6 ... Image data from a scanner, 7 ... Image data to a printer, 10 ... Switching means.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 深野 善信 茨城県日立市大みか町七丁目1番1号 株 式会社日立製作所日立研究所内 ──────────────────────────────────────────────────の Continuing from the front page (72) Inventor Yoshinobu Fukano 7-1-1, Omika-cho, Hitachi City, Ibaraki Prefecture Within Hitachi Research Laboratory, Hitachi, Ltd.
Claims (3)
手段と、上記画像データを印写画像にする画像出力手段
と、その間でデータを転送する汎用のインターフェイス
とを含む複写装置において、上記インターフェイスと上
記画像出力手段との間に複数ラインのメモリを設け、そ
の中で1ライン以上の上記メモリは上記画像出力手段の
同期信号に同期して上記画像出力手段へのデータを出力
し、他方の1ライン以上のメモリは上記画像出力手段の
同期信号に同期して上記画像入力手段からの上記画像デ
ータを入力する様に入出力方向を切り換える切換手段を
設け、 上記画像入力手段からの上記画像データを入力するため
の駆動信号の発振をする駆動信号発振回路を設けたこと
を特徴とする画像入出力インターフェイス。1. A copying apparatus comprising: an image input means for reading an image and converting the image data into image data; an image output means for converting the image data into a printed image; and a general-purpose interface for transferring data therebetween. A memory of a plurality of lines is provided between the image output means and one or more of the memories outputs data to the image output means in synchronization with a synchronization signal of the image output means. The memory of the line or more is provided with switching means for switching the input / output direction so as to input the image data from the image input means in synchronization with the synchronization signal of the image output means, and the image data from the image input means is provided. An image input / output interface, comprising a drive signal oscillation circuit for oscillating a drive signal for input.
手段と、画像データを印写画像にする画像出力手段と、
その間でデータを転送する汎用のインターフェイスを有
する複写装置において、インターフェイスと画像出力装
置との間に複数ライン以上のメモリを設け、その中で少
なくとも1ライン以上のメモリは画像出力手段の同期信
号に同期して画像出力手段へのデータを出力し、他方の
少なくとも1ライン以上のメモリは画像出力手段の同期
信号に同期して画像入力手段からの画像データを入力す
る様に入出力方向を切り換える切換手段を設けるととも
に、 1ライン以上の読みとり画素数を任意に設定できるカウ
ンタと、上記画像出力手段の同期信号をもとに上記カウ
ンタに設定された所定の数だけ上記画像入力手段に駆動
信号を発生する駆動信号発生回路を設けたことを特徴と
する画像入出力インターフェイス。2. An image input means for reading an image and using the image data as image data; an image output means for converting the image data into a printed image;
In a copying apparatus having a general-purpose interface for transferring data therebetween, a memory having a plurality of lines or more is provided between the interface and the image output device, and at least one line of the memory is synchronized with a synchronization signal of the image output means. Switching means for outputting data to the image output means, and switching the input / output direction so as to input image data from the image input means in synchronization with a synchronization signal of the image output means. And a counter capable of arbitrarily setting the number of pixels to be read on one or more lines, and generating a drive signal to the image input means by a predetermined number set in the counter based on a synchronization signal of the image output means. An image input / output interface comprising a drive signal generation circuit.
期信号,画素同期信号のうち少なくとも一つの同期信号
をもとに、所定の時間または所定のパルス数で上記切換
手段を動作させる同期信号を発生する同期手段を有する
請求項1または2の画像入出力インターフェイス。3. A synchronizing signal for operating said switching means for a predetermined time or a predetermined number of pulses based on at least one of a horizontal synchronizing signal, a vertical synchronizing signal and a pixel synchronizing signal of said image output means. 3. The image input / output interface according to claim 1, further comprising a synchronizing means for generating the image.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9004343A JPH10200670A (en) | 1997-01-14 | 1997-01-14 | Image input / output interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9004343A JPH10200670A (en) | 1997-01-14 | 1997-01-14 | Image input / output interface |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH10200670A true JPH10200670A (en) | 1998-07-31 |
Family
ID=11581796
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9004343A Pending JPH10200670A (en) | 1997-01-14 | 1997-01-14 | Image input / output interface |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH10200670A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011194689A (en) * | 2010-03-18 | 2011-10-06 | Ricoh Co Ltd | Data transfer system, image forming apparatus, data transfer method, and program |
-
1997
- 1997-01-14 JP JP9004343A patent/JPH10200670A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011194689A (en) * | 2010-03-18 | 2011-10-06 | Ricoh Co Ltd | Data transfer system, image forming apparatus, data transfer method, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5894546A (en) | Image processing apparatus for converting multivalued image into binary image and outputting binary image | |
| JP2702379B2 (en) | High speed thermal transfer printer | |
| JP2647534B2 (en) | Output device | |
| JPH10200670A (en) | Image input / output interface | |
| KR100208696B1 (en) | Printer | |
| JPH10136193A (en) | Image input / output interface | |
| JP2989649B2 (en) | Image control device | |
| JP3126404B2 (en) | Video camera with interface | |
| JPH01171946A (en) | Printing method | |
| JP2000312293A (en) | Printer device | |
| JP2860195B2 (en) | Recording apparatus and method | |
| CA2138918C (en) | Printing apparatus having toner saving function and printing method for use with the same | |
| JP3380393B2 (en) | Image forming device | |
| JP2000137803A (en) | Interface device and image forming device | |
| JPH06262818A (en) | Image processing device | |
| JP2001211292A (en) | Scanner control method, scanner, copy printer, mediation device and storage medium | |
| JP3233430B2 (en) | Video printer control circuit | |
| JP2839099B2 (en) | Image forming device | |
| JP3262367B2 (en) | Image processing method | |
| JPH06106792A (en) | Color printer | |
| JPS63290460A (en) | Picture display recorder | |
| JPH08292860A (en) | Printer device | |
| JP2001211287A (en) | Image forming device | |
| JPH05131686A (en) | Recorder | |
| JP2007079735A (en) | Image processing apparatus and image processing method |