JPH01294041A - Recording apparatus - Google Patents

Recording apparatus

Info

Publication number
JPH01294041A
JPH01294041A JP63124832A JP12483288A JPH01294041A JP H01294041 A JPH01294041 A JP H01294041A JP 63124832 A JP63124832 A JP 63124832A JP 12483288 A JP12483288 A JP 12483288A JP H01294041 A JPH01294041 A JP H01294041A
Authority
JP
Japan
Prior art keywords
data
image data
image
binary
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63124832A
Other languages
Japanese (ja)
Inventor
Hideaki Okamoto
岡本 秀昭
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 JP63124832A priority Critical patent/JPH01294041A/en
Publication of JPH01294041A publication Critical patent/JPH01294041A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To form the image corresponding to inputted image data, by altering an image processing method for image data inputted as multivalent and binary data corresponding to said image data. CONSTITUTION:The input of binary data is indicated from a host computer 101 in such a state that a change-over switch 12 is on an a-side, a CPU 10 connects the switch 12 toward a contact (c) and a switch 13 toward a contact (b) and converts inputted binary data to multivalent data by a data converting part 11 and stores the multivalent data in a memory 14 while applies a judge bit signal thereto. At the time of multivalent data, switches 34, 38 are connected to a contact (a) to output the multivalent data to a gradation converting part 15 and, at the time of binary data, the switches 34, 38 become a contact (b) and the converted multivalent image data delayed by a delay circuit 33 is outputted to the gradation converting part 15 without being corrected in density. By this method, the image corresponding to inputted image data can be formed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は2値或いは多値の記録データを入力して記録媒
体に階調記録する記録装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a recording apparatus that inputs binary or multi-value recording data and records gradations on a recording medium.

[従来の技術] 従来より、濃淡のある画像データのように1画素が複数
ビットで構成される多値データを入力して階調出力を行
う記録装置がある。このような記録装置では文字データ
等のように1画素が1ビツトで構成される2値データと
、階調データである多値データとが混在した画像データ
を入力し、それら画像データに対応する画像出力を行う
ことはできなかった。即ち、例えば記録装置がページ単
位で画像を出力するようなページプリンタでは、同一ペ
ージ内の画像データは2値データ或いは多値データとし
て処理しており、また、行単位で記録するようなプリン
タでは、同一行は全て2値データ或いは多値データとし
て処理していた。
[Prior Art] Conventionally, there has been a recording device that inputs multivalued data in which one pixel is composed of a plurality of bits, such as image data with shading, and outputs gradations. Such recording devices input image data that is a mixture of binary data, such as character data, in which each pixel consists of one bit, and multi-value data, which is gradation data. It was not possible to output an image. That is, for example, in a page printer whose recording device outputs images page by page, image data within the same page is processed as binary data or multivalue data, and in printers whose recording device outputs images line by line. , all the same rows were processed as binary data or multivalued data.

[発明が解決しようとしている課題] このため上記従来例では、同一ページ或いは同一行では
、記録データは2値データ或いは多値データとして固定
的に処理されるため、例えば多値データとしてデータ処
理が行われているページや行等に2値データが混在して
いると、その2値データ部分が適正に像出力されず、逆
に2値データとして処理されているページや行等に多値
データが混在されていると、その多値データ部分が記録
されない等の問題があった。
[Problems to be Solved by the Invention] For this reason, in the conventional example described above, recorded data is fixedly processed as binary data or multi-value data on the same page or in the same line. If binary data is mixed in a page or row that is being processed, the binary data part will not be output properly, and conversely, multivalued data will be mixed in the page or row that is being processed as binary data. If these are mixed, there is a problem such as the multivalued data part not being recorded.

また、2値データを単に多値画像データに変換すること
により多値画像データとして像形成処理することも考え
られるが、2値から多値に変換された画像データに対し
、元々から多値である111m画像データと同じように
平滑処理が実施されたり濃度補正等が実施されると、2
値画像の特徴がなくなり、例えば2値画像データの境界
部分が不鮮明になってしまう等という問題があった。
It is also possible to perform image formation processing as multi-value image data by simply converting binary data into multi-value image data, but it is possible to perform image formation processing as multi-value image data by simply converting binary data into multi-value image data. If smoothing processing, density correction, etc. are performed in the same way as certain 111m image data, 2
There is a problem that the characteristic of the value image disappears, and for example, the boundary portion of the binary image data becomes unclear.

本発明は上記従来例に鑑みてなされたもので、2値デー
タ部分を多値データに変換することにより、2値データ
と多値データとが混在された記録データの記録が行える
ようにするとともに、2値データより変換された多値画
像データと元々が多値であった多値データのそれぞれに
対応した画像処理を実行して像形成ができる記録装置を
提供することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and by converting the binary data portion into multi-value data, recording data in which binary data and multi-value data are mixed can be recorded. It is an object of the present invention to provide a recording device capable of forming an image by performing image processing corresponding to each of multivalued image data converted from binary data and multivalued data originally multivalued.

