JP3308663B2 - Image forming device - Google Patents

Image forming device

Info

Publication number
JP3308663B2
JP3308663B2 JP19028993A JP19028993A JP3308663B2 JP 3308663 B2 JP3308663 B2 JP 3308663B2 JP 19028993 A JP19028993 A JP 19028993A JP 19028993 A JP19028993 A JP 19028993A JP 3308663 B2 JP3308663 B2 JP 3308663B2
Authority
JP
Japan
Prior art keywords
data
image
image data
conversion
host computer
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 - Fee Related
Application number
JP19028993A
Other languages
Japanese (ja)
Other versions
JPH0744687A (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 JP19028993A priority Critical patent/JP3308663B2/en
Publication of JPH0744687A publication Critical patent/JPH0744687A/en
Application granted granted Critical
Publication of JP3308663B2 publication Critical patent/JP3308663B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば、画像データを
処理する画像形成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to, for example, an image forming apparatus for processing image data.

【0002】[0002]

【従来技術】従来のプリンタで、イメージデータを入力
した場合、そのイメージをそのまま出力装置に出力して
いた。従って、高解像度のイメージデータを入力する
と、その高解像度の出力画像が得られ、逆に低解像度の
イメージデータを入力すると、低解像度の出力画像が得
られていた。
2. Description of the Related Art In a conventional printer, when image data is input, the image is directly output to an output device. Therefore, when high-resolution image data is input, a high-resolution output image is obtained. Conversely, when low-resolution image data is input, a low-resolution output image is obtained.

【0003】[0003]

【発明が解決しようとする課題】ここで、特に問題であ
るのは、例えばイメージデータが文字/記号を含む地図
情報であって、これが低解像度のイメージデータで表現
されている場合、文字/記号情報を認識することがユー
ザにとっては重要であり、その部分の品質を落とさず、
あるいは品質をさらにあげることが重要であった。
A particular problem here is, for example, the case where image data is map information including characters / symbols and this is represented by low-resolution image data. Recognizing information is important to the user and does not degrade the quality of that part.
Or it was important to improve the quality.

【0004】しかし、従来の画像形成装置ではこの要請
に応えることはできず、低解像度のイメージデータを印
字すると、一般的にサイズの小さい文字記号部分の品質
の劣化等が特に問題となっていた。
However, a conventional image forming apparatus cannot meet this demand, and when low-resolution image data is printed, the quality of small-sized character symbols generally deteriorates. .

【0005】本発明は上記従来例に鑑みてなされたもの
で、低解像度のイメージデータであっても、高品質の画
像出力が得られる画像形成装置を提供することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made in view of the above conventional example, and has as its object to provide an image forming apparatus capable of obtaining a high quality image output even with low resolution image data.

【0006】[0006]

【問題点を解決する為の手段】上記目的を達成するた
め、本発明の画像形成装置は、ホストコンピュータから
受信したイメージデータを格納する格納手段と、前記格
納手段により格納されたイメージデータから文字部分と
図形部分とを抽出し、文字フォントのデータと線を表現
する画像コマンド列とに変換する変換手段と、ホストコ
ンピュータに転送する指定があるか否かを判別する判別
手段と、前記判別手段によりホストコンピュータに転送
する指定があると判別された場合、前記変換手段により
変換された文字フォントのデータと画像コマンド列と前
記変換手段による変換後に残ったイメージデータとをホ
ストコンピュータに転送する転送手段と、前記判別手段
によりホストコンピュータに転送する指定がないと判別
された場合、前記変換手段により変換された文字フォン
トのデータと画像コマンド列と前記変換手段による変換
後に残ったイメージデータとを拡大縮小してイメージデ
ータを形成する形成手段とを有する。また他の側面によ
れば、本発明の画像形成装置は、前記形成手段により形
成されたイメージデータに基づき印刷を行う印刷手段を
有する。また他の側面によれば、本発明の画像形成装置
は、前記文字フォントのデータは、文字コードとフォン
ト属性データとを含む。また、本発明の画像形成方法
は、ホストコンピュータから受信したイメージデータを
メモリに格納する格納ステップと、前記格納ステップに
よりメモリに格納されたイメージデータから文字部分と
図形部分とを抽出し、文字フォントのデータと線を表現
する画像コマンド列とに変換する変換ステップと、ホス
トコンピュータに転送する指定があるか否かを判別する
判別ステップと、前記判別ステップによりホストコンピ
ュータに転送する指定があると判別された場合、前記変
換ステップにより変換された文字フォントのデータと画
像コマンド列と前記変換ステップによる変換後に残った
イメージデータとをホストコンピュータに転送する転送
ステップと、前記判別ステップによりホストコンピュー
タに転送する指定がないと判別された場合、前記変換ス
テップにより変換された文字フォントのデータと画像コ
マンド列と前記変換ステップによる変換後に残ったイメ
ージデータとを拡大縮小してイメージデータを形成する
形成ステップとを有する。また他の側面によれば、本発
明の画像形成方法は、前記形成ステップにより形成され
たイメージデータに基づき印刷を行う印刷ステップを有
する。また他の側面によれば、本発明の画像形成方法
は、前記文字フォントのデータは、文字コードとフォン
ト属性データとを含む。
In order to achieve the above object, an image forming apparatus according to the present invention comprises: a storage unit for storing image data received from a host computer; Converting means for extracting a part and a graphic part and converting them into character font data and an image command sequence expressing a line; determining means for determining whether there is a designation to transfer to a host computer; Transfer means for transferring, to the host computer, the character font data converted by the conversion means, the image command sequence, and the image data remaining after conversion by the conversion means, if it is determined that there is a designation to transfer to the host computer. If the determination means determines that there is no designation to transfer to the host computer, And a forming means for forming an image data by scaling the image data remaining after the conversion by said converting means and data and image command sequence converted character font by means. According to another aspect, the image forming apparatus of the present invention includes a printing unit that performs printing based on the image data formed by the forming unit. According to another aspect, in the image forming apparatus of the present invention, the character font data includes a character code and font attribute data. The image forming method according to the present invention further comprises a storing step of storing the image data received from the host computer in a memory, and extracting a character portion and a graphic portion from the image data stored in the memory by the storing step. A conversion step of converting the image data into an image command sequence expressing a line, a determination step of determining whether or not there is an instruction to transfer to the host computer, and determining that there is an instruction to transfer to the host computer by the determination step Transfer, the character font data and the image command sequence converted in the conversion step and the image data remaining after the conversion in the conversion step are transferred to the host computer, and the determination step is performed to transfer the data to the host computer. If it is determined that there is no specification, And a step of forming image data and scaling the serial data and the image command sequence character font converted by the converting step and the image data remaining after the conversion by the conversion step. According to still another aspect, an image forming method according to the present invention includes a printing step of performing printing based on the image data formed in the forming step. According to another aspect, in the image forming method of the present invention, the character font data includes a character code and font attribute data.

【作用】以上の構成により、ホストコンピュータから受
信したイメージデータを格納し、格納されたイメージデ
ータから文字部分と図形部分とを抽出し、文字フォント
のデータと線を表現する画像コマンド列とに変換し、ホ
ストコンピュータに転送する指定があるか否かを判別
し、ホストコンピュータに転送する指定があると判別さ
れた場合、変換された文字フォントのデータと画像コマ
ンド列と変換後に残ったイメージデータとをホストコン
ピュータに転送し、ホストコンピュータに転送する指定
がないと判別された場合、変換された文字フォントのデ
ータと画像コマンド列と変換後に残ったイメージデータ
とを拡大縮小してイメージデータを形成する。
With the above arrangement, the image data received from the host computer is stored, the character portion and the graphic portion are extracted from the stored image data, and converted into character font data and an image command sequence expressing a line. Then, it is determined whether or not there is a designation to transfer to the host computer. If it is determined that there is a designation to transfer to the host computer, the converted character font data, the image command sequence, and the image data remaining after the conversion are determined. Is transferred to the host computer, and when it is determined that there is no designation to transfer to the host computer, the converted character font data, the image command string, and the image data remaining after the conversion are scaled to form image data. .

【0007】[0007]

【実施例】【Example】

(第1の実施例)以下、添付図面に従って、本発明の第
1の実施例であるホストコンピュータからのデータを受
信して印刷出力を行なう印刷装置について詳細に説明す
る。
(First Embodiment) A printing apparatus which receives data from a host computer and prints out data from a host computer according to a first embodiment of the present invention will be described below in detail with reference to the accompanying drawings.

【0008】図1は、本実施例における電子写真方式の
印刷装置の構成概略を示す。
FIG. 1 schematically shows the configuration of an electrophotographic printing apparatus according to this embodiment.

【0009】100は本実施例における印刷装置であ
り、印刷結果200を形成する。300は印刷データを
印刷装置100に供給するホストコンピュータである。
A printing apparatus 100 according to the present embodiment forms a printing result 200. Reference numeral 300 denotes a host computer that supplies print data to the printing apparatus 100.

【0010】印刷装置100には、印刷装置全体を制御
するCPU101をはじめ、以下に示す構成要素を備え
ている。
The printing apparatus 100 includes the following components including a CPU 101 for controlling the entire printing apparatus.

【0011】108はホストコンピュータ300から送
られてくるデータを、一旦格納する受信バッファ、10
2はアウトラインデータを記憶しているフォントメモ
リ、103はイメージデータのうちの図形データと文字
データを判定・抽出する為の情報を格納してある図形デ
ータ判定抽出情報格納メモリ、106はフォントデータ
を抽出し、文字コード及びサイズ等の属性データに変換
する為の抽出・変換情報を格納してあるフォントデータ
抽出変換情報メモリ、104は受信データを格納するペ
ージバッファ、105は1ページ分のイメージデータを
展開するビットマップメモリ、107はビットマップメ
モリ105に展開されたイメージデータに基づいて実際
に印刷処理を行なうプリンタエンジン部である。プリン
タエンジン部107は、例えば、図7に示すレーザビー
ムプリンタ(LBP)のエンジン部によって構成され
る。
Reference numeral 108 denotes a receiving buffer for temporarily storing data sent from the host computer 300,
2 is a font memory for storing outline data, 103 is a graphic data determination and extraction information storage memory for storing information for determining and extracting graphic data and character data of image data, and 106 is a font data Font data extraction / conversion information memory storing extraction / conversion information for extracting and converting to attribute data such as character codes and sizes, 104 is a page buffer for storing received data, and 105 is image data for one page And 107, a printer engine unit that actually performs a printing process based on the image data developed in the bitmap memory 105. The printer engine unit 107 is configured by, for example, an engine unit of a laser beam printer (LBP) shown in FIG.

【0012】次に、図7が示すレーザビームプリンタの
エンジン部と印刷装置の構成を説明する。
Next, the configuration of the engine unit and the printing apparatus of the laser beam printer shown in FIG. 7 will be described.

【0013】図7において、740はLBP本体であ
り、供給される文字パターンなどを元に、記録媒体であ
る記録紙上に像を形成する。700は操作の為にスイッ
チ及びLED表示装置などが設置されている操作パネ
ル、701はLBP740全体の制御及び文字パターン
情報などを解析するプリンタ制御ユニットである。図1
のブロック図では、エンジン部107を除いた装置本体
100はこのプリンタ制御ユニット701に含まれる。
レーザドライバ702は半導体レーザ703を駆動する
為の回路であり、入力されたビデオ信号に応じて半導体
レーザ703から発射されるレーザ光704をオン・オ
フ切替する。レーザ光704は回転多面鏡705で左右
方向に降られて静電ドラム706上を操作する。これに
より、静電ドラム706上には文字パターンの静電潜像
が形成される。この潜像は静電ドラム706周囲の現像
ユニット707により現像された後、記録紙に転写され
る。この記録紙にはカットシートを用い、カットシート
記録用紙はLBP740に装着した用紙カセット708
に収納され、給紙ローラ709及び搬送ローラ711と
により装置内に取り込まれて、静電ドラム706に供給
される。
In FIG. 7, reference numeral 740 denotes an LBP main body, which forms an image on recording paper as a recording medium based on a supplied character pattern or the like. Reference numeral 700 denotes an operation panel on which switches, LED display devices, and the like are installed for operation. Reference numeral 701 denotes a printer control unit that controls the entire LBP 740 and analyzes character pattern information and the like. FIG.
In the block diagram of FIG. 7, the apparatus main body 100 excluding the engine unit 107 is included in the printer control unit 701.
The laser driver 702 is a circuit for driving the semiconductor laser 703, and switches on / off the laser light 704 emitted from the semiconductor laser 703 according to an input video signal. The laser beam 704 is lowered in the left-right direction by the rotating polygon mirror 705 and operates on the electrostatic drum 706. Thus, an electrostatic latent image of a character pattern is formed on the electrostatic drum 706. This latent image is developed by a developing unit 707 around the electrostatic drum 706 and then transferred to a recording sheet. A cut sheet is used as the recording paper, and the cut sheet recording paper is a paper cassette 708 mounted on the LBP 740.
, And are taken into the apparatus by the paper feed roller 709 and the transport roller 711 and supplied to the electrostatic drum 706.

【0014】以上の構成で、与えられた印刷データを記
録用紙上に記録する。
With the above arrangement, the given print data is recorded on the recording paper.

【0015】次に、画像情報データの処理手順の説明
を、図5〜図6を用いて説明する。
Next, the processing procedure of the image information data will be described with reference to FIGS.

【0016】ここで、図2の(a)は、ホストコンピュ
ータから入力する入力イメージデータの一例であり、図
3は、印刷装置200で印刷するイメージの一例であ
る。図5のフローチャートを用いて、本実施例での画像
情報データ処理手順を説明する。
Here, FIG. 2A shows an example of input image data input from the host computer, and FIG. 3 shows an example of an image to be printed by the printing apparatus 200. An image information data processing procedure in the present embodiment will be described with reference to the flowchart in FIG.

【0017】ここで、ホストコンピュータからのデータ
の受信は、本実施例の処理と並行して、受信バッファ1
08を介し、ページバッファメモリ104にデータを格
納する。同様に、ホストコンピュータからのイメージデ
ータもイメージデータの送信コマンドと共に受信バッフ
ァを介しページバッファメモリに格納される。
Here, the reception of data from the host computer is performed in parallel with the processing of this embodiment by the reception buffer 1.
08, the data is stored in the page buffer memory 104. Similarly, image data from the host computer is stored in the page buffer memory via the reception buffer together with the image data transmission command.

【0018】ステップS1では、ページバッファメモリ
104より1ページ分のデータ、例えば、図2の(a)
に示ようなイメージデータを読み出す。
In step S1, one page of data from the page buffer memory 104, for example, (a) of FIG.
The image data as shown in FIG.

【0019】ステップS2では、ステップ1で読み込ま
れたデータが、イメージデータかどうかを判定し、イメ
ージデータであった場合には、ステップS3に進みイメ
ージデータに対応する処理を行なう。
In step S2, it is determined whether or not the data read in step 1 is image data. If the data is image data, the flow advances to step S3 to perform processing corresponding to the image data.

【0020】ステップS3では、イメージデータに対す
る処理を行う。この処理の詳細を図6に示す。
In step S3, processing is performed on the image data. FIG. 6 shows the details of this processing.

【0021】ステップS4では、イメージ及びその他コ
マンド等の解析・画像形成処理、拡大縮小・解像度変換
等の処理を行ないビットマップメモリ105に展開す
る。拡大縮小や、解像度変換等を行うとき、文字データ
としてはスケーラブルフォントまたは拡大縮小のサイズ
にあったフォントを用いることにより、画像の劣化が少
ない出力を得ることが可能となる。図3と図4が出力例
であり、図2に示すイメージデータを入力し縮小して出
力したとき、図3に示すイメージでは文字が小さくつぶ
れており読み取りにくくなっているが、図4では文字が
サイズに合ったフォントを使用して出力している為、縮
小による文字の劣化が少なく読み取り易い文字となって
いる。図3、図4で使われている文字は単純な文字が多
いが、実際の文章等で漢字が使われている場合には、こ
の効果は大きい。
In step S4, analysis and image formation processing of images and other commands, and processing such as enlargement / reduction and resolution conversion are performed, and developed in the bitmap memory 105. When performing scaling, resolution conversion, or the like, by using a scalable font or a font that matches the size of the scaling as character data, it is possible to obtain an output with less image degradation. FIGS. 3 and 4 show examples of output. When the image data shown in FIG. 2 is input and reduced and output, the image shown in FIG. Are output using a font that matches the size, so that the characters are less liable to be degraded due to reduction and are easy to read. Many of the characters used in FIGS. 3 and 4 are simple characters, but this effect is significant when kanji is used in actual sentences and the like.

【0022】ステップS5では、1ページ分のデータ処
理が終わったかどうか判断する。そして、まだ、終了し
ていなければステップS1へ戻る。
In step S5, it is determined whether data processing for one page has been completed. Then, if the processing has not been completed, the process returns to step S1.

【0023】ステップS6では、生成された1ページ分
のイメージデータをプリンタエンジン部107へ出力
し、印刷出力を行なう。図3に印刷の出力例を示す。
In step S6, the generated image data for one page is output to the printer engine unit 107 and printed out. FIG. 3 shows an example of print output.

【0024】図6はステップS3での、イメージデータ
処理の詳細を説明するフローチャートであり、以下この
フローチャートに基づき説明する。
FIG. 6 is a flowchart for explaining the details of the image data processing in step S3. Hereinafter, description will be made based on this flowchart.

【0025】ステップS11では、入力したイメージデ
ータ、例えば、図2の(a)に示すイメージデータをい
くつかの部分に分割を行う。この分割の例を図2の
(b)に示す。図2で、4辺形で囲んだ部分1〜11が
1つの部分領域である。その際、1つの部分領域の中に
さらに別の部分領域を含む場合は、その別の部分領域を
マスキングすることで、独立したイメージデータの部分
領域として分割する。
In step S11, the input image data, for example, the image data shown in FIG. 2A is divided into several parts. An example of this division is shown in FIG. In FIG. 2, portions 1 to 11 surrounded by a quadrilateral are one partial region. At this time, if another partial area is included in one partial area, the other partial area is masked to be divided as independent image data partial areas.

【0026】ステップS12では、ステップS11で分
割された部分領域のデータがイメージデータが文字デー
タかどうかを、文字データ判定抽出情報メモリ106内
の情報を参照して判定する。判定の結果文字データであ
る場合には、フォント変換を行うステップS13へ進
む。
In step S12, it is determined whether or not the data of the partial area divided in step S11 is character data by referring to the information in the character data determination extraction information memory 106. If the result of the determination is that the data is character data, the flow proceeds to step S13 for performing font conversion.

【0027】ステップS13では、フォントデータ抽出
変換情報メモリ106内の情報を参照して、文字コード
及びフォント属性データに変換する。
In step S13, the character code and font attribute data are converted with reference to the information in the font data extraction conversion information memory 106.

【0028】ステップS14では、イメージデータ部分
領域データに対し、イメージデータ送信コマンドをヘッ
ダ情報として添付する。
In step S14, an image data transmission command is attached to the image data partial area data as header information.

【0029】ステップS15では、全ての部分領域デー
タに対する処理が終わったかどうかを判定し、終わって
なければステップS12へ戻る。全ての部分領域データ
に対する処理が終わっていればイメージデータの処理を
終了する。
In step S15, it is determined whether or not the processing has been completed for all the partial area data. If not, the flow returns to step S12. If the processing for all the partial area data has been completed, the processing of the image data is completed.

【0030】以上説明したように、イメージデータから
文字を抽出し、文字フォントのデータに変換することに
より、拡大縮小等で文字部分の劣化を防ぐことができ
る。
As described above, by extracting characters from image data and converting them into character font data, it is possible to prevent the character portion from deteriorating due to enlargement or reduction.

【0031】なお、第1の実施例では、電子写真方式の
印刷装置を出力装置としたが、本発明は、画像形成装置
の種類に限定するものではなく、例えば、CRTデイス
プレイであってもよい。以上説明したように、本実施例
によれば以下のような効果が得られる。即ち、イメージ
データから文字要素を抽出して、各々フォントデータに
置き換えることによって、画像イメージの拡大/縮小や
解像度変換による文字部分の品位の劣化を防止、あるい
は、さらに品質をあげることが可能となる。
In the first embodiment, the printing apparatus of the electrophotographic system is used as the output apparatus. However, the present invention is not limited to the type of the image forming apparatus, and may be, for example, a CRT display. . As described above, according to the present embodiment, the following effects can be obtained. That is, by extracting character elements from the image data and replacing them with font data, it is possible to prevent deterioration of the quality of the character portion due to enlargement / reduction of the image image and resolution conversion, or to further improve the quality. .

【0032】(第2の実施例)第1の実施例では、イメ
ージデータ内から文字データのみを抽出する場合を説明
したが、第2の実施例では、さらに、図形データを判定
・抽出し、図形フォントに変換し出力する実施例につい
て説明する。また、イメージデータ、また、そこから抽
出された文字や図形データを表現する画像コマンド列に
フォーマット変換した後、その画像コマンド列をホスト
コンピュータ300へ転送する。
(Second Embodiment) In the first embodiment, a case where only character data is extracted from image data has been described. In the second embodiment, graphic data is further determined and extracted. An embodiment in which a graphic font is converted and output will be described. After converting the format of the image data into an image command sequence expressing character data and graphic data extracted from the image data, the image command sequence is transferred to the host computer 300.

【0033】図10は、第2の実施例における画像情報
データの処理手順を説明するフローチャートである。以
下順に各ステップの説明を行う。
FIG. 10 is a flowchart for explaining the processing procedure of image information data in the second embodiment. Hereinafter, each step will be described in order.

【0034】ステップS21では、ページバッファメモ
リ104より1データ読み出す。
In step S21, one data is read from the page buffer memory 104.

【0035】ステップS22では、イメージデータかど
うかを判定し、イメージデータの場合には、ステップS
23に進み、イメージ画像のデータ処理を行なう。
In step S22, it is determined whether or not the data is image data.
Proceeding to 23, data processing of the image is performed.

【0036】ステップS23では、イメージデータから
文字データと図形データの部分の抽出を行い、文字デー
タの場合、対応するフォントに変換し、図形データの場
合は、例えば、直線/曲線/面の方程式に対して近似を
行う。尚、文字や図形の抽出の位置は、例えばユーザが
印刷装置100の不図示のキーボードからその座標を入
力してもよいし、また、ホストコンピュータ300から
予めそれらの座標データを入力してもよい。ステップS
23の詳細処理を、図11のフローチャートに示す。
In step S23, character data and graphic data are extracted from the image data. In the case of character data, the font is converted into the corresponding font. In the case of graphic data, for example, a linear / curve / surface equation is used. Approximate The position of the extraction of the character or figure may be input by the user from a keyboard (not shown) of the printing apparatus 100, or may be input from the host computer 300 in advance. . Step S
23 is shown in the flowchart of FIG.

【0037】ステップS24では、ステップS23で処
理され変換されたイメージデータを表現する描画コマン
ド列をホストコンピュータ300に転送するどうかの指
定があるかどうかのチェックを行う。この指定は予めホ
ストコンピュータ300から、単独に、あるいはイメー
ジデータの転送時に一緒に送られる。また、ユーザが印
刷装置100の不図示のキーボードからその指定を入力
してもよい。そして、指定があれば、ホストコンピュー
タ300に描画コマンド列の転送処理を行うステップS
25へ進む。また、指定されていなければ、ステップS
26へ進む。
In step S24, it is checked whether or not there is a designation as to whether or not to transfer the drawing command sequence representing the image data processed and converted in step S23 to the host computer 300. The designation is sent in advance from the host computer 300 alone or together with the transfer of the image data. Further, the user may input the designation from a keyboard (not shown) of the printing apparatus 100. Then, if there is a designation, a step S for performing a process of transferring the drawing command sequence to the host computer 300
Proceed to 25. If not specified, step S
Proceed to 26.

【0038】ステップS25では、イメージデータから
抽出された文字や図形データと、残ったイメージデータ
部分を表現する描画コマンド列にフォーマット変換し
て、ホストコンピュータに転送し処理を終了する。
In step S25, the format is converted into character or graphic data extracted from the image data and a drawing command string expressing the remaining image data portion, and the format command sequence is transferred to the host computer to terminate the processing.

【0039】ステップS26では、生成された文字や図
形データやイメージデータを解析して、ビットマップメ
モリ105に画像イメージを展開する。
In step S 26, the generated character, graphic data, and image data are analyzed, and an image is developed in the bitmap memory 105.

【0040】ステップS27では、1ページ分のイメー
ジデータ処理が終わったかどうかチェックし、まだ終わ
っていなければステップS21に戻る。終わっていれば
ステップS28の印刷処理に進む。
In step S27, it is checked whether or not the image data processing for one page has been completed, and if not completed, the flow returns to step S21. If it has been completed, the process proceeds to the printing process in step S28.

【0041】ステップS28では、ビットマップメモリ
105に格納された画像イメージをプリンタエンジン部
107を使って印刷出力を行なう。印刷出力が終了する
と、次の1ページの処理のため、ステップS21へ戻
る。
In step S28, the image stored in the bitmap memory 105 is printed out using the printer engine unit 107. When the printout is completed, the process returns to step S21 for processing of the next one page.

【0042】次に、ステップS23のイメージデータの
処理の詳細を説明するために、第11図のフローチャー
トを用いて説明する。
Next, the details of the processing of the image data in step S23 will be described with reference to the flowchart of FIG.

【0043】ステップS31では、第1の実施例と同様
に、入力イメージデータを、複数の部分領域に分割す
る。
In step S31, as in the first embodiment, the input image data is divided into a plurality of partial areas.

【0044】ステップS32では、分割されたイメージ
データが文字データかどうかを、フォントデータ抽出変
換情報メモリ106内の情報を参照して判定する。判定
の結果文字データと判断されれば、ステップS33へす
すみ、フォント変換を行う。文字データでないと判定さ
れれば、ステップS34へ進み図形の部分領域であるか
判定する。
In step S32, it is determined whether or not the divided image data is character data by referring to information in the font data extraction conversion information memory 106. If it is determined that the data is character data, the process proceeds to step S33, where font conversion is performed. If it is determined that the data is not character data, the process proceeds to step S34 to determine whether the data is a partial area of the graphic.

【0045】ステップS33では、フォントデータ抽出
変換情報メモリ106内の情報を参照して、文字コード
とフォント属性データに変換する。
In step S33, the character code and font attribute data are converted with reference to the information in the font data extraction conversion information memory 106.

【0046】ステップS34では、部分領域が図形デー
タかどうかを、図形データ判定抽出情報メモリ103を
参照して判定する。図形データと判定されたならば、ス
テップS35へ進み、この図形データの圧縮表現を計算
する。図形データと判定されなければ、ステップS36
へ進む。
In step S34, it is determined whether or not the partial area is graphic data by referring to the graphic data determination extraction information memory 103. If it is determined that the data is graphic data, the flow advances to step S35 to calculate a compressed representation of the graphic data. If it is not determined to be graphic data, step S36
Proceed to.

【0047】ステップS35では、図形データを直線・
曲線・面を表現する画像コマンド列に変換する。
In step S35, the graphic data is converted to a straight line
Convert to an image command sequence that expresses curves and surfaces.

【0048】ステップS36では、部分領域は、イメー
ジデータであると判定され、イメージデータであること
を示すヘッダ情報を、そのイメージデータに追加した画
像コマンド列を生成する。
In step S36, the partial area is determined to be image data, and an image command sequence is generated by adding header information indicating the image data to the image data.

【0049】ステップS37では、イメージデータ内の
全ての部分領域の処理が終了したかどうかチェックす
る。そして、まだ未処理の部分領域が残っていれば、そ
の部分領域の処理を行うため、ステップS32に戻る。
全ての部分領域の処理が終了すれば、イメージデータの
処理を終了する。
In step S37, it is checked whether or not the processing of all the partial areas in the image data has been completed. If an unprocessed partial area still remains, the process returns to step S32 to process the partial area.
When the processing of all the partial areas is completed, the processing of the image data is completed.

【0050】以上説明したように、イメージデータ内か
ら文字だけではなく、図形データについても抽出して、
例えば、ポストスクリプト等の描画コマンド列に変換す
ることにより、文字/図形要素の、特に曲線・斜線部分
の拡大/縮小による画像の劣化を防止することが可能と
なる。
As described above, not only characters but also graphic data are extracted from image data.
For example, by converting to a drawing command sequence such as a postscript, it is possible to prevent image deterioration due to enlargement / reduction of character / graphic elements, particularly curved / diagonal portions.

【0051】[0051]

【0052】また、入力イメージデータ内の図形及び文
字データを変換するかどうかは、例えば、予めホストコ
ンピュータからのコマンド指定で設定可能である。
Whether to convert graphic and character data in the input image data can be set in advance by, for example, specifying a command from a host computer.

【0053】さらに、変換の方法を複数持ち、変換方法
の指定を予めコマンドで入力しておくこおとにより、入
力イメージデータに適合した変換方式を用いて変換する
ことが可能である。
Furthermore, by having a plurality of conversion methods and inputting the specification of the conversion method by a command in advance, it is possible to perform conversion using a conversion method suitable for input image data.

【0054】なお、第1と第2の実施例では、イメージ
データからの文字及び図形データの抽出を、部分領域に
分けて行なったが、抽出の方法は他の方法であってもよ
い。
In the first and second embodiments, the extraction of the character and graphic data from the image data is performed by dividing the data into partial areas. However, the extraction method may be another method.

【0055】また、抽出されたデータをフォントデータ
及びコマンドへ変換する方法については、特に説明を行
なわなかったが、例えば、公知の方法・市販の処理ソフ
トウエアを用いて、ホストコンピュータからダウンロー
ドし実行させてもよい。
Although the method of converting the extracted data into font data and commands has not been particularly described, for example, it is downloaded from a host computer using a known method or commercially available processing software and executed. May be.

【0056】尚、本発明は、複数の機器から構成される
システムに適用しても1つの機器から成る装置に適用し
ても良い。また、本発明は、システム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることはいうまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or an apparatus.

【0057】以上説明したように、本実施例によれば以
下のような効果が得られる。即ち、イメージデータから
文字や図形要素を抽出して、各々フォントデータ、図形
を表現する方程式に置き換えることによって、画像イメ
ージの拡大/縮小や解像度変換による品位の劣化を防止
することが可能となる。このことにより、例えば手書き
のイメージ内の図形/文字データを清書して、品質の良
いイメージ画像出力を得ることができる。
As described above, according to the present embodiment, the following effects can be obtained. That is, by extracting characters and graphic elements from the image data and replacing them with equations representing font data and graphics, it is possible to prevent deterioration in quality due to enlargement / reduction of image images and resolution conversion. As a result, for example, graphic / character data in a handwritten image can be copied and a high quality image image output can be obtained.

【0058】[0058]

【発明の効果】以上説明したように本発明によれば、低
解像度のイメージデータであっても、高品質の画像出力
が得ることができる。
As described above, according to the present invention, a high quality image output can be obtained even with low resolution image data.

【0059】[0059]

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

【図1】第1、第2の実施例における印刷装置のブロッ
ク構成図である。
FIG. 1 is a block diagram of a printing apparatus according to first and second embodiments.

【図2】第1、第2の実施例における入力イメージデー
タの一例を示す図である。
FIG. 2 is a diagram showing an example of input image data in the first and second embodiments.

【図3】図2に示す入力イメージデータを出力した図で
ある。
FIG. 3 is a diagram in which the input image data shown in FIG. 2 is output.

【図4】図2に示す入力イメージデータを出力した図で
ある。
FIG. 4 is a diagram in which the input image data shown in FIG. 2 is output.

【図5】第1の実施例における処理内容を示すフローチ
ャート図である。
FIG. 5 is a flowchart showing processing contents in the first embodiment.

【図6】第1の実施例における処理内容を示すフローチ
ャート図である。
FIG. 6 is a flowchart illustrating processing contents in the first embodiment.

【図7】レーザビームプリンタの断面図である。FIG. 7 is a sectional view of the laser beam printer.

【図8】第2の実施例における入力イメージデータの一
例を示す図である。
FIG. 8 is a diagram illustrating an example of input image data according to the second embodiment.

【図9】図8に示す入力イメージデータの出力図であ
る。
9 is an output diagram of the input image data shown in FIG.

【図10】第2の実施例における処理内容を示すフロー
チャート図である。
FIG. 10 is a flowchart showing processing contents in the second embodiment.

【図11】第2の実施例における処理内容を示すフロー
チャート図である。
FIG. 11 is a flowchart illustrating processing contents according to the second embodiment.

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

101 CPU 102 フォントメモリ 103 図形データ判定抽出情報格納メモリ 104 ページバッファメモリ 105 ビットマップメモリ 106 フォントデータ抽出変換情報メモリ 107 プリンタエンジン部 108 受信バッファ 101 CPU 102 Font Memory 103 Graphic Data Judgment Extraction Information Storage Memory 104 Page Buffer Memory 105 Bitmap Memory 106 Font Data Extraction Conversion Information Memory 107 Printer Engine 108 Receiving Buffer

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ホストコンピュータから受信したイメー
ジデータを格納する格納手段と、前記格納手段により格納された イメージデータから文字
部分と図形部分とを抽出し、文字フォントのデータと線
を表現する画像コマンド列とに変換する変換手段と、ホストコンピュータに転送する指定があるか否かを判別
する判別手段と、 前記判別手段によりホストコンピュータに転送する指定
があると判別された場合、前記変換手段により変換され
た文字フォントのデータと画像コマンド列と前記変換手
段による変換後に残ったイメージデータとをホストコン
ピュータに転送する転送手段と、 前記判別手段によりホストコンピュータに転送する指定
がないと判別された場合、 前記変換手段により変換され
た文字フォントのデータと画像コマンド列と前記変換手
段による変換後に残ったイメージデータとを拡大縮小し
てイメージデータを形成する形成手段とを有することを
特徴とする画像形成装置。
A storage means for storing image data received from a host computer, a character portion and a graphic portion are extracted from the image data stored by the storage means , and character font data and lines are drawn. Conversion means for converting to an image command sequence to be expressed, and determination as to whether or not transfer to the host computer is specified
Discriminating means, and a designation to be transferred to the host computer by the discriminating means.
If it is determined that there is a
Character font data, image command sequence and the conversion
The image data remaining after the conversion by the step
Transfer means for transferring to a computer, and designation for transferring to a host computer by the determination means
If it is determined that there is no, the converted manual data and the image command sequence converted character font by the converting means
Forming means for forming image data by enlarging or reducing the image data remaining after the conversion by the stage .
【請求項2】 前記形成手段により形成されたイメージ
データに基づき印刷を行う印刷手段を有することを特徴
とする請求項記載の画像形成装置。
2. An image forming apparatus according to claim 1, characterized in that it comprises a printing means for performing printing based on image data formed by said forming means.
【請求項3】 前記文字フォントのデータは、文字コー
ドとフォント属性データとを含むことを特徴とする請求
1または2記載の画像形成装置。
Data wherein said character fonts, image forming apparatus according to claim 1 or 2 wherein, characterized in that it comprises a character code and font attribute data.
【請求項4】 ホストコンピュータから受信したイメー
ジデータをメモリに格納する格納ステップと、前記格納ステップによりメモリに格納された イメージデ
ータから文字部分と図形部分とを抽出し、文字フォント
のデータと線を表現する画像コマンド列とに変換する変
換ステップと、ホストコンピュータに転送する指定があるか否かを判別
する判別ステップと、 前記判別ステップによりホストコンピュータに転送する
指定があると判別された場合、前記変換ステップにより
変換された文字フォントのデータと画像コマンド列と前
記変換ステップによる変換後に残ったイメージデータと
をホストコンピュータに転送する転送ステップと、 前記判別ステップによりホストコンピュータに転送する
指定がないと判別された場合、 前記変換ステップにより
変換された文字フォントのデータと画像コマンド列と
記変換ステップによる変換後に残ったイメージデータと
を拡大縮小してイメージデータを形成する形成ステップ
とを有することを特徴とする画像形成方法。
4. A storing step of storing the Image <br/> Jideta received from the host computer to the memory, extracts the character part and the figure portion from the image data stored in the memory by the storing step, a character font A conversion step for converting the data and image command sequence representing a line, and determining whether or not there is a designation to transfer to the host computer
Determining step, and transferring to the host computer by the determining step
If it is determined that there is a designation, the conversion step
Converted character font data and image command string and before
The image data remaining after conversion by the conversion step
Transferring the data to the host computer, and transferring the data to the host computer by the determining step.
If the specified is not determined to be, before the data and the image command sequence converted character font by the conversion step
Forming an image data by enlarging or reducing the image data remaining after the conversion in the conversion step and the image data.
【請求項5】 前記形成ステップにより形成されたイメ
ージデータに基づき印刷を行う印刷ステップを有するこ
とを特徴とする請求項記載の画像形成方法。
5. The image forming method according to claim 4, further comprising a printing step of performing printing based on the image data formed by said forming step.
【請求項6】 前記文字フォントのデータは、文字コー
ドとフォント属性データとを含むことを特徴とする請求
4または5記載の画像形成方法。
6. The image forming method according to claim 4 , wherein the character font data includes a character code and font attribute data.
JP19028993A 1993-07-30 1993-07-30 Image forming device Expired - Fee Related JP3308663B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19028993A JP3308663B2 (en) 1993-07-30 1993-07-30 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19028993A JP3308663B2 (en) 1993-07-30 1993-07-30 Image forming device

Publications (2)

Publication Number Publication Date
JPH0744687A JPH0744687A (en) 1995-02-14
JP3308663B2 true JP3308663B2 (en) 2002-07-29

Family

ID=16255698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19028993A Expired - Fee Related JP3308663B2 (en) 1993-07-30 1993-07-30 Image forming device

Country Status (1)

Country Link
JP (1) JP3308663B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6789263B1 (en) 1995-05-17 2004-09-07 Hitachi, Ltd. Data conversion method and apparatus
JP3533811B2 (en) * 1995-05-17 2004-05-31 株式会社日立製作所 Data conversion device, network system including data conversion device, and data transmission method
US20070058874A1 (en) * 2005-09-14 2007-03-15 Kabushiki Kaisha Toshiba Image data compressing apparatus and method
US7483578B2 (en) * 2005-09-15 2009-01-27 Kabushiki Kaisha Toshiba Image data decoding apparatus and method

Also Published As

Publication number Publication date
JPH0744687A (en) 1995-02-14

Similar Documents

Publication Publication Date Title
JP4995057B2 (en) Drawing apparatus, printing apparatus, drawing method, and program
US6611347B1 (en) Print control apparatus, print control method, storage medium, and computer readable program performing a form overlay process
US6247028B1 (en) Controlling attributes of pre-registered form data to match those of data to be printed with the form data
JP3308663B2 (en) Image forming device
JPH0916149A (en) Character processor, character processing method, and memory
US5731800A (en) Output method and apparatus
EP0440359B1 (en) Output apparatus
US6002848A (en) Band-based printing control system
JP3204136B2 (en) Image processing apparatus and compression processing method
EP0856811A1 (en) Output method and apparatus employing the same
JP2002133429A (en) Plotting information processing device, plotting information processing method, and storage medium
JPH11235849A (en) Image processing device, data processing method thereof, and storage medium storing program readable by computer
JPH10151815A (en) Printing-processing apparatus
JP3236053B2 (en) Image processing system and image processing method
JPH10157217A (en) Printing-processing apparatus
JP2004243569A (en) Image forming apparatus
JP3327744B2 (en) Recording apparatus and method, and computer control apparatus
JPH10305639A (en) Print processor and processing method
JPH0939312A (en) Printer, printing method and printing mechanism
JP2006159458A (en) Image output device
JPH11144062A (en) Printing processor
JPH0930059A (en) Output device and method
JPH10202960A (en) Printing equipment
JP2000194349A (en) Device and method for outputting character pattern and recording medium
JPH0725080A (en) Picture processing method and system thereof

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020419

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100517

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees