Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3211545B2 - Image processing device - Google Patents
[go: Go Back, main page]

JP3211545B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3211545B2
JP3211545B2 JP4181694A JP4181694A JP3211545B2 JP 3211545 B2 JP3211545 B2 JP 3211545B2 JP 4181694 A JP4181694 A JP 4181694A JP 4181694 A JP4181694 A JP 4181694A JP 3211545 B2 JP3211545 B2 JP 3211545B2
Authority
JP
Japan
Prior art keywords
data
attribute
information
command
compression
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP4181694A
Other languages
Japanese (ja)
Other versions
JPH07231391A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP4181694A priority Critical patent/JP3211545B2/en
Publication of JPH07231391A publication Critical patent/JPH07231391A/en
Application granted granted Critical
Publication of JP3211545B2 publication Critical patent/JP3211545B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Generation (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Record Information Processing For Printing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、色、階調を有するイメ
ージや写真、文字、線画の混在する画像情報を処理する
画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for processing image information having mixed colors, gradations, images, photographs, characters, and line drawings.

【0002】[0002]

【従来の技術】高品位なカラー画像を記憶するには、画
素数×階調ビット数×色数、であらわされる膨大な容量
が必要である。例えば400画素/インチのフルカラー
プリンターA3サイズ1ページ分を処理するには約12
8Mバイトのメモリが必要である。このためイメージ画
像の圧縮には各種の圧縮方式が提案されている。例え
ば、JPEG(Joint Photographic coding Experts Gr
oup)は代表的な圧縮方法である。一方、コンピュータ
ーでつくられる文字情報を主体とするドキュメント情報
はプリンターに出力される場合、ページ記述言語PDL
で表現されたファイルになってプリンターにおくられ、
プリンター側で解釈され、イメージ情報に展開され、紙
の上に可視情報としてあらわれる。
2. Description of the Related Art To store a high-quality color image, an enormous capacity represented by the number of pixels × the number of gradation bits × the number of colors is required. For example, it takes about 12 to process one page of a full-color printer A3 size of 400 pixels / inch.
8M bytes of memory are required. For this reason, various compression methods have been proposed for compressing image images. For example, JPEG (Joint Photographic coding Experts Gr
oup) is a typical compression method. On the other hand, when document information mainly composed of character information generated by a computer is output to a printer, a page description language PDL is used.
Is sent to the printer as a file represented by
The information is interpreted by the printer, expanded into image information, and appears as visible information on paper.

【0003】カラー情報が膨大で有るからといって単純
に圧縮処理したのでは問題がある。PDLにはイメー
ジ、線画等の情報が混在しているため単純に圧縮処理す
ると画質劣化が生ずる。その改善方法として特開平4−
88751が提案されている。また、送られてくるPD
Lにはどんなデータがどのくらい含まれているかあらか
じめわからないため、すべてのケースを処理できるよう
にしておく必要があり、幾つかのメモリを個別にもつこ
とになる。そのため、PDLデータを正常に処理するに
は結果として膨大な容量が必要となってしまうことにな
る。
Even if the color information is enormous, there is a problem if the compression processing is simply performed. Since information such as images and line drawings are mixed in PDL, simple compression processing causes image quality degradation. Japanese Patent Laid-Open No.
88751 has been proposed. Also, PD sent
Since it is not known in advance what data is included in L and how much, it is necessary to be able to handle all cases, and it is necessary to have several memories individually. Therefore, enormous capacity is required as a result to process PDL data normally.

【0004】特開平4−88751の第3図のブロック
図で示された構成では、一旦展開してから解像メモリと
階調メモリにそのまま蓄積している。ここでは単純な線
画に少し色が付いた程度のものを想定しているが、網点
画像をスキャナで読取ったサンプルドイメージのよう
に、場合のよっては1ページ分の2倍以上のメモリが必
要になってしまうため、圧縮しない1ページメモリをも
った処理装置の方が安価になることもある。
In the configuration shown in the block diagram of FIG. 3 of Japanese Patent Application Laid-Open No. Hei 4-88851, the image data is developed once and then stored as it is in the resolution memory and the gradation memory. Here, it is assumed that a simple line drawing has a little color, but in some cases, more than twice the memory of one page, such as a sampled image obtained by scanning a halftone dot image with a scanner. Because of the necessity, a processing device having a one-page memory that is not compressed may be less expensive.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
ものでは線画のような解像度優先とイメージデータのよ
うな階調優先だけでなく解像度と階調情報の混在したカ
ラー線画やグラデーション情報を含むPDLを効率的に
処理できないという問題があった。本発明の目的は、P
DLで表現される各種の画像情報を、一定のメモリ一量
内で効率良く展開しかつ画質の劣化が見られない画像処
理装置を提供するものである。
However, according to the prior art, not only a resolution priority such as a line drawing and a gradation priority such as image data but also a PDL including a color line drawing in which resolution and gradation information are mixed and gradation information are mixed. There was a problem that it could not be processed efficiently. The purpose of the present invention is to
An object of the present invention is to provide an image processing apparatus that efficiently develops various types of image information expressed in DL within a fixed amount of memory and does not show deterioration in image quality.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに、請求項1に記載された本発明の画像処理装置はペ
ージ記述言語で記述された内容をページ単位で複数種の
属性データに分類する認識手段と、この認識手段で分類
された各属性データを1を含む複数ラインからなるブロ
ック毎に各々展開する複数の属性展開手段と、この属性
展開手段により展開されたデータを各属性データ毎に圧
縮する圧縮手段と、この圧縮手段により圧縮されたデー
タを記憶するブロックメモリと、このブロックメモリに
記憶された各属性の圧縮データに基づいて、各ラインに
含まれる各属性の圧縮データとその位置関係および各属
性の圧縮データを復元するための情報からなるコマンド
を順次生成するコマンド生成手段と、このコマンド生成
手段により生成されたコマンドを記憶するページメモリ
とを備えた構成にある。また請求項2に記載された発明
は、上記請求項1記載の画像処理装置において、ブロッ
クメモリに記憶された各属性の圧縮データのサイズを検
出し、該サイズが所定のサイズ以上となる場合は圧縮手
段の圧縮方式を変更する手段を備えた構成にある。また
請求項3に記載された発明の画像処理装置は各ラインに
おける各属性の圧縮データとその位置関係および各属性
の圧縮データを復元するための情報からなるコマンドを
記憶するページメモリと、このページメモリに記憶され
た前記コマンドを順次読み出す手段と、この読出手段に
より読み出されたコマンドの各属性の圧縮データをその
復元するための情報に基づいて各々復元する手段と、こ
の復元手段により各属性毎に復元されたデータを、該コ
マンドの各属性の圧縮データの位置関係の情報に基づい
て合成する手段とを備えた構成にある。
In order to achieve the above object, an image processing apparatus according to the present invention as defined in claim 1 converts contents described in a page description language into a plurality of types of attribute data in page units. Recognizing means for classifying, a plurality of attribute developing means for developing each attribute data classified by the recognizing means for each block composed of a plurality of lines including one, and converting the data developed by the attribute developing means to each attribute data Compression means for compressing each data, a block memory for storing data compressed by the compression means, and compressed data for each attribute included in each line based on the compressed data for each attribute stored in the block memory. Command generating means for sequentially generating a command consisting of information for decompressing the compressed data of the positional relationship and each attribute; And it is configured to include a page memory for storing the command. According to a second aspect of the present invention, in the image processing apparatus of the first aspect, the size of the compressed data of each attribute stored in the block memory is detected, and when the size is equal to or larger than a predetermined size, The configuration is provided with means for changing the compression method of the compression means. According to a third aspect of the present invention, there is provided an image processing apparatus comprising: a page memory for storing compressed data of each attribute in each line, a positional relationship thereof, and a command comprising information for restoring the compressed data of each attribute; Means for sequentially reading the commands stored in the memory; means for restoring compressed data of each attribute of the command read by the reading means based on information for restoring the compressed data; Means for synthesizing the data restored every time based on the information on the positional relationship of the compressed data of each attribute of the command.

【0007】[0007]

【作用】請求項1に記載の発明によると、PDLで記述
されたデータは通信媒体を介して受信し、認識手段でペ
ージ記述言語で記述された内容をページ単位で複数種の
属性データに分類する。分類された各属性データは属性
展開手段により1を含む複数ラインからなるブロック毎
に各々展開した後、圧縮手段で各属性データ毎に圧縮
し、ブロックメモリに記憶する。コマンド生成手段はブ
ロックメモリに記憶された各属性の圧縮データに基づい
て、各ラインに含まれる各属性の圧縮データとその位置
関係および各属性の圧縮データを復元するための情報か
らなるコマンドを順次生成し、ページメモリに蓄える。
そして記憶されたコマンドにより、ページメモリから取
り出した圧縮データを伸長し、プリント出力処理され
る。また請求項2に記載の発明によると、ブロックメモ
リに記憶された各属性の圧縮データのサイズを検出し、
該サイズが所定のサイズ以上となる場合は圧縮手段の圧
縮方式を変更し、各属性の圧縮データが最適な方式で圧
縮される。また請求項3に記載の発明によると、ページ
メモリは各ラインにおける各属性の圧縮データとその位
置関係および各属性の圧縮データを復元するための情報
からなるコマンドを記憶する。読出手段により読み出さ
れたコマンドの各属性の圧縮データは、復元手段によ
り、その復元情報に基づいて各々復元され、合成手段に
より、コマンドの各属性の圧縮データの位置関係の情報
に基づいて合成される。
According to the first aspect of the present invention, data described in PDL is received via a communication medium, and the content described in a page description language is classified into a plurality of types of attribute data in page units by a recognition unit. I do. Each of the classified attribute data is decompressed by the attribute decompression means for each block composed of a plurality of lines including 1, and then compressed for each attribute data by the compression means and stored in the block memory. The command generating means sequentially generates, based on the compressed data of each attribute stored in the block memory, a command comprising compressed data of each attribute included in each line, a positional relationship thereof, and information for restoring the compressed data of each attribute. Generate and store in page memory.
In accordance with the stored command, the compressed data extracted from the page memory is decompressed and subjected to print output processing. According to the second aspect of the present invention, the size of the compressed data of each attribute stored in the block memory is detected,
If the size is equal to or larger than a predetermined size, the compression method of the compression unit is changed, and the compressed data of each attribute is compressed by the optimal method. According to the third aspect of the present invention, the page memory stores the compressed data of each attribute in each line, the positional relationship thereof, and a command consisting of information for restoring the compressed data of each attribute. The compressed data of each attribute of the command read by the reading means are respectively decompressed by the decompression means based on the decompression information, and are synthesized by the synthesizing means based on information on the positional relationship of the compressed data of each attribute of the command. Is done.

【0008】[0008]

【実施例】以下、本発明の画像処理装置の実施例を図面
に基づいて説明する。図1は本発明の第1の実施例に係
る画像処理装置の機能構成を示す。図2はメモリ構造を
示す。図3は画像処理装置のハードウエア構成を示す。
図3において、演算装置20は、データ通信部2を介し
て外部機器から送られてくるPDL情報を解釈し、ペー
ジ単位で複数種の属性データに分類し、1を含む複数ラ
インブロック毎に展開する。そして、1ないし複数ライ
ンブロック内に展開した結果、形状データ、カラーデー
タ、イメージデータおよび形状カラー混合データのデー
タ数がある基準値を超えているかを検知し、超えたブロ
ックには属性毎に圧縮回路22で圧縮処理し、ディスク
メモリ25に記憶する。同時に属性データがどのように
分類され、どの圧縮方式で圧縮処理されたかを表す組合
わせコマンドをメモリ24に格納する。PDL情報の出
力時には、伸長回路24は、ディスクメモリ25から読
出した1ないし複数ラインブロック毎のPDL情報を、
組合わせコマンドに基づいてページメモリに展開して伸
長し、合成回路26に出力する。合成回路26は、属性
毎に伸長処理されたPDL情報を、組合わせコマンドに
基づいて1ページ毎に合成処理した後に、画像出力イン
ターフェース27を介して記録装置に出力する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the image processing apparatus according to the present invention will be described below with reference to the drawings. FIG. 1 shows a functional configuration of an image processing apparatus according to a first embodiment of the present invention. FIG. 2 shows the memory structure. FIG. 3 shows a hardware configuration of the image processing apparatus.
In FIG. 3, the arithmetic unit 20 interprets PDL information sent from an external device via the data communication unit 2, classifies the data into a plurality of types of attribute data in page units, and develops the data into a plurality of line blocks including 1 I do. As a result of expanding the data into one or more line blocks, it is detected whether the number of data of the shape data, the color data, the image data and the shape / color mixed data exceeds a certain reference value. The data is compressed by the circuit 22 and stored in the disk memory 25. At the same time, a combination command indicating how the attribute data is classified and which compression method has been used for compression processing is stored in the memory 24. When outputting the PDL information, the decompression circuit 24 converts the PDL information read out from the disk memory 25 for each of one or more line blocks into
Based on the combination command, the data is expanded and expanded in the page memory and output to the synthesizing circuit 26. The synthesizing circuit 26 synthesizes the PDL information decompressed for each attribute for each page based on the combination command, and then outputs the PDL information to the recording device via the image output interface 27.

【0009】上記の構成に基づく処理をさらに詳しく説
明する。図1および3において、ホスト1で作られたP
DLファイル13は、データ通信部2を介して、一旦デ
ィスクメモリ25に取込まれる。識別部3はファイルの
初めから順にPDLを4つの属性に層別14する。図2
において、属性1ないし属性4は形状データ、カラーデ
ータ、イメージデータ、形状カラー混合データである。
PDLの代表例であるポストスクリプトの仕様はAdobe
System Incoporatedが発行しているPost Script Langua
ge Reference Manualに規定されている。
The processing based on the above configuration will be described in more detail. In FIGS. 1 and 3, the P
The DL file 13 is once taken into the disk memory 25 via the data communication unit 2. The identification unit 3 classifies the PDL into four attributes 14 in order from the beginning of the file. FIG.
, Attributes 1 to 4 are shape data, color data, image data, and shape color mixed data.
The specification of PostScript, a typical example of PDL, is Adobe
Post Script Langua published by System Incoporated
ge Reference Manual.

【0010】可視情報に表現するオペレーターを大きく
分けるとグラフィクスとフォントがある。グラフィクス
の中に色を表現するカラーオペレーターやサンブルドイ
メージ情報を扱うイメージオペレーターがある。それら
が出力デバイスの座標系に変換されるが、ここではプリ
ンタ出力しやすくするための前処理として、出力デバイ
スの座標系に変換された場合に原点に近い、つまりアド
レスの小さいものから並べ変える。並べ変えられたポス
トスクリプトのオペレータを逐次属性毎に展開部1〜4
で展開する。ワークエリア15は、画像出力インターフ
ェース27を介して接続される画像出力装置の座標系に
合わせてあり、この場合A3短手をプリントできる機器
の8ライン分メモリである。16画素/mm(400D
PI)では38016画素である(1ラインは4752
画素)。座標ではアドレス0からアドレス38015画
素までに含まれる情報全てを展開する。
Graphics and fonts can be roughly divided into operators for expressing visible information. There is a color operator that expresses colors in graphics and an image operator that handles sampled image information. These are converted to the coordinate system of the output device. Here, as a pre-process for facilitating printer output, when converted to the coordinate system of the output device, the data is rearranged from the one closer to the origin, that is, the one with the smaller address. Expanding Postscript Operators for Sorted Postscript Operators for Each Attribute
Expand with The work area 15 is adapted to the coordinate system of the image output device connected via the image output interface 27, and in this case, is a memory for eight lines of a device capable of printing A3 short hand. 16 pixels / mm (400D
In PI, there are 38,016 pixels (one line is 4752 pixels).
Pixel). In the coordinates, all the information included from the address 0 to the address 38015 pixels is developed.

【0011】次に展開されたイメージデータの圧縮につ
いて説明する。形状データは展開された8ライン情報を
1ラインごとに2値データ圧縮符号化処理を採用する。
形状データは細かい線画情報主体であり、画像ノイズは
目に見えやすいので、符号化は情報劣化のない可逆方式
を採用する。例えば、ランレングス圧縮方式である。圧
縮処理された結果はブロックメモリ9に溜られる。
Next, compression of the expanded image data will be described. The shape data adopts a binary data compression encoding process for the expanded 8 line information for each line.
Shape data is mainly composed of fine line drawing information, and image noise is easily visible. Therefore, encoding uses a reversible method without information deterioration. For example, a run length compression method is used. The result of the compression process is stored in the block memory 9.

【0012】カラーデータは、形状データ処理と密接に
関係し、形状データの変化点にカラーデータの変化点が
ある。上記同様に、座標ではアドレス0から38015
画素までに含まれる情報全てを展開する。そのアドレス
情報は形状データに合わせ、例えばランレングス圧縮方
式であらわし、位置情報に対応させカラー情報をテーブ
ルに保存する。サンプルドイメージ情報も同様に、座標
ではアドレス0からアドレス38015画素までに含ま
れる情報全てを処理する。圧縮処理されていないイメー
ジを8ライン画像情報毎に蓄え、多値画像圧縮処理を行
う。サンプルドイメージ情報は線画のような高周波成分
を含まないため、圧縮率の高い非可逆圧縮方式を用い
る。例えば、標準化が進んでいるJPEGが適してい
る。
The color data is closely related to the shape data processing, and the change points of the shape data include the change points of the color data. As above, the coordinates are from address 0 to 38015
Expand all the information included up to the pixel. The address information is represented by, for example, a run-length compression method according to the shape data, and the color information is stored in a table in correspondence with the position information. Similarly, for the sampled image information, all the information included in the coordinates from address 0 to address 38015 pixels is processed. An image that has not been compressed is stored for each 8-line image information, and a multi-valued image compression process is performed. Since the sampled image information does not include a high frequency component such as a line drawing, an irreversible compression method having a high compression rate is used. For example, JPEG, which is being standardized, is suitable.

【0013】形状カラー混合情報は単独でオペレータと
して存在しないため、形状とカラーデータを1ライン毎
に展開した結果、カラーデータがある数字(値)以上の
場合は形状カラー混合情報とする。例えば、500以上
は形状カラー混合情報とし、例えば1000以下のラン
レングス圧縮方式とカラーテーブルを採用する。100
0を超える場合は展開された1ラインデータから一度誤
差分散方式によるデータ量圧縮を行い、その結果をラン
レングス圧縮方式により圧縮処理し、カラーテーブルに
保存する。2500以上の場合は展開された1ラインデ
ータの解像度を半分に間引いてその結果をランレングス
圧縮処理してカラーテーブルに保存する。
Since the shape and color mixture information does not exist alone as an operator, as a result of expanding the shape and color data for each line, if the color data exceeds a certain number (value), it is determined to be the shape and color mixture information. For example, 500 or more is the shape color mixing information, and for example, a run length compression method and a color table of 1000 or less are adopted. 100
If it exceeds 0, the data amount is compressed once by the error dispersion method from the expanded one line data, and the result is compressed by the run length compression method and stored in the color table. In the case of 2500 or more, the resolution of the expanded one-line data is reduced to half, and the result is subjected to run-length compression processing and stored in a color table.

【0014】更に画質を要求される場合は、カラー情報
の変化量が変化している範囲で幾つか解像度になるかを
判定して一定の解像度の間は最初のカラー情報とそれか
らの差分とそのくりかえし数をテーブルに保存する。こ
こで、テーブルは図1に示すコマンドメモリ8とブロッ
クメモリ9に設けられる。上記実施例によれば、4つの
属性にわけて展開し、圧縮処理した結果はそれぞれブロ
ックメモリ9に設けたワークエリアに入るが、それらの
データ量の合計が予め設定された値の範囲内にあるかを
調べる。属性毎に最適な圧縮方法を1ラインを含めたブ
ロック単位で処理するため、高い圧縮率を少ないワー
クエリアで実現できる。値は、ブロックメモリがページ
メモリに比べて十分小さくなるように、例えば処理装置
の具備している最大ページメモリサイズをブロック数で
分割した数の十分の一とする。
If further image quality is required, it is determined how many resolutions can be obtained within the range in which the amount of change in the color information is changing. Save the number of iterations in a table. Here, the table is provided in the command memory 8 and the block memory 9 shown in FIG. According to the above-described embodiment, the result of decompression and compression processing into four attributes respectively enters the work area provided in the block memory 9, but the sum of the data amounts falls within a range of a preset value. Find out if there is. To process the optimal compression method for each attribute in the block units, including one line, it is possible to realize a high compression ratio with a small work area. The value is, for example, one tenth of the maximum page memory size of the processing device divided by the number of blocks so that the block memory is sufficiently smaller than the page memory.

【0015】次に上記値について、更に詳しく説明す
る。なお、図4に於けるステップ7〜11の処理に対応
する。まず値はサイズ制御に設定された処理した結果の
比較も行う。調べた結果が設定値より大きい場合は人間
の目の特性から画質に影響の出にくい属性からより高い
圧縮率を求めるために再度圧縮処理をおこなう。とくに
サンプルドイメージ情報は解像度を間引くリサンプリン
グ処理が効果的である。この結果でもまだ設定値を越え
ている場合は形状カラー混合データの圧縮をより高い圧
縮率をだすために再度処理する。調べた結果が設定値よ
り小さい場合はその結果、4つの属性毎に処理されたデ
ータの位置関係、及び最終的にどの圧縮方法を選択した
かの情報を1ライン毎にくみあわせてコマンドとして生
成しブロックメモリ、コマンドメモリに蓄積する。ワー
クエリアのデータをページメモリに蓄積しつぎのブロッ
クの処理に移る。
Next, the above values will be described in more detail. Note that this corresponds to the processing of steps 7 to 11 in FIG. First, the value is compared with the processing result set in the size control. If the result of the check is larger than the set value, the compression process is performed again in order to obtain a higher compression ratio from an attribute that does not easily affect the image quality due to the characteristics of human eyes. In particular, for sampled image information, resampling processing for thinning out the resolution is effective. If the result still exceeds the set value, the compression of the shape / color mixed data is processed again to obtain a higher compression ratio. If the result of the check is smaller than the set value, as a result, the positional relationship of the data processed for each of the four attributes and information on which compression method was finally selected are combined for each line to generate a command. Then, the data is stored in the block memory and the command memory. The data in the work area is stored in the page memory, and the process proceeds to the next block.

【0016】次にアドレス38016から76031ま
でで、同様の処理を繰り返し、そのページの最後のデー
タ処理を終えたら次のページに移る。ページメモリ19
には処理した結果が10枚畜えられる。受け取ったPD
L情報が10枚を超える場合は10枚まで処理し終えた
ところで出力する。10枚以内の場合はページが終了し
たところでプリント処理する。プリントする場合はペー
ジメモリに蓄えられたデータをもとに外部の画像出力装
置に同期してコマンドメモリを参照しながらリアルタイ
ムに伸長部11で伸長し4つの属性を1ライン単位で合
成部12によって合成しプリント出力する。
Next, the same processing is repeated at addresses 38016 to 76031, and when the last data processing of the page is completed, the processing shifts to the next page. Page memory 19
Can store 10 processed results. PD received
If the L information exceeds ten sheets, it is output when the processing for up to ten sheets is completed. If the number is less than ten, print processing is performed at the end of the page. When printing, based on the data stored in the page memory, the decompression unit 11 decompresses the image data in real time while referring to the command memory in synchronization with an external image output device. Combine and print out.

【0017】例えば、文字データを例にして説明する
と、図4において、まず取り込まれたPDL情報を認識
部で解釈して文字を判断し(S1)、文字以外の属性の
位置関係を組合わせコマンドで蓄積する(S2)。文字
データは属性展開部1で1ラインごとに展開する(S
3)。形状と色情報に分ける(S4)。圧縮から位置情
報はランレングス圧縮を選択する(S5)。圧縮から色
情報はランレングス圧縮とテーブル方式を選択する(S
6)。圧縮処理されたデータをブロックメモリへ蓄積す
る(S7)。ブロックメモリへ蓄積されたデータ量と予
めサイズ制御へ設定された数字(値)と比較する(S
8)。その結果、蓄積されたデータ量が設定値より小さ
いときは、当該データをページメモリへ蓄積する(S1
0)。また設定値より大きいときは別の圧縮方式を選択
し(S11)、再度ステップ7の処理を行う。
For example, a description will be given by taking character data as an example. In FIG. 4, first, a fetched PDL information is interpreted by a recognition unit to determine a character (S1), and the positional relationship of attributes other than the character is determined by a combination command. (S2). The character data is developed line by line by the attribute developing unit 1 (S
3). It is divided into shape and color information (S4). From the compression, run-length compression is selected for position information (S5). From the compression, the color information selects run-length compression and a table method (S
6). The compressed data is stored in the block memory (S7). The amount of data stored in the block memory is compared with a number (value) preset for size control (S
8). As a result, when the accumulated data amount is smaller than the set value, the data is accumulated in the page memory (S1).
0). If it is larger than the set value, another compression method is selected (S11), and the process of step 7 is performed again.

【0018】本実施例では、分類された属性データを展
開部を経て圧縮処理した後に、ブロックメモリに蓄える
ように構成されているが、図5に示すように展開部を経
てブロックメモリ13に一旦蓄え、その後、圧縮処理す
ることも可能である。一般的に属性展開部の処理に最も
時間がかかる。特に圧縮処理が高速に実施できない場合
は、さらに時間がかかるため、一旦ブロックメモリに蓄
えることは処理スピードの点から有効である。また本実
施例では、ディスクメモリを使った説明がされている
が、一部をICメモリにして処理スピードを向上させる
こともできる。
In the present embodiment, the classified attribute data is configured to be compressed in the block memory after being compressed through the decompressing unit. However, as shown in FIG. 5, the attribute data is temporarily stored in the block memory 13 through the decompressing unit. It is also possible to store the data and then perform a compression process. Generally, the processing of the attribute developing unit takes the longest time. In particular, if the compression processing cannot be performed at high speed, it takes more time, so that storing the data in the block memory once is effective in terms of processing speed. Further, in the present embodiment, the description has been made using the disk memory. However, the processing speed can be improved by partially using the IC memory.

【0019】また本実施例では、圧縮a〜dと属性毎に
独立しているが、圧縮方式は画像処理装置の内部処理で
あるため画像に最も適した圧縮方式が選べる。そこで、
図6に示す圧縮部6は複数の圧縮方式が実装されてお
り、属性展開部の処理結果を受けてその中から選択し処
理する。このように構成することにより、圧縮方式は実
施例に示した標準化されている圧縮方式とその組み合わ
せ、または画像に適したユニークな方法を取ることがで
きる。
In this embodiment, the compression is independent of the compressions a to d for each attribute. However, since the compression method is internal processing of the image processing apparatus, the most suitable compression method for the image can be selected. Therefore,
The compression unit 6 shown in FIG. 6 is provided with a plurality of compression schemes, receives the processing result of the attribute expansion unit, selects the processing result, and processes it. With this configuration, the compression method can be a standardized compression method described in the embodiment and a combination thereof, or a unique method suitable for an image.

【0020】本実施例によれば、次の効果を期待するこ
とができる。すなわち、 (1)着目したPDLの属性に対して、予め属性毎に識
別しブロック単位で処理しそれぞれに最適な圧縮処理を
おこない、データ量をチェックして必要に応じて再度圧
縮を行うことで、少ないワークメモリ/ページメモリで
画質の劣化のわからない画像出力装置を提供することが
できる。 (2)ワークメモリをハードディスク上にもち、ページ
メモリを最小限持つようにすれば、従来必要なページメ
モリの5分の1程度で通常プリントができる。 (3)どのようなPDLで記述されたデータでもプリン
ト処理が可能である。 (4)従来必要なページメモリ1ページ分持てば一度に
異なった原稿10枚を連続してプリントできる装置を実
現できる。 (5)この実施例では400DPIをもちいて説明して
いるが、より高解像度、例えば600DPIであれば更
にその効果は大きくなる。
According to the present embodiment, the following effects can be expected. That is, (1) For the attribute of the PDL of interest, the attribute is identified in advance for each attribute, processed in block units, optimal compression processing is performed for each attribute, the data amount is checked, and compression is performed again as necessary. Further, it is possible to provide an image output device in which the deterioration of the image quality is not noticeable with a small work memory / page memory. (2) If the work memory is provided on the hard disk and the page memory is minimized, normal printing can be performed with about one fifth of the conventionally required page memory. (3) Print processing can be performed on data described in any PDL. (4) An apparatus capable of continuously printing ten different originals at once can be realized by holding one page memory required conventionally. (5) In this embodiment, the description is made using 400 DPI. However, if the resolution is higher, for example, 600 DPI, the effect is further enhanced.

【0021】本発明は次の態様を包含するものである。 (1)認識手段は属性データを少なくとも形状データ、
カラーデータ、イメージデータと形状カラー混合データ
とに分類する機能を備えること。 (2)圧縮手段は1を含む複数ラインブロック毎に展開
した結果が、カラーデータ数がある基準データサイズを
超えたことを検知する手段を有し、超えたブロックには
属性ごとに選択的に圧縮処理を行う機能を備えることに
より、高画質でかつメモリを少なくすることができる。 (3)圧縮手段として、形状データ及びカラーデータは
可逆圧縮処理、イメージデータは非可逆圧縮処理を用い
ることにより、最適な圧縮で高画質を実現できる。 (4)圧縮手段は形状カラー混合データのライン方向の
解像度情報により複数種の異なった圧縮方法から選択し
た処理を施す機能を備えることにより、圧縮率が高く、
高画質を実現できる。
The present invention includes the following embodiments. (1) The recognition means converts the attribute data into at least shape data,
Provide a function to classify color data, image data and shape color mixed data. (2) The compression means has means for detecting that the result of expansion for each of a plurality of line blocks including 1 has exceeded the number of color data exceeding a certain reference data size. By providing the function of performing the compression process, it is possible to achieve high image quality and reduce the memory. (3) By using lossless compression processing for shape data and color data and irreversible compression processing for image data as compression means, high image quality can be realized with optimal compression. (4) The compression means has a function of performing processing selected from a plurality of different compression methods based on the resolution information in the line direction of the shape color mixed data, so that the compression ratio is high,
High image quality can be realized.

【0022】[0022]

【発明の効果】上述のように、本発明によれば、PDL
の属性に着目し予め属性ごとに識別しブロック単位で処
理しそれぞれに最適な圧縮処理を行うことで、少ないワ
ークメモリ/ページメモリで画質の劣化の少ない画像が
得られる。
As described above, according to the present invention, the PDL
By paying attention to these attributes, the attributes are identified in advance and processed in units of blocks, and optimal compression processing is performed for each of the attributes.

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

【図1】 本発明の実施例に係る機能ブロック図であ
る。
FIG. 1 is a functional block diagram according to an embodiment of the present invention.

【図2】 本発明の実施例に係るメモリ構造を示す図で
ある。
FIG. 2 is a diagram illustrating a memory structure according to an embodiment of the present invention.

【図3】 本発明の実施例に係るハードウエア構成を示
すブロック図である。
FIG. 3 is a block diagram illustrating a hardware configuration according to an embodiment of the present invention.

【図4】 複数に分類された属性データの一つとして文
字データの処理の流れを示すフローチャートである。
FIG. 4 is a flowchart showing a flow of processing of character data as one of attribute data classified into a plurality of types.

【図5】 本発明の他の実施例に係る属性毎に展開され
たデータを圧縮する前に、一旦ブロックメモリにストア
するように構成された画像処理装置の機能ブロック図で
ある。
FIG. 5 is a functional block diagram of an image processing apparatus configured to temporarily store data decompressed for each attribute according to another embodiment of the present invention in a block memory before compressing the data.

【図6】 本発明の他の実施例に係るデータ量に応じて
最適な圧縮方式を選択可能に構成された画像処理装置の
機能ブロック図である。
FIG. 6 is a functional block diagram of an image processing apparatus according to another embodiment of the present invention, which is configured to be able to select an optimal compression method according to a data amount.

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

1…ホスト、2…データ通信部、3…識別部、4…属性
展開部、5…組合わせコマンド、6…圧縮部、7…サイ
ズ制御部、8…コマンドメモリ、9…ブロックメモリ、
10…ページメモリ、11…伸長部、12…合成部
DESCRIPTION OF SYMBOLS 1 ... Host, 2 ... Data communication part, 3 ... Identification part, 4 ... Attribute development part, 5 ... Combination command, 6 ... Compression part, 7 ... Size control part, 8 ... Command memory, 9 ... Block memory,
10 page memory, 11 expansion unit, 12 synthesis unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 柴田 文彦 神奈川県海老名市本郷2274番地 富士ゼ ロックス株式会社内 (72)発明者 國政 武史 神奈川県海老名市本郷2274番地 富士ゼ ロックス株式会社内 (56)参考文献 特開 平4−88572(JP,A) 特開 平7−168681(JP,A) 特開 平7−65177(JP,A) 特開 平6−125454(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/41 - 1/419 G06T 9/00 B41J 5/30 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Fumihiko Shibata 2274 Hongo, Fujigo Rocks, Ebina-city, Kanagawa Prefecture References JP-A-4-88572 (JP, A) JP-A-7-168681 (JP, A) JP-A-7-65177 (JP, A) JP-A-6-125454 (JP, A) (58) Survey Field (Int.Cl. 7 , DB name) H04N 1/41-1/419 G06T 9/00 B41J 5/30

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ページ記述言語で記述された内容をペー
ジ単位で複数種の属性データに分類する認識手段と、 この認識手段で分類された各属性データを1を含む複数
ラインからなるブロック毎に各々展開する複数の属性展
開手段と、 この属性展開手段により展開されたデータを各属性デー
タ毎に圧縮する圧縮手段と、 この圧縮手段により圧縮されたデータを記憶するブロッ
クメモリと、 このブロックメモリに記憶された各属性の圧縮データに
基づいて、各ラインに含まれる各属性の圧縮データとそ
の位置関係および各属性の圧縮データを復元するための
情報からなるコマンドを順次生成するコマンド生成手段
と、 このコマンド生成手段により生成されたコマンドを記憶
するページメモリと、を備えたことを特徴とする画像処
理装置。
1. A recognizing means for classifying contents described in a page description language into a plurality of types of attribute data on a page-by-page basis, and each attribute data classified by the recognizing means for each block composed of a plurality of lines including 1. A plurality of attribute decompression means for decompressing each of them; a compression means for compressing data decompressed by the attribute decompression means for each attribute data; a block memory for storing data compressed by the compression means; Command generation means for sequentially generating, based on the stored compressed data of each attribute, compressed data of each attribute included in each line, a positional relationship thereof, and a command comprising information for restoring the compressed data of each attribute, An image processing apparatus comprising: a page memory for storing a command generated by the command generation unit.
【請求項2】 請求項1記載の画像処理装置において、 前記ブロックメモリに記憶された各属性の圧縮データの
サイズを検出し、該サイズが所定のサイズ以上となる場
合は前記圧縮手段の圧縮方式を変更する手段を備えたこ
とを特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, wherein a size of the compressed data of each attribute stored in the block memory is detected, and when the size is equal to or larger than a predetermined size, a compression method of the compression unit is used. An image processing apparatus characterized by comprising means for changing the image processing.
【請求項3】 各ラインにおける各属性の圧縮データと
その位置関係および各属性の圧縮データを復元するため
の情報からなるコマンドを記憶するページメモリと、 このページメモリに記憶された前記コマンドを順次読み
出す手段と、 この読出手段により読み出されたコマンドの各属性の圧
縮データをその復元するための情報に基づいて各々復元
する手段と、 この復元手段により各属性毎に復元されたデータを、該
コマンドの各属性の圧縮データの位置関係の情報に基づ
いて合成する手段と、を備えたことを特徴とする画像処
理装置。
3. A page memory for storing compressed data of each attribute in each line, a positional relationship thereof, and a command comprising information for restoring the compressed data of each attribute, and a command sequentially stored in the page memory. Reading means; means for restoring compressed data of each attribute of the command read by the reading means based on information for restoring the compressed data; and data restored for each attribute by the restoring means. Means for synthesizing based on information on the positional relationship of the compressed data of each attribute of the command.
JP4181694A 1994-02-16 1994-02-16 Image processing device Expired - Lifetime JP3211545B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4181694A JP3211545B2 (en) 1994-02-16 1994-02-16 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4181694A JP3211545B2 (en) 1994-02-16 1994-02-16 Image processing device

Publications (2)

Publication Number Publication Date
JPH07231391A JPH07231391A (en) 1995-08-29
JP3211545B2 true JP3211545B2 (en) 2001-09-25

Family

ID=12618837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4181694A Expired - Lifetime JP3211545B2 (en) 1994-02-16 1994-02-16 Image processing device

Country Status (1)

Country Link
JP (1) JP3211545B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4006333B2 (en) 2002-12-26 2007-11-14 キヤノン株式会社 Image compression method, image processing apparatus, computer program, and computer-readable storage medium
JP5782388B2 (en) * 2012-01-18 2015-09-24 京セラドキュメントソリューションズ株式会社 Image forming apparatus
JP6689508B2 (en) 2016-04-12 2020-04-28 シナプティクス・ジャパン合同会社 Image processing device, compression circuit, display driver, display device, and image processing method

Also Published As

Publication number Publication date
JPH07231391A (en) 1995-08-29

Similar Documents

Publication Publication Date Title
JP2922680B2 (en) Compressed image storage method for high-resolution computer graphics
US6751356B2 (en) Image processing apparatus and method
JP3063957B2 (en) Image processing device
US6563960B1 (en) Method for merging images
JPH0981763A (en) Method and device for compressing character and image mixed data
JP3461309B2 (en) Huffman coded data compression device
US6853466B1 (en) Image processing apparatus and method
JP2830690B2 (en) Image processing device
JPH08279761A (en) Method and circuit for compression of digital data and for release of the compression
JP3211545B2 (en) Image processing device
JPH08278862A (en) Image output device and image processing method
JP3685234B2 (en) Image processing device
US7236268B2 (en) Adaptive screening in raster image processing of complex pages
JP4400709B2 (en) Image processing apparatus and image processing method
JPH09167222A (en) Image processor
JP3581470B2 (en) Data processing method in page printer and page printer
JP3695498B2 (en) Image processing device
US20130135629A1 (en) Method of pre-processing data on a host machine for a host-based print system
JP2001169120A (en) Image processing apparatus and method, and image processing system
JP3093290B2 (en) Image processing device
JPH06113145A (en) Image processing device
JP2000168170A (en) Blank paper-detecting apparatus and image-recording apparatus, image-forming apparatus and image-reading apparatus using the same
JP3244745B2 (en) Image processing device
JP2002120411A (en) White sheet detector and image recorder, imaging apparatus and image reader comprising it
JP2005038084A (en) Method and apparatus for converting drawing data

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080719

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090719

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100719

Year of fee payment: 9