[課題を解決するための手段] 上記目的を達成するために本発明の記録装置は以下の様
な構成からなる。即ち、 外部機器より多値或いは2値画像データを入力して記録
媒体に多値で像形成する記録装置であって、前記外部機
器よりの指示を基に2値画像データ部分を判別する判別
手段と、前記2値画像データ部分を多値画像データに変
換する変換手段と、前記変換された多値画像データと入
力された多値画像データとを判別し、その判別結果を基
に多値画像データのそれぞれに対応する画像処理を実施
する画像処理手段と、画像処理された多値データを基に
階調記録を行う記録手段とを備える。
[Means for Solving the Problems] In order to achieve the above object, the recording device of the present invention has the following configuration. That is, it is a recording device that inputs multivalued or binary image data from an external device and forms a multivalued image on a recording medium, and includes a determining means for determining a portion of the binary image data based on an instruction from the external device. and converting means for converting the binary image data portion into multivalued image data; and determining the converted multivalued image data and the inputted multivalued image data, and converting the multivalued image data based on the discrimination result. It includes an image processing means that performs image processing corresponding to each piece of data, and a recording means that performs gradation recording based on the image-processed multivalued data.

[作用] 以上の構成において、外部機器よりの指示を基に2値画
像データ部分を判別して、その2値画像データ部分を多
値画像データに変換する。こうして変換された多値画像
データと、多値画像として入力された画像データとを判
別し、その判別結果を基に多値画像データのそれぞれに
対応する画像処理を実施する。このようにして画像処理
された多値データを基に、記録部により階調記録を行う
ように動作する。
[Operation] In the above configuration, a binary image data portion is determined based on an instruction from an external device, and the binary image data portion is converted into multivalued image data. Multi-value image data thus converted and image data input as a multi-value image are discriminated, and image processing corresponding to each of the multi-value image data is performed based on the discrimination results. Based on the multivalued data image-processed in this manner, the recording section operates to perform gradation recording.

[実施例] 以下、添付図面を参照して本発明の好適な実施例を詳細
に説明する。
[Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[プリンタの説明 (第1図)] 第1図(±実施例のプリンタ概略構成及び外部機器であ
るホストコンピュータ101との接続を示すブロック図
である。
[Description of Printer (FIG. 1)] FIG. 1 is a block diagram showing a schematic configuration of a printer according to an embodiment and a connection to a host computer 101, which is an external device.

図中、10はプリンタ全体を制御するCPUで、ホスト
コンピュータ101より送信された印刷データを入力す
ると各部を制御して記録紙に像形成を行うように動作し
ている。また、このCPUl0は1画素が1ビツトで構
成された2値データと、1画素が複数ビットで構成され
た多値データかどうかを、ホストコンピュータ101よ
りの指示により判定し、2値データのときは入力した2
値データをデータ変換部11に入力するようにして多値
データに変換する。101は実施例のプリンタに信号線
19により印刷データを出力するホストコンピュータで
、印刷データは通常多値で構成されており、2値データ
を送信するときは信号線19により予めホストコンピュ
ータ101よりプリンタに指示されるものとする。
In the figure, 10 is a CPU that controls the entire printer, and when print data sent from a host computer 101 is input, it controls each part to form an image on recording paper. In addition, this CPU10 determines whether the data is binary data in which one pixel consists of one bit or multi-value data in which one pixel consists of multiple bits, based on instructions from the host computer 101. is the input 2
The value data is input to the data converter 11 and converted into multi-value data. Reference numeral 101 denotes a host computer that outputs print data to the printer of the embodiment via a signal line 19. The print data is usually composed of multivalued data, and when transmitting binary data, the host computer 101 outputs print data to the printer via the signal line 19 in advance. shall be instructed by.

データ変換部11は2値データを入力すると、2値デー
タの“1“をこのプリンタで処理される多値データの最
大値に、2値データの“0”を多値データの最小値(通
常は“O”)に変換する。
When the data converter 11 receives binary data, it sets "1" of the binary data to the maximum value of the multi-value data processed by this printer, and sets "0" of the binary data to the minimum value of the multi-value data (usually is converted to “O”).

12はCPUl0よりの切換信号17により、その接続
する端子を(a)〜(C)に切換えるスイッチ、13は
同じ<CPUl0よりの切換信号18により、その接続
する端子を(a)、(b)に切換えるスイッチである。
12 is a switch that switches the terminal to be connected to (a) to (C) according to the switching signal 17 from CPU10, and 13 is a switch that switches the terminal to be connected to (a) to (b) by the switching signal 18 from CPU10. This is a switch that changes to

30はホストコンピュータ101よりの多値画像データ
や、データ変換部11よりの2値データを変換した多値
データを入力し、cputoよりの指示信号39により
もともとの多値画像データに判別ビットを“1“を付加
し、データ変換部11により多値データに変換された画
像データには判別ビットを“O“にして付加する判別ビ
ット付加部である。14はデータ変換部11により変換
され、判定ビット“0“を付加された多値データや、ホ
ストコンピュータ101より入力され判定ビット“1”
を付加された多値画像データ等を記憶するメモリである
30 inputs multi-value image data from the host computer 101 and multi-value data obtained by converting binary data from the data converter 11, and adds discrimination bits to the original multi-value image data by an instruction signal 39 from cputo. This is a discrimination bit adding section which adds "0" to the image data converted into multi-value data by the data conversion section 11 and adds the discrimination bit to "O". 14 is multi-valued data converted by the data converter 11 and added with a judgment bit "0", or multi-value data inputted from the host computer 101 with a judgment bit "1".
This is a memory that stores multi-valued image data, etc. that have been added with .

31は画像データのエツジ強調を行う微分回路、32は
画像データの平滑化処理を行う積分回路である。33は
微分回路31や積分回路32でのデータ処理に要する時
間だけ、多値画像データ及び判別ビット信号40を遅延
させる遅延回路で、これは合成器35において、微分回
路31或いは積分回路32を通過しない画像データと、
回路31或いは32を通過した画像データとの同期を取
るためのものである。34は判別ビット信号40が“1
”のときに(a)側に接続し、信号40が“0°°のと
きには(b)側に接続するスイッチである。35は微分
回路31よりの微分された画像データと、積分回路32
で積分された画像データとを合成する合成器である。
Reference numeral 31 is a differential circuit that performs edge emphasis on image data, and reference numeral 32 is an integration circuit that performs smoothing processing on the image data. 33 is a delay circuit that delays the multilevel image data and the discrimination bit signal 40 by the time required for data processing in the differentiating circuit 31 or the integrating circuit 32; image data that does not
This is for synchronizing with the image data that has passed through the circuit 31 or 32. 34, the determination bit signal 40 is “1”
When the signal 40 is "0°," the switch is connected to the (a) side, and when the signal 40 is "0°," the switch is connected to the (b) side. 35 is the differentiated image data from the differentiating circuit 31 and the integrating circuit 32
This is a synthesizer that synthesizes the integrated image data.

36は入力された多値画像データの値と記録部16にお
ける記録濃度とが一次比例するように画像データを補正
する濃度補正部である。37は前述の遅延回路33と同
様に、濃度補正部36における多値画像データの濃度補
正に要する時間だけ判別ビット信号40を遅延する遅延
回路である。
Reference numeral 36 denotes a density correction unit that corrects the image data so that the value of the input multivalued image data and the recording density in the recording unit 16 are linearly proportional. Similar to the delay circuit 33 described above, 37 is a delay circuit that delays the discrimination bit signal 40 by the time required for the density correction of the multivalued image data in the density correction section 36.

38は判別ビット信号40が1”のときに(a)側に接
続し、“O”のときに(b)側に接続するスイッチ、1
5はこうして変換された画像データ等の値を基に階調(
濃淡)出力を行う階調変換部、16は階調変換された画
像データに対応して記録紙等の記録媒体に像形成する記
録部である。
38 is a switch 1 that is connected to the (a) side when the discrimination bit signal 40 is "1" and connected to the (b) side when it is "O".
5 is the gradation (
16 is a recording section that forms an image on a recording medium such as recording paper in accordance with the tone-converted image data.

次に、以上の構成による実施例のプリンタの動作につい
て説明する。
Next, the operation of the printer according to the embodiment with the above configuration will be explained.

プリンタの電源が没入されると、c p u’t oの
指示によりスイッチ12は(a)側に設定され、CPU
l0はホストコンピュータ101より送信されたデータ
を入力できるようになる。ここで、ホストコンピュータ
101は記録データを送信するのに先立ち、これから送
信するデータが多値データか2値データかを示す識別信
号と記録データの量(例えばバイト数等)等を信号線1
9によりプリンタに出力する。
When the power to the printer is turned on, the switch 12 is set to the (a) side according to the instruction from CPU, and the CPU
l0 can now input data sent from the host computer 101. Here, before transmitting the recording data, the host computer 101 sends an identification signal indicating whether the data to be transmitted is multilevel data or binary data, the amount of recording data (for example, the number of bytes, etc.), etc. to the signal line.
9 to output to the printer.

これによりCPUl0は入力した識別信号に従って、多
値データの場合は切換信号17.18のそれぞれにより
スイッチ12を(b)側に、スイッチ13を(a)側に
接続して受信した記録データをそのまま判別ビット付加
部30に出力する。
As a result, CPU10 connects the switch 12 to the (b) side and the switch 13 to the (a) side according to the input identification signal and, in the case of multilevel data, the switch 12 and the switch 13 to the (a) side, respectively, and outputs the received recording data as is. It is output to the discrimination bit adding section 30.

こうして、判別ビットが付加され指定された量の画像デ
ータがメモリ14に記憶されるとスイッチ12は再び(
a)側に戻される。
In this way, when the specified amount of image data with the determination bit added is stored in the memory 14, the switch 12 is turned on again (
a) It is returned to the side.

一方、2値データの場合はCPUl0は切換信号17に
よりスイッチ12を(C)側に、切換信号18によりス
イッチ13を(b)側に切換える。これにより入力され
る2値データはデータ変換部11に入力され、後述する
第2A図で示されたデータ変換部11により2値データ
から多値データに変換され、判別ビット付加部30で判
別ビットが付加されてメモリ14に出力されて格納され
る。なお、このときのメモリ14への書込みタイミング
はクロック24の立ち下がりにより行う。この場合も、
ホストコンピュータ101より指示されたデータ数が処
理されると、スイッチ12は(a)側に、スイッチ13
は(a)側に切換えられる。
On the other hand, in the case of binary data, the CPU 10 uses the switching signal 17 to switch the switch 12 to the (C) side, and the switching signal 18 to switch the switch 13 to the (b) side. The binary data thus input is input to the data converter 11, which converts the binary data into multi-value data as shown in FIG. 2A, which will be described later. is added and output to the memory 14 for storage. Note that the write timing to the memory 14 at this time is performed at the falling edge of the clock 24. In this case too,
When the number of data specified by the host computer 101 has been processed, the switch 12 is switched to the (a) side, and the switch 13 is switched to the (a) side.
is switched to the (a) side.

判別ビット付加部30はCPU 10よりの判別ビット
信号39により、元々入力した画像データが多値データ
であった画像データには判別ビットに“1”を付加し、
元々が2値データであった画像データには判別ビットに
“O“を付加する。そして、この判別ビットの状態は判
別ビット信号40として出力される。こうして判別ビッ
トが付加された画像データはメモリ14に格納される。
The discrimination bit addition unit 30 adds "1" to the discrimination bit for image data whose originally inputted image data is multivalued data, based on the discrimination bit signal 39 from the CPU 10.
For image data that was originally binary data, "O" is added to the discrimination bit. The state of this discrimination bit is output as a discrimination bit signal 40. The image data to which the discrimination bits have been added in this way is stored in the memory 14.

次に、メモリ14の画像データの出力処理について説明
する。メモリ14より読出された画像データは微分回路
31によりエツジ強調され、また積分回路32により平
滑化処理が行われる。スイッチ34は判別ビット信号4
0が“1″、即ちホストコンピュータ101よりの画像
データが多値データのときは(a)側に接続し、エツジ
強調された画像データと平滑化された画像データとが合
成器35で合成されて出力され、多値データに対応した
画像変ti処理が実行される。
Next, the output processing of image data in the memory 14 will be explained. The image data read out from the memory 14 is edge-emphasized by a differentiation circuit 31, and smoothed by an integration circuit 32. The switch 34 is the discrimination bit signal 4.
When 0 is "1", that is, the image data from the host computer 101 is multivalued data, it is connected to the (a) side, and the edge-enhanced image data and the smoothed image data are synthesized by the synthesizer 35. The image data is outputted, and image modification ti processing corresponding to the multivalued data is executed.

一方、判別ビット信号40が“O”、即ちホストコンピ
ュータ101よりの画像データが2値データのときは、
スイッチ34は(b)側に接続される。これにより、遅
延回路33により遅延された2値から多値に変換された
そのままの多値画像データが出力される。
On the other hand, when the discrimination bit signal 40 is "O", that is, the image data from the host computer 101 is binary data,
The switch 34 is connected to the (b) side. As a result, multi-value image data that has been converted from binary to multi-value delayed by the delay circuit 33 is output as is.

同様にして、スイッチ38は判別ビット信号40が“1
″のときは(a)側に接続され、′O”のときは(b)
側に接続される。従って、ホストコンピュータ101よ
り多値画像データとして出力された画像データは、濃度
補正部36で記録濃度に比例するように濃度補正されて
階調変換部15に出力され、ホストコンピュータ101
より2値データとして出力された画像データは濃度補正
されることなく、そのまま階調変換部15に出力される
Similarly, the switch 38 is configured so that the discrimination bit signal 40 is "1".
”, it is connected to the (a) side, and when it is 'O', it is connected to the (b) side.
connected to the side. Therefore, the image data output from the host computer 101 as multivalued image data is subjected to density correction by the density correction unit 36 so as to be proportional to the recording density, and is output to the gradation conversion unit 15.
The image data output as binary data is directly output to the gradation conversion section 15 without being subjected to density correction.

このようにして、この実施例の構成によれば、元々が多
値であった画像データと元々が2値データであった画像
データとが、それぞれの画像特性に対応して濃度補正や
平滑処理等がされるようになる。
In this way, according to the configuration of this embodiment, image data that was originally multivalued and image data that was originally binary data are subjected to density correction and smoothing in accordance with their respective image characteristics. etc. will be done.

[データ変換部の説明 (第2図、第3図)]第2A図
は実施例のデータ変換部11の回路構成を示すブロック
図である。
[Description of Data Conversion Section (FIGS. 2 and 3)] FIG. 2A is a block diagram showing the circuit configuration of the data conversion section 11 of the embodiment.

21はパラレルイン・シリアルアウトのシフトレジスタ
でn段で構成されている。22は1ビツトデータをmビ
ットデータに変換する変換回路である。23はシフトレ
ジスタ21のシフトクロックを出力するクロック回路で
ある。
21 is a parallel-in/serial-out shift register composed of n stages. 22 is a conversion circuit that converts 1-bit data into m-bit data. 23 is a clock circuit that outputs a shift clock for the shift register 21;

第3図はデータ変換部11におけるデータ変換処理を示
すタイミングチャートである。
FIG. 3 is a timing chart showing data conversion processing in the data conversion section 11.

27は0画素分の2値データからなる画像データ、28
はホストコンピュータ101より信号線19を通してプ
リンタに供給されるストローブ信号で、この信号28に
より2値データが入力されたときは、シフトレジスタ2
1にnビットのデータがラッチされるとともに、クロッ
ク回路23のクロック出力が開始される。また、このス
トローブ信号28は多値データが入力されたときはメモ
リ14への書込み信号となる 第3図において、タイミングT1でホストコンピュータ
101よりのストローブ信号28が立上がると、0画素
分の2値データがシフトレジスタ21にラッチされる。
27 is image data consisting of binary data for 0 pixels, 28
is a strobe signal supplied from the host computer 101 to the printer through the signal line 19. When binary data is input by this signal 28, the shift register 2
At the same time, n-bit data is latched to 1, and clock output from the clock circuit 23 is started. In addition, this strobe signal 28 becomes a write signal to the memory 14 when multi-value data is input. In FIG. Value data is latched into shift register 21.

これにより、シフトレジスタ21の出力25には2値デ
ータ1)n−1が出力される。また、このタイミングT
1よりクロック回路23がリセットされてその駆動が開
始され、シフトクロック24の2値データが順次シフト
されて出力される。即ち、シフトクロック24の各立上
がりによりシフトレジスタ21の内容は1ビツトずつシ
フトされ、その出力25にはクロック24に同期して2
値データb n−2からboまでの各1ビツトデータが
順次出力される。ここで、変換回路22は入力されたデ
ータが“O”の場合はmビットの“0“を出力し、“1
”の場合はmビットのデータ(2”−1)を出力する。
As a result, binary data 1)n-1 is outputted to the output 25 of the shift register 21. Also, this timing T
1, the clock circuit 23 is reset and its driving is started, and the binary data of the shift clock 24 is sequentially shifted and output. That is, each rising edge of the shift clock 24 shifts the contents of the shift register 21 one bit at a time, and the output 25 receives two bits in synchronization with the clock 24.
Each 1-bit data from value data b n-2 to bo is sequentially output. Here, if the input data is "O", the conversion circuit 22 outputs m bits of "0" and "1".
”, m-bit data (2”-1) is output.

このようにして、2値データをmビットの多値データに
変換する。
In this way, binary data is converted into m-bit multi-value data.

第2A図において、シフトレジスタ21に入力された2
値データの数が複数個の場合は、クロック回路23から
シフトクロック24がシフトレジスタ21に供給される
と、シフトレジスタ21の出力Qn−rにはQn−2の
データが、Qn−zにはQn−sのデータがというよう
に、以下順次同じようにシフトされる。こうして、Qn
−1にシフトされた2値データが同じように変換回路2
2の各入力端子に出力され、mビット(bo−b−+)
構成の多値データに変換される。従って、データ変換回
路22は例えば第2B図に示したように、単なるm個の
バッファ22−1〜22−mで構成できる。
In FIG. 2A, 2 input to the shift register 21
When the number of value data is plural, when the shift clock 24 is supplied from the clock circuit 23 to the shift register 21, the data of Qn-2 is output to the output Qn-r of the shift register 21, and the data of Qn-2 is output to the output Qn-z of the shift register 21. The data of Qn-s is shifted sequentially in the same manner. Thus, Qn
The binary data shifted to -1 is transferred to the conversion circuit 2 in the same way.
m bits (bo-b-+)
The configuration is converted into multivalued data. Therefore, the data conversion circuit 22 can be constructed of simply m buffers 22-1 to 22-m, as shown in FIG. 2B, for example.

いま、信号線19がnビットで構成され、記録される多
値の印刷データが1画素当りm(m≧2)ビットで構成
されている場合、ホストコンピュータ101は12mで
あれば一度に1画素以上の多値データを送信でき、n<
mであれば1画素分の多値データを送信するために2回
以上に分けて送信する。また、記録データが1画素当り
1ビツトで構成される2値データの場合、−度にn画素
の2値データが送信できることになる。
Now, if the signal line 19 is composed of n bits and the multivalued print data to be recorded is composed of m (m≧2) bits per pixel, the host computer 101 will print one pixel at a time if the distance is 12 m. It is possible to send multivalued data with n<
If it is m, the multi-value data for one pixel is transmitted in two or more times. Furthermore, if the recording data is binary data consisting of 1 bit per pixel, n pixels of binary data can be transmitted every -degree.

なお、階調変換部15は記録部16の記録方式により、
例えば記録部16が記録媒体上に印字ドツトを形成する
か否かにより記録する場合は、デイザ法や誤差拡散法等
のように単位面積当りの印字ドツト数によって階調表現
を行うように変換するか、或いは印字ドツトの大きさを
連続的に変化させて階調表現を行うように画像データを
変換する。
Note that, depending on the recording method of the recording unit 16, the gradation conversion unit 15
For example, when the recording unit 16 performs recording based on whether or not it forms printed dots on the recording medium, conversion is performed so that gradation is expressed by the number of printed dots per unit area, such as the dither method or error diffusion method. Alternatively, the image data is converted to express gradation by continuously changing the size of the print dots.

[記録部の構成例の説明(第4図〜第5図)]第4図は
記録部16がインクジェット法により記録する場合で、
記録ドツトの大きさを連続的に変化させて階調記録を行
う一例を示している。
[Explanation of configuration example of recording section (FIGS. 4 to 5)] FIG. 4 shows a case where the recording section 16 performs recording by an inkjet method.
This shows an example in which gradation recording is performed by continuously changing the size of recording dots.

41はmビットで構成された多値データ55をデジタル
からアナログ信号に変換するD/A変換器、42は変換
されたアナログ信号に対応して電圧を発生して圧電素子
43を駆動する駆動回路、43は電圧を機械撮動に変換
する圧電素子、44はインク吐出口(ノズル)である。
41 is a D/A converter that converts multi-value data 55 composed of m bits from digital to analog signal; 42 is a drive circuit that generates a voltage in response to the converted analog signal and drives piezoelectric element 43; , 43 is a piezoelectric element that converts voltage into mechanical motion, and 44 is an ink ejection opening (nozzle).

D/A変換器41に多値データ55が入力されると、そ
の値に比例したアナログ電圧信号45が出力される。こ
の電圧信号45が駆動回路42に入力され、圧電素子4
3が多値データ55に対応して駆動される。こうして、
圧電素子43が電圧信号45の電圧に対応して振動され
、その振動に比例したインク滴の大きさで、インク滴が
ノズル44より吐出される。こうして、多値データ55
に対応した階調記録が行える。
When multi-value data 55 is input to the D/A converter 41, an analog voltage signal 45 proportional to the value is output. This voltage signal 45 is input to the drive circuit 42, and the piezoelectric element 4
3 is driven in response to multi-value data 55. thus,
The piezoelectric element 43 is vibrated in response to the voltage of the voltage signal 45, and an ink droplet is ejected from the nozzle 44 with a size proportional to the vibration. In this way, the multivalued data 55
It is possible to perform gradation recording corresponding to

第5図は印字ドツトの大きさを連続的に変化させて階調
記録を行う他の例を示し、51はmビットのダウンカウ
ンタ、52はセット/リセット・フリップフロップ、5
3はトランジスタ、54は電流を熱に変換する発熱素子
である。
FIG. 5 shows another example in which gradation recording is performed by continuously changing the size of the print dots, 51 is an m-bit down counter, 52 is a set/reset flip-flop, 5
3 is a transistor, and 54 is a heating element that converts current into heat.

ダウンカウンタ51にmビットの多値データ55が入力
されてセット信号56によりセットされると、同時にフ
リップフロップ52もセットされる。これにより、トラ
ンジスタ53がオンになって発熱素子54に電流が流れ
る。ダウンカウンタ51にセットされた値はクロック信
号57に同期して順次カウントダウンされ、その値が“
0”になるとフリップフロップ52にリセット信号58
が出力される。これによりトランジスタ53はオフ状態
になり、発熱素子54への電流の印加が停止される。こ
のように、この記録部16によれば、多値データの値に
応じた幅のパルスを発生させて発熱素子54への通電時
間を制御することにより、温度上昇を変化させて感熱紙
等の記録媒体に温度に対応した印字ドツトを形成するこ
とができる。こうして記録部16は階調記録を行うよう
に構成されている。
When m-bit multi-value data 55 is input to down counter 51 and set by set signal 56, flip-flop 52 is also set at the same time. As a result, the transistor 53 is turned on and current flows through the heating element 54. The value set in the down counter 51 is counted down sequentially in synchronization with the clock signal 57, and the value is "
0”, a reset signal 58 is sent to the flip-flop 52.
is output. As a result, the transistor 53 is turned off, and the application of current to the heating element 54 is stopped. In this manner, the recording unit 16 generates a pulse with a width corresponding to the value of the multivalued data and controls the energization time to the heating element 54, thereby changing the temperature rise and printing the thermal paper, etc. Print dots corresponding to temperature can be formed on the recording medium. In this way, the recording section 16 is configured to perform gradation recording.

[動作説明 (第1図、第6図)] 第6図は実施例のプリンタのCPUl0のデータ入力f
lJi4動作を示すフローチャートで、この第理を実行
する制御プログラムはCPUl0のROM部分に格納さ
れている。
[Operation explanation (Fig. 1, Fig. 6)] Fig. 6 shows the data input f of the CPU10 of the printer of the embodiment.
In the flowchart showing the operation of lJi4, the control program for executing this principle is stored in the ROM portion of CPU10.

ステップS1で切換信号17によりスイッチ12を(a
)側に接続してホストコンピュータ1゜1よりのデータ
入力を待つ。ステップs2でホストコンピュータ101
よりデータが入力され、2値データの入力が指示される
とステップs3に進み、切換信号17によりスイッチ1
2を(C)側に接続し、ステップS4で切換信号18に
よりスイッチ13を(b)側に切換える。これにより入
力された2値画像データはデータ変換部11に入力され
、前述したようにして多値データに変換される。そして
、ステップS5で判別ビット信号40を“0”にして出
力する。これにより、データ変換部11により多値デー
タに変換された画像データに判別ビット“0”が付加さ
れる。
In step S1, the switch 12 is turned on by the switching signal 17 (a
) side and waits for data input from the host computer 1. In step s2, the host computer 101
When the data is inputted and the input of binary data is instructed, the process proceeds to step s3, and the switch 1 is turned on by the switching signal 17.
2 is connected to the (C) side, and the switch 13 is switched to the (b) side by the switching signal 18 in step S4. The binary image data thus input is input to the data conversion section 11 and converted into multi-value data as described above. Then, in step S5, the discrimination bit signal 40 is set to "0" and output. As a result, the discrimination bit "0" is added to the image data converted into multivalued data by the data conversion unit 11.

ステップS6でホストコンピュータ101より指示され
た分のデータ入力が終了を待ち、終了するとステップS
10に進み、切換信号17と18によりスイッチ12と
13を共に(a)側に切換えて、ホストコンピュータ1
01よりの次のデータ入力指示待ちに移行する。
In step S6, wait until the input of the data instructed by the host computer 101 is completed, and then step S6
10, both switches 12 and 13 are switched to the (a) side by the switching signals 17 and 18, and the host computer 1
The process moves to wait for the next data input instruction from 01.

一方、ステップS2で2値データでなければ、即ち、多
値データならばステップS7に進み、切換信号17によ
りスイッチ12を(b)側に切換え、ステップS8で切
換信号18によりスイッチ13を(a)側に切換える。
On the other hand, if it is not binary data in step S2, that is, if it is multi-value data, the process proceeds to step S7, where the switching signal 17 switches the switch 12 to the (b) side, and in step S8, the switching signal 18 switches the switch 13 to the (a) side. ) side.

これにより多値データは判別ビット付加部30に出力さ
れる0次に、ステップS9に進み、判別ビット信号9を
“1”にしてステップS6に進む、これにより、ホスト
コンピュータ101より入力された多値画像データに、
判別ビット″′1”が付加されてメモリ14に出力され
て格納される。こうしてステップS10に進み、前述し
たようにスイッチ12と13を共に(a)側に切換えて
画像データ入力処理を終了する。
As a result, the multi-value data is outputted to the discrimination bit addition section 30.Then, the process proceeds to step S9, where the discrimination bit signal 9 is set to "1" and the process proceeds to step S6. value image data,
A determination bit "'1" is added and output to the memory 14 for storage. In this way, the process proceeds to step S10, where the switches 12 and 13 are both switched to the (a) side as described above, and the image data input process is completed.

なお、2値データを多値データに変換するデータ変換部
や記録部の構成は、この実施例の構成に限定されるもの
でなく、本願の趣旨を達成できるものであれば良い。
Note that the configuration of the data converter and the recording unit that convert binary data into multi-value data is not limited to the configuration of this embodiment, and may be any configuration that can achieve the purpose of the present application.

以上説明したようにこの実施例によれば、2値データを
多値データに変換することにより、2値データと多値デ
ータとが混在している画像データでも問題なく像形成で
きるとともに、元々が2値の画像データと元々が多値の
画像データとの画像処理を、2値或いは多値画像に対応
して変更することにより画像データの特性に対応した画
像処理ができる効果がある。
As explained above, according to this embodiment, by converting binary data into multi-value data, it is possible to form an image without any problem even with image data in which binary data and multi-value data are mixed. By changing the image processing of binary image data and originally multivalued image data to correspond to the binary or multivalued image, it is possible to perform image processing that corresponds to the characteristics of the image data.

[発明の効果] 以上説明したように本発明によれば、2値データと多値
データとが混在された画像データを処理して像形成でき
るとともに、多値データで入力された画像データと、2
値データで入力された画像データとの画像処理法をそれ
ら画像データに対応して変更することにより、入力した
画像データに対応した像形成ができる効果がある。
[Effects of the Invention] As explained above, according to the present invention, it is possible to form an image by processing image data in which binary data and multi-value data are mixed, and image data input as multi-value data, 2
By changing the image processing method for image data input as value data in accordance with the image data, it is possible to form an image corresponding to the input image data.

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

第1図は実施例のプリンタの構成を示すブロック図、 第2A図は実施例のデータ変換部の概略構成を示すブロ
ック図、 第2B図は変換回路の構成例を示す図、第3図はデータ
変換部における変換処理を示すタイミングチャート、 第4図〜第5図は記録部の構成例を示すブロック図、 第6図は実施例のプリンタのCPUによるデータ入力処
理を示すフローチャートである。 図中、10・・・CPU、11・・・データ変換部、1
2.13,34.38・・・スイッチ、14・・・メモ
リ、15・・・階調変換部、16・・・記録部、17.
18・・・切換信号、19・・・信号線、21・・・シ
フトレジスタ、22・・・変換回路、23・・・クロッ
ク回路、24・・・シフトクロック、27・・・2値デ
ータ、28・・・ストローブ信号、30・・・判別ビッ
ト付加部、31・・・微分回路、32・・・積分回路、
33.37・・・遅延回路、35・・・合成器、36・
・・濃度補正部、39・・・指示信号、40・・・判別
ビット信号、55・・・多値データ、101・・・ホス
トコンピュータである。 第2A図 インク語fRy 第4図 〕を 第5図 手続補正書(自発) 昭和63年 9月 2日
Fig. 1 is a block diagram showing the configuration of the printer of the embodiment, Fig. 2A is a block diagram showing the schematic structure of the data conversion section of the embodiment, Fig. 2B is a diagram showing an example of the configuration of the conversion circuit, and Fig. 3 is the block diagram showing the schematic structure of the data conversion section of the embodiment. 4 and 5 are block diagrams showing an example of the configuration of the recording section. FIG. 6 is a flowchart showing data input processing by the CPU of the printer of the embodiment. In the figure, 10...CPU, 11...Data converter, 1
2.13, 34.38... Switch, 14... Memory, 15... Gradation converter, 16... Recording unit, 17.
18... Switching signal, 19... Signal line, 21... Shift register, 22... Conversion circuit, 23... Clock circuit, 24... Shift clock, 27... Binary data, 28... Strobe signal, 30... Discrimination bit addition section, 31... Differentiating circuit, 32... Integrating circuit,
33.37...Delay circuit, 35...Synthesizer, 36.
. . . Density correction unit, 39 . . . Instruction signal, 40 . . . Discrimination bit signal, 55 . Figure 2A ink word fRy Figure 4] Figure 5 procedural amendment (voluntary) September 2, 1986

Claims (1)

【特許請求の範囲】 外部機器より多値或いは2値画像データを入力して記録
媒体に多値で像形成する記録装置であつて、 前記外部機器よりの指示を基に2値画像データ部分を判
別する判別手段と、前記2値画像データ部分を多値画像
データに変換する変換手段と、前記変換された多値画像
データと入力された多値画像データとを判別し、その判
別結果を基に多値画像データのそれぞれに対応する画像
処理を実施する画像処理手段と、画像処理された多値デ
ータを基に階調記録を行う記録手段とを備えることを特
徴とする記録装置。
[Scope of Claims] A recording device that inputs multivalued or binary image data from an external device and forms a multivalued image on a recording medium, wherein the binary image data portion is formed based on instructions from the external device. a discriminating means for discriminating; a converting means for converting the binary image data portion into multi-value image data; and a discriminating means for discriminating the converted multi-value image data and input multi-value image data, and based on the discrimination result. 1. A recording apparatus comprising: an image processing unit that performs image processing corresponding to each piece of multivalued image data; and a recording unit that performs gradation recording based on the image-processed multivalued data.
JP63124832A 1988-05-24 1988-05-24 Recording apparatus Pending JPH01294041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63124832A JPH01294041A (en) 1988-05-24 1988-05-24 Recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63124832A JPH01294041A (en) 1988-05-24 1988-05-24 Recording apparatus

