JP4194216B2 - Image processing apparatus and method - Google Patents

Image processing apparatus and method Download PDF

Info

Publication number
JP4194216B2
JP4194216B2 JP2000126476A JP2000126476A JP4194216B2 JP 4194216 B2 JP4194216 B2 JP 4194216B2 JP 2000126476 A JP2000126476 A JP 2000126476A JP 2000126476 A JP2000126476 A JP 2000126476A JP 4194216 B2 JP4194216 B2 JP 4194216B2
Authority
JP
Japan
Prior art keywords
resolution
compression
reading
quantization
quantization table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000126476A
Other languages
Japanese (ja)
Other versions
JP2001309181A5 (en
JP2001309181A (en
Inventor
浩 蕪木
玲司 三沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2000126476A priority Critical patent/JP4194216B2/en
Publication of JP2001309181A publication Critical patent/JP2001309181A/en
Publication of JP2001309181A5 publication Critical patent/JP2001309181A5/ja
Application granted granted Critical
Publication of JP4194216B2 publication Critical patent/JP4194216B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、入力画像を圧縮する画像処理装置に関する。
【0002】
【従来の技術】
従来から、様々な圧縮法が提案されている。例えば、MR、MMR、MH、JBIG、JPEGなどがある。その中でもJPEG圧縮法は、特に、写真などの画像的なものに対して頻繁に用いられている手法の一つである。
【0003】
JPEG圧縮法では、量子化テーブルに保持されるパラメータがあり、このパラメータを変えることにより圧縮率を変更できる特徴がある。ただし、圧縮率と伸長後の画質とは密接な関係があり、圧縮率を上げると伸長後の画質が悪くなる傾向がある。
【0004】
そのため、従来は、ユーザが読み取る原稿に応じて、圧縮レベル(量子化テーブル)を指定する方法がとられていた。
【0005】
【発明が解決しようとする課題】
しかし、原稿の読み取り解像度が選べる複写機、スキャナなどにおいては、解像度に応じた最適な圧縮パラメータを、画質と圧縮率との観点からユーザが選択することは困難であるという問題点があった。
【0006】
本発明は、上述の課題に鑑みてなされたものであり、その目的とするところは、読み取り解像度と量子化テーブルとの詳細な関係を意識することなく、圧縮に適した量子化のパラメータを効率良く、選択できる装置を提供するである。
【0007】
【課題を解決するための手段】
上述の問題点を解決するために、本発明の画像処理装置は、原稿を画像データとして読み取る読取手段と、複数解像度のなかから前記読取手段による読み取りの解像度を指定する解像度指定手段と、JPEG圧縮法による圧縮処理で使用される複数の量子化テーブルを格納する格納手段と、前記格納手段に格納された複数の量子化テーブルから、ユーザによる指定候補として、前記解像度指定手段により指定された解像度に予め対応付けられている複数の量子化テーブルを選択する選択手段と、前記選択手段により選択された量子化テーブルの中から、いずれか1つの量子化テーブルの指定をユーザから受け付ける受付手段と、前記受付手段により受け付けた量子化テーブルを用いて、前記画像データをJPEG圧縮法により圧縮処理する圧縮処理手段と、を有し、前記選択手段は、前記解像度指定手段により第1の解像度が選択された場合には、前記格納手段に格納された複数の量子化テーブルから第1、第2、第3の圧縮率(第1の圧縮率>第2の圧縮率>第3の圧縮率)に相当する量子化テーブルを前記指定候補として選択し、前記解像度指定手段により前記第1の解像度より高い第2の解像度が選択された場合には、前記格納手段に格納された複数の量子化テーブルから第2、第3、第4の圧縮率(第3の圧縮率>第4の圧縮率)に相当する量子化テーブルを前記指定候補として選択することを特徴とする。
【0009】
【発明の実施の形態】
[第1の実施の形態]
以下、図面を参照して、本発明の第1の実施の形態に係る画像処理装置について説明する。
【0010】
<処理概略>
図1は、本実施の形態に係る画像処理装置の構成を示したブロック図である。
【0011】
109は、画像読み取り部であり、レンズ101、CCDセンサ102、アナログ信号処理部103により構成される。レンズ101を介してCCDセンサ102に結像された原稿画像100が、CCDセンサ102によりアナログ電気信号に変換される。変換された画像情報は、アナログ信号処理部に入力され、サンプル&ホールド、ダークレベルの補正等が行われた後にアナログ・デジタル変換(A/D変換)される。このようにして変換されたデジタル信号は、画像処理部104に入力される。
【0012】
画像処理部104では、シェーディング補正、γ補正等の読み取り系で必要な補正処理や、スムージング処理、エッジ強調、JPEG圧縮/伸張処理などが行われ、プリンタ部105に出力される。
【0013】
プリンタ部105は、レーザ等からなる不図示の露光制御部、不図示の画像形成部、転写紙の不図示の搬送制御部等により構成され、入力された画像信号を転写紙上に記録する。
【0014】
また、CPU回路部110は、CPU106、ROM107、RAM108等により構成され、画像読み取り部109、画像処理部104、プリンタ部105、操作部113等を制御し、本装置のシーケンスを統括的に制御する。
【0015】
操作部113には、RAM111、ROM112が予め用意されており、ユーザインタフェース上に文字を表示したり、ユーザが設定した情報を記憶したりしておくことが可能となっている。
【0016】
ユーザによって操作部113で設定された情報は、CPU回路部110を介して、画像読み取り部109、画像処理部104、プリンタ部105などに送られる構成となっている。
【0017】
<画像処理部>
次に、画像処理部104について説明する。図2に示す画像処理部104は、本発明の主要な部分のみを示した構成ブロック図である。
【0018】
図1のアナログ信号処理部103より出力されるデジタル画像信号は、シェーディング補正部201に入力される。シェーディング補正部201では、原稿を読み取るセンサのばらつき、および原稿照明用ランプの配光特性の補正を行っている。
【0019】
補正演算された画像輝度信号は、圧縮のためにJPEG圧縮部202に入力され、所定の量子化テーブルに保持されたパラメータを用いた圧縮が行われる。この量子化テーブルのパラメータは、圧縮を行う為に重要なパラメータであり、CPU回路部110で設定されている。この設定に関しては、本実施の形態に係るのポイントであるため、詳細を後述する。
【0020】
JPEG圧縮部202で圧縮された信号は、ハードディスク(以降HDDと略する)203に送られ、記憶される構成となっている。また、HDD203から読み出された信号は、JPEG伸張部204へと入力される。
【0021】
JPEG伸張部204は、圧縮された信号を解凍し、輝度/濃度変換部205に出力する構成となっている。輝度/濃度変換部205では、入力された輝度信号を濃度データにLog変換している。
【0022】
図示していないが、輝度/濃度変換部205から出力された信号は、ガンマ補正やフィルタ処理やディザ処理など様々な処理がなされてプリンタへ出力される構成となっている。
【0023】
それでは、次に本実施の形態に係る操作部の設定について説明する。
【0024】
<操作部>
図3は、本実施の形態に係る操作部を示したものである。
【0025】
本画像処理装置は、不図示のコピーボタンを押すことにより、301から303で設定された解像度でスキャン開始する。
【0026】
ここでは、本実施の形態に係る主要な部分のみ説明を行い、それ以外の部分の説明は省略することにする。
【0027】
301、302および303は、コピー動作する際に読み取り解像度を切り替えるボタンである。
【0028】
例えば、読み取り解像度として150dpi(301)が指定された場合、不図示の主走査方向(画像読み取りCCDと平行な方向)については、デジタル的に解像度変換し、副走査方向(画像読み取りCCDと直行した方向)については、スキャンスピードを変えることで解像度変換を行う。一例として、CCDの解像度が600dpiの場合に、スキャンスピードを4倍にすることで副走査方向を150dpiの解像度に変換できる。
【0029】
もちろん、主走査方向、副走査方向ともにデジタルで解像度変換しても良いが、その場合は、0次補間法や1次補間法やバイキュービック法などを使用して解像度変換することになる。
【0030】
また、読み取り解像度として300dpi(302)が指定された場合、150dpiの場合と同様に、主走査方向についてはデジタルで解像度変換し、副走査方向についてはスキャンスピードを変えて解像度変換する処理が行われる。言うまでもないが、600dpiの解像度を指定して、スキャナで読み取ったものを300dpiに解像度変換する場合は、画像サイズが1/2になる。
【0031】
読み取り解像度として600dpi(303)が指定された場合は、CCDの解像度を600dpiとしているので、等倍読み取りとなる。
【0032】
次に、304、305および306は、圧縮率を切り替えるボタンである。
【0033】
本実施の形態では、JPEG圧縮を例にとって説明する。
【0034】
304の高画質ボタンは、画質を優先にして、圧縮率を低く設定する為のものである。つまり、読み取られたファイルのサイズは大きくなる。この場合は、画像データがHDDやメモリを占有する領域が増えてしまうが、良好な画質でデータを圧縮できることになる。
【0035】
一方、306は、画質を犠牲にして、圧縮率を高く設定する為のボタンである。これは、画質が少々悪くとも、HDDやメモリに多くの画像データを保存したいという場合での使用の為に用意されている。このモードは、画像データの圧縮率が高いこと、すなわち、圧縮後のファイルサイズが小さいことから、ネットワークやメディアを利用したデータ転送に向いているとされている。
【0036】
305の通常というボタンは、304の高画質と306の低画質との中間の圧縮率に設定する為のものである。この場合は、ある程度、画質と圧縮率とのバランスをとった設定ができる。
【0037】
これらの圧縮は、前述したようにJPEG圧縮を例にとって説明しているが、このJPEG圧縮技術は公知なため、本実施の形態では、発明に係る量子化テーブルの使い方のみについて説明する。
【0038】
<JPEG圧縮に用いられる量子化テーブル>
図4A及び図4Bは、本実施の形態で使用した量子化テーブルである。輝度情報用のものが図4Aであり、彩度情報用のものが図4Bである。
【0039】
両図において、縦軸がqファクターと呼ばれているものであり、8×8画素のブロックで圧縮処理する為、64個の数で構成されている。横軸が量子化テーブルと呼ばれているものであり、数が大きくなるほど高画質で圧縮できる仕組みになっている。しかし、その場合は、圧縮率は下がることになる。
【0040】
本実施の形態では、網で示した部分の401、402、403、404、405、406、407、408、409および410が実際に使用した量子化テーブルである。
【0041】
圧縮において、これらのテーブルを使用する際は、図4Aの輝度情報用と図4Bの彩度情報用とをペアで使用することになる。例えば、401と406のペア、402と407のペア、403と408のペア、404と409のペア、405と410のペアになどである。
【0042】
<画像モードとQテーブルとの関係>
次に、本実施の形態でのポイントである、上述の量子化テーブルと指定読み取り解像度との関係について図5(a)から図5(c)を用いて説明する。
【0043】
図5(a)は、501で、読み取り解像度を150dpiに指定した場合の図である。
【0044】
501で150dpiを指定すると、502、503および504の画質選択ボタンには、図4A及び図4Bで説明した量子化テーブルが割り当てられる。
【0045】
例えば、502の高画質ボタンには403と408とが割り当てられ、503の通常ボタンは402と407とが割り当てられ、504の低画質ボタンは401と406とが割り当てられることを特徴としている。いうまでもなく、504の低画質ボタンを選択したときが、この中ではもっとも圧縮率が高くなることになる。つまり、ファイルサイズが小さくなる。
【0046】
一方、505で読み取り解像度300dpiを選択した場合は、図5(b)になる。
【0047】
300dpiを選択すると、前述と同様に、506、507および508の画質選択ボタンに図4A及び図4Bの量子化テーブルが割り当てられる。
【0048】
しかし、前述と異なる点は、指定読み取り解像度毎に選ばれる量子化テーブルが違うことである。つまり、読み取り解像度が300dpiのときには、506の高画質ボタンに404と409とが割り当てられ、507の通常ボタンに403と408とが割り当てられ、508の低画質ボタンに402と407とが割り当てられることを特徴としている。
【0049】
このように、読み取り解像度毎に最適な量子化テーブル選択肢を、用意しておくことで、読み取る画像に対して、より最適な量子化テーブルを用いた圧縮が可能となる。
【0050】
前述の150dpiと300dpiとでは、潜在的に300dpiの方が高周波成分までの情報を多く含んでいる為、300dpiの解像度の場合は、高周波の周波数成分まで維持して圧縮が可能な量子化テーブルを割り当ててある。
【0051】
同様な考えで、図5(c)に示した509の読み取り解像度600dpiでは、読み取り解像度が高い分、高周波成分が多く含まれる為、高周波成分を維持して圧縮が可能な量子化テーブルを割り当てている。つまり、510の高画質ボタンには405と410とが割り当てられ、511の通常ボタンには404と409とが割り当てられ、512の低画質ボタンには403と408とが割り当てている。
【0052】
このような割り当て方にすることで、解像度と圧縮パラメータの詳細な関係をユーザが意識しなくとも、圧縮パラメータを効率よく指定できるようになる。
【0053】
以上、説明してきた構成により、指定読み取り解像度毎に、画質設定ボタン304から306に最適な量子化テーブルを割り当てることにより、煩雑になりやすい圧縮率の指定を簡素化できるようになる。
【0054】
[第2の実施の形態]
第2の実施の形態に係る装置の構成は、第1の実施の形態に係る装置の構成とほぼ同様であり、同じ構成の部分には同一番号を付け、説明を省略する。
【0055】
第1の実施の形態で示した図5(a)から図5(c)の高画質/通常/低画質のボタンの表現方法は、第1の実施の形態に限定したものではない。また、図6(a)から図6(c)の601、602、603、604、605、606、607、608および609で示すファイルサイズ大/中/小という選択肢の表現方法にしても同様であることは言うまでもない。さらに、不図示の低速/中速/高速といった表現方法も同様である。
【0056】
これらの選択肢に、前述した図4A及び図4Bの量子化テーブルを割り当てることにより、第1の実施の形態と同様な処理が可能となる。
【0057】
また、選択肢の数は、本実施の形態で示す、3つに限定されるものではなく、5つ、7つ…の選択肢にしても、量子化テーブルの割り当て数を変えることで、同様な構成にできることも言うまでもない。
【0058】
割り当てる量子化テーブルについては、本実施の形態で示したものに限定したものではなく、他のテーブルを割り当てても同様な効果が得られることは言うまでもない。
【0059】
また、これらの処理は、カラー画像のみではなく、白黒画像に対しても同様な効果が得られることも言うまでもない。
【0060】
また、第1の実施の形態では、図3の301から303で示した各解像度に対し、解像度が低い150dpi(301)の方に、図4A及び図4Bで示した量子化テーブルの小さな値を設定していた。これは、第1の実施例で述べたように、低い解像度でデータを読み取ったときの方が、潜在的に高周波成分が少なかった為である。
【0061】
つまり、高周波成分を多く含んでいる高い解像度で読み取った場合は、それなりに高周波成分を保持する量子化テーブルを用いて圧縮する為、ファイルサイズが大きくなる傾向にあった。その為、高い解像度で読み込むと、ファイルサイズが大きくなり、かつ、圧縮のパラメータも低圧縮率のものを使用する為に、あまりファイルサイズが小さくならない傾向にあった。
【0062】
そこで、本発明の第2の実施の形態に係る画像処理装置では、ファイルサイズの大きい高解像度で読み込んだ場合に、第1の実施の形態で示したものと逆に、高周波成分を積極的におとす量子化テーブルを使用することとする。これによって、ファイルサイズが読み取り解像度により大きく変化することのないように、設定することも可能となる。
【0063】
例えば、図3の150dpiを設定したときは、量子化テーブル404と409を選択し、300dpiを設定したときは、量子化テーブル403と408を選択し、600dpiを設定したときは、量子化テーブル402と407を選択するようにする。
【0064】
いうまでもないが、第1の実施の形態で示したものと同様に、高画質/通常/低画質とランクを設け、それぞれに量子化テーブルを割り当てることも可能である。
【0065】
[他の実施形態]
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。
【0066】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0067】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0068】
【発明の効果】
以上説明したように本発明によれば、操作部上の読み取り解像度毎に、圧縮に適した量子化テーブルを幾つか選択できるような構成にしたことにより、読み取り解像度と量子化テーブルとの詳細な関係を意識することなく、圧縮に適した量子化のパラメータを効率良く選択できるという効果がある。
【0069】
また、高周波成分を多く含んだ画像に対して、高周波成分を保持するのに適した量子化テーブルを設定することや、逆に、高周波成分を積極的におとす量子化テーブルを設定することができるようにしたことにより、画質を優先するか、ファイルサイズを小さくすることを優先するかを選択できるという効果がある。
【図面の簡単な説明】
【図1】本発明の、第1、第2の実施の形態に係る画像処理装置の構成を示す図である。
【図2】第1、第2の実施の形態に係る画像処理装置における画像処理部の構成を示す図である。
【図3】第1、第2の実施の形態に係る操作部を示す図である。
【図4A】第1、第2の実施の形態に係る画像処理装置で用いたJPEGの量子化テーブル(輝度情報用)である。
【図4B】第1、第2の実施の形態に係る画像処理装置で用いたJPEGの量子化テーブル(彩度情報用)である。
【図5】第1の実施の形態に係る画像処理装置における操作部の一例を示す図である。
【図6】実第2の実施の形態に係る画像処理装置における操作部の一例を示す図である。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus that compresses an input image.
[0002]
[Prior art]
Conventionally, various compression methods have been proposed. For example, there are MR, MMR, MH, JBIG, JPEG and the like. Among them, the JPEG compression method is one of techniques frequently used particularly for images such as photographs.
[0003]
In the JPEG compression method, there is a parameter held in the quantization table, and the compression rate can be changed by changing this parameter. However, there is a close relationship between the compression rate and the image quality after decompression, and when the compression rate is increased, the image quality after decompression tends to deteriorate.
[0004]
For this reason, conventionally, a method of specifying a compression level (quantization table) according to a document read by a user has been used.
[0005]
[Problems to be solved by the invention]
However, in a copying machine, a scanner, or the like that can select the reading resolution of an original, there is a problem that it is difficult for the user to select an optimal compression parameter corresponding to the resolution from the viewpoint of image quality and compression rate.
[0006]
The present invention has been made in view of the above-described problems, and an object of the present invention is to efficiently calculate quantization parameters suitable for compression without being aware of the detailed relationship between the reading resolution and the quantization table. It provides a good and selectable device.
[0007]
[Means for Solving the Problems]
In order to solve the above-described problems, an image processing apparatus according to the present invention includes a reading unit that reads a document as image data, a resolution specifying unit that specifies a reading resolution by the reading unit from among a plurality of resolutions, and JPEG compression. From the storage means for storing a plurality of quantization tables used in the compression processing by the method and the plurality of quantization tables stored in the storage means, the resolution designated by the resolution designation means as a candidate for designation by the user selection means for selecting a plurality of quantization tables are related in advance, from among the selected quantization table by the selection unit, a receiving unit that receives any one of the given quantization table from the user, Using the quantization table received by the receiving means, a pressure for compressing the image data by the JPEG compression method. Reduction processing means, and when the first resolution is selected by the resolution designation means, the selection means first, second, from a plurality of quantization tables stored in the storage means. A quantization table corresponding to a third compression rate (first compression rate> second compression rate> third compression rate) is selected as the designation candidate, and is higher than the first resolution by the resolution designation unit. When the second resolution is selected, the second, third, and fourth compression ratios (third compression ratio> fourth compression ratio) are selected from the plurality of quantization tables stored in the storage unit. A corresponding quantization table is selected as the designation candidate .
[0009]
DETAILED DESCRIPTION OF THE INVENTION
[First Embodiment]
Hereinafter, an image processing apparatus according to a first embodiment of the present invention will be described with reference to the drawings.
[0010]
<Process outline>
FIG. 1 is a block diagram showing the configuration of the image processing apparatus according to the present embodiment.
[0011]
An image reading unit 109 includes a lens 101, a CCD sensor 102, and an analog signal processing unit 103. A document image 100 formed on the CCD sensor 102 via the lens 101 is converted into an analog electric signal by the CCD sensor 102. The converted image information is input to an analog signal processing unit, subjected to analog-digital conversion (A / D conversion) after being subjected to sample & hold, dark level correction, and the like. The digital signal thus converted is input to the image processing unit 104.
[0012]
The image processing unit 104 performs correction processing necessary for the reading system such as shading correction and γ correction, smoothing processing, edge enhancement, JPEG compression / decompression processing, and the like, and outputs the result to the printer unit 105.
[0013]
The printer unit 105 includes an exposure control unit (not shown) composed of a laser or the like, an image formation unit (not shown), a transfer control unit (not shown) for transfer paper, and the like, and records an input image signal on the transfer paper.
[0014]
The CPU circuit unit 110 includes a CPU 106, a ROM 107, a RAM 108, and the like, and controls the image reading unit 109, the image processing unit 104, the printer unit 105, the operation unit 113, and the like, and comprehensively controls the sequence of the apparatus. .
[0015]
A RAM 111 and a ROM 112 are prepared in advance in the operation unit 113, and characters can be displayed on the user interface and information set by the user can be stored.
[0016]
Information set by the operation unit 113 by the user is sent to the image reading unit 109, the image processing unit 104, the printer unit 105, and the like via the CPU circuit unit 110.
[0017]
<Image processing unit>
Next, the image processing unit 104 will be described. The image processing unit 104 shown in FIG. 2 is a block diagram showing only the main part of the present invention.
[0018]
The digital image signal output from the analog signal processing unit 103 in FIG. 1 is input to the shading correction unit 201. The shading correction unit 201 corrects variations in sensors for reading a document and light distribution characteristics of a document illumination lamp.
[0019]
The corrected image luminance signal is input to the JPEG compression unit 202 for compression, and compression using parameters held in a predetermined quantization table is performed. The parameters of this quantization table are important parameters for performing compression, and are set by the CPU circuit unit 110. Since this setting is a point according to the present embodiment, details will be described later.
[0020]
The signal compressed by the JPEG compression unit 202 is sent to and stored in a hard disk (hereinafter abbreviated as HDD) 203. A signal read from the HDD 203 is input to the JPEG decompression unit 204.
[0021]
The JPEG decompression unit 204 is configured to decompress the compressed signal and output it to the luminance / density conversion unit 205. The luminance / density conversion unit 205 performs log conversion of the input luminance signal into density data.
[0022]
Although not shown, the signal output from the luminance / density conversion unit 205 is subjected to various processing such as gamma correction, filter processing, and dither processing, and is output to the printer.
[0023]
Next, setting of the operation unit according to the present embodiment will be described.
[0024]
<Operation unit>
FIG. 3 shows an operation unit according to the present embodiment.
[0025]
The image processing apparatus starts scanning at a resolution set in 301 to 303 by pressing a copy button (not shown).
[0026]
Here, only main parts according to the present embodiment will be described, and description of other parts will be omitted.
[0027]
Reference numerals 301, 302, and 303 are buttons for switching the reading resolution when performing a copy operation.
[0028]
For example, when 150 dpi (301) is specified as the reading resolution, the resolution is digitally converted in the main scanning direction (not shown) (direction parallel to the image reading CCD), and the sub scanning direction (perpendicular to the image reading CCD) is obtained. For (direction), resolution conversion is performed by changing the scanning speed. As an example, when the resolution of the CCD is 600 dpi, the sub-scanning direction can be converted to a resolution of 150 dpi by increasing the scan speed by four times.
[0029]
Of course, the resolution may be converted digitally in both the main scanning direction and the sub-scanning direction, but in that case, resolution conversion is performed using a zero-order interpolation method, a primary interpolation method, a bicubic method, or the like.
[0030]
When 300 dpi (302) is specified as the reading resolution, similarly to the case of 150 dpi, resolution conversion is performed by digitally converting the resolution in the main scanning direction and changing the scanning speed in the sub-scanning direction. . Needless to say, when the resolution of 600 dpi is designated and the resolution read from the scanner is converted to 300 dpi, the image size is halved.
[0031]
When 600 dpi (303) is designated as the reading resolution, the CCD resolution is set to 600 dpi, so that the same size reading is performed.
[0032]
Next, 304, 305 and 306 are buttons for switching the compression rate.
[0033]
In this embodiment, JPEG compression will be described as an example.
[0034]
A high-quality button 304 is for setting a low compression rate with priority on image quality. That is, the size of the read file increases. In this case, the area where the image data occupies the HDD or memory increases, but the data can be compressed with good image quality.
[0035]
On the other hand, reference numeral 306 denotes a button for setting a high compression rate at the expense of image quality. This is prepared for use when it is desired to store a large amount of image data in the HDD or memory even if the image quality is a little worse. This mode is said to be suitable for data transfer using a network or a medium because the compression rate of image data is high, that is, the file size after compression is small.
[0036]
A normal button 305 is used to set an intermediate compression ratio between the high image quality 304 and the low image quality 306. In this case, it is possible to make a setting that balances the image quality and the compression rate to some extent.
[0037]
These compressions have been described using JPEG compression as an example as described above, but since this JPEG compression technique is known, only the use of the quantization table according to the present invention will be described in the present embodiment.
[0038]
<Quantization table used for JPEG compression>
4A and 4B are quantization tables used in the present embodiment. The luminance information is shown in FIG. 4A, and the saturation information is shown in FIG. 4B.
[0039]
In both figures, the vertical axis is called a q factor, and is composed of 64 numbers in order to perform compression processing with an 8 × 8 pixel block. The horizontal axis is called a quantization table. The larger the number, the higher the image quality can be compressed. However, in that case, the compression rate is lowered.
[0040]
In the present embodiment, 401, 402, 403, 404, 405, 406, 407, 408, 409, and 410 shown by the network are actually used quantization tables.
[0041]
When these tables are used in compression, the luminance information shown in FIG. 4A and the saturation information shown in FIG. 4B are used in pairs. For example, a 401/406 pair, a 402/407 pair, a 403/408 pair, a 404/409 pair, a 405/410 pair, and the like.
[0042]
<Relationship between image mode and Q table>
Next, the relationship between the quantization table described above and the designated reading resolution, which is a point in the present embodiment, will be described with reference to FIGS. 5 (a) to 5 (c).
[0043]
FIG. 5A is a diagram when the reading resolution is specified to be 501 and 150 dpi.
[0044]
When 150 dpi is specified in 501, the quantization tables described in FIGS. 4A and 4B are assigned to the image quality selection buttons 502, 503, and 504.
[0045]
For example, 403 and 408 are assigned to the high-quality button 502, 402 and 407 are assigned to the normal button 503, and 401 and 406 are assigned to the low-quality button 504. Needless to say, when the low image quality button 504 is selected, the compression rate is the highest among them. That is, the file size is reduced.
[0046]
On the other hand, when a reading resolution of 300 dpi is selected at 505, the result is as shown in FIG.
[0047]
When 300 dpi is selected, the quantization tables in FIGS. 4A and 4B are assigned to the image quality selection buttons 506, 507, and 508, as described above.
[0048]
However, the difference from the above is that the quantization table selected for each designated reading resolution is different. That is, when the reading resolution is 300 dpi, 404 and 409 are assigned to the high-quality button 506, 403 and 408 are assigned to the normal button 507, and 402 and 407 are assigned to the low-quality button 508. It is characterized by.
[0049]
As described above, by preparing the optimum quantization table option for each reading resolution, it is possible to compress a read image using a more optimum quantization table.
[0050]
In the above-mentioned 150 dpi and 300 dpi, 300 dpi potentially contains more information up to high frequency components. Therefore, in the case of 300 dpi resolution, a quantization table that can be compressed while maintaining up to high frequency components. Assigned.
[0051]
Based on the same idea, since the reading resolution of 600 dpi shown in FIG. 5C includes a high frequency component because the reading resolution is high, a quantization table that can be compressed while maintaining the high frequency component is allocated. Yes. That is, 405 and 410 are assigned to the 510 high image quality button, 404 and 409 are assigned to the 511 normal button, and 403 and 408 are assigned to the 512 low image quality button.
[0052]
With this allocation method, the compression parameter can be efficiently specified without the user being aware of the detailed relationship between the resolution and the compression parameter.
[0053]
As described above, by assigning an optimal quantization table to the image quality setting buttons 304 to 306 for each designated reading resolution, it is possible to simplify the designation of a compression rate that tends to be complicated.
[0054]
[Second Embodiment]
The configuration of the apparatus according to the second embodiment is substantially the same as the configuration of the apparatus according to the first embodiment, and the same reference numerals are given to the same configuration parts, and description thereof is omitted.
[0055]
The representation method of the high image quality / normal / low image quality buttons shown in FIGS. 5A to 5C shown in the first embodiment is not limited to the first embodiment. The same applies to the method of expressing the options of large / medium / small file sizes indicated by reference numerals 601, 602, 603, 604, 605, 606, 607, 608 and 609 in FIGS. Needless to say. Furthermore, the same expression method is used for low speed / medium speed / high speed (not shown).
[0056]
By assigning the quantization tables of FIG. 4A and FIG. 4B described above to these options, processing similar to that of the first embodiment can be performed.
[0057]
Further, the number of options is not limited to three as shown in the present embodiment, and even if the number of options is five, seven,... Needless to say, you can do it.
[0058]
The quantization table to be assigned is not limited to that shown in the present embodiment, and it goes without saying that the same effect can be obtained even if other tables are assigned.
[0059]
In addition, it goes without saying that these processes can obtain similar effects not only for color images but also for black and white images.
[0060]
In the first embodiment, for each resolution indicated by 301 to 303 in FIG. 3, the smaller value of the quantization table shown in FIGS. 4A and 4B is applied to the lower resolution of 150 dpi (301). It was set. This is because, as described in the first embodiment, there are potentially fewer high-frequency components when data is read at a lower resolution.
[0061]
That is, when reading at a high resolution containing a lot of high-frequency components, the file size tends to increase because compression is performed using a quantization table that holds the high-frequency components as such. For this reason, when reading at a high resolution, the file size becomes large, and the compression parameters used are those with a low compression rate, so that the file size tends not to become too small.
[0062]
Therefore, in the image processing apparatus according to the second embodiment of the present invention, when reading at a high resolution with a large file size, the high-frequency component is positively applied contrary to the one shown in the first embodiment. Let's use an automatic quantization table. As a result, the file size can be set so as not to change greatly depending on the reading resolution.
[0063]
For example, when 150 dpi in FIG. 3 is set, the quantization tables 404 and 409 are selected, when 300 dpi is set, the quantization tables 403 and 408 are selected, and when 600 dpi is set, the quantization table 402 is selected. And 407 are selected.
[0064]
Needless to say, as in the case of the first embodiment, it is also possible to provide ranks of high image quality / normal / low image quality and assign a quantization table to each rank.
[0065]
[Other Embodiments]
Note that the present invention can be applied to a system (for example, a copier, a facsimile machine, etc.) consisting of a single device even when applied to a system composed of a plurality of devices (for example, a host computer, interface device, reader, printer, etc.). You may apply.
[0066]
Another object of the present invention is to supply a storage medium (or recording medium) in which a program code of software that realizes the functions of the above-described embodiments is recorded to a system or apparatus, and the computer (or CPU or CPU) of the system or apparatus. Needless to say, this can also be achieved by the MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, 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 case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0067]
Furthermore, after the program code read from the storage 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 determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0068]
【The invention's effect】
As described above, according to the present invention, it is possible to select several quantization tables suitable for compression for each reading resolution on the operation unit, so that the details of the reading resolution and the quantization table can be selected. There is an effect that a quantization parameter suitable for compression can be efficiently selected without being aware of the relationship.
[0069]
In addition, it is possible to set a quantization table suitable for holding a high-frequency component for an image containing a lot of high-frequency components, or conversely, a quantization table that actively holds high-frequency components By doing so, it is possible to select whether to give priority to image quality or to give priority to reducing the file size.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration of an image processing apparatus according to first and second embodiments of the present invention.
FIG. 2 is a diagram illustrating a configuration of an image processing unit in the image processing apparatus according to the first and second embodiments.
FIG. 3 is a diagram illustrating an operation unit according to the first and second embodiments.
FIG. 4A is a JPEG quantization table (for luminance information) used in the image processing apparatuses according to the first and second embodiments.
FIG. 4B is a JPEG quantization table (for saturation information) used in the image processing apparatuses according to the first and second embodiments.
FIG. 5 is a diagram illustrating an example of an operation unit in the image processing apparatus according to the first embodiment.
FIG. 6 is a diagram illustrating an example of an operation unit in the image processing apparatus according to the second embodiment.

Claims (4)

原稿を画像データとして読み取る読取手段と、
複数解像度のなかから、前記読取手段による読み取りの解像度を指定する解像度指定手段と、
JPEG圧縮法による圧縮処理で使用される複数の量子化テーブルを格納する格納手段と、
前記格納手段に格納された複数の量子化テーブルから、ユーザによる指定候補として、前記解像度指定手段により指定された解像度に予め対応付けられている複数の量子化テーブルを選択する選択手段と、
前記選択手段により選択された量子化テーブルの中から、いずれか1つの量子化テーブルの指定をユーザから受け付ける受付手段と
前記受付手段により受け付けた量子化テーブルを用いて、前記画像データをJPEG圧縮法により圧縮処理する圧縮処理手段と、
を有し、
前記選択手段は、前記解像度指定手段により第1の解像度が選択された場合には、前記格納手段に格納された複数の量子化テーブルから第1、第2、第3の圧縮率(第1の圧縮率>第2の圧縮率>第3の圧縮率)に相当する量子化テーブルを前記指定候補として選択し、前記解像度指定手段により前記第1の解像度より高い第2の解像度が選択された場合には、前記格納手段に格納された複数の量子化テーブルから第2、第3、第4の圧縮率(第3の圧縮率>第4の圧縮率)に相当する量子化テーブルを前記指定候補として選択することを特徴とする画像処理装置。
Reading means for reading a document as image data;
Resolution designation means for designating the resolution of reading by the reading means from among a plurality of resolutions ;
Storage means for storing a plurality of quantization tables used in compression processing by the JPEG compression method ;
A plurality of quantization tables stored in the storage means, as a designated candidate user, and selection means for a plurality of quantization tables previously associated with the specified resolution to select by the resolution designation unit,
Receiving means for receiving designation of any one quantization table from the quantization tables selected by the selection means ;
Compression processing means for compressing the image data by JPEG compression using the quantization table received by the receiving means;
Have
When the first resolution is selected by the resolution specifying unit, the selection unit selects the first, second, and third compression rates (first level) from the plurality of quantization tables stored in the storage unit. When a quantization table corresponding to compression rate> second compression rate> third compression rate) is selected as the designation candidate, and a second resolution higher than the first resolution is selected by the resolution designation unit Includes a quantization table corresponding to the second, third and fourth compression ratios (third compression ratio> fourth compression ratio) from the plurality of quantization tables stored in the storage means. An image processing apparatus characterized by being selected as
更に、前記選択手段は、前記解像度指定手段により前記第2の解像度より高い第3の解像度が選択された場合には、前記格納手段に格納された複数の量子化テーブルから第3、第4、第5の圧縮率(第4の圧縮率>第5の圧縮率)に相当する量子化テーブルを前記指定候補として選択することを特徴とする請求項1記載の画像処理装置。 Furthermore, when the third resolution higher than the second resolution is selected by the resolution designating means, the selection means selects the third, fourth, and fourth from the plurality of quantization tables stored in the storage means. The image processing apparatus according to claim 1 , wherein a quantization table corresponding to a fifth compression ratio (fourth compression ratio> fifth compression ratio) is selected as the designation candidate . 読取部により読み取った画像データに対し圧縮処理を行う画像処理方法であって、
複数解像度のなかから、前記読取部による読み取りの解像度を指定する解像度指定ステップと、
前記読取部により原稿を画像データとして読み取る読取ステップと、
JPEG圧縮法による圧縮処理で使用される複数の量子化テーブルを格納する記憶部から、ユーザによる指定候補として、前記解像度指定ステップにより指定された解像度に予め対応付けられている複数の量子化テーブルを選択する選択ステップと、
前記選択ステップにより選択された量子化テーブルの中から、いずれか1つの量子化テーブルの指定をユーザから受け付ける受付ステップと、
前記受付ステップにより受け付けた量子化テーブルを用いて、前記画像データをJPEG圧縮法により圧縮処理する圧縮処理ステップと、
を有し、
前記選択ステップでは、前記解像度指定ステップにより第1の解像度が選択された場合には、前記記憶部に格納された複数の量子化テーブルから第1、第2、第3の圧縮率(第1の圧縮率>第2の圧縮率>第3の圧縮率)に相当する量子化テーブルを前記指定候補として選択し、前記解像度指定ステップにより前記第1の解像度より高い第2の解像度が選択された場合には、前記記憶部に格納された複数の量子化テーブルから第2、第3、第4の圧縮率(第3の圧縮率>第4の圧縮率)に相当する量子化テーブルを前記指定候補として選択することを特徴とする画像処理方法。
An image processing method for performing compression processing on image data read by a reading unit,
A resolution designating step of designating a resolution of reading by the reading unit from a plurality of resolutions ;
A reading step of reading a document as image data by the reading unit;
From the storage unit for storing a plurality of quantization tables used in the compression process by the JPEG compression method, as specified candidate by the user, a plurality of quantization tables that are associated in advance in the resolution specified by the resolution specifying step a selection step to select,
An accepting step of accepting designation of any one quantization table from the quantization table selected in the selection step;
A compression processing step for compressing the image data by a JPEG compression method using the quantization table received by the reception step;
Have
In the selecting step, when the first resolution is selected in the resolution specifying step, the first, second, and third compression rates (the first compression rate) are selected from the plurality of quantization tables stored in the storage unit. When a quantization table corresponding to compression rate> second compression rate> third compression rate) is selected as the designation candidate, and a second resolution higher than the first resolution is selected in the resolution designation step Includes a quantization table corresponding to the second, third, and fourth compression rates (third compression rate> fourth compression rate) from the plurality of quantization tables stored in the storage unit. An image processing method characterized by selecting as
読取部による原稿の読み取り処理および読み取った画像データに対する圧縮処理をコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体 であって、前記プログラムは、
複数解像度のなかから、前記読取部による読み取りの解像度を指定する解像度指定ステップと、
前記読取部により原稿を画像データとして読み取る読取ステップと、
JPEG圧縮法による圧縮処理で使用される複数の量子化テーブルを格納する記憶部から、ユーザによる指定候補として、前記解像度指定ステップにより指定された解像度に予め対応付けられている複数の量子化テーブルを選択する選択ステップと、
前記選択ステップにより選択された量子化テーブルの中から、いずれか1つの量子化テーブルの指定をユーザから受け付ける受付ステップと、
前記受付ステップにより受け付けた量子化テーブルを用いて、前記画像データをJPEG圧縮法により圧縮処理する圧縮処理ステップと、
をコンピュータに実行させ、
前記選択ステップでは、前記解像度指定ステップにより第1の解像度が選択された場合には、前記記憶部に格納された複数の量子化テーブルから第1、第2、第3の圧縮率(第1の圧縮率>第2の圧縮率>第3の圧縮率)に相当する量子化テーブルを前記指定候補として選択し、前記解像度指定ステップにより前記第1の解像度より高い第2の解像度が選択された場合には、前記記憶部に格納された複数の量子化テーブルから第2、第3、第4の圧縮率(第3の圧縮率>第4の圧縮率)に相当する量子化テーブルを前記指定候補として選択することを特徴とする記録媒体。
A computer-readable recording medium that records a program for causing a computer to execute a document reading process by a reading unit and a compression process on the read image data .
A resolution designating step of designating a resolution of reading by the reading unit from a plurality of resolutions;
A reading step of reading a document as image data by the reading unit;
From the storage unit that stores a plurality of quantization tables used in the compression processing by the JPEG compression method, a plurality of quantization tables associated in advance with the resolution specified by the resolution specifying step are specified as candidates specified by the user. A selection step to select;
An accepting step of accepting designation of any one quantization table from the quantization table selected in the selection step;
A compression processing step of compressing the image data by a JPEG compression method using the quantization table received in the reception step;
To the computer,
In the selecting step, when the first resolution is selected in the resolution specifying step, the first, second, and third compression rates (the first compression rate) are selected from the plurality of quantization tables stored in the storage unit. When a quantization table corresponding to compression rate> second compression rate> third compression rate) is selected as the designation candidate, and a second resolution higher than the first resolution is selected in the resolution designation step Includes a quantization table corresponding to the second, third, and fourth compression rates (third compression rate> fourth compression rate) from the plurality of quantization tables stored in the storage unit. A recording medium characterized by being selected as:
JP2000126476A 2000-04-26 2000-04-26 Image processing apparatus and method Expired - Fee Related JP4194216B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000126476A JP4194216B2 (en) 2000-04-26 2000-04-26 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000126476A JP4194216B2 (en) 2000-04-26 2000-04-26 Image processing apparatus and method

Publications (3)

Publication Number Publication Date
JP2001309181A JP2001309181A (en) 2001-11-02
JP2001309181A5 JP2001309181A5 (en) 2007-05-24
JP4194216B2 true JP4194216B2 (en) 2008-12-10

Family

ID=18636254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000126476A Expired - Fee Related JP4194216B2 (en) 2000-04-26 2000-04-26 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP4194216B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2006098226A1 (en) * 2005-03-14 2008-08-21 松下電器産業株式会社 Encoding device and moving image recording system provided with encoding device
JP4926128B2 (en) * 2008-06-18 2012-05-09 シャープ株式会社 Image processing apparatus, image reading apparatus, image forming apparatus, computer program, recording medium, and image processing method

Also Published As

Publication number Publication date
JP2001309181A (en) 2001-11-02

Similar Documents

Publication Publication Date Title
KR0171655B1 (en) Image processing unit
CN100456803C (en) Image processing apparatus
US8130410B2 (en) Image processing method, image processing apparatus, image forming system and recording medium readable by a computer
US8368948B2 (en) Image forming apparatus, method, and program for executing super-resolution processing by deleting selected image data based on a spatial frequency characteristic or color
EP1578107A2 (en) Format convertible image processing system, and program
US20050213120A1 (en) Image data processing device, image data processing method, program, recording medium, and image reading device
US5130809A (en) Electrophotographic copier with constant rate data compression and simultaneous storage and decompression of compressed data received on a mutually coupled data bus
JPH08274986A (en) Image processing unit
US6674551B1 (en) Image processing device and image processing method
US20050012963A1 (en) Image processing apparatus, image processing method, and computer product
JP4194216B2 (en) Image processing apparatus and method
JP2005348170A (en) Image reader, image processor, image forming apparatus, image processing method, computer program and recording medium
JP3825940B2 (en) Image processing apparatus and control method thereof
JP4031442B2 (en) Image processing apparatus and image forming apparatus having the same
JP4926128B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP3964088B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing program for causing computer to execute the method
JPH08123939A (en) Picture processor
JP4333951B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP2004112303A (en) Image processing method, image processor, and image processing system
JP3559746B2 (en) Image processing apparatus, image processing method, and storage medium
JP2001211318A (en) Device and method for image processing, storage medium, and image processing system
JP2005051764A (en) Image processing apparatus, program, computer-readable storage medium, and image processing method
JP2001238085A (en) Picture processor and its controlling method
JPH09284436A (en) Image processor
JPH11187253A (en) Image processor and method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070328

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070328

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20070328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080613

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080807

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080814

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080905

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080922

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131003

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees