JP2007168129A - Recorder, image formation controller, and recording method - Google Patents

Recorder, image formation controller, and recording method Download PDF

Info

Publication number
JP2007168129A
JP2007168129A JP2005365418A JP2005365418A JP2007168129A JP 2007168129 A JP2007168129 A JP 2007168129A JP 2005365418 A JP2005365418 A JP 2005365418A JP 2005365418 A JP2005365418 A JP 2005365418A JP 2007168129 A JP2007168129 A JP 2007168129A
Authority
JP
Japan
Prior art keywords
compression
recording
data
attribute data
image
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.)
Withdrawn
Application number
JP2005365418A
Other languages
Japanese (ja)
Inventor
Hiroki Horikoshi
宏樹 堀越
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 JP2005365418A priority Critical patent/JP2007168129A/en
Publication of JP2007168129A publication Critical patent/JP2007168129A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an apparatus and a method which enable high-speed and high-quality image formation by generating optimum object attribute data according to a memory capacity and recording conditions. <P>SOLUTION: Rendering is carried out by interpreting PDL image information. Attribute data and raster image data for every object are generated. The recorder which records an image to a recording medium on the basis of these data is configured as follows. That is, the recorder is equipped with a compression means which compresses and encodes each of the attribute data and the raster image data, and a means which sets a target compressibility of the compression encoding by the compression means, for example, according to the memory capacity. Moreover, an attribute number of the attribute data is changed according to the memory capacity, and the attribute data is changed on the basis of the changed number of the attribute data. For achieving the set target compressibility, control is carried out so that the changed attribute data is compressed and encoded by the compression means, and further so that the raster image data is compressed and encoded. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は記録装置、画像形成制御装置、及び記録方法に関し、特に、例えば、インクジェット方式に従う記録ヘッドを搭載して記録を行う記録装置、画像形成制御装置、及び記録方法に関する。   The present invention relates to a recording apparatus, an image formation control apparatus, and a recording method, and more particularly, to a recording apparatus, an image formation control apparatus, and a recording method that perform recording by mounting a recording head according to an ink jet system, for example.

近年、パーソナルコンピュータ(PC)や複写機等のOA機器が広く普及しており、これらの機器の記録装置の一種としてディジタル画像記録を行うインクジェット記録装置が急速に普及している。特に、OA機器の高機能化とともにカラー化が進んでおり、これに伴なって様々なカラーインクジェット記録装置が開発されてきている。   In recent years, OA equipment such as personal computers (PCs) and copying machines has become widespread, and ink jet recording apparatuses that perform digital image recording are rapidly becoming popular as a kind of recording apparatus for these apparatuses. In particular, colorization has progressed with the enhancement of the functionality of OA equipment, and various color ink jet recording apparatuses have been developed accordingly.

一般にインクジェット記録装置(以下、記録装置)は、記録ヘッド及びインクタンクを搭載するキャリッジと、記録紙などの記録媒体を搬送する搬送手段と、これらを制御する制御手段とを備えている。そして、複数の吐出口からインク液滴を吐出させる記録ヘッドを記録媒体の搬送方向(副走査方向)と直交する方向(主走査方向)に走査させて記録を行なう一方、非記録時にはその記録幅に等しい量で記録媒体を間欠搬送する。さらには、カラー記録対応の記録装置の場合、複数色のインクを吐出する記録ヘッドから吐出されるインク液滴の重ねあわせによりカラー画像を形成する。   In general, an ink jet recording apparatus (hereinafter referred to as a recording apparatus) includes a carriage on which a recording head and an ink tank are mounted, a conveying unit that conveys a recording medium such as recording paper, and a control unit that controls them. The recording head for ejecting ink droplets from a plurality of ejection openings scans in the direction (main scanning direction) orthogonal to the recording medium conveyance direction (sub-scanning direction), while recording is performed when non-recording. The recording medium is intermittently conveyed by an amount equal to. Furthermore, in the case of a recording apparatus that supports color recording, a color image is formed by superimposing ink droplets ejected from a recording head that ejects a plurality of colors of ink.

この記録装置においてインク吐出方法としては、次の2つが代表的なものである。   In this recording apparatus, the following two ink ejection methods are typical.

1つは吐出口近傍に発熱素子(電気熱エネルギー変換体)を設け、この発熱素子に電気信号を印加することによりインクを局所的に加熱して圧力変化を起こさせ、インクを吐出口から吐出させるサーマル方式といわれるものである。もう1つは、ピエゾ素子等の電気圧力変換手段を用い、インクに機械的圧力を付与してインクを吐出するピエゾ方式といわれるものである。   One is to provide a heating element (electrothermal energy converter) in the vicinity of the discharge port, and by applying an electrical signal to this heating element, the ink is locally heated to cause a pressure change, and the ink is discharged from the discharge port. This is called the thermal method. The other is called a piezo method in which an electrical pressure converting means such as a piezo element is used to apply a mechanical pressure to ink and eject the ink.

一般に、前者のサーマル方式は、ノズルの高密度化が容易で、また記録ヘッドを低コストで構成できる反面、発熱を利用するためにインクや記録ヘッドの劣化を招きやすい。一方、後者のピエゾ方式は、吐出制御性に優れ、またインクの自由度が高く、記録ヘッド寿命が半永久的であるといった特徴がある。   In general, the former thermal method makes it easy to increase the density of nozzles and allows the recording head to be configured at low cost. However, since heat is used, the ink and the recording head are liable to deteriorate. On the other hand, the latter piezo method is characterized by excellent discharge controllability, high degree of ink freedom, and semi-permanent print head life.

ともあれインクジェット記録方法は、記録信号に応じて微少なインク液滴を吐出口から記録媒体上に吐出することにより文字や図形などの記録を行うものであり次のような利点がある。即ち、ノンインパクト記録方法であるため騒音が少ないこと、ランニング・コストが低いこと、装置が小型化しやすいこと、およびカラー化が容易であることなどである。このため、コンピュータやワードプロセッサ等と併用され、あるいは単独で使用される複写機、プリンタ、ファクシミリ等の記録装置において、記録手段として広く用いられている。   In any case, the ink jet recording method records characters, figures, and the like by ejecting minute ink droplets onto the recording medium from the ejection port in accordance with a recording signal, and has the following advantages. That is, since it is a non-impact recording method, noise is low, running cost is low, the apparatus is easy to miniaturize, and colorization is easy. For this reason, it is widely used as recording means in recording apparatuses such as copiers, printers, and facsimiles that are used in combination with computers or word processors, or used alone.

さて、従来のインクジェット記録方法では、インクのにじみのない高発色のカラー画像を得るためにインク吸収層を有する専用コート紙を使用する必要があった。しかしながら、近年はインクの改良等によりプリンタや複写機等で大量に使用される普通紙への記録適性を持たせた方法も実用化されている。   In the conventional ink jet recording method, it is necessary to use a special coated paper having an ink absorbing layer in order to obtain a color image with high color without ink bleeding. However, in recent years, a method has been put to practical use that has the ability to record on plain paper that is used in large quantities in printers, copiers, etc. by improving ink.

また、OHPシートや布、プラスチックシート等の様々な記録媒体への対応が望まれている。こうした要求に応えるため、インクの吸収特性が異なる記録媒体を必要に応じて選択した際に記録媒体の種類に係わりなく最良の記録が可能な記録装置の開発および製品化が進められている。さらに、記録媒体の大きさについても、宣伝広告用のポスタや衣類等の織布に対しては大きなサイズのものが要求されてきている。このような記録装置は、優れた記録手段として幅広い分野で需要が高まっており、より一層高品位な画像の提供が求められ、また更なる高速化への要求も一段と高まっていると言える。   In addition, it is desired to support various recording media such as an OHP sheet, cloth, and plastic sheet. In order to meet these demands, development and commercialization of a recording apparatus capable of performing the best recording regardless of the type of the recording medium when a recording medium having different ink absorption characteristics is selected as necessary has been promoted. Furthermore, regarding the size of the recording medium, a large size has been required for woven fabrics such as posters and clothes for advertising. The demand for such a recording apparatus is increasing in a wide range of fields as an excellent recording means, and it is demanded to provide a higher quality image, and it can be said that the demand for higher speed is further increased.

一般のカラーインクジェット記録方法では、シアン(C)、マゼンタ(M)、イエロ(Y)の3色のカラーインクにブラック(K)を加えた4色のインクを使用してカラー記録を実現する。このような記録装置においては、文字のみを記録するモノクロの記録装置と異なり、カラー画像を記録するにあたっては、インクによる発色性や階調性一様性など様々な要素を考慮する必要がある。   In a general color inkjet recording method, color recording is realized using four color inks obtained by adding black (K) to three color inks of cyan (C), magenta (M), and yellow (Y). In such a recording apparatus, unlike a monochrome recording apparatus that records only characters, it is necessary to consider various factors such as ink color development and gradation uniformity when recording a color image.

また、このような記録装置では、画像表現を更に多階調もして自然画像をより高品位に形成するため、従来のシアン(C)、マゼンタ(M)、イエロ(Y)、ブラック(K)の4色に加えて、さらに別のインクを加えている。即ち、インク濃度の低いライトシアン(LC)、ライトマゼンタ(LM)、ライトイエロ(LY)の3色を加えた7色インクを用いることにより、ハイライト部分の粒状感軽減を実現している。   Further, in such a recording apparatus, a natural image is formed with higher gradation by further expressing the image, so that conventional cyan (C), magenta (M), yellow (Y), and black (K) are used. In addition to these four colors, another ink is added. That is, the graininess of the highlight portion is reduced by using seven color inks, which are three colors of light cyan (LC), light magenta (LM), and light yellow (LY) having a low ink density.

このような記録装置の中に、ページ単位のページ記述言語(PDL)方式のカラー多値情報を含む情報を解析してページ単位でプリント出力する所謂ページプリンタがある。PDLとは、ページ上の描画データをオブジェクトと呼ばれる文字や図形や画像といった描画要素に分割してオブジェクトコード化することで少ないデータ量でプリンタへ画像情報を転送するための言語情報である。   Among such recording apparatuses, there is a so-called page printer that analyzes information including color multi-value information of a page description language (PDL) method in page units and prints out in page units. PDL is language information for transferring image information to a printer with a small amount of data by dividing drawing data on a page into drawing elements such as characters, graphics, and images called objects and converting them into object codes.

PDLを用いる場合、まず、ホストPCからPDLで記述された画像形成すべき情報を送信し、プリンタ側において受信したPDLデータを解釈し、ディスプレイリストと呼ばれる中間データを生成して保持する。次に、この中間データにしたがいレンダリング(ラスタイメージへの変換)を行うことで各種情報から記録解像度に対応した画像情報を生成する。なお、PDLにはPostScript(登録商標)に代表される高度なグラフィックス機能に特徴を持つタイプと、LIPSやPCLに代表される高速に記録できる高速処理機能に特徴を持つタイプのものがある。   When using PDL, first, information to be formed in an image described in PDL is transmitted from the host PC, the received PDL data is interpreted on the printer side, and intermediate data called a display list is generated and held. Next, image information corresponding to the recording resolution is generated from various information by performing rendering (conversion to a raster image) according to the intermediate data. There are two types of PDL, which are characterized by advanced graphics functions such as PostScript (registered trademark), and types that are characterized by high-speed processing functions that can be recorded at high speed, such as LIPS and PCL.

図11はカラー画像記録に対応したPDLを用いる記録装置の概略構成を示すブロック図である。図11に示すように、この記録装置は画像形成コントローラ1201と画像形成エンジン1202で構成される。画像形成コントローラ1201は、PC等のホストとの間で画像情報や各種制御情報を授受するためのインタフェースや入力画像情報に基づく画像形成データの生成などを実現するものである。一方、画像形成エンジン1202は、記録媒体の搬送制御やキャリッジ駆動制御を行うとともに記録ヘッドを駆動してインクを記録媒体に吐出して画像を形成する。   FIG. 11 is a block diagram showing a schematic configuration of a recording apparatus using PDL corresponding to color image recording. As shown in FIG. 11, the recording apparatus includes an image forming controller 1201 and an image forming engine 1202. The image forming controller 1201 realizes an interface for transmitting / receiving image information and various control information to / from a host such as a PC, and generation of image forming data based on input image information. On the other hand, the image forming engine 1202 controls the conveyance of the recording medium and the carriage driving control and drives the recording head to eject ink onto the recording medium to form an image.

