JP2004159069A - Control method for image processor - Google Patents

Control method for image processor Download PDF

Info

Publication number
JP2004159069A
JP2004159069A JP2002322539A JP2002322539A JP2004159069A JP 2004159069 A JP2004159069 A JP 2004159069A JP 2002322539 A JP2002322539 A JP 2002322539A JP 2002322539 A JP2002322539 A JP 2002322539A JP 2004159069 A JP2004159069 A JP 2004159069A
Authority
JP
Japan
Prior art keywords
compression
image
image data
unit
page
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
JP2002322539A
Other languages
Japanese (ja)
Inventor
Koichi Ishimoto
高一 石本
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 JP2002322539A priority Critical patent/JP2004159069A/en
Publication of JP2004159069A publication Critical patent/JP2004159069A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a control method for an image processor which can suppress an encoded data amount to a prescribed amount when image data are compressed, and which can make an image to have a feeling of unity of image quality in a prescribed unit. <P>SOLUTION: Image data, in which each page is divided into a plurality of blocks, are inputted. The image data are compressed and encoded with first compression conditions in a block unit for every page in a color image encoder 103. The compressed and encoded image data are stored in a hard disk 109. A cumulative value of a data amount when even a prescribed block is compressed and encoded is calculated at a code amount determining part 120. A data amount when the page is totally compressed and encoded is estimated. And, when the estimated data amount is beyond a prescribed value, the compressed and encoded image data are decoded by a color image decoder 104, and they are compressed and encoded again with second compression conditions with a higher compression rate in a color image encoder 107. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、画像データを所望の圧縮率で圧縮することに関する。
【0002】
【従来の技術】
従来から、画像メモリを備えた複写機などの画像処理装置においては、機器の生産性向上の観点から、機器を構成するユニット間での最適な制御シーケンスが検討されてきた。以下に、一般的なカラー複写機の構成について制御シーケンスの例を挙げる。図16は、画像メモリを備えた従来の画像処理装置の構成を説明するための概要図である。
【0003】
図16において、リーダー部1200は、原稿用紙を搬送するための機能を持つ原稿給紙ユニット1250と、原稿を読み取るための機能を持つスキャナユニット1210からなる。また、リーダー部1200は制御装置1220に接続され、制御装置1220はプリンタ部1310に接続されている。制御装置1220は画像メモリ1207を備え、原稿給紙ユニット1250及びスキャナユニット1210を制御して原稿の画像データを読込み、プリント部1310を制御して画像データを記録用紙に出力してコピー機能を提供する。
【0004】
次に、制御装置1220による原稿給紙ユニット1250及びスキャナユニット1210の制御タイミングについて図17を用いて説明する。図17は、従来の画像処理装置における制御装置、給紙ユニット及びスキャナユニット間の画像読取処理シーケンスの通信タイミングを示す図である。尚、各ユニット間の通信は、シリアル通信によるコマンド送信等の公知の技術によるものとする。
【0005】
まず、図示しない操作部ユニットから読取動作開始要求コマンドが制御装置1220に与えられると(ステップS1701)、制御装置1220は原稿給紙ユニット1250に対して、原稿給紙要求コマンドを発行する(ステップS1702)。これに応じて原稿給紙ユニット1250は給紙動作を行い(ステップS1703)、給紙動作が完了すると制御装置1220に対して給紙完了コマンドを発行する(ステップS1704)。
【0006】
これに応じて制御装置1220は、スキャナユニット1210に対してスキャン開始要求コマンドを発行する(ステップS1705)。また同時に、原稿給紙ユニット1250に対して、2枚目の原稿に対する給紙要求コマンドを発行しておく(ステップS1706)。
【0007】
スキャナユニット1210は、スキャン開始要求コマンドに応じてスキャン準備完了コマンドを発行し(ステップS1707)、その後スキャン動作を開始し(ステップS1708)、原稿を読みとって画像データを制御装置に転送する。
スキャン動作が完了し画像を転送し終わると、制御装置1220及び原稿給紙ユニット1250に対してスキャン動作完了コマンドを発行する(ステップS1710、S1709)。
【0008】
すでに2枚目の原稿に対する給紙要求コマンドを受信済みの原稿給紙ユニット1250は、スキャン動作完了コマンドを受けて、1枚目の原稿を排紙すると同時に2枚目の原稿を給紙する動作を行うことができる(ステップS1711)。
原稿交換動作完了後、原稿給紙ユニット1250は、制御装置1220に対して2枚目の原稿の給紙完了コマンドを発行する(ステップS1712)。
【0009】
あらかじめ1枚目の原稿に対するスキャン動作完了コマンドを受信済みの制御装置1220は、2枚目の原稿に対する給紙完了コマンドを受けて、スキャナユニット1210に対してスキャン開始要求コマンドを発行する(ステップS1713)。また同時に、原稿給紙ユニット1250に対して、3枚目の原稿に対する給紙要求コマンドを発行しておく(ステップS1714)。そして、以降は原稿枚数分、上述したシーケンスを繰り返すことになる(ステップS1715〜S1719)。
【0010】
図17に示した例では、原稿給紙ユニット1250にセットされた原稿が2枚しかない場合を想定しているため、3枚目の原稿に対する給紙要求に対して、原稿給紙ユニット1250は2枚目の原稿の排紙動作を行った後に(ステップS1719)、制御装置1220に対して原稿終了通知を発行し(ステップS1720)、読取動作が終了することになる。
【0011】
一方で、従来からカラー画像データを取り扱う際には、そのデータ量の大きさが問題となっていた。例えば、白黒画像を表現するために充分な大きさの二値画像に対して、RGBそれぞれ8ビットからなる標準的なカラー画像では、同じ大きさの画像を表すために24倍のデータ量が必要となってしまう。単純には白黒画像を取り扱う際の24倍のメモリが必要になるということであり、大きなコストアップにつながる。
【0012】
そのため、画像データに圧縮処理を施し、データ容量を小さくすることで機器に搭載するメモリ容量を少なくし、コストアップを押さえるという手法が従来から採られている。例えば、制御装置1220内に符号化ユニット1209や復号化ユニット1208のような画像データを圧縮・伸長処理する回路を備え、圧縮処理して小さくなった画像データをメモリ内に記憶しておき、メモリから出力する際に画像データを伸長することで、画像メモリの容量を小さくすることができる。
【0013】
【発明が解決しようとする課題】
しかしながら、画像データの圧縮・伸長の手法として、より圧縮率が稼げてコストアップの抑制につながるJPEG等の可変長圧縮の手法を用いる場合には、画像圧縮処理を行うまで圧縮後のデータサイズが確定しないため、画像圧縮を行った後に所望の画像サイズに収まっていないという事態が生じてしまうことがある。
【0014】
この場合、図17で示されるようなシーケンスは成り立たず、制御装置1220は、スキャナユニット1210からの画像転送終了を待って当該画像データのサイズを確定させてから、そのサイズが所望のサイズを超えていた場合には、符号化ユニット1209の設定を変えて、より高い圧縮率で画像が圧縮されるようにしてから、再度同じ原稿に対して画像読みとりを行うことになる。図18は、再スキャン処理を行う従来の画像処理装置における制御装置、給紙ユニット及びスキャナユニット間の画像読取処理シーケンスの通信タイミングを示す図である。
【0015】
図18に示すように、圧縮後の画像サイズが所望のサイズよりも大きい場合、同じ原稿に対して再度読みとりを行う必要があるかもしれないということは、圧縮後の画像サイズ確定前にあらかじめ次の原稿に対する給紙要求コマンドを発行しておくことができない。したがって、再度読みとり動作が必要か否かに関わらず、必ず画像サイズが確定した後でなければ、次の原稿の給紙要求コマンドが発行できないことになる。
【0016】
よって、制御装置1220が、スキャン動作完了コマンドを受信してから次の原稿の給紙要求コマンドを発行するまでの応答時間の分だけ、シーケンスに遅延が生じ、コピー等の生産性が悪くなってしまうという問題があった。
【0017】
また、所望の画像サイズに収まるように、読み取った原稿1枚ごとに符号化ユニット1209の設定を変えるとき、原稿給紙ユニット1250上にセットされた原稿が複数枚の場合、読み取られた画像データに対する符号化ユニット1209の設定が原稿1枚ごとに異なる可能性がある。これによって、それぞれの画像サイズはほぼ同じになるものの、それぞれの画像データごとにその品位や画質が異なるものとなってしまう場合がある。
【0018】
例えば、ユーザが1つのジョブを与えたにもかかわらず、原稿給紙ユニット1250上にセットした原稿中において、ある原稿の読み取り画像は標準的な画質であって、別の原稿の読み取り画像は所望の画像サイズに収まるようより高い圧縮率で圧縮され、相対的に画質が劣化しているような場合があり得る。すなわち、1つのジョブの中で画質にばらつきが生じてしまうという問題が生じる。
【0019】
本発明は、このような事情を考慮してなされたものであり、画像データを圧縮する場合に、符号化データ量を所定量に抑え、かつ、所定の単位内での画質の統一感を持たせた画像とすることができる画像処理装置の制御方法を提供することを目的とする。
【0020】
更に、複数枚の原稿を1ページ毎に読み取り、得られた画像データに上記目的を達成しながら圧縮を行う場合において、その読み取り制御を効率よく行うことを目的とする。
【0021】
【課題を解決するための手段】
上記課題を解決するために、本発明は、原稿を読み取り、1ページ分の画像データを発生する原稿読み取り手段と、該読み取り手段にて順次発生する画像データを1ページ毎に第1の圧縮条件、又はこれより圧縮率の高い第2の圧縮条件で圧縮符号化が可能な符号化手段と、圧縮符号化された画像データを記憶する記憶手段とを備える画像処理装置の制御方法であって、前記読み取り手段にて発生した1ページ分の画像データを前記第1の圧縮条件で圧縮符号化している途中に、該ページのすべてが該第1の圧縮条件で圧縮符号化されたときに得られる1ページ分の符号化データ量を推定する推定工程と、推定された符号化データ量が目標値以下の場合、前記圧縮符号化の途中に、次に圧縮符号化するべき画像データを発生させる為に、前記読み取り手段に次の原稿の読み取り指示を出す決定をし、推定された符号化データ量が目標値以上の場合、前記圧縮符号化の途中に、前記符号化途中の画像データに相当する原稿を前記読み取り手段に再度読み取らせる指示を出す決定をする決定工程と、推定された符号化データ量が目標値以上の場合、前記読み取り手段にて前記原稿を再度読み取られて発生した画像データを前記第2の圧縮条件で圧縮符号化する再符号化工程とを有することを特徴とする。
【0022】
【発明の実施の形態】
以下、図面を参照して、本発明の実施形態について説明する。
【0023】
<第1の実施形態>
図1は、本発明の一実施形態による画像処理装置の構成を示すブロック図である。図1において、リーダー部200は、原稿用紙を搬送するための機能を持つ原稿給紙ユニット250と、原稿を読み取るための機能を持つスキャナユニット210とから構成される。リーダー部200は、制御装置220に接続している。また、制御装置220は、プリンタ部310及びページ記述言語レンダリング部121に接続している。
【0024】
制御装置220は、原稿給紙ユニット250及びスキャナユニット210を制御して、原稿の画像データを読み込み、プリンタ部310を制御して画像データを記録用紙に出力してコピー機能を提供する。図1において、符号100及び102は、画像入力系を切り替えるセレクタを示し、符号112は、画像出力系を切り替えるセレクタを示す。また、符号101は、圧縮用ブロックラインバッファを示し、符号103及び107はカラー画像符号化器を示す。さらに、符号120は符号量判定部を示し、符号106及び110は圧縮メモリバッファを示す。さらにまた、符号109はハードディスク(HDD)を示し、符号104及び111はカラー画像復号器を示し、符号105及び115は展開用ブロックラインバッファを示す。
【0025】
不図示の画像入力手段から入力される信号は、スキャナユニット210やページ記述言語(PDL)レンダリング部121に入力される。この場合、例えば複写機の場合はスキャナユニット210から入力され、プリンタの場合はページ記述言語レンダリング部121から入力されるように、用途に応じてセレクタ100を切り替えて制御装置220に入力される。
【0026】
圧縮ブロックラインバッファ101では、画像をタイル分割し、分割されたタイル毎に、後述するカラー画像符号化器103によって、カラー情報の符号化である離散コサイン変換符号化(JPEG)される。ここで、分割されるタイルの大きさをM画素×N画素とする。但し、M、Nは、離散コサイン変換符号化のためのウィンドウサイズの倍数でなければならない。本実施形態で用いるJPEG圧縮方式では、圧縮のためのウィンドウサイズは8画素×8画素である。そこで、例えばM=N=32とすると、32画素×32画素のタイルの中をさらに16個の8画素×8画素のウィンドウに分割して、8画素×8画素単位でJPEG圧縮が行われる。本実施形態では、以後、M=N=32として説明するが、本発明はこの値に限定されるわけではない。
【0027】
カラー画像符号化器103では、32画素×32画素のタイル画像に含まれる16個の8画素×8画素ウィンドウに対して、周知であるDCT変換を施して量子化を行う。尚、このときに用いられる量子化係数(以降、「量子化マトリックス」と称す。)は、タイルごとに切り替えて設定できるようになっているものとする。この切り替えは、不図示のCPUが、あらかじめカラー画像符号化器103内に保持されている複数の量子化係数を選択する選択信号を発生して、カラー画像符号化器103に送出することによって行われる。
【0028】
上述したようにして符号化された画像データは、圧縮メモリバッファ106を経由して、ハードディスク109において圧縮画像データとして記憶される。一方、記憶された圧縮画像データをプリンタ部310から出力する際は、ハードディスク109に記憶されている圧縮画像データを読み出して、以下の手順で復号化して出力する。
【0029】
まず、カラー画像復号化器104において、画像データを圧縮した際の量子化マトリクスに応じて圧縮して記憶された画像データの復号化パラメータ(逆量子化マトリクス)を切り替えて画像データを復号処理し、その結果を展開用ブロックラインバッファ105に出力する。
【0030】
図2は、本発明の一実施形態によるDCTを用いたカラー画像符号化器103及びカラー画像復号化器104の処理手順を説明するための概要図である。図2において、符号20は、図示しない画像入力機器からカラー画像符号化器103に入力される画像信号であって、カラー信号の場合は、赤(R)、緑(G)、青(B)の3色で256階調の信号である。
【0031】
また、カラー画像符号化器103に入力された画像信号は、色変換器11においてRGB信号から輝度色差信号(YCbCr)に変換される。次いで、離散コサイン変換(DCT)器において、輝度色差信号のそれぞれを8画素×8画素単位で空間周波数変換(DCT)が行われる。
【0032】
さらに、量子化器13において、設定された量子化マトリクスを用いてDCT係数が量子化され、データ量が削減される。そして、可変長符号化(VLC)器において、量子化値をハフマン符号化処理することによってデータ量をさらに削減する。以上がカラー画像符号化器103における処理手順であり、圧縮された画像データは圧縮メモリ15又は大容量記憶装置等に記憶される。
【0033】
一方、記憶された画像データは以下の手順でカラー画像復号化器14において復号される。すなわち、可変長復号(VLD)器でハフマンデコードが行われる。次いで、逆量子化器17で、設定された逆量子化マトリックスによりDCT係数値に戻され、IDCT器18において逆DCT変換が行われて輝度色差信号に戻される。そして、色変換器19において、輝度色差信号がRGB信号に戻される。以上の圧縮及び復号処理の結果、カラー画像信号21が外部に出力されることになる。
【0034】
図3は、本実施形態における圧縮処理に使用される8×8の量子化マトリックスの一例を示す図である。図3(a)は、最初に適用される量子化マトリックスT1を示し、(b)は圧縮率を高くするために適用される量子化マトリックスT2の例を示す。さらに、(b)の量子化マトリックスよりもさらに高い圧縮率を得るためには(c)の量子化マトリックスT3を適用し、(c)よりもさらに高い圧縮率を得るためには(d)の量子化マトリックスT4を適用すればよい。
【0035】
すなわち、まず、量子化マトリックスT1を用いて画像データの圧縮(JPEG圧縮)を行い、所望の圧縮率を達成できない場合には、量子化ステップを粗くするマトリックスとして、量子化マトリックスT2を用いて圧縮を行う。また、量子化マトリックスT2を用いても所望の圧縮率を達成できない場合は量子化マトリックスT3を、それでも所望の圧縮率を達成できない場合は量子化マトリックスT4を用いて圧縮処理を行う。
【0036】
本実施形態では、上述したように4つの量子化マトリックスを用意しているため、再スキャンは3回(すなわち、最初のスキャンと合わせて1ページの原稿に対して最大4回のスキャン)を行うことができる。尚、本発明では、これ以外にさらに高い圧縮率の量子化マトリックスを複数個用意しておくことによって、用意した量子化マトリクスの個数分だけさらに再スキャンを行うことができる。
【0037】
量子化マトリックスT1、T2、T3、T4及びそれらに対応する逆量子化マトリクスは図2に示される量子化部13及び逆量子化部17にあらかじめ記憶されており、図示しないCPUによって、画像データの圧縮時の量子化マトリクスに従ってどちらを使うかをタイル単位で切り替えられる。
【0038】
図4は、本実施形態における圧縮された画像データのデータ構造を説明するための概要図である。図4に示すように、データの先頭から順に第1のタイルのヘッダ情報41、DCT符号化された画像情報である圧縮された画像データ42が格納され、同じ構成で第2のタイル、第3のタイル、…と連続してデータが書き込まれ、1ページ全体に含まれる最後のタイルまでの情報が書き込まれている。
【0039】
ここで、各タイルのヘッダ情報には、圧縮データのデータサイズやタイルの番号等が記録されるが、同時に、画像データの量子化マトリックスとしてどの量子化マトリックスを使用したかという情報も記録される。符号化して記録されたデータを復号する際には、このヘッダ情報を参照して量子化マトリックスT1、T2、T3又はT4であるかの情報を読み取り、それぞれに見合った逆量子化マトリックスを選択して逆量子化を実行すればよい。
【0040】
図5は、本実施形態における圧縮された画像データのページ毎の情報を管理するための管理テーブルの概念図である。図4を用いて説明したように、各タイルのヘッダ情報を参照することによって、タイルごとに異なる量子化マトリックスを用いて量子化されていても逆量子化は可能である。しかし、後述するスキャンシーケンスからわかるように、本実施形態では、所望の圧縮率が達成されなかった場合、量子化マトリックスを変更した後、同じ原稿に対して再度読み取り動作を行うため、1ページ内の全てのタイルについては同じ量子化マトリクスを用いて量子化を施すことになる。
【0041】
図5で示される各ページのヘッダ情報には、ページごとの圧縮データのサイズやページ番号等が記録されるが、そのページの圧縮の際の量子化マトリックスとしてどれを使用したかという情報も記録される。すなわち、ページ毎にどの量子化マトリックス、該当ページ内の全タイルに共通にを用いて圧縮処理が施されたかということが、この管理テーブルを参照することによって確認することが可能である。
【0042】
以下に、本実施形態におけるスキャンシーケンスについて説明する。本発明では、画像データの圧縮処理が終了する前、すなわち、制御装置220がスキャン動作完了コマンドを受信する前に、圧縮後の画像サイズを推定し、推定値が所定のサイズ以下であれば次の原稿の給紙要求コマンドを発行するようにする。すなわち、原稿給紙ユニット250が、スキャナユニット210からのスキャン動作完了コマンドを受信するより前に、制御装置220が原稿給紙ユニット250に対して次の原稿の給紙要求コマンドを発行することによって、上述した応答時間分の遅延が生じることはない。
【0043】
そこで本実施形態では、画像データを32画素×32ライン単位のタイルに分割して、個々のタイルに対して圧縮及び伸長処理を行う。よって、本来1ページ分の画像を用いて行うJPEGなどの圧縮手法によっても、所定のタイル数までの画像サイズを累積することによって、1ページの途中における圧縮された画像のサイズが判明する。したがって、当該ページの残りの分の画像データのサイズを推定することによって、圧縮後の1ページ分全体の画像サイズを所定の基準に基づいて推定することが可能になる。
【0044】
そこで、以下に示す式によって、所定のタイル数まで画像を読み取った時点における圧縮しない場合の画像データのサイズ、目標とする圧縮率、画像全体のタイルの個数、圧縮後の1ページ分の画像サイズを推定する所定のタイル数、所定タイル数における画像データサイズの関係を表すことができる。
【0045】
Sn・Pt>α・(1−x/X)+x・Sc/X (1)
式(1)において、Snは、圧縮しない場合の1ページ分の画像データのサイズ、Ptは、目標とする圧縮率(1.0が全く圧縮しない場合の圧縮率とする。)、αは、まだ読み取っていない部分の画像データが達成すべき圧縮率、xは、圧縮後の画像サイズを推定するための所定のタイル数、Xは、画像データ1ページ分のタイル数、Scは、所定のタイル数(x個)を読み取った時点での画像データのサイズの累積値である。
【0046】
図6は、本実施形態における圧縮される画像データのタイルを説明するための概要図である。例えば、図6に示すように、主走査方向に14個、副走査方向に10個のタイルからなる1ページ分の画像データのうち、斜線で示されたタイルの部分(126個のタイル)まで読み込んだ時点では、式(1)の各項には以下に示す定数を適用することができる。但し、計算を簡単にするため、1タイルの画像は圧縮しない場合1MBになるものとし、まだ読み取っていない部分の画像データについては、符号化処理を行っても全く圧縮されないものとしてScの値を算出する。
【0047】
すなわち、Sc=140(MB)、Pt=1/8、α=1.0、x=126、X=140、Sc<3.89(MB)とする。この例では、1ページ分の画像データのタイル数140個のうち、126個目のタイルを読み取る時点までは、画像データのサイズの累積値が必ず3.89MBより小さくなければならないということになる。
【0048】
したがって、所定の個数のタイル分の画像データのサイズの累積値が、所定のサイズを超えているか否かを判断することによって、1ページ分の画像データのサイズが、あるサイズ以下になるか否かを推定することができる。
【0049】
図7及び図8に、制御装置220のスキャンシーケンスと、圧縮サイズ推定及び再スキャン処理のフローチャートを示す。すなわち、図7は、本実施形態における制御装置220での画像読取処理を説明するためのフローチャートである。
また、図8は、本実施形態における制御装置220での再スキャン処理の詳細を説明するためのフローチャートである。
【0050】
図7を用いて、制御装置220のスキャンシーケンスにおける制御を説明する。まず、制御装置220は、読取動作開始要求待ち状態になる(ステップS701)。次に、図示しない操作部ユニットからの読取動作開始要求を受信すると(Yes)、制御装置220は原稿給紙ユニット250に対して1枚目の原稿の給紙要求コマンドを発行する(ステップS702)。
【0051】
その後、制御装置220は、原稿給紙ユニット250からの給紙完了通知待ちの状態となる(ステップS703)。給紙完了通知を受信すると(Yes)、制御装置220は、スキャン開始要求を発行して画像データを受信し、タイル画像ごとに符号化処理を施して圧縮し、1ページ分の画像データを読み込み終える前(1ページ分の画像データを圧縮し終える前)の段階で、1ページ分の圧縮後の画像データのサイズを推定し、その推定値に応じて次の原稿を読み取るのか、同じ原稿を量子化マトリクスを変更して再度スキャンするのかを判断する(ステップS704)。尚、この処理の詳細については後述する。
【0052】
その後、制御装置220は、スキャナユニット210からの画像データの転送終了を示すスキャン完了通知待ちの状態となる(ステップS705)。そして、スキャン完了通知を受信した場合(Yes)、直前に読み込み終えた原稿が最終のものか否かがが判定され(ステップS706)、最終の原稿の場合(Yes)、読取動作を終了する。一方、まだ読み取るべき原稿が原稿給紙ユニット250に残っている場合(No)、制御装置220は次の原稿の給紙完了通知待ちの状態に移行する(ステップS1703)。
【0053】
ここで、図8を用いて、制御装置220の圧縮サイズ推定及び再スキャン処理における制御について説明する。まず、制御装置220は、画像データを受信する前に、読み取った画像データサイズの累積値及び受信した画像のタイル数を計数しておくカウンタの値を初期化しておく(ステップS801)。
【0054】
次に、制御装置220は、次に行うスキャン動作が再スキャンかどうかを再スキャン回数を計数するカウンタの値を参照して判断する(ステップS802)。
その結果、再スキャンであれば(Yes)、再スキャン回数が予め決められた回数以下であるかどうかチェックする(ステップS803)。そして、再スキャン回数が所定回数よりも多い場合(No)、エラーとして読取動作を終了させる。
尚、この所定回数は、あらかじめ用意されている量子化マトリクスの個数に依存する。
【0055】
一方、再スキャン回数が所定回数以下の場合(Yes)、再スキャン回数に応じて量子化係数(量子化マトリクス)を決定する(ステップS805)。そして、量子化マトリクスに応じて、圧縮率を推定する所定のタイル数、そのタイル数における画像データの所定のサイズを決定する。また、再スキャンではなく当該原稿に対する最初の読取スキャンであれば、再スキャン回数を計数するカウンタを初期化し、量子化マトリクスも初期値にセットする(ステップS804)。そして、量子化マトリクスに応じて、圧縮率を推定する所定のタイル数、そのタイル数における画像データの所定のサイズを決定する。
【0056】
以上の処理によって画像データを受信する準備が整ったので、次に制御装置220は、スキャン開始要求コマンドをスキャナユニット210に対して発行する(ステップS806)。その後、制御装置220は、スキャナユニット210からのスキャン準備完了通知待ちの状態となる(ステップS807)。そして、スキャン準備完了通知を受信すると(Yes)、制御装置220は、タイル画像受信待ちの状態になる(ステップS808)。そして、タイル画像を受信すると(Yes)、制御装置220は、画像データのサイズを累積するカウンタに、受信したタイル画像に符号化処理を施して圧縮した後のサイズを加算する(ステップS809)。
【0057】
また、受信タイル数を計数するカウンタを1つ加算する(ステップS810)。そして、画像データサイズ累積値のカウンタの値が、あらかじめ定められた所定のサイズを超えているかどうかを判定する(ステップS811)。その結果、累積知カウンタ値が所定サイズを超える場合(Yes)、制御装置220は再スキャン回数を計数するカウンタを加算し(ステップS812)、スキャン完了通知待ちの状態になる(ステップS813)。
【0058】
そして、スキャン完了通知を受信した場合(Yes)、再スキャンのシーケンスに移行する(ステップS801)。この場合、原稿給紙ユニット250に対して、次の原稿の給紙要求コマンドを発行しないまま画像読取スキャンを行うことになるため、前回読み込んだ原稿と同じ原稿に対して画像読取スキャン(再スキャン)を行うことになる。
【0059】
一方、ステップS811で累積値か所定サイズを超えていない場合(No)、次に、受信タイル数が所定の個数を超えていないかどうかをチェックする(ステップS814)。その結果、受信タイル数が所定個数を超えていない場合(No)、制御装置220はタイル画像受信待ち状態に移行する(ステップS808)。
【0060】
また、受信タイル数が所定個数を超えていれば(Yes)、所定個数のタイルを受信しても画像データの累積サイズが所定サイズ以下であったので、制御装置220は、残りのタイルを受信しなくても、その1ページの画像データはあるサイズ以下に収まるものと推定し、次の原稿の給紙要求コマンドを原稿給紙ユニットに対して発行する(ステップS815)。
【0061】
図9は、本実施形態における制御装置220、原稿給紙ユニット250及びスキャナユニット210間の画像読取処理シーケンスの通信タイミングを示す図である。また、図10は、本実施形態における制御装置220、原稿給紙ユニット250及びスキャナユニット210間の再スキャン処理が発生する画像読取処理シーケンスの通信タイミングを示す図である。
【0062】
まず、図9を用いて、制御装置220による原稿給紙ユニット250及びスキャナユニット210の制御タイミングについて説明する。尚、各ユニット間の通信は、シリアル通信によるコマンド送信等の公知の技術によるものとする。
【0063】
図示しない操作部ユニットからコピー動作開始要求コマンドが制御装置220に与えられると(ステップS901)、制御装置220は、原稿給紙ユニット250に対して原稿給紙要求コマンドを発行する(ステップS902)。これに応じて原稿給紙ユニット250は給紙動作を行い(ステップS903)、給紙動作が完了すると、制御装置220に対して給紙完了コマンドを発行する(ステップS904)。
【0064】
これに応じて制御装置220は、スキャナユニット210に対してスキャン開始要求コマンドを発行する(ステップS905)。スキャナユニット210は、スキャン開始要求コマンドに応じて、スキャン準備完了コマンドを発行した後(ステップS906)、スキャン動作を開始し、原稿を読みとって画像データを制御装置に転送する(ステップS907)。
【0065】
画像データ受信中、所定のタイル数の画像を受け取った時点で、画像データの累積サイズが所定サイズ以下であれば、制御装置220は、原稿給紙ユニット250に対して、2枚目の原稿に対する給紙要求コマンドを発行する(ステップS908)。また、スキャン動作が完了し画像を転送し終わると、制御装置220及び原稿給紙ユニット250に対してスキャン動作完了コマンドを発行する(ステップS909、S910)。
【0066】
すでに2枚目の原稿に対する給紙要求コマンドを受信済みの原稿給紙ユニット250は、スキャン動作完了コマンドを受けて、1枚目の原稿を排紙すると同時に2枚目の原稿を給紙する動作を行うことができる(ステップS911)。原稿交換動作完了後、原稿給紙ユニット250は、制御装置220に対して2枚目の原稿の給紙完了コマンドを発行する(ステップS912)。
【0067】
あらかじめ1枚目の原稿に対するスキャン動作完了コマンドを受信済みの制御装置220は、2枚目の原稿に対する給紙完了コマンドを受けて、スキャナユニット210に対してスキャン開始要求コマンドを発行する(ステップS913)。そして、以降は、原稿枚数分上述したシーケンスを繰り返すこととなる(ステップS914〜S919)。
【0068】
図9に示した例では、原稿給紙ユニット250にセットされた原稿が2枚しかない場合を想定しているため、3枚目の原稿に対する給紙要求に対して、原稿給紙ユニット250は2枚目の原稿の排紙動作を行った後に(ステップS919)、制御装置220に対して原稿終了通知を発行し(ステップS920)、読取動作が終了することになる。
【0069】
上述したように、画像データ受信中に、その画像データ1ページ分のサイズを推定することによって、スキャン完了通知を受信する前に次の原稿に対する給紙要求コマンドを発行することができるため、図18で示したような応答時間の遅延が発生することはない。
【0070】
次に、図10を用いて、再スキャンが発生した場合の制御装置220による原稿給紙ユニット250及びスキャナユニット210の制御タイミングについて説明する。まず、図示しない操作部ユニットから読取動作開始要求コマンドが制御装置220に与えられると(ステップS1001)、制御装置220は原稿給紙ユニット250に対して原稿給紙要求コマンドを発行する(ステップS1002)。
【0071】
これに応じて、原稿給紙ユニット250は給紙動作を行い(ステップS1003)、給紙動作が完了すると、制御装置220に対して給紙完了コマンドを発行する(ステップS1004)。これに応じて、制御装置220は、スキャナユニット210に対してスキャン開始要求コマンドを発行する(ステップS1005)。
【0072】
スキャナユニット210は、スキャン開始要求コマンドに応じて、スキャン準備完了コマンドを発行した後(ステップS1006)、スキャン動作を開始し、原稿を読みとって画像データを制御装置に転送する(ステップS1007)。そして、画像データ受信中、所定のタイル数の画像を受け取るまでに、画像データの累積サイズが所定サイズよりも大きくなれば、制御装置220は、原稿給紙ユニット250に対して、2枚目の原稿に対する給紙要求コマンドを発行することなく、スキャン動作完了コマンドの受信待ち状態となる。
【0073】
スキャン動作が完了し画像を転送し終わると、スキャナユニット210は、制御装置220及び原稿給紙ユニット250に対してスキャン動作完了コマンドを発行する(ステップS1008、S1009)。これを受けて制御装置220は、スキャナユニット210に対してスキャン開始要求コマンドを発行する(ステップS1010)。ここで、2枚目の原稿に対する給紙要求コマンドは発行されていないので、原稿給紙ユニット250は、次の原稿の給紙を行っておらず、結果として1枚目の原稿を再度スキャンして読み込むことになる。そして、以降は、図9で示されたシーケンスと同様である(ステップS1010〜S1022)。
【0074】
図10で示されている通信タイミングについても、図9に示す場合と異なるのは、再スキャンが行われているという点のみであり、再スキャンに要する時間分の生産性悪化は発生してしまうが、図18で示したような応答時間の遅延が発生することはない。
【0075】
また、本実施形態では、画像データの入力ソースがリーダー部200の場合について説明したが、入力ソースが図1におけるページ記述言語レンダリング部121の場合であっても、全く同様に再レンダリングの制御が行えることは言うまでもない。
【0076】
次に、本実施形態における特徴的なプリントシーケンスについて説明する。上述したスキャンシーケンスによって、原稿給紙ユニット250上にセットされた複数の原稿を読み取ると、それぞれの原稿読み取り画像によって、圧縮に用いられた量子化マトリックスが異なる場合がある。例えば、ある画像は量子化マトリックスT1、また別の画像は量子化マトリックスT2、あるいはT3、T4というように、それぞれに異なる量子化マトリックスが用いられる可能性がある。
【0077】
一般に、より高い圧縮率が得られる量子化マトリクスを用いて圧縮された画像ほど、復号化した際の画像の劣化が大きく、画質は悪い。このため、例えば、1つのジョブとして投入された原稿束の中で、他の原稿の読み取り画像については量子化マトリックスT1が用いられたにもかかわらず、ある1枚の原稿についてのみ量子化マトリックスT2が用いられたような場合、当該原稿画像の画質劣化が相対的に際立つ形になってしまう。
【0078】
このような現象を防ぐため、プリントシーケンスにおいて1つのジョブとして投入された複数の画像について、それらの画像を圧縮する際に用いられている量子化マトリクスの中で、最も圧縮率の高いものによって、再度圧縮処理を行うことによって、1つのジョブ内での画像の品位、画質を揃える制御を実施する。
【0079】
図11は、本発明の一実施形態であるプリントシーケンスにおける画像符号化部および画像復号化部を説明するためのブロック図である。図11における個々のブロックの番号は、図1記載のブロックの番号に対応する。
【0080】
図11において、まず、通常時には、プリントするためにハードディスク(HDD)19から読み出された画像は、セレクタ112、セレクタ102、圧縮メモリバッファ110、カラー画像復号化器111、展開用ブロックラインバッファ115、プリンタ部310の経路で、復号化された画像データがプリンタ部310へ送られてプリントアウトされる。この時、カラー画像復号化器111で用いられる逆量子化マトリックスは、そのプリントジョブの複数の画像で用いられている量子化マトリックスの中で、最も圧縮率の高いものとなる。
【0081】
そして、ジョブ内の画像の品位をそろえるために再圧縮処理を行う際には(再圧縮時)、ハードディスク(HDD)109、セレクタ112、カラー画像復号化器104、展開用ブロックラインバッファ105、カラー画像符号化器107、セレクタ102、圧縮メモリバッファ110、カラー画像復号化器111、展開用ブロックラインバッファ115、プリンタ部310の経路で、復号化された画像データがプリンタ部310へ送られてプリントアウトされることになる。
【0082】
この時、カラー画像復号化器104で用いられる逆量子化マトリックスは、それぞれの画像がスキャンシーケンスにおいて圧縮された時に用いられたものを用いる。また、カラー画像符号化器107で用いられる量子化マトリックスは、そのプリントジョブの複数の画像で用いられている量子化マトリックスの中で、最も圧縮率の高いものとする。このような量子化マトリックスを用いて、上述した経路で画像データを処理することによって、当該ジョブのすべてのページに再度圧縮処理が施されることになり、1つのジョブ内での画像の品位、画質をそろえることができる。
【0083】
図12は、プリントシーケンスにおける制御装置220の画像読取処理の動作手順を説明するためのフローチャートである。まず、制御装置220は、図5においてその概念を示した圧縮された画像データをハードディスクに記憶するときのページごとの情報を管理するための管理テーブルを検索する。そして、当該プリントジョブ内のページで、スキャン時に用いられたもっとも圧縮率の高い量子化マトリックスを得る(ステップS1201)。例えば、当該ジョブで用いられた圧縮率の最も高い量子化マトリックスがT4であれば、以下のシーケンスによってジョブ内のすべてのページは量子化マトリックスT4での圧縮が施された画質に揃えられることになる。しかし、すべてのページが量子化マトリックスT1で圧縮が施されている場合には、再圧縮処理を施す必要はないことになる。
【0084】
次に、制御装置220は、検索したジョブ内で最も圧縮率の高い量子化マトリクスをカラー画像符号化器107に設定する(ステップS1202)。その後、制御装置220は、ハードディスク109からプリントすべきジョブのページを順次読み出す準備を行う。具体的には、前述した管理テーブルを参照して、次のページの量子化マトリックスを得る(ステップS1203)。
【0085】
得られた量子化マトリックスにより、当該ページに対して再圧縮処理を施す必要があるかどうかが判定される(ステップS1204)。その結果、得られた量子化マトリクスが、当該ジョブ内でもっとも圧縮率の高いものでない場合、再圧縮処理が必要であり(Yes)、再圧縮処理が行われる。すなわち、セレクタ112、102を設定して、図1121で示される再圧縮時の経路を通して、画像データに対して当該ジョブ内で最も高い圧縮率の量子化マトリックスによって再圧縮が行われる(ステップS1205)。
【0086】
得られた量子化マトリックスが、当該ジョブ内で最も圧縮率の高いものである場合、再圧縮処理の必要はないため(No)、図11で示した通常の経路を通して、そのままプリントアウトされる(ステップS1206)。プリントアウト時には、通常の画像データも再圧縮を施された画像データも、カラー画像復号化器111で、当該ジョブ内で最も圧縮率の高い逆量子化マトリクスにより復号化される。
【0087】
さらに、読み出されたページが当該ジョブでの最終ページであるかどうかが判定され(ステップS1207)、最終ページでない場合(No)、ステップS1203に戻る。また、最終ページであれば(Yes)、プリントジョブを終了する。
【0088】
すなわち、本実施形態では、原稿を読み取り、1ページ分の画像データを発生する原稿読み取り手段(例えば、セレクタ100)と、該読み取り手段にて順次発生する画像データを1ページ毎に第1の圧縮条件、又はこれより圧縮率の高い第2の圧縮条件で圧縮符号化が可能な符号化手段(例えば、カラー画像符号化器103)と、圧縮符号化された画像データを記憶する記憶手段(例えば、HDD109)とを備える画像処理装置(例えば、制御装置220)とその制御方法を説明している。そして、当該画像処理装置は、読み取り手段にて発生した1ページ分の画像データを第1の圧縮条件で圧縮符号化している途中に、当該ページのすべてが第1の圧縮条件で圧縮符号化されたときに得られる1ページ分の符号化データ量を推定する推定手段(符号量判定部120)と、推定された符号化データ量が目標値以下の場合、圧縮符号化の途中に、次に圧縮符号化するべき画像データを発生させる為に、読み取り手段に次の原稿の読み取り指示を出す決定をし、推定された符号化データ量が目標値以上の場合、圧縮符号化の途中に、符号化途中の画像データに相当する原稿を読み取り手段に再度読み取らせる指示を出す決定をする決定手段(CPU)と、推定された符号化データ量が目標値以上の場合、読み取り手段にて原稿を再度読み取られて発生した画像データを第2の圧縮条件で圧縮符号化する再符号化手段(カラー画像符号化器107)とをさらに備えることを特徴とする。
【0089】
また、本発明は、各ページが複数のブロックに分割された画像データを入力する画像入力手段(セレクタ100)と、入力された画像データをブロック単位で圧縮符号化する符号化手段(カラー画像符号化器103)と、圧縮符号化された画像データを記憶する記憶手段(HDD109)とを備える画像処理装置(制御装置220)であって、符号化手段(カラー画像符号化器103)が、画像データをページ毎に第1の圧縮条件で圧縮符号化し、画像データにおける一のページの所定ブロックまでが圧縮符号化されたときのデータ量の累積値を算出する算出手段(符号量判定部120)と、算出されたデータ量の累積値に基づいて、当該ページがすべて圧縮符号化されたときのデータ量を推定する推定手段(符号量判定部120)と、第1の圧縮条件に基づいて、圧縮符号化された画像データを復号化する復号化手段(カラー画像復号化器104)と、推定されたデータ量が所定値以下の場合、次に圧縮符号化する前記画像データのページを決定する決定手段(CPU)と、推定されたデータ量が所定値以上の場合、復号化されたページの画像データをより圧縮率の高い第2の圧縮条件で圧縮符号化する再符号化手段(カラー画像符号化器107)とを備えることを特徴とする。
【0090】
さらにまた、本発明は、符号化手段(カラー画像符号化器103)及び再符号化手段(カラー画像符号化器107)が、JPEG方式による圧縮符号化処理を行うことを特徴とする。
【0091】
さらにまた、本発明は、符号化手段(カラー画像符号化器103)が、複数の量子化マトリックスを用いて、DCT変換された変換係数を量子化することによって、入力された画像データを異なる圧縮率で圧縮符号化することを特徴とする。
【0092】
さらにまた、本発明は、画像データが圧縮符号化されたときの第1の圧縮条件又は第2の圧縮条件に関する情報を画像データに付加する情報付加手段(CPU)をさらに備え、記憶手段(HDD109)が、第1の圧縮条件又は第2の圧縮条件に関する情報が付加された圧縮後の画像データを記憶することを特徴とする。
【0093】
さらにまた、本発明は、原稿を読み取って画像データに変換する画像入力装置(リーダー部200)又はページ記述言語レンダリング装置121に接続され、ページごとの画像データが入力可能であることを特徴とする。
【0094】
<第2の実施形態>
第1の実施形態では、通常のコピージョブを例にとって本発明の一実施形態について説明を行ったが、本発明はそれに限るものではない。例えば、一般に縮小レイアウトと呼ばれる機能においても、本発明の効果が生かされるものである。
これについて、以下に説明する。
【0095】
図13は、本発明の第2の実施形態における縮小レイアウト機能を説明するための概要図である。尚、縮小レイアウトとは、複数枚の原稿を縮小して、1枚の用紙上に適切にレイアウトして出力する機能のことである。例えば、「4in1」の場合、4枚の読み取り原稿をそれぞれ50%縮小し、1枚の用紙上にレイアウトして出力することになる。
【0096】
このとき、同じ用紙上に配置されている個々の画像について、異なる量子化マトリクスを用いて圧縮が施されていると、1枚の用紙上の部分部分によって画質が異なってしまう。そこで本発明では、縮小レイアウトに用いる個々の画像ごとに再圧縮処理を施すことにより、用紙上での個々の画像の画質を揃える。以下に、本発明における縮小レイアウト時の再圧縮の制御について説明する。
【0097】
図14は、本発明の第2の実施形態における制御装置220の縮小レイアウト処理の動作手順を説明するためのフローチャートである。尚、以下は、用紙1枚出力のシーケンスであり、第1の実施形態ではページ単位で量子化マトリクスを切り替えていたが、本実施形態ではタイル単位で切り替えることになる。
【0098】
まず、制御装置220は、図5でその概念を示した圧縮された画像データをハードディスクに記憶するときのページごとの情報を管理するための管理テーブルを検索する。そして、当該出力用紙上に配置する読み取りページの中で、スキャン時に用いられたもっとも圧縮率の高い量子化マトリックスを得る(ステップS1401)。ここで、圧縮率の最も高い量子化マトリックスがT4であれば、以下のシーケンスによって出力用紙に配置すべきすべての読み取りページはT4での圧縮が施された画質に揃えられることになる。しかし、すべての読み取りページがT1で圧縮処理されている場合には、再圧縮処理を施す必要はないことになる。
【0099】
次に、制御装置220は、前述した手順で検索した当該出力用紙上に配置する読み取りページの中で、最も圧縮率の高い量子化マトリックスをカラー画像符号化器107に設定する(ステップS1402)。その後、制御装置220は、ハードディスク109から当該出力用紙上に配置する読み取りページの画像データをタイル単位に順次読み出す準備を行う(ステップS1403)。具体的には、用紙上のレイアウトに基づき、前述した管理テーブル及び各タイルのヘッダ情報を参照して、次のタイルの量子化マトリックスを得る。
【0100】
そして、得られた量子化マトリックスにより、当該タイルに対して再圧縮処理を施す必要があるかどうかを判定する(ステップS1404)。その結果、得られた量子化マトリックスが、当該出力用紙上に配置する読み取りページの中で最も圧縮率の高いものでない場合、再圧縮処理が必要であり(Yes)、再圧縮処理を行うことになる。すなわち、セレクタ112、102を設定し、図11で示した再圧縮時の経路を通して、画像データに対して出力用紙上に配置する読み取りページの中で最も高い圧縮率の量子化マトリックスによって再圧縮が行われる(ステップS1405)。
【0101】
また、得られた量子化マトリックスが、当該出力用紙上に配置する読み取りページの中で最も圧縮率の高いものである場合、再圧縮処理の必要はないため(No)、図11で示した通常の経路を通して、そのままプリントアウトされる(ステップS1406)。尚、プリントアウト時には、通常の画像データも再圧縮を施された画像データも、カラー画像復号化器111において、当該出力用紙上に配置する読み取りページの中で最も圧縮率の高い逆量子化マトリックスによって復号化される。
【0102】
さらに、読み出されたタイルが当該出力用紙上に配置する読み取りページの中で最後のタイルであるかどうか判定し(ステップS1407)、最後のタイルでない場合(No)、ステップS1403に戻る。一方、最後のタイルであれば(Yes)、プリント出力を終了する。
【0103】
すなわち、本発明は、所定の圧縮率で圧縮符号化された複数のページから成る画像データを入力する画像入力手段と、入力された画像データの各ページが圧縮符号化されたときの圧縮条件に関する情報を抽出する情報抽出手段と、圧縮条件に基づいて、圧縮符号化された画像データを復号化する復号化手段と、復号化された画像データを、抽出された圧縮条件中の最高の圧縮率による圧縮条件で圧縮符号化する再符号化手段と、圧縮符号化された画像データを出力する出力手段とを備えることを特徴とする。
【0104】
<第3の実施形態>
本発明は、第一及び第二の実施形態に限るものではなく、例えば、一般に拡大レイアウトと呼ばれる機能においても、本発明の効果が生かされるものであることを以下に説明する。
【0105】
図15は、本発明の第3の実施形態における拡大レイアウト機能を説明するための概要図である。尚、拡大レイアウトとは、1枚の原稿を分割して読み取ってそれぞれを拡大し、複数枚の用紙に出力する機能のことである。例えば、図15で示されている場合には、1枚の読み取り原稿を4つに分割して読み取り、それぞれを200%拡大し、4枚の用紙に出力することになる。これにより、ユーザは出力された用紙をのり等で貼り付けて1枚の大きな用紙にし、コピー機には通紙できないような大きな出力用紙に対するコピー出力を得ることができる。
【0106】
このとき、分割して読み取った個々の画像について、異なる量子化マトリックスを用いて圧縮が施されている場合、後でユーザが作成した大きな出力用紙上の部分部分によって画質が異なることになる。そこで本発明では、拡大レイアウトに用いる個々の画像ごとに再圧縮処理を施すことにより、用紙上での個々の画像の画質を揃える。図15で示された例のような場合、1枚の原稿を4つに分割して、4枚の原稿として読み取り動作を行う。よって、再圧縮のシーケンスは、第1の実施形態で示された手順と同じものになる。
【0107】
すなわち、本発明は、圧縮符号化された一ページ分の画像データを入力する画像入力手段と、入力された画像データを復号化する復号化手段と、復号化された画像データを所定サイズの複数の領域に分割する分割手段と、分割された領域ごとに同一条件で復号化された画像データを所定の拡大率で拡大する拡大手段と、拡大された画像データを出力する出力手段とを備えることを特徴とする。
【0108】
また、本発明は、拡大手段が、拡大後の分割された画像データを、入力された画像データの画像サイズと同一サイズになるような拡大率で拡大することを特徴とする。
【0109】
尚、本発明は、複数の機器(例えば、ホストコンピュータ、インタフェース機器、リーダ、プリンタ等)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置等)に適用してもよい。
【0110】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体(または記憶媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記録媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記録した記録媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0111】
さらに、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0112】
本発明を上記記録媒体に適用する場合、その記録媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。
【0113】
【発明の効果】
以上説明したように、本発明によれば、複数ページからなる画像データを圧縮するジョブが与えられた場合、できる限り各ページの画質の劣化を最小限にし、出力時にはページ内の個々の領域の画質を揃えることができる。
【図面の簡単な説明】
【図1】本発明の一実施形態による画像処理装置の構成を示すブロック図である。
【図2】本発明の一実施形態によるDCTを用いたカラー画像符号化器103及びカラー画像復号化器104の処理手順を説明するための概要図である。
【図3】本実施形態における圧縮処理に使用される8×8の量子化マトリクスの一例を示す図である。
【図4】本実施形態における圧縮された画像データのデータ構造を説明するための概要図である。
【図5】本実施形態における圧縮された画像データのページ毎の情報を管理するための管理テーブルの概念図である。
【図6】本実施形態における圧縮される画像データのタイルを説明するための概要図である。
【図7】本実施形態における制御装置220での画像読取処理を説明するためのフローチャートである。
【図8】本実施形態における制御装置220での再スキャン処理の詳細を説明するためのフローチャートである。
【図9】本実施形態における制御装置220、原稿給紙ユニット250及びスキャナユニット210間の画像読取処理シーケンスの通信タイミングを示す図である。
【図10】本実施形態における制御装置220、原稿給紙ユニット250及びスキャナユニット210間の再スキャン処理が発生する画像読取処理シーケンスの通信タイミングを示す図である。
【図11】本発明の一実施形態であるプリントシーケンスにおける画像符号化部および画像復号化部を説明するためのブロック図である。
【図12】プリントシーケンスにおける制御装置220の画像読取処理の動作手順を説明するためのフローチャートである。
【図13】本発明の第2の実施形態における縮小レイアウト機能を説明するための概要図である。
【図14】本発明の第2の実施形態における制御装置220の縮小レイアウト処理の動作手順を説明するためのフローチャートである。
【図15】本発明の第3の実施形態における拡大レイアウト機能を説明するための概要図である。
【図16】画像メモリを備えた従来の画像処理装置の構成を説明するための概要図である。
【図17】従来の画像処理装置における制御装置、給紙ユニット及びスキャナユニット間の画像読取処理シーケンスの通信タイミングを示す図である。
【図18】再スキャン処理を行う従来の画像処理装置における制御装置、給紙ユニット及びスキャナユニット間の画像読取処理シーケンスの通信タイミングを示す図である。
【符号の説明】
100、102、112 セレクタ
101 圧縮用ブロックラインバッファ
103、107 カラー画像符号化器
104、111 カラー画像復号化器
105、115 展開用ブロックラインバッファ
106、110 圧縮メモリバッファ
109 ハードディスク(HDD)
120 符号量判定部
121 ページ記述言語レンダリング部
200 リーダー部
210 スキャナユニット
220 制御装置
250 原稿給紙ユニット
310 プリンタ部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to compressing image data at a desired compression ratio.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in an image processing apparatus such as a copying machine having an image memory, an optimal control sequence between units constituting an apparatus has been studied from the viewpoint of improving the productivity of the apparatus. An example of a control sequence for a general color copying machine will be described below. FIG. 16 is a schematic diagram for explaining a configuration of a conventional image processing apparatus having an image memory.
[0003]
In FIG. 16, a reader unit 1200 includes a document feeding unit 1250 having a function of conveying a document sheet, and a scanner unit 1210 having a function of reading a document. The reader unit 1200 is connected to the control unit 1220, and the control unit 1220 is connected to the printer unit 1310. The control device 1220 includes an image memory 1207, controls the document feed unit 1250 and the scanner unit 1210 to read the image data of the document, and controls the print unit 1310 to output the image data to a recording sheet to provide a copy function. I do.
[0004]
Next, control timings of the document feeding unit 1250 and the scanner unit 1210 by the control device 1220 will be described with reference to FIG. FIG. 17 is a diagram showing communication timings of an image reading processing sequence among a control device, a sheet feeding unit, and a scanner unit in a conventional image processing apparatus. Communication between the units is performed by a known technique such as command transmission by serial communication.
[0005]
First, when a read operation start request command is given from the operation unit (not shown) to the control device 1220 (step S1701), the control device 1220 issues a document feed request command to the document feed unit 1250 (step S1702). ). In response to this, the document feeding unit 1250 performs a sheet feeding operation (step S1703), and when the sheet feeding operation is completed, issues a sheet feeding completion command to the control device 1220 (step S1704).
[0006]
In response, the control device 1220 issues a scan start request command to the scanner unit 1210 (step S1705). At the same time, a feed request command for the second original is issued to the original feed unit 1250 (step S1706).
[0007]
The scanner unit 1210 issues a scan preparation completion command in response to the scan start request command (step S1707), starts a scan operation thereafter (step S1708), reads a document, and transfers image data to the control device.
When the scan operation is completed and the image transfer is completed, a scan operation completion command is issued to the control device 1220 and the document feeding unit 1250 (steps S1710 and S1709).
[0008]
The document feeding unit 1250, which has already received the feed request command for the second document, receives the scan operation completion command, discharges the first document, and simultaneously feeds the second document. Can be performed (step S1711).
After the original exchange operation is completed, the original feeding unit 1250 issues a feed completion command for the second original to the control device 1220 (step S1712).
[0009]
The controller 1220, which has received the scan operation completion command for the first document in advance, issues a scan start request command to the scanner unit 1210 in response to the paper supply completion command for the second document (step S1713). ). At the same time, a feed request command for the third document is issued to the document feed unit 1250 (step S1714). Thereafter, the above-described sequence is repeated for the number of documents (steps S1715 to S1719).
[0010]
In the example illustrated in FIG. 17, it is assumed that there are only two documents set in the document feeding unit 1250. Therefore, in response to a feeding request for the third document, the document feeding unit 1250 After performing the sheet discharging operation for the second document (step S1719), a document end notification is issued to the control device 1220 (step S1720), and the reading operation ends.
[0011]
On the other hand, conventionally, when handling color image data, the size of the data amount has been a problem. For example, for a binary image that is large enough to represent a black and white image, a standard color image consisting of 8 bits each for RGB requires 24 times the data amount to represent an image of the same size. Will be. This simply means that 24 times as much memory is required as when a monochrome image is handled, which leads to a large increase in cost.
[0012]
For this reason, a technique has conventionally been adopted in which compression processing is performed on image data to reduce the data capacity, thereby reducing the memory capacity mounted on the device and suppressing an increase in cost. For example, the control unit 1220 includes a circuit for compressing / expanding image data such as an encoding unit 1209 and a decoding unit 1208, and stores image data reduced by compression processing in a memory. By expanding the image data when outputting the image data, the capacity of the image memory can be reduced.
[0013]
[Problems to be solved by the invention]
However, when using a variable-length compression method such as JPEG, which can increase the compression rate and suppress the cost increase, as the method of compressing / expanding image data, the data size after compression until the image compression processing is performed is reduced. Since it is not determined, a situation may occur in which the image does not fit within the desired image size after the image compression.
[0014]
In this case, the sequence as shown in FIG. 17 does not hold, and the control device 1220 waits for the end of the image transfer from the scanner unit 1210 to determine the size of the image data, and then the size exceeds the desired size. In this case, the setting of the encoding unit 1209 is changed so that the image is compressed at a higher compression ratio, and then the image is read again from the same document. FIG. 18 is a diagram showing a communication timing of an image reading process sequence between a control device, a sheet feeding unit, and a scanner unit in a conventional image processing apparatus that performs a rescan process.
[0015]
As shown in FIG. 18, when the image size after compression is larger than the desired size, it may be necessary to read the same document again. Cannot be issued beforehand. Therefore, irrespective of whether or not the reading operation is necessary again, the command for requesting the feed of the next original document cannot be issued unless the image size is definitely determined.
[0016]
Therefore, the sequence is delayed by the response time from when the control device 1220 receives the scan operation completion command to when the next document feed request command is issued, and productivity such as copying deteriorates. There was a problem that it would.
[0017]
When the setting of the encoding unit 1209 is changed for each read original so as to fit in a desired image size, the read image data is read when a plurality of originals are set on the original feed unit 1250. There is a possibility that the setting of the encoding unit 1209 for each document may be different. As a result, although the image sizes are almost the same, the quality and image quality may be different for each image data.
[0018]
For example, even though the user has given one job, among the originals set on the original feeding unit 1250, the read image of one original has a standard image quality, and the read image of another original has a desired image. There is a case where the image is compressed at a higher compression ratio so as to fit in the image size of, and the image quality is relatively deteriorated. That is, there is a problem that the image quality varies in one job.
[0019]
The present invention has been made in view of such circumstances, and when compressing image data, suppresses the amount of encoded data to a predetermined amount, and has a sense of unity of image quality within a predetermined unit. It is an object of the present invention to provide a method for controlling an image processing apparatus capable of forming a displayed image.
[0020]
It is still another object of the present invention to efficiently control reading when a plurality of originals are read for each page and the obtained image data is compressed while achieving the above object.
[0021]
[Means for Solving the Problems]
In order to solve the above-mentioned problems, the present invention provides a document reading unit that reads a document and generates image data for one page, and stores image data sequentially generated by the reading unit in a first compression condition for each page. Or a control method for an image processing apparatus comprising: an encoding unit capable of performing compression encoding under a second compression condition having a higher compression ratio; and a storage unit configured to store compression-encoded image data. It is obtained when all the pages are compression-encoded under the first compression condition while the image data for one page generated by the reading unit is being compression-encoded under the first compression condition. An estimating step of estimating the amount of encoded data for one page; and, if the estimated amount of encoded data is equal to or less than a target value, generating image data to be compression-encoded next during the compression-encoding. In addition, When the estimated encoded data amount is equal to or larger than the target value, the original corresponding to the image data in the middle of the encoding is determined during the compression encoding. A decision step of deciding to instruct the reading means to read again; and, when the estimated encoded data amount is equal to or more than a target value, the reading means reads the original again to generate image data. And a re-encoding step of compression-encoding under the compression condition of 2.
[0022]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0023]
<First embodiment>
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention. In FIG. 1, a reader unit 200 includes a document feeding unit 250 having a function of transporting a document sheet, and a scanner unit 210 having a function of reading a document. The reader unit 200 is connected to the control device 220. The control device 220 is connected to the printer unit 310 and the page description language rendering unit 121.
[0024]
The control device 220 controls the document feeding unit 250 and the scanner unit 210 to read the image data of the document, and controls the printer unit 310 to output the image data to recording paper to provide a copy function. In FIG. 1, reference numerals 100 and 102 denote selectors for switching an image input system, and reference numeral 112 denotes a selector for switching an image output system. Reference numeral 101 indicates a compression block line buffer, and reference numerals 103 and 107 indicate color image encoders. Further, reference numeral 120 indicates a code amount determination unit, and reference numerals 106 and 110 indicate compression memory buffers. Furthermore, reference numeral 109 denotes a hard disk (HDD), reference numerals 104 and 111 denote color image decoders, and reference numerals 105 and 115 denote expansion block line buffers.
[0025]
A signal input from an image input unit (not shown) is input to the scanner unit 210 and the page description language (PDL) rendering unit 121. In this case, for example, the selector 100 is switched according to the application so as to be input from the scanner unit 210 in the case of a copying machine and from the page description language rendering unit 121 in the case of a printer, and is input to the control device 220.
[0026]
In the compression block line buffer 101, the image is divided into tiles, and the divided tiles are subjected to discrete cosine transform encoding (JPEG), which is encoding of color information, by a color image encoder 103 described later. Here, the size of the tile to be divided is M pixels × N pixels. However, M and N must be multiples of the window size for discrete cosine transform coding. In the JPEG compression method used in the present embodiment, the window size for compression is 8 pixels × 8 pixels. Therefore, if M = N = 32, for example, the tile of 32 pixels × 32 pixels is further divided into 16 windows of 8 × 8 pixels, and JPEG compression is performed in units of 8 × 8 pixels. In the present embodiment, description will be made hereinafter assuming that M = N = 32, but the present invention is not limited to this value.
[0027]
The color image encoder 103 performs a well-known DCT transform on 16 16-pixel × 8-pixel windows included in the 32-pixel × 32-pixel tile image to perform quantization. It is assumed that the quantization coefficient (hereinafter referred to as “quantization matrix”) used at this time can be switched and set for each tile. This switching is performed by a CPU (not shown) generating a selection signal for selecting a plurality of quantization coefficients held in the color image encoder 103 in advance and sending the selection signal to the color image encoder 103. Is
[0028]
The image data encoded as described above is stored as compressed image data on the hard disk 109 via the compression memory buffer 106. On the other hand, when outputting the stored compressed image data from the printer unit 310, the compressed image data stored in the hard disk 109 is read out, decoded and output in the following procedure.
[0029]
First, the color image decoder 104 decodes image data by switching the decoding parameter (inverse quantization matrix) of the image data that has been compressed and stored according to the quantization matrix when the image data was compressed. , And outputs the result to the development block line buffer 105.
[0030]
FIG. 2 is a schematic diagram for explaining a processing procedure of the color image encoder 103 and the color image decoder 104 using DCT according to one embodiment of the present invention. In FIG. 2, reference numeral 20 denotes an image signal input from a not-shown image input device to the color image encoder 103. In the case of a color signal, red (R), green (G), and blue (B) These are signals of 256 gradations in three colors.
[0031]
Further, the image signal input to the color image encoder 103 is converted from an RGB signal into a luminance color difference signal (YCbCr) in the color converter 11. Next, in a discrete cosine transform (DCT) unit, each of the luminance and chrominance signals is subjected to spatial frequency transform (DCT) in units of 8 pixels × 8 pixels.
[0032]
Further, in the quantizer 13, the DCT coefficient is quantized using the set quantization matrix, and the data amount is reduced. Then, in a variable length coding (VLC) unit, the data amount is further reduced by subjecting the quantized value to Huffman coding. The above is the processing procedure in the color image encoder 103. The compressed image data is stored in the compression memory 15 or a large-capacity storage device.
[0033]
On the other hand, the stored image data is decoded by the color image decoder 14 in the following procedure. That is, Huffman decoding is performed by a variable length decoding (VLD) device. Next, the inverse quantizer 17 returns the value to a DCT coefficient value according to the set inverse quantization matrix, and the IDCT unit 18 performs inverse DCT transform to return to a luminance / chrominance signal. Then, in the color converter 19, the luminance / color difference signal is returned to the RGB signal. As a result of the above compression and decoding processing, the color image signal 21 is output to the outside.
[0034]
FIG. 3 is a diagram illustrating an example of an 8 × 8 quantization matrix used for compression processing according to the present embodiment. FIG. 3A shows an example of the quantization matrix T1 applied first, and FIG. 3B shows an example of the quantization matrix T2 applied to increase the compression ratio. Furthermore, in order to obtain a higher compression ratio than the quantization matrix of (b), the quantization matrix T3 of (c) is applied, and to obtain a higher compression ratio than that of (c), (d) of FIG. What is necessary is just to apply the quantization matrix T4.
[0035]
That is, first, image data is compressed (JPEG compression) using the quantization matrix T1, and if a desired compression ratio cannot be achieved, the compression is performed using the quantization matrix T2 as a matrix for coarsening the quantization step. I do. If the desired compression rate cannot be achieved even when the quantization matrix T2 is used, the compression processing is performed using the quantization matrix T3. If the desired compression rate cannot be achieved even still, the compression processing is performed using the quantization matrix T4.
[0036]
In the present embodiment, since four quantization matrices are prepared as described above, re-scanning is performed three times (that is, a maximum of four scans of a document of one page together with the first scan). be able to. In the present invention, by preparing a plurality of quantization matrices having a higher compression ratio in addition to the above, rescanning can be performed again by the number of the prepared quantization matrices.
[0037]
The quantization matrices T1, T2, T3, T4 and their corresponding inverse quantization matrices are stored in advance in the quantization unit 13 and the inverse quantization unit 17 shown in FIG. Which one to use can be switched in tile units according to the quantization matrix at the time of compression.
[0038]
FIG. 4 is a schematic diagram for explaining the data structure of the compressed image data according to the present embodiment. As shown in FIG. 4, header information 41 of the first tile and compressed image data 42 which is DCT-coded image information are stored in order from the head of the data, and the second tile and the third tile have the same configuration. , And the information up to the last tile included in the entire page is written.
[0039]
Here, in the header information of each tile, the data size of the compressed data, the tile number, and the like are recorded, and at the same time, information indicating which quantization matrix was used as the quantization matrix of the image data is also recorded. . When decoding the encoded and recorded data, information on whether the matrix is a quantization matrix T1, T2, T3 or T4 is read with reference to the header information, and an inverse quantization matrix corresponding to each is selected. And perform inverse quantization.
[0040]
FIG. 5 is a conceptual diagram of a management table for managing information of each page of compressed image data according to the present embodiment. As described with reference to FIG. 4, by referring to the header information of each tile, inverse quantization is possible even if quantization is performed using a different quantization matrix for each tile. However, as can be seen from the scan sequence described later, in the present embodiment, if the desired compression ratio is not achieved, the read operation is performed again on the same document after changing the quantization matrix, so that one page Will be quantized using the same quantization matrix.
[0041]
In the header information of each page shown in FIG. 5, the size of the compressed data, the page number, etc. are recorded for each page, and information as to which one was used as the quantization matrix when compressing the page is also recorded. Is done. That is, it is possible to confirm which quantization matrix has been applied to all the tiles in the page by using a common quantization matrix for each page by referring to the management table.
[0042]
Hereinafter, a scan sequence according to the present embodiment will be described. In the present invention, the image size after compression is estimated before the compression processing of the image data is completed, that is, before the control device 220 receives the scan operation completion command. Is issued. That is, before the document feeding unit 250 receives the scan operation completion command from the scanner unit 210, the control device 220 issues a command to request feeding of the next document to the document feeding unit 250. Therefore, the above-described delay of the response time does not occur.
[0043]
Therefore, in the present embodiment, the image data is divided into tiles of 32 pixels × 32 lines, and compression and decompression processing is performed on each tile. Therefore, the size of the compressed image in the middle of one page can be determined by accumulating the image size up to a predetermined number of tiles also by a compression method such as JPEG which originally uses an image for one page. Therefore, by estimating the size of the image data for the rest of the page, it becomes possible to estimate the image size of the entire compressed one page based on a predetermined standard.
[0044]
Therefore, by the following formula, the size of the image data without compression when the image is read up to the predetermined number of tiles, the target compression ratio, the number of tiles of the entire image, the image size of one page after compression Can be represented by a predetermined number of tiles for estimating the image data size and the image data size at the predetermined number of tiles.
[0045]
Sn · Pt> α · (1-x / X) + x · Sc / X (1)
In the equation (1), Sn is the size of image data for one page when not compressed, Pt is the target compression ratio (1.0 is the compression ratio when no compression is performed at all), and α is The compression ratio to be achieved by the image data of the part that has not been read yet, x is a predetermined number of tiles for estimating the image size after compression, X is the number of tiles for one page of image data, and Sc is a predetermined number of tiles. This is the cumulative value of the size of the image data at the time when the number of tiles (x) is read.
[0046]
FIG. 6 is a schematic diagram for explaining tiles of image data to be compressed in the present embodiment. For example, as shown in FIG. 6, in one page of image data consisting of 14 tiles in the main scanning direction and 10 tiles in the sub-scanning direction, up to the hatched tile portion (126 tiles). At the time of reading, the following constants can be applied to each term of Expression (1). However, in order to simplify the calculation, the image of one tile is assumed to be 1 MB when not compressed, and the value of Sc is assumed to be such that the image data of the part that has not been read is not compressed at all even if the encoding process is performed. calculate.
[0047]
That is, Sc = 140 (MB), Pt = 1/8, α = 1.0, x = 126, X = 140, and Sc <3.89 (MB). In this example, the cumulative value of the size of the image data must be always smaller than 3.89 MB until the 126th tile is read out of the 140 tiles of the image data for one page. .
[0048]
Therefore, by determining whether the cumulative value of the size of the image data for the predetermined number of tiles exceeds the predetermined size, it is determined whether the size of the image data for one page is equal to or smaller than a certain size. Can be estimated.
[0049]
7 and 8 show a scan sequence of the control device 220 and a flowchart of the compression size estimation and re-scan processing. That is, FIG. 7 is a flowchart for explaining the image reading process in the control device 220 in the present embodiment.
FIG. 8 is a flowchart for explaining the details of the rescan process in the control device 220 in the present embodiment.
[0050]
The control in the scan sequence of the control device 220 will be described with reference to FIG. First, the control device 220 enters a reading operation start request waiting state (step S701). Next, when a reading operation start request is received from an operation unit (not shown) (Yes), the control device 220 issues a first document feed request command to the document feed unit 250 (step S702). .
[0051]
After that, the control device 220 is in a state of waiting for a paper-feed completion notification from the document feed unit 250 (step S703). Upon receiving the feed completion notification (Yes), the control device 220 issues a scan start request to receive image data, performs encoding processing for each tile image, compresses the tile image, and reads one page of image data. At the stage before finishing (before compressing the image data for one page), the size of the compressed image data for one page is estimated, and according to the estimated value, the next document is read or the same document is read. It is determined whether to change the quantization matrix and scan again (step S704). The details of this process will be described later.
[0052]
Thereafter, the control device 220 enters a state of waiting for a scan completion notification indicating the end of the transfer of the image data from the scanner unit 210 (step S705). Then, when the scan completion notification is received (Yes), it is determined whether or not the document that has just been read is the last document (step S706). When the document is the last document (Yes), the reading operation is terminated. On the other hand, if the document to be read still remains in the document feeding unit 250 (No), the control device 220 shifts to a state of waiting for a notification of completion of feeding the next document (step S1703).
[0053]
Here, control in the compression size estimation and the rescan processing of the control device 220 will be described with reference to FIG. First, before receiving the image data, the control device 220 initializes the accumulated value of the read image data size and the value of the counter for counting the number of tiles of the received image (step S801).
[0054]
Next, the control device 220 determines whether or not the next scan operation is a rescan by referring to a value of a counter for counting the number of rescans (step S802).
As a result, if the rescan is performed (Yes), it is checked whether the number of rescans is equal to or less than a predetermined number (step S803). If the number of rescans is greater than the predetermined number (No), the reading operation is terminated as an error.
The predetermined number depends on the number of quantization matrices prepared in advance.
[0055]
On the other hand, if the number of rescans is equal to or less than the predetermined number (Yes), a quantization coefficient (quantization matrix) is determined according to the number of rescans (step S805). Then, a predetermined number of tiles for estimating the compression ratio and a predetermined size of image data at the number of tiles are determined according to the quantization matrix. If the scan is not the rescan but the first scan for the document, the counter for counting the number of rescans is initialized, and the quantization matrix is set to an initial value (step S804). Then, a predetermined number of tiles for estimating the compression ratio and a predetermined size of image data at the number of tiles are determined according to the quantization matrix.
[0056]
Since the preparation for receiving image data is completed by the above processing, the control device 220 issues a scan start request command to the scanner unit 210 (step S806). After that, the control device 220 enters a state of waiting for a scan preparation completion notification from the scanner unit 210 (step S807). Then, upon receiving the scan preparation completion notification (Yes), the control device 220 enters a state of waiting for tile image reception (step S808). When the tile image is received (Yes), the control device 220 adds the size of the received tile image after being subjected to the encoding process and the compression to the counter for accumulating the size of the image data (step S809).
[0057]
In addition, a counter for counting the number of received tiles is incremented by one (step S810). Then, it is determined whether or not the value of the image data size cumulative value counter exceeds a predetermined size (step S811). As a result, when the accumulated knowledge counter value exceeds the predetermined size (Yes), the control device 220 adds a counter for counting the number of rescans (step S812), and waits for a scan completion notification (step S813).
[0058]
Then, when a scan completion notification is received (Yes), the process shifts to a rescanning sequence (step S801). In this case, since the image reading scan is performed without issuing the next document feed request command to the document feeding unit 250, the image reading scan (rescanning) is performed on the same document as the previously read document. ).
[0059]
On the other hand, if it is determined in step S811 that the accumulated value does not exceed the predetermined size (No), it is checked whether the number of received tiles does not exceed the predetermined number (step S814). As a result, if the number of received tiles does not exceed the predetermined number (No), the control device 220 shifts to a tile image reception waiting state (step S808).
[0060]
If the number of received tiles exceeds the predetermined number (Yes), the control device 220 receives the remaining tiles because the accumulated size of the image data is equal to or smaller than the predetermined size even when the predetermined number of tiles are received. Even if it is not performed, it is estimated that the image data of the one page will be smaller than a certain size, and a command to request feeding of the next document is issued to the document feeding unit (step S815).
[0061]
FIG. 9 is a diagram illustrating communication timing of an image reading processing sequence among the control device 220, the document feeding unit 250, and the scanner unit 210 according to the present embodiment. FIG. 10 is a diagram illustrating communication timings of an image reading processing sequence in which a rescanning process between the control device 220, the document feeding unit 250, and the scanner unit 210 according to the present embodiment occurs.
[0062]
First, the control timing of the document feed unit 250 and the scanner unit 210 by the control device 220 will be described with reference to FIG. Communication between the units is performed by a known technique such as command transmission by serial communication.
[0063]
When a copy operation start request command is given from the operation unit (not shown) to the control device 220 (step S901), the control device 220 issues a document feed request command to the document feed unit 250 (step S902). In response to this, the document feeding unit 250 performs a sheet feeding operation (step S903), and upon completion of the sheet feeding operation, issues a sheet feeding completion command to the control device 220 (step S904).
[0064]
In response, the control device 220 issues a scan start request command to the scanner unit 210 (step S905). After issuing a scan preparation completion command in response to the scan start request command (step S906), the scanner unit 210 starts a scanning operation, reads a document, and transfers image data to the control device (step S907).
[0065]
If the accumulated size of the image data is equal to or smaller than the predetermined size when the image of the predetermined number of tiles is received during the reception of the image data, the control device 220 sends the document A paper feed request command is issued (step S908). When the scanning operation is completed and the image is transferred, a scanning operation completion command is issued to the control device 220 and the document feeding unit 250 (steps S909 and S910).
[0066]
The document feeding unit 250, which has already received the feed request command for the second document, receives the scan operation completion command, discharges the first document, and simultaneously feeds the second document. Can be performed (step S911). After the original exchange operation is completed, the original feeding unit 250 issues a second original feeding completion command to the control device 220 (step S912).
[0067]
The control device 220, which has already received the scan operation completion command for the first document, receives the feed completion command for the second document and issues a scan start request command to the scanner unit 210 (step S913). ). Thereafter, the above-described sequence is repeated for the number of originals (steps S914 to S919).
[0068]
In the example illustrated in FIG. 9, it is assumed that there are only two documents set in the document feeding unit 250, so that the document feeding unit 250 responds to a feeding request for the third document. After performing the sheet discharging operation of the second document (step S919), a document end notification is issued to the control device 220 (step S920), and the reading operation ends.
[0069]
As described above, by estimating the size of one page of the image data during reception of the image data, it is possible to issue a paper feed request command for the next original before receiving the scan completion notification. The delay of the response time as indicated by 18 does not occur.
[0070]
Next, the control timing of the document feeding unit 250 and the scanner unit 210 by the control device 220 when rescanning occurs will be described with reference to FIG. First, when a read operation start request command is given from the operation unit (not shown) to the control device 220 (step S1001), the control device 220 issues a document feed request command to the document feed unit 250 (step S1002). .
[0071]
In response to this, the document feeding unit 250 performs a sheet feeding operation (step S1003), and when the sheet feeding operation is completed, issues a sheet feeding completion command to the control device 220 (step S1004). In response, the control device 220 issues a scan start request command to the scanner unit 210 (step S1005).
[0072]
After issuing a scan preparation completion command in response to the scan start request command (step S1006), the scanner unit 210 starts a scanning operation, reads a document, and transfers image data to the control device (step S1007). If the accumulated size of the image data is larger than the predetermined size before the image of the predetermined number of tiles is received during the reception of the image data, the control device 220 sends the second sheet to the document feeding unit 250. Without issuing a feed request command for the document, the scanner enters a scan operation completion command reception wait state.
[0073]
When the scanning operation is completed and the image transfer is completed, the scanner unit 210 issues a scanning operation completion command to the control device 220 and the document feeding unit 250 (steps S1008 and S1009). In response to this, the control device 220 issues a scan start request command to the scanner unit 210 (step S1010). Here, since the feed request command for the second document has not been issued, the document feed unit 250 does not feed the next document, and as a result, scans the first document again. Will be read. Thereafter, the sequence is the same as the sequence shown in FIG. 9 (steps S1010 to S1022).
[0074]
The communication timing shown in FIG. 10 is different from the case shown in FIG. 9 only in that rescanning is performed, and productivity is reduced by the time required for rescanning. However, the response time delay as shown in FIG. 18 does not occur.
[0075]
In the present embodiment, the case where the input source of the image data is the reader unit 200 has been described. However, even when the input source is the page description language rendering unit 121 in FIG. It goes without saying that you can do it.
[0076]
Next, a characteristic print sequence according to the present embodiment will be described. When a plurality of documents set on the document feed unit 250 are read by the above-described scan sequence, the quantization matrix used for compression may be different depending on each document read image. For example, different quantization matrices may be used, such as one image having a quantization matrix T1, another image having a quantization matrix T2, or T3 and T4.
[0077]
In general, an image compressed using a quantization matrix that can obtain a higher compression rate has a larger degradation of an image upon decoding and has a lower image quality. For this reason, for example, in a bundle of originals input as one job, the quantization matrix T2 is used for only one original even though the quantization matrix T1 is used for the read image of another original. Is used, the deterioration of the image quality of the document image becomes relatively prominent.
[0078]
In order to prevent such a phenomenon, for a plurality of images input as one job in the print sequence, the quantization matrix having the highest compression rate among the quantization matrices used when compressing the images is used. By performing the compression process again, control is performed to equalize the image quality and image quality in one job.
[0079]
FIG. 11 is a block diagram for explaining an image encoding unit and an image decoding unit in a print sequence according to an embodiment of the present invention. The numbers of the individual blocks in FIG. 11 correspond to the numbers of the blocks described in FIG.
[0080]
In FIG. 11, first, at normal time, an image read from the hard disk (HDD) 19 for printing includes a selector 112, a selector 102, a compression memory buffer 110, a color image decoder 111, and a development block line buffer 115. The decoded image data is sent to the printer unit 310 via the path of the printer unit 310 and printed out. At this time, the inverse quantization matrix used in the color image decoder 111 has the highest compression rate among the quantization matrices used in a plurality of images of the print job.
[0081]
When recompression processing is performed to reconcile the image quality in the job (at the time of recompression), the hard disk (HDD) 109, the selector 112, the color image decoder 104, the decompression block line buffer 105, the color The decoded image data is sent to the printer unit 310 via the path of the image encoder 107, the selector 102, the compression memory buffer 110, the color image decoder 111, the expansion block line buffer 115, and the printer unit 310 for printing. Will be out.
[0082]
At this time, the inverse quantization matrix used in the color image decoder 104 uses the one used when each image was compressed in the scan sequence. Also, the quantization matrix used in the color image encoder 107 has the highest compression rate among the quantization matrices used in a plurality of images of the print job. By processing image data using the above-described path using such a quantization matrix, compression processing is performed again on all pages of the job, and image quality in one job, Image quality can be aligned.
[0083]
FIG. 12 is a flowchart for explaining an operation procedure of the image reading process of the control device 220 in the print sequence. First, the control device 220 searches a management table for managing information for each page when the compressed image data showing the concept in FIG. 5 is stored in the hard disk. Then, for the page in the print job, a quantization matrix with the highest compression ratio used at the time of scanning is obtained (step S1201). For example, if the quantization matrix with the highest compression rate used in the job is T4, all the pages in the job are aligned to the image quality compressed by the quantization matrix T4 by the following sequence. Become. However, when all the pages have been compressed by the quantization matrix T1, it is not necessary to perform the recompression processing.
[0084]
Next, the control device 220 sets the quantization matrix with the highest compression rate in the searched job in the color image encoder 107 (step S1202). Thereafter, the control device 220 prepares to sequentially read out the pages of the job to be printed from the hard disk 109. Specifically, the quantization matrix of the next page is obtained by referring to the management table described above (step S1203).
[0085]
Based on the obtained quantization matrix, it is determined whether the page needs to be recompressed (step S1204). As a result, if the obtained quantization matrix is not the one with the highest compression rate in the job, recompression processing is necessary (Yes), and recompression processing is performed. That is, the selectors 112 and 102 are set, and the image data is recompressed by the quantization matrix having the highest compression ratio in the job through the recompression path shown in FIG. 1121 (step S1205). .
[0086]
If the obtained quantization matrix has the highest compression rate in the job, there is no need to perform recompression processing (No), and thus it is printed out as it is via the normal path shown in FIG. 11 ( Step S1206). At the time of printout, both the normal image data and the recompressed image data are decoded by the color image decoder 111 using the inverse quantization matrix having the highest compression ratio in the job.
[0087]
Furthermore, it is determined whether the read page is the last page in the job (step S1207). If it is not the last page (No), the process returns to step S1203. If it is the last page (Yes), the print job ends.
[0088]
That is, in the present embodiment, a document reading unit (for example, a selector 100) that reads a document and generates image data for one page, and converts the image data sequentially generated by the reading unit into a first compression image for each page. Encoding means (for example, the color image encoder 103) capable of performing compression encoding under a condition or a second compression condition having a higher compression ratio, and storage means (for example, for storing compression-encoded image data) , An HDD 109) and a control method thereof. The image processing apparatus compresses and encodes one page of image data generated by the reading unit under the first compression condition while compressing and encoding the image data under the first compression condition. Estimating means (code amount determining unit 120) for estimating the encoded data amount for one page obtained when the estimated encoded data amount is equal to or smaller than the target value. In order to generate image data to be compression-encoded, a decision is made to instruct the reading means to read the next document, and if the estimated amount of encoded data is equal to or greater than the target value, a code is generated during compression encoding. Determining means (CPU) for determining to instruct the reading means to read the document corresponding to the image data in the middle of the conversion again, and reading the document again by the reading means when the estimated encoded data amount is equal to or larger than the target value. Reading Taken and further comprising a re-encoding means (color image coder 107) for compressing and encoding the image data generated by the second compression condition.
[0089]
The present invention also provides an image input unit (selector 100) for inputting image data in which each page is divided into a plurality of blocks, and an encoding unit (color image code) for compressing and encoding the input image data in block units. And an image processing apparatus (control device 220) including a storage unit (HDD 109) for storing compression-encoded image data, wherein the encoding unit (color image encoder 103) Calculation means (compression amount determination unit 120) for compressing and encoding data on a page basis under a first compression condition and calculating a cumulative value of the data amount when up to a predetermined block of one page in image data is compression-encoded. Estimating means (code amount determining unit 120) for estimating the data amount when all the pages are compression-encoded based on the calculated accumulated value of the data amount; Decoding means (color image decoder 104) for decoding the image data which has been compression-encoded based on the compression condition; and, if the estimated data amount is equal to or less than a predetermined value, the image to be compression-encoded next Determining means (CPU) for determining a page of data; and, when the estimated data amount is equal to or greater than a predetermined value, re-compressing the image data of the decoded page under a second compression condition having a higher compression ratio. Encoding means (color image encoder 107).
[0090]
Still further, the present invention is characterized in that the encoding means (color image encoder 103) and the re-encoding means (color image encoder 107) perform compression encoding processing according to the JPEG method.
[0091]
Still further, according to the present invention, the encoding means (color image encoder 103) quantizes the DCT-transformed transform coefficients using a plurality of quantization matrices, so that input image data is compressed differently. It is characterized by compression coding at a rate.
[0092]
Still further, the present invention further includes an information adding unit (CPU) for adding information relating to the first compression condition or the second compression condition when the image data is compression-encoded to the image data, and a storage unit (HDD 109). ) Stores compressed image data to which information on the first compression condition or the second compression condition is added.
[0093]
Furthermore, the present invention is characterized in that it is connected to an image input device (reader unit 200) or a page description language rendering device 121 that reads a document and converts it into image data, and is capable of inputting image data for each page. .
[0094]
<Second embodiment>
In the first embodiment, an embodiment of the present invention has been described using a normal copy job as an example, but the present invention is not limited to this. For example, the effect of the present invention can be utilized even in a function generally called a reduced layout.
This will be described below.
[0095]
FIG. 13 is a schematic diagram for explaining a reduced layout function according to the second embodiment of the present invention. Note that the reduced layout is a function of reducing a plurality of originals, appropriately laying out the originals on one sheet, and outputting. For example, in the case of “4 in 1”, four read originals are reduced by 50%, laid out on one sheet, and output.
[0096]
At this time, if the individual images arranged on the same sheet are compressed using different quantization matrices, the image quality will differ depending on the portion on one sheet. Therefore, in the present invention, the image quality of each image on paper is made uniform by performing recompression processing for each image used for the reduced layout. Hereinafter, control of recompression in the reduced layout according to the present invention will be described.
[0097]
FIG. 14 is a flowchart illustrating an operation procedure of a reduced layout process of the control device 220 according to the second embodiment of the present invention. The following is the sequence of outputting one sheet of paper. In the first embodiment, the quantization matrix is switched on a page basis, but in the present embodiment, the quantization matrix is switched on a tile basis.
[0098]
First, the control device 220 searches a management table for managing information for each page when storing the compressed image data having the concept shown in FIG. 5 on the hard disk. Then, among the read pages arranged on the output sheet, a quantization matrix with the highest compression rate used at the time of scanning is obtained (step S1401). Here, if the quantization matrix having the highest compression ratio is T4, all read pages to be arranged on the output paper are adjusted to the image quality compressed at T4 by the following sequence. However, if all the read pages have been compressed at T1, there is no need to perform recompression.
[0099]
Next, the control device 220 sets, in the color image encoder 107, the quantization matrix having the highest compression rate among the read pages to be arranged on the output sheet searched by the above-described procedure (step S1402). After that, the control device 220 prepares to sequentially read the image data of the read page to be arranged on the output sheet from the hard disk 109 in tile units (step S1403). Specifically, the quantization matrix of the next tile is obtained by referring to the management table and the header information of each tile based on the layout on the paper.
[0100]
Then, based on the obtained quantization matrix, it is determined whether or not the tile needs to be recompressed (step S1404). As a result, if the obtained quantization matrix is not the one with the highest compression rate among the read pages arranged on the output paper, recompression processing is necessary (Yes), and the recompression processing is performed. Become. That is, the selectors 112 and 102 are set, and the image data is recompressed by the quantization matrix having the highest compression ratio among the read pages to be arranged on the output paper through the recompression path shown in FIG. This is performed (step S1405).
[0101]
If the obtained quantization matrix has the highest compression rate among the read pages arranged on the output sheet, it is not necessary to perform the recompression process (No). (Step S1406). At the time of printout, both the normal image data and the recompressed image data are converted by the color image decoder 111 into the inverse quantization matrix having the highest compression ratio among the read pages arranged on the output sheet. Decrypted.
[0102]
Furthermore, it is determined whether or not the read tile is the last tile among the read pages to be arranged on the output sheet (step S1407). If the tile is not the last tile (No), the process returns to step S1403. On the other hand, if it is the last tile (Yes), the print output ends.
[0103]
That is, the present invention relates to image input means for inputting image data composed of a plurality of pages compression-encoded at a predetermined compression ratio, and a compression condition when each page of the input image data is compression-encoded. Information extracting means for extracting information, decoding means for decoding the compression-encoded image data based on the compression condition, and the highest compression ratio in the extracted compression condition. And re-encoding means for performing compression-encoding under the compression condition according to (1), and output means for outputting compression-encoded image data.
[0104]
<Third embodiment>
The present invention is not limited to the first and second embodiments. For example, it will be described below that the effects of the present invention can be utilized even in a function generally called an enlarged layout.
[0105]
FIG. 15 is a schematic diagram for explaining an enlarged layout function according to the third embodiment of the present invention. Note that the enlarged layout is a function of dividing and reading one original, enlarging each of the divided originals, and outputting the enlarged original on a plurality of sheets. For example, in the case shown in FIG. 15, one read original is divided into four and read, each is enlarged by 200%, and output on four sheets. As a result, the user can paste the output sheet with a glue or the like into one large sheet, and obtain a copy output for a large output sheet that cannot be passed through a copying machine.
[0106]
At this time, if each of the divided and read images is compressed by using a different quantization matrix, the image quality differs depending on a portion on a large output sheet created by a user later. Therefore, in the present invention, the image quality of each image on paper is made uniform by performing recompression processing for each image used for the enlarged layout. In the case of the example shown in FIG. 15, one document is divided into four and the reading operation is performed as four documents. Therefore, the recompression sequence is the same as the procedure shown in the first embodiment.
[0107]
That is, the present invention provides image input means for inputting image data of one page which has been compression-encoded, decoding means for decoding the input image data, and decoding of the decoded image data into a plurality of images of a predetermined size. Dividing means for dividing the image data decoded under the same condition for each divided area at a predetermined enlargement ratio, and an output means for outputting the enlarged image data. It is characterized by.
[0108]
Further, the present invention is characterized in that the enlargement means enlarges the enlarged divided image data at an enlargement ratio that is the same as the image size of the input image data.
[0109]
Note that the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but a device including one device (for example, a copying machine, a facsimile machine, etc.). May be applied.
[0110]
Further, an object of the present invention is to supply a recording medium (or a storage medium) recording a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or a CPU or a CPU) of the system or the apparatus. Needless to say, the present invention can also be achieved by the MPU) reading and executing the program code stored in the recording medium. In this case, the program code itself read from the recording medium implements the functions of the above-described embodiment, and the recording medium on which the program code is recorded constitutes the present invention. When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0111]
Further, after the program code read from the recording medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function is executed based on the instruction of the program code. It goes without saying that the CPU included in the expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0112]
When the present invention is applied to the recording medium, the recording medium stores program codes corresponding to the flowcharts described above.
[0113]
【The invention's effect】
As described above, according to the present invention, when a job for compressing image data composed of a plurality of pages is given, deterioration of the image quality of each page is minimized as much as possible, and at the time of output, each area of the page is output. Image quality can be uniformed.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention.
FIG. 2 is a schematic diagram illustrating a processing procedure of a color image encoder 103 and a color image decoder 104 using DCT according to an embodiment of the present invention.
FIG. 3 is a diagram illustrating an example of an 8 × 8 quantization matrix used for compression processing according to the embodiment.
FIG. 4 is a schematic diagram illustrating a data structure of compressed image data according to the embodiment.
FIG. 5 is a conceptual diagram of a management table for managing information of each page of compressed image data in the embodiment.
FIG. 6 is a schematic diagram for explaining tiles of image data to be compressed in the embodiment.
FIG. 7 is a flowchart illustrating an image reading process performed by a control device 220 according to the present embodiment.
FIG. 8 is a flowchart illustrating details of a rescan process in the control device 220 according to the present embodiment.
FIG. 9 is a diagram showing communication timings of an image reading processing sequence among the control device 220, the document feeding unit 250, and the scanner unit 210 in the embodiment.
FIG. 10 is a diagram illustrating communication timings of an image reading processing sequence in which a re-scanning process occurs between the control device 220, the document feeding unit 250, and the scanner unit 210 according to the embodiment.
FIG. 11 is a block diagram illustrating an image encoding unit and an image decoding unit in a print sequence according to an embodiment of the present invention.
FIG. 12 is a flowchart illustrating an operation procedure of an image reading process of the control device 220 in a print sequence.
FIG. 13 is a schematic diagram for explaining a reduced layout function according to the second embodiment of the present invention.
FIG. 14 is a flowchart illustrating an operation procedure of a reduced layout process of the control device 220 according to the second embodiment of the present invention.
FIG. 15 is a schematic diagram for explaining an enlarged layout function according to the third embodiment of the present invention.
FIG. 16 is a schematic diagram for explaining a configuration of a conventional image processing apparatus provided with an image memory.
FIG. 17 is a diagram illustrating communication timing of an image reading processing sequence between a control device, a sheet feeding unit, and a scanner unit in a conventional image processing apparatus.
FIG. 18 is a diagram showing a communication timing of an image reading process sequence between a control device, a sheet feeding unit, and a scanner unit in a conventional image processing apparatus that performs a rescan process.
[Explanation of symbols]
100, 102, 112 selector
101 Block line buffer for compression
103, 107 color image encoder
104,111 color image decoder
105, 115 Block line buffer for expansion
106, 110 Compressed memory buffer
109 Hard Disk (HDD)
120 code amount determination unit
121 Page Description Language Rendering Unit
200 Leader Club
210 Scanner unit
220 control device
250 Document feeding unit
310 Printer section