Publications (1)

Publication Number Publication Date
JPH01294041A true JPH01294041A (en) 1989-11-28

Family

ID=14895200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63124832A Pending JPH01294041A (en) 1988-05-24 1988-05-24 Recording apparatus

Country Status (1)

Country Link
JP (1) JPH01294041A (en)

Similar Documents

Publication Publication Date Title
JPH01165459A (en) Head drive device of thermal transfer printer
US5548319A (en) Gradation data method processing including repeated reading and recording of high density data
JPH04320860A (en) Recording head driver of printer
JPH01294041A (en) Recording apparatus
JPS61227074A (en) Thermal head driving circuit
JPH0369714B2 (en)
JPH01285348A (en) Recorder
JP2563014B2 (en) Thermal head
WO1992009168A1 (en) Image scaling for thermal printers and the like
JP2006229428A (en) Image-formation controller, quantization method and printer device
JPH02185456A (en) Recording device
JPH0780310B2 (en) Recording density control method for thermal transfer printer
JP3359070B2 (en) Color image forming apparatus and method
JP2629806B2 (en) Thermal recording device
JPH04220358A (en) Thermal printer
JPH0262260A (en) Recording apparatus
JP3066928B2 (en) Image processing apparatus and image processing method
KR0141242B1 (en) High speed printing method and apparatus for color video printer
JPS63141766A (en) Printing system
JPS58158275A (en) Heat-sensitive recorder
JPH0267152A (en) Thermal transfer gradation control apparatus
JPS63280661A (en) Drive control system of printer head for gradation expression
JPS64866B2 (en)
JPH07164667A (en) Image recording apparatus
JPH021343A (en) Thermal recording device