次に、画像形成コントローラにおけるデータフローについて詳細に説明する。   Next, the data flow in the image forming controller will be described in detail.

PDLデータの描画には大きく2つの方法がある。   There are two main methods for drawing PDL data.

1つはコントーンレンダリングと呼ばれる方式であり、RGB多値データ(多くの場合は各色8ビット)でレンダリング処理を実行するもので出力データ形式も同様にRGB多値データとなる。もう1つは中間調レンダリングと呼ばれる方式である。この方式によれば、RGB多値データをエンジン所望のシアン(C)、マゼンタ(M)、イエロ(Y)の3色のカラーインクにブラック(K)を加えた色空間に変換したディスプレイリストを生成し、さらにレンダリング処理に先立って中間調処理を行う。そして、中間調レンダリング方式の出力データ形式は階調変換されたKCMYデータとなる。ディスプレイリスト以前の段階で中間調処理を行うことも可能である。   One is a method called contone rendering, in which rendering processing is executed with RGB multi-value data (in many cases, 8 bits for each color), and the output data format is similarly RGB multi-value data. The other is a method called halftone rendering. According to this method, a display list obtained by converting RGB multi-value data into a color space obtained by adding black (K) to the desired three color inks of cyan (C), magenta (M), and yellow (Y) is desired. And halftone processing prior to rendering processing. The output data format of the halftone rendering method is KCMY data subjected to gradation conversion. It is also possible to perform halftone processing before the display list.

図12はコントーンレンダリング方式に従う画像形成コントローラ内のデータ処理の流れを示す図である。   FIG. 12 is a diagram showing a flow of data processing in the image forming controller according to the contone rendering method.

ブロック1101ではホストPCより各種PDLデータを受信すると、CPUにおいてPDLデータの解析処理を行い、これをブロック1102において高速なレンダリング処理を行うための中間データ(ディスプレイリスト(DL))に変換する。そして、RAMに割り当てられたDLバッファ1103には通常1ページ分のディスプレイリストを格納する。   In block 1101, when various PDL data is received from the host PC, the CPU analyzes the PDL data, and in block 1102, converts it into intermediate data (display list (DL)) for high-speed rendering processing. The DL buffer 1103 assigned to the RAM normally stores a display list for one page.

続いて、ブロック1104では生成格納されたディスプレイリストに従ってRGB各色8ビットのラスタ画像データへの変換処理(レンダリング)を行なう。ここでは、1ページよりも小さなライン数であるバンド単位のディスプレイリストに従いバンドごとのラスタイメージ変換処理を行う。そして、ラスタ画像データを構成する各オブジェクトの種類を認識してオブジェクト種を示す属性データを付加して描画バッファ1105に出力する。   Subsequently, in block 1104, conversion processing (rendering) into 8-bit raster image data of each color of RGB is performed according to the display list generated and stored. Here, raster image conversion processing for each band is performed in accordance with a display list for each band having a smaller number of lines than one page. Then, the type of each object constituting the raster image data is recognized, attribute data indicating the object type is added, and output to the drawing buffer 1105.

レンダリング処理結果であるラスタ画像データ及び属性データは描画バッファ1105に一時格納された後に、ブロック1006では夫々非可逆方式および可逆方式を用いて圧縮符号化処理を施して、その結果をページバッファ1107に保持する。ブロック1108では、画像記録に際してページバッファ1107に保持されている圧縮データを読み出して伸長(復号化)処理して画像処理バッファ1109に一時格納する。そして、ブロック1110では、RGB多値データに対して属性データを参照しながら色変換及び中間調処理を実行して出力解像度のKCMY成分各色1ビットデータを生成する。   Raster image data and attribute data, which are rendering processing results, are temporarily stored in the rendering buffer 1105, and then subjected to compression encoding processing using a lossy method and a lossless method in block 1006, and the results are stored in the page buffer 1107. Hold. In block 1108, the compressed data held in the page buffer 1107 is read at the time of image recording, decompressed (decoded), processed, and temporarily stored in the image processing buffer 1109. In block 1110, color conversion and halftone processing are executed with reference to the attribute data for the RGB multi-value data to generate 1-bit data for each color of the KCMY component of the output resolution.

生成したドットデータは画像形成エンジン1202へ転送される。   The generated dot data is transferred to the image forming engine 1202.

ここで属性データとはオブジェクトの種類を示すもので、例えば、文字、細線、図形、中間調画像などのほかに有彩色と無彩色などを識別するよう構成する。後段の画像処理において画素単位に付与された属性データを参照しながら適切な色調整や中間調処理を施すことにより最終的なプリント出力の高画質化を実現する。   Here, the attribute data indicates the type of object, and is configured to identify, for example, chromatic colors and achromatic colors in addition to characters, fine lines, figures, halftone images, and the like. By performing appropriate color adjustment and halftone processing while referring to the attribute data assigned to each pixel in the subsequent image processing, it is possible to achieve high image quality of the final print output.

上述のようにして生成されたラスタイメージと属性データをページ単位で限られたメモリに保持するために圧縮符号化が行われる。カラー画像ではレンダリングにより作成されるラスタイメージは非常に大きく、可逆な圧縮方式では常時高能率なデータ圧縮を行うことは困難であることから非可逆な圧縮方式(例えば、JPEG)が採用されている。JPEG方式ではDCT変換係数を量子化する際の量子化ステップを制御することにより符号量と画質を制御することができる。実際の圧縮率調整では、想定した符号量を越えてしまった場合に圧縮率(量子化パラメータ)を変更して再度圧縮符号化を行う方法や、あらかじめプリスキャンによる符号量見積もりを行って量子化パラメータを設定する方法などが用いられる。   Compression encoding is performed to hold the raster image and attribute data generated as described above in a limited memory in units of pages. In color images, raster images created by rendering are very large, and it is difficult to perform highly efficient data compression at all times with a reversible compression method, so an irreversible compression method (for example, JPEG) is adopted. . In the JPEG method, the code amount and image quality can be controlled by controlling the quantization step when quantizing the DCT transform coefficient. In actual compression rate adjustment, if the expected code amount is exceeded, the compression rate (quantization parameter) is changed and compression encoding is performed again, or the code amount is estimated by pre-scanning in advance and quantized. A method of setting parameters is used.

一方、属性データには劣化が許されないことから可逆圧縮(例えば、パックビッツ圧縮)を施すことになる。パックビッツ圧縮などに代表される可逆圧縮方式では符号量調整が行えないので、データの特性によっては圧縮後のサイズが非常に大きくなってしまう場合がある。   On the other hand, since the attribute data is not allowed to deteriorate, reversible compression (for example, pack bits compression) is performed. In a lossless compression method typified by packbits compression or the like, the code amount cannot be adjusted, and the size after compression may become very large depending on the data characteristics.

属性データの圧縮後のサイズが大きいと全体に占める属性データの割合が大きくなるため、ラスタイメージの圧縮率を高くすることでトータルサイズを小さく抑えなければならない。結果として非可逆圧縮による画質劣化が属性データを使用した画質改善効果を上回って出力画像の画質低下を招いてしまう。   If the size of the attribute data after compression is large, the ratio of the attribute data to the whole becomes large. Therefore, the total size must be kept small by increasing the compression rate of the raster image. As a result, the image quality deterioration due to lossy compression exceeds the image quality improvement effect using attribute data, leading to a reduction in image quality of the output image.

そこで目標となる圧縮率に満たなかった場合に、属性データから置換ビットを決定して属性値の置換処理を行って情報量を削減して圧縮率を高める方式などが提案されている(例えば、特許文献1、特許文献2参照)。具体的には、無彩色文字と有彩色文字の識別情報を全て有彩色文字に置き換えたり、文字や線画と中間調画素の識別情報を全て中間調画素を示すよう変更するのである。
特開2003−069835号公報 特開2004−214738号公報
Therefore, a method has been proposed in which, when the target compression rate is not reached, a replacement bit is determined from the attribute data, and attribute value replacement processing is performed to reduce the amount of information and increase the compression rate (for example, (See Patent Document 1 and Patent Document 2). Specifically, all the identification information of achromatic characters and chromatic characters is replaced with chromatic characters, or the identification information of characters, line drawings, and halftone pixels is all changed to indicate halftone pixels.
JP 2003-069835 A Japanese Patent Laid-Open No. 2004-214738

しかしながら上記従来の画像形成コントローラには次のような課題が存在する。   However, the conventional image forming controller has the following problems.

先述のとおり、生成されたラスタイメージと属性データをページ単位で限られたメモリに保持するために圧縮符号化が行われる。ラスタイメージには非可逆な圧縮方式が採用され、量子化テーブルなどのパラメータを選択制御することによって符号量、即ち、圧縮率の調整が可能である。高画質/低圧縮なパラメータから低画質/高圧縮なパラメータに順次変更を繰り返して目標となる符号量に抑えるよう制御される。   As described above, compression encoding is performed to hold the generated raster image and attribute data in a limited memory in units of pages. An irreversible compression method is employed for the raster image, and the code amount, that is, the compression rate can be adjusted by selectively controlling parameters such as a quantization table. Control is performed so as to suppress the target code amount by repeating the sequential change from the high image quality / low compression parameter to the low image quality / high compression parameter.

また属性データについては可逆な圧縮方式が採用され、元になる属性情報量を削減することによって符号量、即ち、圧縮率の調整を行う。レンダリング時に描画生成したオブジェクト属性種別を初期値として、必要に応じて特定の識別情報を固定化することなどで属性種を削減して情報量を減らし、結果として可逆圧縮後の符号量を抑制する。   For attribute data, a reversible compression method is adopted, and the amount of code, that is, the compression rate is adjusted by reducing the amount of attribute information as a source. Using the object attribute type created during rendering as the initial value, fixing specific identification information as necessary reduces the attribute type to reduce the amount of information, and consequently suppresses the amount of code after lossless compression. .

ここで、ラスタイメージと属性データが目標圧縮率に満たない場合に生じる上記のようなリトライ処理、即ち、画像再圧縮処理や属性情報削減処理は、処理そのものに多大な時間を必要とするだけでなく、メモリを含めたシステム全体に重い負荷を与える。従って、リトライ処理が繰返し実行されると、スループットの低下を引き起こす場合がある。   Here, the retry processing that occurs when the raster image and the attribute data do not satisfy the target compression rate, that is, the image recompression processing and the attribute information reduction processing, only requires a lot of time for the processing itself. But it puts a heavy load on the entire system including the memory. Therefore, when the retry process is repeatedly executed, the throughput may be reduced.

また、レンダリング時の属性データの作成においては、多種のオブジェクト属性を識別するほど処理負荷は重くなりレンダリング時間の増大につながる。特に、低価格な記録装置の画像形成コントローラで採用されるCPUによるソフトウエアレンダリングの場合には記録速度低下を招く要因となる。   In creating attribute data at the time of rendering, the processing load increases as the various object attributes are identified, leading to an increase in rendering time. In particular, in the case of software rendering by a CPU employed in an image forming controller of a low-cost recording apparatus, it causes a reduction in recording speed.

さらには、ラスタイメージと属性データの高圧縮化が要求される状況下で、過度に属性情報量が大きくなった結果としてラスタイメージを高圧縮で符号化することはバランスの取れた高画質化処理を妨げることにもなる。   Furthermore, in situations where high compression of the raster image and attribute data is required, encoding the raster image with high compression as a result of the excessive amount of attribute information is a balanced image quality improvement process. It will also interfere.

実際のページデータ圧縮における目標圧縮率は、システムのメモリ搭載量や、ラスタイメージのサイズ、両面又は片面プリントといった記録条件にしたがい大きく変動する場合が多い。しかしながら上記従来の画像形成コントローラは、設定された目標圧縮率とは無関係にレンダリング段階で識別する画素単位のオブジェクト属性種数を決定(固定化)している。従って、非可逆圧縮における画質劣化抑制と属性適応処理による高画質化の最適なバランスを実現するには非常に数多くのリトライ処理が必要となって、最終的な記録性能の低下を引き起こす場合がある。   In many cases, the target compression rate in actual page data compression largely fluctuates according to the memory loading amount of the system, the size of the raster image, and the recording conditions such as double-sided or single-sided printing. However, the conventional image forming controller determines (fixes) the number of object attribute types for each pixel to be identified at the rendering stage regardless of the set target compression rate. Therefore, in order to achieve the optimum balance between image quality degradation suppression in lossy compression and image quality improvement by attribute adaptation processing, a large number of retry processes are required, which may cause a decrease in final recording performance. .

本発明は上記従来例に鑑みてなされたもので、メモリ容量や記録条件に応じて最適なオブジェクト属性データの生成を行い、高速かつ高品位な画像形成を可能にする記録装置、画像形成制御装置、及び記録方法を提供することを目的とする。   The present invention has been made in view of the above-described conventional example. A recording apparatus and an image formation control apparatus that generate optimal object attribute data according to a memory capacity and recording conditions and enable high-speed and high-quality image formation. And to provide a recording method.

上記目的を達成するため本発明の記録装置は、以下のような構成からなる。   In order to achieve the above object, the recording apparatus of the present invention has the following configuration.

即ち、外部より入力されるPDL画像情報を解釈してレンダリングを行い、各オブジェクト毎の属性データとラスタ画像データを生成し該属性データとラスタ画像データとに基づいて記録媒体に画像を記録する記録装置であって、前記属性データを圧縮符号化する第1圧縮手段と、前記ラスタ画像データを圧縮符号化する第2圧縮手段と、前記記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記第1及び第2圧縮手段による圧縮符号化における目標圧縮率を設定する圧縮率設定手段と、前記記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記属性データの属性数を変更する属性数変更手段と、前記属性変更手段により変更された前記属性データの数に基づいて、前記属性データを変更する変更手段と、前記圧縮率設定手段より設定された目標圧縮率を達成するように、前記第1圧縮手段により前記変更手段により変更された属性データを圧縮符号化し、前記第2の圧縮手段により前記ラスタ画像データを圧縮符号化するように制御する圧縮制御手段と、前記第1及び第2圧縮手段により圧縮符号化された符号データを格納する記憶手段と、前記記憶手段に格納された符号データを読み出して伸長して画像処理を施し、前記画像処理が施された画像データに基づいて前記記録媒体に画像を記録する記録手段とを有することを特徴とする。   In other words, rendering is performed by interpreting PDL image information input from the outside, generating attribute data and raster image data for each object, and recording an image on a recording medium based on the attribute data and raster image data A first compression means for compressing and encoding the attribute data; a second compression means for compressing and encoding the raster image data; resources of the recording apparatus and recording conditions by the recording apparatus; In accordance with at least one of compression ratio setting means for setting a target compression ratio in compression encoding by the first and second compression means according to at least one of the above, resources of the recording apparatus, and recording conditions by the recording apparatus , Based on the number of attribute data changed by the attribute changing means, the number of attribute data changing means for changing the number of attributes of the attribute data, A change means for changing the attribute data, and the first compression means compresses and encodes the attribute data changed by the change means so as to achieve the target compression ratio set by the compression ratio setting means, Compression control means for controlling the raster image data to be compression-encoded by two compression means, storage means for storing code data compression-encoded by the first and second compression means, and storage means Recording means for reading out the stored code data, decompressing it, performing image processing, and recording an image on the recording medium based on the image data subjected to the image processing.

ここで、前記記録装置の資源とはメモリであり、前記圧縮率設定手段と前記属性数変更手段とは夫々、前記メモリの容量に従って、前記目標圧縮率を設定、前記属性データの属性数を変更すると良い。   Here, the resource of the recording apparatus is a memory, and the compression rate setting unit and the attribute number changing unit respectively set the target compression rate and change the attribute number of the attribute data according to the capacity of the memory. Good.

また、前記記録装置による記録条件とは、前記記録媒体のサイズと、前記記録媒体の片面への記録或いは両面への記録とを含み、前記圧縮率設定手段と前記属性数変更手段とは夫々、前記目標圧縮率を設定、前記属性データの属性数を変更すると良い。   Further, the recording conditions by the recording apparatus include the size of the recording medium, recording on one side of the recording medium or recording on both sides, and the compression rate setting unit and the attribute number changing unit are respectively It is preferable to set the target compression rate and change the number of attributes of the attribute data.

なお、前記第1圧縮手段は、例えば、パックビッツ方式のような可逆性圧縮方式を用いて圧縮符号化を行い、前記第2圧縮手段は、例えば、JPEG方式のような非可逆性圧縮方式を用いて圧縮符号化を行なうと良い。   The first compression unit performs compression encoding using a reversible compression method such as a Packbits method, and the second compression unit uses an irreversible compression method such as a JPEG method. It is preferable to use compression coding.

さらに、前記属性データは画像各画素について、文字、図形或いは画像の種別、線であるかどうかの区別、有彩色或いは無彩色かの区別を示す情報を含むことが望ましい。この場合、前記変更手段は、前記線であるかどうかの区別と前記有彩色或いは無彩色かの区別との内、少なくともいずれかの区別をしないように前記属性データを変更することが望ましい。   Further, the attribute data preferably includes, for each pixel of the image, information indicating a character, a figure or an image type, a distinction as to whether it is a line, and a distinction between a chromatic color and an achromatic color. In this case, it is preferable that the changing unit changes the attribute data so as not to distinguish at least one of the distinction between the line and the chromatic color or the achromatic color.

さて、前記圧縮制御手段は、圧縮符号化に用いる量子化パラメータを画質と圧縮率との観点から複数の段階に分類された複数の量子化テーブルと、前記第1圧縮手段と前記第2圧縮手段との内、少なくともいずかにより実行された圧縮符号化により得られた符号量と前記圧縮率設定手段により設定された目標圧縮率から得られる目標符号化量とを比較する比較手段と、前記比較手段による比較結果に従って、前記複数の量子化テーブルから前記圧縮符号化に用いるテーブルを切り替えて選択し、該切り替えて選択された量子化テーブルを用いて前記第1圧縮手段或いは前記第2圧縮手段による圧縮符号化を実行するよう制御する繰り返し制御手段とを含むことが望ましい。   The compression control unit includes a plurality of quantization tables in which quantization parameters used for compression encoding are classified into a plurality of stages from the viewpoint of image quality and compression rate, the first compression unit, and the second compression unit. Comparing means for comparing a code amount obtained by compression encoding executed by at least one of the target coding amount obtained from a target compression rate set by the compression rate setting means, and According to the comparison result by the comparison means, the table used for the compression encoding is switched and selected from the plurality of quantization tables, and the first compression means or the second compression means is selected using the quantization table selected by switching. It is desirable to include repetitive control means for performing control so as to execute compression encoding according to the above.

さらに、前記比較手段による比較結果に従って、前記変更手段を制御して前記属性データの数を変更するように前記属性データを変更する変更制御手段を含むことが望ましい。ここで、前記変更制御手段は、前記目標圧縮率に従って高圧縮が必要な場合に前記属性データの数を相対的に小さくするように制御すると良い。   Furthermore, it is desirable to include change control means for changing the attribute data so as to change the number of the attribute data by controlling the change means according to the comparison result by the comparison means. Here, the change control means may control the number of attribute data to be relatively small when high compression is required according to the target compression rate.

なお、前記記録手段はインクジェット記録ヘッドを含み、前記PDL画像情報は、カラー画像情報であることが望ましい。   The recording means preferably includes an ink jet recording head, and the PDL image information is preferably color image information.

また他の発明によれば、外部より入力されるPDL画像情報を解釈してレンダリングを行い、各オブジェクト毎の属性データとラスタ画像データを生成し該属性データとラスタ画像データとに基づいて記録媒体に画像を記録するための画像データを生成する画像形成制御装置であって、前記属性データを圧縮符号化する第1圧縮手段と、前記ラスタ画像データを圧縮符号化する第2圧縮手段と、前記記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記第1及び第2圧縮手段による圧縮符号化における目標圧縮率を設定する圧縮率設定手段と、前記記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記属性データの属性数を変更する属性数変更手段と、前記属性変更手段により変更された前記属性データの数に基づいて、前記属性データを変更する変更手段と、前記圧縮率設定手段より設定された目標圧縮率を達成するように、前記第1圧縮手段により前記変更手段により変更された属性データを圧縮符号化し、前記第2の圧縮手段により前記ラスタ画像データを圧縮符号化するように制御する圧縮制御手段と、前記第1及び第2圧縮手段により圧縮符号化された符号データを格納する記憶手段と、前記記憶手段に格納された符号データを読み出して伸長して画像処理を施し、前記画像処理が施された画像データをプリンタエンジンに転送する転送手段とを有することを特徴とする画像形成制御装置を備える。   According to another invention, rendering is performed by interpreting PDL image information input from the outside, generating attribute data and raster image data for each object, and recording media based on the attribute data and raster image data An image formation control apparatus for generating image data for recording an image on the first compression means for compressing and encoding the attribute data; a second compression means for compressing and encoding the raster image data; A compression rate setting means for setting a target compression rate in compression encoding by the first and second compression means according to at least one of a resource of the recording device and a recording condition by the recording device; and a resource of the recording device And attribute number changing means for changing the number of attributes of the attribute data according to at least one of the recording conditions by the recording device, and the attribute change The change means for changing the attribute data based on the number of the attribute data changed by the stage, and the change by the first compression means so as to achieve the target compression ratio set by the compression ratio setting means Compression data encoded by the second compression means, and compression encoded by the first and second compression means. The compression control means controls the raster data to be compressed and encoded by the second compression means. Storage means for storing the encoded data, and transfer means for reading out and decompressing the encoded data stored in the storage means to perform image processing, and transferring the image data subjected to the image processing to a printer engine. An image forming control device is provided.

またさらに他の発明によれば、外部より入力されるPDL画像情報を解釈してレンダリングを行い、各オブジェクト毎の属性データとラスタ画像データを生成し該属性データとラスタ画像データとに基づいて記録媒体に画像を記録する記録方法であって、記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記属性データを圧縮符号化する第1圧縮工程と前記ラスタ画像データを圧縮符号化する第2圧縮工程における圧縮符号化における目標圧縮率を設定する圧縮率設定工程と、前記記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記属性データの属性数を変更する属性数変更工程と、前記属性変更工程において変更された前記属性データの数に基づいて、前記属性データを変更する変更工程と、前記圧縮率設定工程において設定された目標圧縮率を達成するように、前記第1圧縮工程において前記変更工程により変更された属性データを圧縮符号化し、前記第2の圧縮工程において前記ラスタ画像データを圧縮符号化するように制御する圧縮制御工程と、前記第1及び第2圧縮工程において圧縮符号化された符号データを格納した記憶媒体から前記符号データを読み出して伸長して画像処理を施し、前記画像処理が施された画像データに基づいて前記記録媒体に画像を記録する記録工程とを有することを特徴とする記録方法を備える。   According to still another invention, rendering is performed by interpreting PDL image information input from the outside, and attribute data and raster image data for each object are generated and recorded based on the attribute data and raster image data. A recording method for recording an image on a medium, comprising: a first compression step for compressing and encoding the attribute data according to at least one of a resource of the recording device and a recording condition by the recording device; and the raster image data According to at least one of a compression rate setting step for setting a target compression rate in compression encoding in the second compression step for compression encoding, and a resource of the recording device and a recording condition by the recording device, the attribute data An attribute number changing step for changing the number of attributes, and the number of the attribute data changed in the attribute changing step, the attribute The attribute data changed in the changing step in the first compression step so as to achieve the target compression rate set in the compression rate setting step and the changing step for changing the data, and the second A compression control step for controlling the raster image data to be compression-encoded in the compression step, and reading out the code data from a storage medium storing the code data compression-encoded in the first and second compression steps. And a recording step of recording an image on the recording medium based on the image data subjected to the image processing.

従って本発明によれば、搭載するメモリ容量や記録サイズなどに応じて決定される圧縮符号化における目標圧縮率に従って、各オブジェクトの属性データの数を調整することが可能になる。   Therefore, according to the present invention, it is possible to adjust the number of attribute data of each object in accordance with a target compression rate in compression encoding determined according to a memory capacity to be mounted, a recording size, and the like.

これにより、属性データ量を抑えることで画像形成に係わるトータルな処理負荷を抑制することが可能になり、結果として、高速な画像形成を行うことができる。   Accordingly, it is possible to suppress the total processing load related to image formation by suppressing the attribute data amount, and as a result, high-speed image formation can be performed.

例えば、メモリ容量が相対的に多い場合や、小さなサイズの記録や片面記録の場合においては、細分化された多種のオブジェクト属性を反映した高画質化処理を実現することができる。これに対して、搭載メモリ容量が相対的に少ない場合や、大きいサイズの記録や両面記録の場合においては、画像品質劣化の抑制しつつオブジェクト属性を少なくすることで高速記録に達成することが可能となる。このようにして、高速かつ高品位な画像形成を実現することができる。   For example, when the memory capacity is relatively large, or when recording in a small size or single-sided recording, it is possible to realize a high image quality process that reflects various subdivided object attributes. On the other hand, when the installed memory capacity is relatively small, or when recording in large size or double-sided, it is possible to achieve high-speed recording by reducing the object attributes while suppressing image quality degradation. It becomes. In this way, high-speed and high-quality image formation can be realized.

以下添付図面を参照して本発明の好適な実施例について、さらに具体的かつ詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described more specifically and in detail with reference to the accompanying drawings.

図1は本発明の代表的な実施例であるインクジェット記録装置(以下、記録装置)の概略構成を示した図である。   FIG. 1 is a diagram showing a schematic configuration of an ink jet recording apparatus (hereinafter referred to as a recording apparatus) which is a typical embodiment of the present invention.

図1において、601はヘッドカートリッジであり、ブラック(K)、シアン(C)、マゼンタ(M)、イエロ(Y)の4色のカラーインクが夫々封入されたインクタンクと夫々に対応した独立した4つの記録ヘッドからなるマルチヘッドにより構成されている。各記録ヘッドのノズル数は1280である。また、602はヘッドカートリッジ601を支持し、記録とともにこれらを移動させるキャリッジである。キャリッジ602は非記録状態などの待機時には図のホームポジション(HP)にある。603は搬送ローラであり、補助ローラ(不図示)とともに記録紙605を抑えながら回転し、記録紙605をY方向に随時搬送する。また、604は給紙ローラであり、記録紙605の給紙を行うとともに、搬送ローラ603及び補助ローラと同様に記録紙605を抑える役割を果たす。   In FIG. 1, reference numeral 601 denotes a head cartridge, which is an independent ink tank corresponding to each of four color inks of black (K), cyan (C), magenta (M), and yellow (Y). It is composed of a multi-head composed of four recording heads. Each recording head has 1280 nozzles. Reference numeral 602 denotes a carriage that supports the head cartridge 601 and moves them together with recording. The carriage 602 is at the home position (HP) shown in the drawing during standby such as a non-recording state. Reference numeral 603 denotes a conveyance roller, which rotates while holding the recording paper 605 together with an auxiliary roller (not shown), and conveys the recording paper 605 in the Y direction as needed. Reference numeral 604 denotes a paper feed roller that feeds the recording paper 605 and plays a role of suppressing the recording paper 605 in the same manner as the transport roller 603 and the auxiliary roller.

なお、4つの記録ヘッド夫々は、搬送方向に1280個のノズルを配置している。   Each of the four recording heads has 1280 nozzles arranged in the transport direction.

上記構成における基本的な双方向記録動作について、図1を参照して説明する。   A basic bidirectional recording operation in the above configuration will be described with reference to FIG.

待機時にホームポジション(HP)にあるキャリッジ602は記録開始命令によりX方向に移動しながら記録ヘッドの複数のノズルにより記録データに従い記録紙605上にインクを吐出し記録を行う。このキャリッジ移動方向を主走査方向という。記録紙605の端部まで記録が終了すると、搬送ローラ604が回転することによりY方向へ記録紙605を所定幅だけ搬送する。この記録紙搬送方向を副走査方向という。続いて、キャリッジ602はX方向を逆方向に移動しながらインクを吐出して記録を行い、キャリッジ602はホームポジション(HP)に戻る。このようなキャリッジ走査動作と記録紙の搬送動作との繰り返しにより画像記録が実現される。   During standby, the carriage 602 at the home position (HP) performs recording by ejecting ink onto the recording paper 605 according to the recording data by a plurality of nozzles of the recording head while moving in the X direction by a recording start command. This carriage movement direction is called the main scanning direction. When the recording is completed to the end of the recording paper 605, the recording paper 605 is conveyed by a predetermined width in the Y direction by the rotation of the conveying roller 604. This recording paper conveyance direction is referred to as the sub-scanning direction. Subsequently, the carriage 602 performs recording by discharging ink while moving the X direction in the reverse direction, and the carriage 602 returns to the home position (HP). Image recording is realized by repeating the carriage scanning operation and the recording paper transport operation.

なお、この記録装置は、図11に示したように、基本的には画像形成コントローラと画像形成エンジンで構成される。   The recording apparatus basically includes an image forming controller and an image forming engine as shown in FIG.

この実施例の記録装置で用いられる夫々が1280個のノズルを有した4つの記録ヘッドからは1回の吐出動作で4plのインク液滴が吐出される。また、各列1280個からなるノズル列は主走査方向にK、C、M、Yインクを吐出するノズル列として順に配列される。また、記録ヘッドのノズル解像度は1200dpiである。   Four pl ink droplets are ejected by one ejection operation from four recording heads each having 1280 nozzles used in the recording apparatus of this embodiment. Further, 1280 nozzle rows are arranged in order as nozzle rows for ejecting K, C, M, and Y inks in the main scanning direction. Further, the nozzle resolution of the recording head is 1200 dpi.

そして、上述のようにして双方向記録を実行し、1パスで解像度1200dpi×1200dpiのドット形成を行う。   Then, bidirectional recording is performed as described above, and dot formation with a resolution of 1200 dpi × 1200 dpi is performed in one pass.

図2は双方向記録における記録ヘッドの記録走査の様子を示す図である。   FIG. 2 is a diagram illustrating a recording scan state of the recording head in bidirectional recording.

図2に示すように、まず往路走査での1280ラインの画像形成の後に1280ライン相当の記録紙搬送を行い、続いて、復路走査での1280ラインの画像形成の後に1280ライン相当の記録紙搬送を行う。これを繰り返すことで双方向記録を実現する。   As shown in FIG. 2, the recording paper equivalent to 1280 lines is first formed after the image formation of 1280 lines in the forward scan, and then the recording paper equivalent to 1280 lines is formed after the image formation of 1280 lines in the backward scan. I do. By repeating this, bidirectional recording is realized.

図3画像形成コントローラの概略構成を示すブロック図である。   3 is a block diagram showing a schematic configuration of the image forming controller.

CPU501は通信インタフェース502を介してホストPC503に接続される。CPU501は、制御プログラムを格納したROM505、更新可能な制御プログラムや処理プログラムや各種定数データなどを格納したEEPROM506、ホストPC503から受信したコマンド信号や画像情報を格納するためのRAM504にアクセスする。そして、これらのメモリに格納された情報に基づいて記録動作を制御する。   The CPU 501 is connected to the host PC 503 via the communication interface 502. The CPU 501 accesses a ROM 505 that stores control programs, an EEPROM 506 that stores updatable control programs and processing programs, various constant data, and the like, and a RAM 504 that stores command signals and image information received from the host PC 503. The recording operation is controlled based on the information stored in these memories.

RAM504は増設ポートを使用することでメモリ容量を拡張できるよう構成されている。操作パネル508よりキー入力される指示情報は操作パネルインタフェース507を介してCPU501に伝達され、またCPU501からの命令により同様に操作パネルインタフェース507を介して操作パネル508のLED点灯やLCD表示が制御される。拡張インタフェース509はHDDなどの拡張カード510を接続することにより機能拡張を行うためのインタフェースである。   The RAM 504 is configured so that the memory capacity can be expanded by using an expansion port. Instruction information key-inputted from the operation panel 508 is transmitted to the CPU 501 via the operation panel interface 507, and the LED lighting and LCD display of the operation panel 508 are similarly controlled via the operation panel interface 507 according to instructions from the CPU 501. The An expansion interface 509 is an interface for performing function expansion by connecting an expansion card 510 such as an HDD.

レンダリング部511はCPU501によって生成された中間データ(ディスプレイリスト(DL))を解釈してラスタイメージ及び各画素に対応する属性ビットを生成する。非可逆圧縮部514はラスタイメージを非可逆方式で符号化し、非可逆伸張部515は非可逆方式で圧縮符号化されたラスタイメージを復号化処理する。可逆圧縮部512は属性ビットを可逆方式で符号化し、可逆伸張部513は可逆方式で圧縮符号化された属性ビットを復号化処理する。画像処理部516は属性ビットに基づいて文字や図形といったオブジェクト種類にしたがい最適な画像処理を施してエンジン仕様に適合した各色インクによる画像形成データを生成出力する。画像形成データはエンジンインタフェース517を介して画像形成エンジン518へ送出される。   The rendering unit 511 interprets the intermediate data (display list (DL)) generated by the CPU 501 and generates a raster image and attribute bits corresponding to each pixel. The irreversible compression unit 514 encodes the raster image in an irreversible manner, and the irreversible decompression unit 515 decodes the raster image that has been compression-encoded in the irreversible manner. The lossless compression unit 512 encodes the attribute bits using a lossless method, and the lossless decompression unit 513 decodes the attribute bits that have been compression encoded using the lossless method. The image processing unit 516 generates and outputs image formation data of each color ink that conforms to the engine specifications by performing optimal image processing according to the object type such as characters and graphics based on the attribute bits. The image forming data is sent to the image forming engine 518 via the engine interface 517.

なお、RAM504はメモリ増設が可能であり、標準搭載メモリ128Mバイトに対して増設用メモリ128Mバイトを追加することにより合計で256Mバイトの容量のRAMを備えることができる。   Note that the RAM 504 can be expanded in memory, and by adding 128 Mbytes of expansion memory to 128 Mbytes of standard installed memory, a RAM having a total capacity of 256 Mbytes can be provided.

次に、PDL処理及び画像処理について詳細に説明する。   Next, PDL processing and image processing will be described in detail.

これらの処理の基本的なデータの流れは図11を参照して背景技術において既に説明した通りである。要約すると、まず、ホストPCから受信したPDLデータより解釈生成された中間データであるディスプレイリスト(DL)に従いラスタイメージへの変換処理が行われ、さらに画像形成エンジンでの画像形成に適した形式のドットデータへ変換がなされる。なお、PDLデータとは描画内容が記述された画像データであり、文字や数字を表すフォントデータ、幾何学的な線画を表すベクトルデータ、自然画像など各種のビットマップ画像データなどに区分される。   The basic data flow of these processes is as already described in the background art with reference to FIG. In summary, first, conversion to a raster image is performed according to a display list (DL), which is intermediate data interpreted and generated from PDL data received from the host PC, and in a format suitable for image formation by the image forming engine. Conversion to dot data is performed. Note that the PDL data is image data in which drawing contents are described, and is divided into font data representing characters and numbers, vector data representing geometric line drawings, various bitmap image data such as natural images, and the like.

図4はレンダリング時にラスタイメージとともに生成される属性データの内容を示す図である。   FIG. 4 is a diagram showing the contents of attribute data generated together with the raster image at the time of rendering.

この実施例ではレンダリング時にラスタイメージとともに生成される属性データは画素ごとに4ビットである。図4に示すように、ビット3〜2は“01”が文字、“10”が図形、“11”が中間調画像、“00”はオブジェクトを構成していないことを表す。また、ビット1は“1”のときに細線であることを表わす。ビット0は“1”のときには無彩色を表し、“0”のときは有彩色を表す。例えば、ビット3〜0が“0101”であると無彩色文字を、“1010”であるとは有彩色細線を意味する。   In this embodiment, the attribute data generated together with the raster image at the time of rendering is 4 bits per pixel. As shown in FIG. 4, bits 3 to 2 indicate that “01” is a character, “10” is a figure, “11” is a halftone image, and “00” does not constitute an object. Bit 1 indicates a thin line when “1”. Bit 0 represents an achromatic color when “1”, and a chromatic color when “0”. For example, if bits 3 to 0 are “0101”, it means an achromatic character, and “1010” means a chromatic thin line.

ここで、ラスタイメージはRGB形式の各色8ビットデータであり非可逆圧縮方式としてJPEG方式を用いる。この実施例では8段階の量子化テーブル(QTABLE#0〜#7)を備える。   Here, the raster image is 8-bit data for each color in the RGB format, and the JPEG method is used as the lossy compression method. In this embodiment, an 8-level quantization table (QTABLE # 0 to # 7) is provided.

図5は8段階の量子化テーブルを示す図である。   FIG. 5 shows an 8-level quantization table.

図5に示されるように、この実施例では、最も高画質/低圧縮なパラメータを表すテーブル(QTABLE#0)から最も低画質/高圧縮なパラメータを表す(QTABLE#7)までを適宜選択して可能なかぎり高画質に圧縮符号化を行うことができる。   As shown in FIG. 5, in this embodiment, a table from the table (QTABLE # 0) representing the highest image quality / low compression parameter to the parameter (QTABLE # 7) representing the lowest image quality / high compression parameter is appropriately selected. Therefore, compression encoding can be performed with as high image quality as possible.

また、上述のように、属性データは画素あたり4ビットで構成されており、この実施例では可逆圧縮方式としてパックビッツ圧縮を用いる。可逆なパックビッツ方式では圧縮結果の容量は固定でありデータ量の調整ができない。このため属性データの圧縮情報量の削減は属性種別を減らすことで実現する。具体的には、無彩色を有彩色に(ビット0を“0”に固定)、細線を図形(共通)に(ビット1を“0”に固定)夫々変換(置換)することによって属性種別を削減する。ここでは識別ビットを変換することで対応するが、削減した結果として取りえる値の数に応じてビット数を減らすことも可能である。   As described above, the attribute data is composed of 4 bits per pixel, and in this embodiment, pack bits compression is used as a lossless compression method. In the reversible Packbits method, the capacity of the compression result is fixed and the data amount cannot be adjusted. For this reason, the amount of compression information of attribute data can be reduced by reducing the number of attribute types. Specifically, the attribute type is changed by replacing (replacing) an achromatic color with a chromatic color (bit 0 is fixed to “0”) and a thin line is converted into a figure (common) (bit 1 is fixed to “0”). Reduce. Here, this is handled by converting the identification bit, but it is also possible to reduce the number of bits according to the number of values that can be taken as a result of the reduction.

なお、圧縮符号化処理では目標圧縮率が設定されており、必要に応じてパラメータ(量子化テーブル)を変更して圧縮処理を繰り返し実行する。上述のとおり、非可逆圧縮では高圧縮化にともないラスタイメージの劣化が生じて画質劣化が視認されることとなる。また属性データについてもビット置換処理(変換処理)によって高圧縮化を実現するものの、失われた属性識別情報は復元することができないため、後段の画像処理におけるオブジェクト属性の適応処理に制限が生じる。   Note that a target compression rate is set in the compression encoding process, and the compression process is repeatedly executed by changing parameters (quantization table) as necessary. As described above, in irreversible compression, the raster image is deteriorated with high compression, and the image quality deterioration is visually recognized. Also, although attribute data is highly compressed by bit replacement processing (conversion processing), lost attribute identification information cannot be restored, so that object attribute adaptation processing in subsequent image processing is limited.

次に、以上のことを踏まえ、目標圧縮率指定に応じたオブジェクト属性数の適応制御処理についてフローチャートを参照して説明する。   Next, based on the above, the adaptive control processing of the number of object attributes according to the target compression rate designation will be described with reference to a flowchart.

図6はオブジェクト属性数の適応制御処理を示すフローチャートである。   FIG. 6 is a flowchart showing an adaptive control process for the number of object attributes.

図7はRAMのメモリ容量と目標圧縮率とオブジェクト識別数との関係を一覧に示した図である。   FIG. 7 is a diagram showing a list of relationships among the RAM memory capacity, the target compression rate, and the number of object identifications.

この図から分かるように、この実施例では、レンダリング時に識別生成するオブジェクト属性の数(種類)をRAMのメモリ容量に従う目標圧縮率の変動に対して適応的に制御する。メモリ容量が大きいとラスタイメージなどの目標圧縮率を緩く設定できるだけでなく、各種バッファなどを十分に大きく確保することが可能となることから処理全体の高速化にも寄与する。   As can be seen from this figure, in this embodiment, the number (type) of object attributes identified and generated at the time of rendering is adaptively controlled with respect to fluctuations in the target compression ratio according to the memory capacity of the RAM. When the memory capacity is large, not only can the target compression rate of a raster image or the like be set loosely, but also various buffers can be secured sufficiently large, which contributes to speeding up the overall processing.

図6に戻って説明を続ける。まず、ステップS101では、データ処理に先立って記録装置に搭載したメモリが標準メモリだけであるか、或いはメモリが増設された状態であるかを調べる。この搭載メモリの状態に応じてページスプールにおける目標圧縮率、及びレンダリング時に識別生成するオブジェクト属性の数を制御する。   Returning to FIG. 6, the description will be continued. First, in step S101, it is checked whether the memory installed in the recording apparatus is only the standard memory or the memory is added prior to data processing. The target compression rate in the page spool and the number of object attributes that are identified and generated at the time of rendering are controlled according to the state of the mounted memory.

ここで、搭載メモリが標準メモリだけ(即ち、メモリ容量が128Mバイト)であると判別された場合には、処理はステップS102に進み、目標圧縮率(R)として1/12を設定する。さらに、ステップS103ではオブジェクト属性数(N)として“8”を設定する。これに対して、搭載メモリがメモリ増設状態(即ち、メモリ容量ふぁ256Mバイト)であると判別された場合には、処理はステップS104に進み、目標圧縮率(R)として1/8を設定しする。さらに、ステップS105では、オブジェクト属性数(N)として“16”を設定する。   If it is determined that the installed memory is only the standard memory (that is, the memory capacity is 128 Mbytes), the process proceeds to step S102 and 1/12 is set as the target compression rate (R). In step S103, “8” is set as the object attribute number (N). On the other hand, if it is determined that the installed memory is in the memory expansion state (that is, the memory capacity is 256 Mbytes), the process proceeds to step S104 and 1/8 is set as the target compression ratio (R). To do. In step S105, “16” is set as the object attribute number (N).

その後、処理はステップS106において、PDLデータが受信されると、処理はステップS107に進み、CPU501はPDLを解釈してディスプレイリスト(DL)を生成する。さらに、ステップS108では生成されたディスプレイリスト(DL)に従ってレンダリング処理を行い、ラスタイメージとメモリ搭載量に応じた種類の属性データが生成される。   Thereafter, when the PDL data is received in step S106, the process proceeds to step S107, and the CPU 501 interprets the PDL and generates a display list (DL). Further, in step S108, rendering processing is performed according to the generated display list (DL), and attribute data of a type corresponding to the raster image and the amount of installed memory is generated.

さらに、ステップS109では生成ラスタイメージと属性データを圧縮符号化してページバッファ(図11の1107参照)に格納する。ここで、目標圧縮率(R)を達成するまで繰り返し再圧縮処理を実行することで圧縮ページデータが完成する。この再圧縮処理は再レンダリング処理を伴うものであってもよい。さらに、ステップS110では最適な画像処理を施して最終的な画像形成エンジンの所望の画像形成データを生成する。   In step S109, the generated raster image and attribute data are compression-encoded and stored in the page buffer (see 1107 in FIG. 11). Here, the compressed page data is completed by repeatedly performing the recompression process until the target compression rate (R) is achieved. This recompression process may involve a re-rendering process. In step S110, optimum image processing is performed to generate desired image formation data of the final image formation engine.

ここで、ステップS109における圧縮符号化の詳細について説明する。   Here, details of the compression encoding in step S109 will be described.

図8は圧縮符号化の詳細な処理を示すフローチャートである。   FIG. 8 is a flowchart showing detailed processing of compression encoding.

まず。ステップS201では、量子化パラメータとして初期パラメータを示すテーブルQTABLE#0が設定される。次に、ステップS202ではレンダリングにより生成されたラスタイメージ及び属性データの圧縮符号化を行い、さらに、ステップS203では
その圧縮結果がページバッファに収まるか否か、即ち、符号量が目標サイズに収まるか否かを検出又は予測する。
First. In step S201, a table QTABLE # 0 indicating initial parameters is set as a quantization parameter. Next, in step S202, compression encoding of the raster image and attribute data generated by rendering is performed. In step S203, whether or not the compression result fits in the page buffer, that is, whether the code amount fits in the target size. Detect or predict whether or not.

ここで、圧縮符号化により得られる符号量が目標符号量を越えてしまうと判断された場合には、処理はステップS204に進み、現在の使用中の量子化テーブルがQTABLE#4であるかどうかを調べる。もし、そうであれば処理はステップS208に進み、そうでない場合には処理はステップS205に進む。ステップS205では、現在の使用中の量子化テーブルがQTABLE#6であるかどうかを調べる。もし、そうであれば処理はステップS209に進み、そうでない場合には処理はステップS206に進む。   Here, when it is determined that the code amount obtained by compression encoding exceeds the target code amount, the process proceeds to step S204, and whether or not the currently used quantization table is QTABLE # 4. Check out. If so, the process proceeds to step S208; otherwise, the process proceeds to step S205. In step S205, it is checked whether the quantization table currently in use is QTABLE # 6. If so, the process proceeds to step S209; otherwise, the process proceeds to step S206.

初期パラメータ(QTABLE#0)を用いた圧縮符号化で得られた符号量が目標値を越える場合には、処理はステップS206に進むことになり、ラスタイメージの圧縮パラメータであるQTABLE番号を“+1”だけインクリメントする。その後、処理はステップS207に進み、ラスタイメージの再圧縮処理を繰り返す。   If the code amount obtained by compression encoding using the initial parameter (QTABLE # 0) exceeds the target value, the process proceeds to step S206, and the QTABLE number that is the compression parameter of the raster image is set to “+1”. Increment by ". Thereafter, the process proceeds to step S207, and the raster image recompression process is repeated.

また、ラスタイメージの圧縮パラメータがQTABLE#4であってもその圧縮符号化で得られた符号量が目標符号量を越えてしまう場合には、処理はステップS208において属性データにおけるオブジェクト属性数を“16”から“8”に削減する。その後、処理はステップS210に進み、属性データの再圧縮処理を行う。   If the compression amount of the raster image is QTABLE # 4 and the code amount obtained by the compression encoding exceeds the target code amount, the process sets the number of object attributes in the attribute data to “ Reduce from 16 ”to“ 8 ”. Thereafter, the process proceeds to step S210, and attribute data recompression processing is performed.

またさらに、ラスタイメージの圧縮パラメータがQTABLE#6であってもその圧縮符号化で得られた符号量が目標符号量を越えてしまう場合には、処理はステップS209において、属性データにおけるオブジェクト属性数を“8”から“4”に削減する。その後、処理はステップS210に進み、属性データの再圧縮処理を行う。   Further, if the code amount obtained by the compression encoding exceeds the target code amount even if the compression parameter of the raster image is QTABLE # 6, the process proceeds to step S209 where the number of object attributes in the attribute data Is reduced from “8” to “4”. Thereafter, the process proceeds to step S210, and attribute data recompression processing is performed.

これに対して、ステップS203において、圧縮符号化で得られた符号量が目標符号量以下であると判断された場合には、処理はステップS211に進む。ここで、ページ処理完了かどうかを調べ、処理未完了と判断されれば処理はステップS202に戻り、処理完了と判断されれば圧縮符号化処理を終了する。   On the other hand, if it is determined in step S203 that the code amount obtained by compression encoding is equal to or less than the target code amount, the process proceeds to step S211. Here, it is checked whether or not the page processing is completed. If it is determined that the processing is not completed, the processing returns to step S202. If it is determined that the processing is completed, the compression encoding processing is terminated.

このように、搭載するメモリ容量に対応して決定される目標圧縮率に従いレンダリング時に画素単位に生成するオブジェクト属性の種類の数を制御する。これにより、メモリ増設時には大半の画像データに対して比較的多い属性数で目標圧縮率を達成して細かなオブジェクト適応処理を実現することができる。一方、標準メモリのみの場合には少ない属性数からオブジェクト属性数の適応制御処理を開始することにより属性削減処理の繰り返し実行によるスループット低下を回避する。   In this way, the number of types of object attributes generated for each pixel at the time of rendering is controlled according to the target compression rate determined corresponding to the memory capacity to be mounted. As a result, when the memory is expanded, it is possible to achieve a target compression ratio with a relatively large number of attributes for most image data and realize fine object adaptation processing. On the other hand, in the case of only the standard memory, the adaptive control process for the number of object attributes is started from a small number of attributes, thereby avoiding a decrease in throughput due to repeated execution of the attribute reduction process.

さて、搭載メモリ容量が少ない状態ではページバッファだけでなくシステム全体の各種バッファの割当て容量が小さくなり、必然的に各種データ処理性能が低下する。特に処理負荷の重いレンダリング処理ではメモリ容量が小さいと性能低下が顕著である。しかし、以上の処理により、識別生成するオブジェクト属性の種類情報量を削減することでレンダリング処理の負荷を軽減するので、プリント速度の低下を最小限にすることができる。   Now, when the installed memory capacity is small, not only the page buffer but also the allocated capacity of various buffers in the entire system becomes small, and various data processing performance inevitably deteriorates. Especially in rendering processing with heavy processing load, performance degradation is significant when the memory capacity is small. However, the above processing reduces the rendering processing load by reducing the type information amount of the object attribute to be identified and generated, so that a decrease in printing speed can be minimized.

従って以上説明した実施例に従えば、メモリ搭載量に応じた目標圧縮率に従ってレンダリング時に画素単位に生成するオブジェクト属性の種類数を選択制御し、メモリ容量が少ない状態ではオブジェクト属性数を相対的に小さく設定する。これにより、各種バッファ不足によるレンダリング処理性能の低下を回避し、また目標圧縮率達成のための圧縮処理の繰り返し実行を抑制するので、スループット低下を回避することができる。   Therefore, according to the embodiment described above, the number of types of object attributes generated for each pixel at the time of rendering is selected and controlled according to the target compression rate according to the memory mounting amount, and the number of object attributes is relatively set when the memory capacity is small. Set smaller. As a result, deterioration in rendering processing performance due to various buffer shortages is avoided, and repeated execution of compression processing for achieving the target compression rate is suppressed, so that a reduction in throughput can be avoided.

また、メモリ容量が多い状態では細分化したオブジェクト属性ごとの最適な高画質化処理を行い、メモリ容量が少ない状態では圧縮に伴う画像劣化抑制とオブジェクト属性適応処理による高画質化のバランスをはかることが可能となる。   Also, when the memory capacity is large, optimal image quality improvement processing is performed for each subdivided object attribute, and when the memory capacity is small, the image quality reduction due to compression and the object attribute adaptation processing are balanced. Is possible.

<その他の実施例>
上記の実施例では、記録装置のメモリ搭載量の増減に応じて目標とする圧縮率及びオブジェクト属性の識別数を設定制御する場合について説明した。この実施例では、ラスタイメージのサイズ、両面又は片面プリントといった記録条件に応じた目標圧縮率制御及びオブジェクト属性識別数制御について説明する。
<Other examples>
In the above-described embodiment, the case has been described in which the target compression rate and the number of object attribute identifications are set and controlled in accordance with the increase or decrease in the amount of memory installed in the recording apparatus. In this embodiment, target compression ratio control and object attribute identification number control according to recording conditions such as raster image size, double-sided or single-sided printing will be described.

なお、この実施例で用いる記録装置の基本構成や画像形成コントローラの構成については前述の実施例と同様である。また、この実施例における記録装置では、A3やA4をはじめとする多種のページサイズの記録が可能であり、またA4サイズでは両面プリントにも対応する。さらに、画像形成コントローラ内の基本的なデータフローは図12を参照して説明した通りである。   The basic configuration of the recording apparatus and the configuration of the image forming controller used in this embodiment are the same as those in the above-described embodiment. The recording apparatus in this embodiment can record various page sizes including A3 and A4. The A4 size also supports double-sided printing. Further, the basic data flow in the image forming controller is as described with reference to FIG.

ここでは、この実施例で特徴的な目標圧縮率指定に応じたオブジェクト属性数の適応制御についてフローチャートを参照して説明する。   Here, the adaptive control of the number of object attributes in accordance with the target compression rate designation characteristic in this embodiment will be described with reference to a flowchart.

図9はオブジェクト属性数の適応制御処理を示すフローチャートである。なお、図9において既に図6を参照して説明したのと同じ処理ステップには同じステップ参照番号を付し、その説明は省略する。   FIG. 9 is a flowchart showing an adaptive control process for the number of object attributes. In FIG. 9, the same processing steps as those already described with reference to FIG. 6 are denoted by the same step reference numerals, and the description thereof is omitted.

先述のとおり、この実施例における画像形成コントローラは、多種のページサイズのプリント、及び一部サイズでの両面プリントが可能である。従って、この実施例の画像形成エンジンは高速な両面プリントが可能な機構を有しており、圧縮符号化における目標圧縮率は記録装置内部に滞留するページ数とページサイズに従い決定される。   As described above, the image forming controller in this embodiment is capable of printing with various page sizes and duplex printing with some sizes. Therefore, the image forming engine of this embodiment has a mechanism capable of high-speed double-sided printing, and the target compression rate in compression encoding is determined according to the number of pages staying inside the recording apparatus and the page size.

図10は記録サイズと片面/両面プリントと目標圧縮率とオブジェクト識別数との関係を一覧に示した図である。   FIG. 10 is a diagram showing a list of relationships among the recording size, single-sided / double-sided printing, target compression rate, and number of object identifications.

図10に示すように、この実施例では、目標圧縮率は、記録紙がA4サイズを越える片面プリントでは1/8、記録紙がA4サイズ以下の片面プリントでは1/6、記録紙がA4サイズ以下の両面プリントでは1/10であるとする。   As shown in FIG. 10, in this embodiment, the target compression rate is 1/8 for single-sided printing in which the recording paper exceeds A4 size, 1/6 for single-sided printing in which the recording paper is A4 size or smaller, and A4 size for the recording paper. In the following double-sided printing, it is assumed to be 1/10.

データ処理に先立って、まず、ステップS901では記録ページサイズが記録紙A4サイズを越えるかどうかを調べる。ここで、A4サイズを越えるなら、処理はステップS902に進み、A4サイズ以下なら処理がステップS903に進む。次に、ステップS902では、記録条件として両面プリントであるかどうかを調べる。ここで、両面プリントであれば処理はステップS907に進み、片面プリントであれば処理はステップS905に進む。   Prior to data processing, first, in step S901, it is checked whether the recording page size exceeds the recording paper A4 size. If the size exceeds the A4 size, the process proceeds to step S902. If the size is equal to or smaller than the A4 size, the process proceeds to step S903. Next, in step S902, it is checked whether or not double-sided printing is performed as a recording condition. Here, if it is double-sided printing, the process proceeds to step S907, and if it is single-sided printing, the process proceeds to step S905.

ステップS903では、A4サイズを越える片面プリントに対して、目標圧縮率(R)として“1/8”を設定し、さらに、ステップS904では、オブジェクト属性数(N)として“16”を設定する。その後、処理はステップS106に進む。   In step S903, “1/8” is set as the target compression ratio (R) for single-sided printing exceeding A4 size, and “16” is set as the number of object attributes (N) in step S904. Thereafter, the process proceeds to step S106.

一方、ステップS905では、A4サイズ以下の片面プリントに対して、目標圧縮率(R)として“1/6”を設定し、さらに、ステップS906では、オブジェクト属性数(N)として“16”を設定する。その後、処理はステップS106に進む。   On the other hand, in step S905, “1/6” is set as the target compression ratio (R) for single-sided printing of A4 size or smaller, and in step S906, “16” is set as the number of object attributes (N). To do. Thereafter, the process proceeds to step S106.

またさらに、ステップS907では、A4サイズ以下の両面プリントに対して、目標圧縮率(R)として“1/10”を設定し、さらに、ステップS908では、オブジェクト属性数(N)として“8”を設定する。その後、処理はステップS106に進む。   Furthermore, in step S907, “1/10” is set as the target compression ratio (R) for double-sided printing of A4 size or smaller, and in step S908, “8” is set as the number of object attributes (N). Set. Thereafter, the process proceeds to step S106.

以下前述の実施例で説明したように、ステップS106〜S110の処理を実行する。なお、ステップS109における圧縮符号化の詳細な処理も前述の実施例と同様である。   Hereinafter, as described in the above-described embodiment, the processes of steps S106 to S110 are executed. Note that the detailed processing of compression encoding in step S109 is the same as that in the above-described embodiment.

このようにこの実施例では、記録条件に対応付けて決定される目標圧縮率に従ってレンダリング時に画素単位に生成するオブジェクト属性の種類を制御する。これにより、ページサイズが小さいときや片面プリントには大半の画像データに対して比較的多い属性数でターゲット圧縮率を達成して細かなオブジェクト適応処理を実現する。これに対して、ページサイズが大きいときや両面プリントでは少ない属性数からオブジェクト属性数の適応制御処理を開始することにより属性削減処理の繰り返し実行によるスループット低下を回避する。   As described above, in this embodiment, the type of object attribute generated for each pixel at the time of rendering is controlled according to the target compression rate determined in association with the recording condition. Thus, when the page size is small or single-sided printing, the target compression rate is achieved with a relatively large number of attributes for most image data, and fine object adaptation processing is realized. In contrast, when the page size is large or double-sided printing is started, adaptive control processing for the number of object attributes is started from a small number of attributes, thereby avoiding a decrease in throughput due to repeated execution of attribute reduction processing.

記録するページサイズが大きい場合や両面プリントのためにスプールすべきページ枚数が多い場合にはシステム全体の各種バッファ容量の制約が増大し、必然的に各種データ処理性能の低下を引き起こす。特に、処理負荷の重いレンダリング処理ではメモリ容量が少ない場合にはその性能低下が顕著である。しかしながら、この実施例でも、この場合には識別生成するオブジェクト属性の種類情報量を削減することでレンダリング処理の負荷を軽減してプリント速度の低下を回避している。   When the page size to be recorded is large, or when the number of pages to be spooled for double-sided printing is large, restrictions on various buffer capacities of the entire system increase, which inevitably causes various data processing performances to deteriorate. In particular, in rendering processing with heavy processing load, when the memory capacity is small, the performance degradation is significant. However, in this embodiment as well, in this case, the type information amount of the object attribute to be identified and generated is reduced, thereby reducing the rendering processing load and avoiding a decrease in print speed.

以上説明した実施例に従えば、記録条件に従ってレンダリング時に画素単位に生成するオブジェクト属性情報の種類数を選択制御することができる。   According to the embodiment described above, the number of types of object attribute information generated for each pixel at the time of rendering can be selected and controlled according to the recording conditions.

例えば、ページサイズが大きいときや両面プリントではオブジェクト属性数を相対的に小さく設定する。これにより、各種バッファ不足によるレンダリング処理性能の低下を回避し、また目標圧縮率達成のための圧縮処理の繰り返し実行を抑制してスループット低下を回避することができる。さらに、ページサイズが小さいときや片面プリントでは細分化したオブジェクト属性ごとの最適な高画質化処理を行なうことができる。これにより、ページサイズが小さいときや片面プリントでは圧縮に伴う画像劣化抑制とオブジェクト属性適応処理による高画質化のバランスをはかることが可能となる。   For example, when the page size is large or duplex printing, the object attribute number is set relatively small. As a result, it is possible to avoid a decrease in rendering processing performance due to various buffer shortages, and it is possible to avoid a decrease in throughput by suppressing repeated execution of compression processing to achieve the target compression rate. Furthermore, when the page size is small or single-sided printing, it is possible to perform optimum image quality improvement processing for each subdivided object attribute. Thus, when the page size is small or single-sided printing, it is possible to achieve a balance between image deterioration suppression accompanying compression and high image quality by object attribute adaptation processing.

なお、上記の2つの実施例では夫々、搭載メモリ容量、記録条件に応じて、夫々目標圧縮率が設定される場合について説明した。しかしながら、本発明はこれによって限定されるものではない。例えば、これらを組み合わせて制御するものであってもよいし、プリント速度と画像品位の優先度設定や使用媒体種などと組み合わせて決定するものであってもよい。また、記録装置の内部状態に応じて動的に変更されたメモリ割り当てに基づいて変化する目標圧縮率に対応することも可能である。   In the above-described two embodiments, the case where the target compression rate is set according to the installed memory capacity and the recording condition has been described. However, the present invention is not limited to this. For example, the control may be performed by combining these, or may be determined by combining the priority setting of the print speed and the image quality, the type of medium used, and the like. It is also possible to deal with a target compression ratio that changes based on memory allocation that is dynamically changed according to the internal state of the recording apparatus.

また、上記2つ実施例では、ラスタイメージ圧縮で使用したパラメータのみから劣化状態を判定してオブジェクト属性識別数の削減処理に移行する例を示した。一方、JPEG方式などの非可逆圧縮は文字に対して劣化が顕著に視認される。このため、属性データに占める文字属性の分布やユーザ設定などから劣化状態を適切に判定して、オブジェクト属性識別数の削減処理の移行閾値を切り替えてもよい。   In the above-described two embodiments, an example is shown in which the deterioration state is determined only from the parameters used in the raster image compression, and the process proceeds to the object attribute identification number reduction process. On the other hand, in the lossy compression such as the JPEG method, deterioration is remarkably recognized with respect to characters. For this reason, it is possible to appropriately determine the deterioration state based on the distribution of the character attributes in the attribute data, the user setting, and the like, and to switch the transition threshold of the object attribute identification number reduction process.

さらに、上記2つの実施例では、K、C、M、Yの4色インクを用いたインクジェット記録装置を例に挙げて説明したが、記録装置で使用可能なインクの色数や色種はこれに限定されるものではない。例えば、Kを除く3色インクを用いたものであってもよいし、ライトシアン(LC)やライトマゼンタ(LM)、ライトイエロ(LY)、ライトブラック(LB)などの淡色系インクやレッド(R)、ブルー(B)など特別色を追加したものでもよい。また、搭載する記録ヘッドの数は各インクについて1つに限定するものではなく、一部あるいは全てのインク色に対して複数の記録ヘッドを備えて高速記録を実現する構成をとっても良い。   Furthermore, in the above two embodiments, the ink jet recording apparatus using four color inks of K, C, M, and Y has been described as an example. However, the number of ink colors and color types usable in the recording apparatus are It is not limited to. For example, three color inks except K may be used, light color inks such as light cyan (LC), light magenta (LM), light yellow (LY), and light black (LB), or red (R ), Blue (B) and other special colors may be added. Further, the number of recording heads to be mounted is not limited to one for each ink, and a configuration may be adopted in which a plurality of recording heads are provided for some or all ink colors to achieve high-speed recording.

またさらに、本発明は記録ヘッドの動作原理や構成により制限されるものではない。例えば、上述したサーマル方式を採用したものであってもよいし、ピエゾ方式であってもよい。   Furthermore, the present invention is not limited by the operation principle or configuration of the recording head. For example, the above-described thermal method may be used, or a piezo method may be used.

またさらに上述の実施例では、インクジェット記録装置により画像形成を行なう場合について説明したは、本発明に適用可能な画像形成システムはインクジェット方式に限定されるものではない。例えば、熱転写方式や熱感熱方式などの他のシリアル記録走査方式や電子写真方式の画像形成システムに適用することも可能である。   Furthermore, in the above-described embodiment, the case where image formation is performed by the ink jet recording apparatus has been described. However, the image forming system applicable to the present invention is not limited to the ink jet system. For example, the present invention can be applied to other serial recording scanning methods such as a thermal transfer method and a thermal method, and an electrophotographic image forming system.

またさらに上記実施例では、ディスプレイリスト(DL)生成処理やレンダリング処理や画像形成データ生成処理などを全て画像形成システム内部で行う構成について説明したが、本発明はこれによって限定されるものではない。例えば、これらの一部あるいは全部を接続されるホストPC側のドライバやその他の外部装置で実現する構成であってもよいことは明らかである。   Further, in the above-described embodiment, the configuration in which the display list (DL) generation process, the rendering process, the image formation data generation process, and the like are all performed inside the image formation system has been described, but the present invention is not limited thereto. For example, it is obvious that some or all of these may be realized by a driver on the host PC side to be connected or other external device.

また、本発明が適用される画像形成システムの形態は、コンピュータやワードプロセッサをはじめとする情報処理装置の画像出力装置として一体または別体に設けられるものに限定されるものではない。例えば、画像読取装置と組み合わせた複写装置や通信機能を有するファクシミリ装置などにも本発明は適用可能である。   Further, the form of the image forming system to which the present invention is applied is not limited to that provided as an integrated or separate image output apparatus for information processing apparatuses such as computers and word processors. For example, the present invention can be applied to a copying machine combined with an image reading apparatus or a facsimile machine having a communication function.

本発明の代表的な実施例であるインクジェット記録ヘッドを搭載したプリンタの概略構成を示す図である。1 is a diagram showing a schematic configuration of a printer equipped with an ink jet recording head that is a typical embodiment of the present invention. FIG. 図1に示すプリンタによる双方向記録走査の様子を説明する図である。It is a figure explaining the mode of the bidirectional | two-way recording scanning by the printer shown in FIG. 図1に示すプリンタの画像形成コントローラの概略制御構成を示すブロック図である。FIG. 2 is a block diagram illustrating a schematic control configuration of an image forming controller of the printer illustrated in FIG. 1. 属性ビットの割り当て例を説明する図である。It is a figure explaining the example of assignment of an attribute bit. 8種の量子化テーブルを示す図である。It is a figure which shows 8 types of quantization tables. オブジェクト属性数の適応制御処理を示すフローチャートである。It is a flowchart which shows the adaptive control process of the number of object attributes. 搭載メモリ状態に応じた目標圧縮率及び識別属性数を示すテーブルである。It is a table which shows the target compression rate and the number of identification attributes according to the mounting memory state. 圧縮符号化の詳細を説明するフローチャートである。It is a flowchart explaining the detail of compression encoding. 本発明の他の実施例に従うオブジェクト属性数の適応制御処理を示すフローチャートである。It is a flowchart which shows the adaptive control process of the object attribute number according to the other Example of this invention. 本発明の他の実施例に従う記録条件に応じた目標圧縮率及び識別属性数を示すテーブルである。It is a table which shows the target compression rate and the number of identification attributes according to the recording conditions according to the other Example of this invention. 画像形成システムの構成を説明する図である。1 is a diagram illustrating a configuration of an image forming system. 画像形成システムにおけるデータ処理の基本的な流れを説明する図である。It is a figure explaining the basic flow of the data processing in an image forming system.

符号の説明Explanation of symbols

501 CPU
502 通信インタフェース
503 ホストPC
504 RAM
505 ROM
506 EEPROM
507 操作パネルインタフェース
508 操作パネル
509 拡張インタフェース
510 拡張カード
511 レンダリング部
512 可逆圧縮部
513 可逆伸張部
514 非可逆圧縮部
515 非可逆伸張部
516 画像処理部
517 エンジンインタフェース
518 画像形成エンジン
601 ヘッドカートリッジ
602 キャリッジ
603 搬送ローラ
604 給紙ローラ
605 記録紙
501 CPU
502 Communication interface 503 Host PC
504 RAM
505 ROM
506 EEPROM
507 Operation panel interface 508 Operation panel 509 Expansion interface 510 Expansion card 511 Rendering unit 512 Lossless compression unit 513 Lossless decompression unit 514 Lossless compression unit 515 Lossless decompression unit 516 Image processing unit 517 Engine interface 518 Image forming engine 601 Head cartridge 602 Carriage 603 Transport roller 604 Paper feed roller 605 Recording paper

Claims (14)

外部より入力されるPDL画像情報を解釈してレンダリングを行い、各オブジェクト毎の属性データとラスタ画像データを生成し該属性データとラスタ画像データとに基づいて記録媒体に画像を記録する記録装置であって、
前記属性データを圧縮符号化する第1圧縮手段と、
前記ラスタ画像データを圧縮符号化する第2圧縮手段と、
前記記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記第1及び第2圧縮手段による圧縮符号化における目標圧縮率を設定する圧縮率設定手段と、
前記記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記属性データの属性数を変更する属性数変更手段と、
前記属性変更手段により変更された前記属性データの数に基づいて、前記属性データを変更する変更手段と、
前記圧縮率設定手段より設定された目標圧縮率を達成するように、前記第1圧縮手段により前記変更手段により変更された属性データを圧縮符号化し、前記第2の圧縮手段により前記ラスタ画像データを圧縮符号化するように制御する圧縮制御手段と、
前記第1及び第2圧縮手段により圧縮符号化された符号データを格納する記憶手段と、
前記記憶手段に格納された符号データを読み出して伸長して画像処理を施し、前記画像処理が施された画像データに基づいて前記記録媒体に画像を記録する記録手段とを有することを特徴とする記録装置。
A recording device that interprets PDL image information input from the outside, performs rendering, generates attribute data and raster image data for each object, and records an image on a recording medium based on the attribute data and raster image data There,
First compression means for compressing and encoding the attribute data;
Second compression means for compressing and encoding the raster image data;
A compression rate setting means for setting a target compression rate in compression encoding by the first and second compression means according to at least one of the resource of the recording device and the recording condition by the recording device;
Attribute number changing means for changing the number of attributes of the attribute data according to at least one of the resource of the recording device and the recording condition by the recording device;
Changing means for changing the attribute data based on the number of the attribute data changed by the attribute changing means;
The attribute data changed by the changing unit is compression-encoded by the first compression unit so as to achieve the target compression rate set by the compression rate setting unit, and the raster image data is converted by the second compression unit. Compression control means for controlling to perform compression encoding;
Storage means for storing code data compression-encoded by the first and second compression means;
And recording means for reading and expanding the code data stored in the storage means, performing image processing, and recording an image on the recording medium based on the image data subjected to the image processing. Recording device.
前記記録装置の資源とは、メモリであり、
前記圧縮率設定手段と前記属性数変更手段とは夫々、前記メモリの容量に従って、前記目標圧縮率を設定、前記属性データの属性数を変更することを特徴とする請求項1に記載の記録装置。
The resource of the recording device is a memory,
2. The recording apparatus according to claim 1, wherein the compression rate setting unit and the attribute number changing unit set the target compression rate and change the number of attributes of the attribute data according to a capacity of the memory, respectively. .
前記記録装置による記録条件とは、前記記録媒体のサイズと、前記記録媒体の片面への記録或いは両面への記録とを含み、
前記圧縮率設定手段と前記属性数変更手段とは夫々、前記記録媒体のサイズと、前記記録媒体の片面への記録或いは両面への記録の区別とに従って、前記目標圧縮率を設定、前記属性データの属性数を変更することを特徴とする請求項1に記載の記録装置。
The recording conditions by the recording device include the size of the recording medium, recording on one side of the recording medium or recording on both sides,
The compression rate setting means and the attribute number changing means respectively set the target compression rate according to the size of the recording medium and the distinction between recording on one side of the recording medium or recording on both sides, and the attribute data The recording apparatus according to claim 1, wherein the number of attributes is changed.
前記第1圧縮手段は、可逆性圧縮方式を用いて圧縮符号化を行い、
前記第2圧縮手段は、非可逆性圧縮方式を用いて圧縮符号化を行なうことを特徴とする請求項1乃至3のいずれかに記載の記録装置。
The first compression means performs compression encoding using a reversible compression method,
The recording apparatus according to claim 1, wherein the second compression unit performs compression encoding using an irreversible compression method.
前記可逆性圧縮方式は、パックビッツ方式を含み、
前記非可逆性圧縮方式は、JPEG方式を含むことを特徴とする請求項4に記載の記録装置。
The reversible compression method includes a pack bits method,
The recording apparatus according to claim 4, wherein the irreversible compression method includes a JPEG method.
前記属性データは画像各画素について、文字、図形或いは画像の種別、線であるかどうかの区別、有彩色或いは無彩色かの区別を示す情報を含むことを特徴とする請求項1に記載の記録装置。   The recording according to claim 1, wherein the attribute data includes, for each pixel of the image, information indicating a character, a figure or an image type, a distinction as to whether it is a line, and a distinction between a chromatic color and an achromatic color. apparatus. 前記変更手段は、前記線であるかどうかの区別と前記有彩色或いは無彩色かの区別との内、少なくともいずれかの区別をしないように前記属性データを変更することを特徴とする請求項6に記載の記録装置。   The change means changes the attribute data so as not to distinguish at least one of the distinction between the line and the chromatic color or the achromatic color. The recording device described in 1. 前記圧縮制御手段は、
圧縮符号化に用いる量子化パラメータを画質と圧縮率との観点から複数の段階に分類された複数の量子化テーブルと、
前記第1圧縮手段と前記第2圧縮手段との内、少なくともいずかにより実行された圧縮符号化により得られた符号量と前記圧縮率設定手段により設定された目標圧縮率から得られる目標符号化量とを比較する比較手段と、
前記比較手段による比較結果に従って、前記複数の量子化テーブルから前記圧縮符号化に用いるテーブルを切り替えて選択し、該切り替えて選択された量子化テーブルを用いて前記第1圧縮手段或いは前記第2圧縮手段による圧縮符号化を実行するよう制御する繰り返し制御手段とを含むことを特徴とする請求項1に記載の記録装置。
The compression control means includes
A plurality of quantization tables classified into a plurality of stages from the viewpoint of image quality and compression rate, quantization parameters used for compression encoding
A target code obtained from a code amount obtained by compression coding executed by at least one of the first compression means and the second compression means and a target compression rate set by the compression rate setting means. A comparison means for comparing the conversion amount;
According to the comparison result by the comparison means, the table used for the compression encoding is switched and selected from the plurality of quantization tables, and the first compression means or the second compression is selected using the quantization table selected by switching. The recording apparatus according to claim 1, further comprising repetitive control means for controlling to execute compression encoding by the means.
前記圧縮制御手段は、さらに、前記比較手段による比較結果に従って、前記変更手段を制御して前記属性データの数を変更するように前記属性データを変更する変更制御手段を含むことを特徴とする請求項8に記載の記録装置。   The compression control means further includes a change control means for changing the attribute data so as to change the number of the attribute data by controlling the change means according to a comparison result by the comparison means. Item 9. The recording device according to Item 8. 前記変更制御手段は、前記目標圧縮率に従って高圧縮が必要な場合に前記属性データの数を相対的に小さくすることを特徴とする請求項9に記載の記録装置。   The recording apparatus according to claim 9, wherein the change control unit relatively reduces the number of the attribute data when high compression is required according to the target compression rate. 前記記録手段はインクジェット記録ヘッドを含むことを特徴とする請求項1乃至10のいずれかに記載の記録装置。   The recording apparatus according to claim 1, wherein the recording unit includes an ink jet recording head. 前記PDL画像情報は、カラー画像情報であることを特徴とする請求項1乃至11のいずれかに記載の記録装置。   The recording apparatus according to claim 1, wherein the PDL image information is color image information. 外部より入力されるPDL画像情報を解釈してレンダリングを行い、各オブジェクト毎の属性データとラスタ画像データを生成し該属性データとラスタ画像データとに基づいて記録媒体に画像を記録するための画像データを生成する画像形成制御装置であって、
前記属性データを圧縮符号化する第1圧縮手段と、
前記ラスタ画像データを圧縮符号化する第2圧縮手段と、
前記記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記第1及び第2圧縮手段による圧縮符号化における目標圧縮率を設定する圧縮率設定手段と、
前記記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記属性データの属性数を変更する属性数変更手段と、
前記属性変更手段により変更された前記属性データの数に基づいて、前記属性データを変更する変更手段と、
前記圧縮率設定手段より設定された目標圧縮率を達成するように、前記第1圧縮手段により前記変更手段により変更された属性データを圧縮符号化し、前記第2の圧縮手段により前記ラスタ画像データを圧縮符号化するように制御する圧縮制御手段と、
前記第1及び第2圧縮手段により圧縮符号化された符号データを格納する記憶手段と、
前記記憶手段に格納された符号データを読み出して伸長して画像処理を施し、前記画像処理が施された画像データをプリンタエンジンに転送する転送手段とを有することを特徴とする画像形成制御装置。
Image for rendering by interpreting PDL image information input from the outside, generating attribute data and raster image data for each object, and recording an image on a recording medium based on the attribute data and raster image data An image formation control device for generating data,
First compression means for compressing and encoding the attribute data;
Second compression means for compressing and encoding the raster image data;
A compression rate setting means for setting a target compression rate in compression encoding by the first and second compression means according to at least one of the resource of the recording device and the recording condition by the recording device;
Attribute number changing means for changing the number of attributes of the attribute data according to at least one of the resource of the recording device and the recording condition by the recording device;
Changing means for changing the attribute data based on the number of the attribute data changed by the attribute changing means;
The attribute data changed by the changing unit is compression-encoded by the first compression unit so as to achieve the target compression rate set by the compression rate setting unit, and the raster image data is converted by the second compression unit. Compression control means for controlling to perform compression encoding;
Storage means for storing code data compression-encoded by the first and second compression means;
An image forming control apparatus comprising: a transfer unit that reads out and decompresses code data stored in the storage unit, performs image processing, and transfers the image data subjected to the image processing to a printer engine.
外部より入力されるPDL画像情報を解釈してレンダリングを行い、各オブジェクト毎の属性データとラスタ画像データを生成し該属性データとラスタ画像データとに基づいて記録媒体に画像を記録する記録方法であって、
記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記属性データを圧縮符号化する第1圧縮工程と前記ラスタ画像データを圧縮符号化する第2圧縮工程における圧縮符号化における目標圧縮率を設定する圧縮率設定工程と、
前記記録装置の資源と前記記録装置による記録条件との内、少なくともいずれかに従って、前記属性データの属性数を変更する属性数変更工程と、
前記属性変更工程において変更された前記属性データの数に基づいて、前記属性データを変更する変更工程と、
前記圧縮率設定工程において設定された目標圧縮率を達成するように、前記第1圧縮工程において前記変更工程により変更された属性データを圧縮符号化し、前記第2の圧縮工程において前記ラスタ画像データを圧縮符号化するように制御する圧縮制御工程と、
前記第1及び第2圧縮工程において圧縮符号化された符号データを格納した記憶媒体から前記符号データを読み出して伸長して画像処理を施し、前記画像処理が施された画像データに基づいて前記記録媒体に画像を記録する記録工程とを有することを特徴とする記録方法。
A recording method that interprets PDL image information input from the outside, renders, generates attribute data and raster image data for each object, and records an image on a recording medium based on the attribute data and raster image data. There,
Compression encoding in a first compression step for compressing and encoding the attribute data and a second compression step for compressing and encoding the raster image data according to at least one of resources of the recording device and recording conditions by the recording device A compression rate setting step for setting a target compression rate in
An attribute number changing step of changing the number of attributes of the attribute data according to at least one of the resource of the recording device and the recording condition by the recording device;
A change step of changing the attribute data based on the number of the attribute data changed in the attribute change step;
In order to achieve the target compression rate set in the compression rate setting step, the attribute data changed in the change step in the first compression step is compression-encoded, and the raster image data is converted in the second compression step. A compression control step for controlling the compression encoding;
The code data is read out from the storage medium storing the code data compressed and encoded in the first and second compression steps, is subjected to image processing, and the recording is performed based on the image data subjected to the image processing. And a recording step of recording an image on a medium.
JP2005365418A 2005-12-19 2005-12-19 Recorder, image formation controller, and recording method Withdrawn JP2007168129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005365418A JP2007168129A (en) 2005-12-19 2005-12-19 Recorder, image formation controller, and recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005365418A JP2007168129A (en) 2005-12-19 2005-12-19 Recorder, image formation controller, and recording method

Publications (1)

Publication Number Publication Date
JP2007168129A true JP2007168129A (en) 2007-07-05

Family

ID=38295340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005365418A Withdrawn JP2007168129A (en) 2005-12-19 2005-12-19 Recorder, image formation controller, and recording method

Country Status (1)

Country Link
JP (1) JP2007168129A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014060641A (en) * 2012-09-19 2014-04-03 Brother Ind Ltd Image forming device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014060641A (en) * 2012-09-19 2014-04-03 Brother Ind Ltd Image forming device

Similar Documents

Publication Publication Date Title
US8643881B2 (en) Apparatus and method of controlling an image forming apparatus based on the print speed of print jobs
US7684070B2 (en) Printing system, information processing apparatus and method, and computer program and computer-readable storage medium
US8059299B2 (en) Apparatus and method for controlling an image-data imput/output process performed by an image forming apparatus connected to an image data input unit and an image data output unit
KR100967720B1 (en) Image processing apparatus, printing apparatus and image processing method
US9135540B2 (en) Image processing apparatus, image processing method, and program for processing black characters at high resolution
JP2009067047A (en) Data processing device, program, ink jet recording system, and data processing method
US20060274366A1 (en) Printing system, printing method, printing apparatus, and driver
US9716809B2 (en) Image processing method and image processing apparatus
JP2008142901A (en) Image formation controller and control method of image formation controller
JP4979754B2 (en) Image compression apparatus and image compression method
US8269992B2 (en) Information processing apparatus and control method thereof
JP2007110225A (en) Image forming controller
US8134742B2 (en) Output device and method for outputting density data corresponding to a color material to a printing unit
JP2006159702A (en) Image processor and record control method
JP2007168129A (en) Recorder, image formation controller, and recording method
JP2007150842A (en) Image forming system
JP2007110226A (en) Image forming apparatus
JP2007168130A (en) Recorder, image processing controller, and recording method
JP2008147885A (en) Image processing method and image processor
JP2004328160A (en) Image forming apparatus and control method thereof
JP2007136673A (en) Image forming system
JP4781183B2 (en) Print control apparatus, print control method, and program
US8346001B2 (en) Image processing apparatus, printing apparatus, and image processing method
JP2010201706A (en) Printer
JP2001080139A (en) Serial printer and recording medium having recorder program recording

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090303