Claims (1)

原稿を読み取り、1ページ分の画像データを発生する原稿読み取り手段と、該読み取り手段にて順次発生する画像データを1ページ毎に第1の圧縮条件、又はこれより圧縮率の高い第2の圧縮条件で圧縮符号化が可能な符号化手段と、圧縮符号化された画像データを記憶する記憶手段とを備える画像処理装置の制御方法であって、
前記読み取り手段にて発生した1ページ分の画像データを前記第1の圧縮条件で圧縮符号化している途中に、該ページのすべてが該第1の圧縮条件で圧縮符号化されたときに得られる1ページ分の符号化データ量を推定する推定工程と、
推定された符号化データ量が目標値以下の場合、前記圧縮符号化の途中に、次に圧縮符号化するべき画像データを発生させる為に、前記読み取り手段に次の原稿の読み取り指示を出す決定をし、推定された符号化データ量が目標値以上の場合、前記圧縮符号化の途中に、前記符号化途中の画像データに相当する原稿を前記読み取り手段に再度読み取らせる指示を出す決定をする決定工程と、
推定された符号化データ量が目標値以上の場合、前記読み取り手段にて前記原稿を再度読み取られて発生した画像データを前記第2の圧縮条件で圧縮符号化する再符号化工程と
を有することを特徴とする画像処理装置の制御方法。
A document reading means for reading a document and generating image data for one page; and a second compression unit which compresses image data sequentially generated by the reading unit for each page under a first compression condition or a higher compression ratio. A control method of an image processing apparatus, comprising: an encoding unit capable of performing compression encoding under a condition; and a storage unit configured to store compression-encoded image data.
It is obtained when all the pages are compression-encoded under the first compression condition while the image data for one page generated by the reading unit is being compression-encoded under the first compression condition. An estimation step of estimating the encoded data amount for one page;
If the estimated coded data amount is equal to or smaller than the target value, a decision is made to issue an instruction to read the next original to the reading means in order to generate image data to be compressed and coded next during the compression coding. If the estimated encoded data amount is equal to or larger than the target value, it is determined that an instruction to read the original corresponding to the image data in the middle of encoding is read again during the compression encoding. A decision step;
When the estimated encoded data amount is equal to or larger than the target value, a re-encoding step of compression-encoding the image data generated by reading the original again by the reading means under the second compression condition. A method for controlling an image processing apparatus, comprising:
JP2002322539A 2002-11-06 2002-11-06 Control method for image processor Withdrawn JP2004159069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002322539A JP2004159069A (en) 2002-11-06 2002-11-06 Control method for image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002322539A JP2004159069A (en) 2002-11-06 2002-11-06 Control method for image processor

Publications (1)

Publication Number Publication Date
JP2004159069A true JP2004159069A (en) 2004-06-03

Family

ID=32802708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002322539A Withdrawn JP2004159069A (en) 2002-11-06 2002-11-06 Control method for image processor

Country Status (1)

Country Link
JP (1) JP2004159069A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8295616B2 (en) 2008-01-29 2012-10-23 Seiko Epson Corporation Image processing device and method for image processing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8295616B2 (en) 2008-01-29 2012-10-23 Seiko Epson Corporation Image processing device and method for image processing

Similar Documents

Publication Publication Date Title
US7194140B2 (en) Image processing apparatus and method which compresses image data of each region using a selected encoding method
JP4533043B2 (en) Image encoding apparatus and method, computer program, and computer-readable storage medium
US7499592B2 (en) Image decoding apparatus and its control method
US8224101B2 (en) Image processing apparatus and control method thereof with color data and monochrome data selection
CN1756296B (en) Image processing apparatus and image processing method
JP4194614B2 (en) Image processing apparatus, image processing method, and information processing apparatus
US20050276500A1 (en) Image encoding apparatus, and image processing apparatus and its control method
US20110123127A1 (en) Image processing apparatus, control method for the same, program
KR0154352B1 (en) Image processing method and apparatus
US7209266B2 (en) Image processing apparatus
JP3661520B2 (en) Image processing apparatus, image processing method, image forming apparatus, and recording medium recording program
US8515188B2 (en) Image processing apparatus
JP2004248268A (en) Image processor, image forming apparatus, image decoder, image processing method, program, and memory medium
KR20110016408A (en) Data processing apparatus and data processing method
JP3984817B2 (en) Image processing apparatus and method, medium, and program
JP2004112695A (en) Image processing apparatus and processing method thereof
JP2003046789A (en) Image coding apparatus and image decoding apparatus
US7373000B2 (en) Image processing apparatus
JP2004159069A (en) Control method for image processor
US6069980A (en) Adaptive character image generation and synthesis
JP2008236084A (en) Image processing method, image processor, image processing program and recording medium
JP3190118B2 (en) Image processing device
JP2002051221A (en) Device, system and method for encoding and decoding image and storage medium
JP4195624B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, program, and storage medium
JP2004032434A (en) Image processing apparatus and control method thereof

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060110