JP2004135242A - Image processing apparatus, image reading apparatus, and image forming apparatus - Google Patents

Image processing apparatus, image reading apparatus, and image forming apparatus Download PDF

Info

Publication number
JP2004135242A
JP2004135242A JP2002300284A JP2002300284A JP2004135242A JP 2004135242 A JP2004135242 A JP 2004135242A JP 2002300284 A JP2002300284 A JP 2002300284A JP 2002300284 A JP2002300284 A JP 2002300284A JP 2004135242 A JP2004135242 A JP 2004135242A
Authority
JP
Japan
Prior art keywords
image
data
code
compression
unit
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.)
Pending
Application number
JP2002300284A
Other languages
Japanese (ja)
Inventor
Yasuyuki Nomizu
野水 泰之
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002300284A priority Critical patent/JP2004135242A/en
Publication of JP2004135242A publication Critical patent/JP2004135242A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To convert target code data into a suitable encoding scheme corresponding to features of images to be utilized in external equipment or the like in the case of conversion to code data of a format available in the external equipment or the like when using an original encoding scheme or the like in image equipment or the like. <P>SOLUTION: The code data compression-encoding image data are expanded to judge whether the image is a character image or a picture pattern image (step S2). In the case of the character image (Y in step S2), it is converted to a binary image as needed and converted to an MMR code of a little data amount (step S3). In the case of the picture pattern image or the like (N in step S2), it is converted to a multilevel image as needed and converted to a JPEG code of a high picture quality (step S4). <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、画像処理装置、画像読取装置及び画像形成装置に関する。
【0002】
【従来の技術】
特許文献1には、いわゆる複合機において、読み取り信号の画像処理、メモリへの画像蓄積、複数機能の並行動作及びそれぞれの画像処理を最適化する画像処理装置について開示されている。
【0003】
【特許文献1】特開平8−274986号公報
【発明が解決しようとする課題】
画像を扱うデジタル機器においては、高画質化のために解像度を高くすることや階調数を多くすること等が行われる。すると、画像データの情報量が多くなるので、画質は向上する反面、画像の情報量は多くなってしまう。そこで、データ量の多さを解決する方法の1つに、多階調画像を効率良く符号化する方法が考えられる。
【0004】
このような画像データの符号化には、それを利用するシステムに適合した方式が望まれる。例えば、デジタル複写機又はいわゆる複合機においては、符号データのまま回転できる、符号データのまま編集ができる等の機能性や、高速に圧縮伸張可能な符号化方式が一般的に必要とされる。
【0005】
そして、符号化方式はデータの交換性から標準方式が望ましいが、このような特徴に最適な標準方式は存在しない。JPEG方式やJPEG2000方式でも最適とはいえないのが実情である。そこで、デジタル複写機等の機器においては、その機器の特性にあった独自の符号化方式を採用している場合が多い。
【0006】
しかしながら、これらの独自の符号化方式を用いる場合には、符号データには汎用性がないため、これらの機器の外部では(例えば、これらの機器に接続されているコンピュータ)、その符号データを容易に利用できないという不具合がある。
【0007】
また、画像が文字画像か絵柄画像か等、画像の特徴に応じた適切な符号化方式を容易に利用できないという不具合がある。
【0008】
本発明の目的は、画像機器などで独自の符号化方式などを用いる場合に、外部機器などで利用できるフォーマットの符号データに変換するのに際して、対象となる符号データを、画像の特徴に応じた適切な符号化方式に変換して、それを外部機器等で利用できるようにすることである。
【0009】
【課題を解決するための手段】
請求項1に記載の発明は、画像データを所定のフォーマットで圧縮符号化した符号データを伸張する伸張手段と、前記伸張後の画像データから画像の所定の特徴を判定する特徴判定手段と、この判定に応じて前記伸張後の画像データについて複数種類のフォーマットのうちの何れかを選択して再度圧縮符号化する圧縮手段と、を備えている画像処理装置である。
【0010】
したがって、特定のフォーマットで符号化された符号データを、画像の特徴に応じた適切な符号化方式に変換して、それを外部機器等で利用することができる。
【0011】
なお、画像の特徴には、画像が文字画像か、絵柄画像か、白黒画像か、カラー画像か、などの様々な特徴が含まれる。
【0012】
請求項2に記載の発明は、請求項1に記載の画像処理装置において、前記特徴判定手段は、前記特徴として前記画像が文字画像か文字画像以外の画像かを判定する。
【0013】
したがって、特定のフォーマットで符号化された符号データを、画像が文字画像か文字画像以外の画像かに応じて適切なフォーマットの符号データに変換して、それを外部機器等で利用することができる。
【0014】
請求項3に記載の発明は、請求項1又は2に記載の画像処理装置において、前記符号データを記憶する記憶装置と、この記憶装置の残りの記憶容量を所定の第1の値と比較する第1の比較手段と、を備え、前記圧縮手段は、前記特徴判定手段の判定結果にかかわらず、前記比較の結果に応じて前記再度の圧縮符号化を行なう。
【0015】
したがって、記憶装置の残り記憶容量の多寡により、データ量の少ないフォーマット、又は、データ量が多くても画質の良いフォーマットを選択して、適切なフォーマットの符号に変換することができる。
【0016】
請求項4に記載の発明は、請求項3に記載の画像処理装置において、前記圧縮手段は、前記比較の結果で前記記憶容量が前記第1の値より大きいときと小さいときとでは、前者の方が後者より多値画像に適し、後者の方が前者より2値画像に適する符号化方式により、それぞれ多値画像又は2値画像に必要に応じて変換した上で、前記再度の圧縮符号化を行なう。
【0017】
したがって、記憶装置の残り記憶容量の多寡により、データ量の少ない2値画像に適する符号化方式、又は、データ量が多くても画質の良い多値画像に適する符号化方式を選択して、適切なフォーマットの符号に変換することができる。
【0018】
請求項5に記載の発明は、請求項3に記載の画像処理装置において、前記圧縮手段は、前記比較の結果で前記記憶容量が前記第1の値より大きいときと小さいときとでは、前者の方が後者よりカラー画像に適し、後者の方が前者より白黒画像に適する符号化方式により、それぞれカラー画像又は白黒画像に必要に応じて変換した上で、前記再度の圧縮符号化を行なう。
【0019】
したがって、記憶装置の残り記憶容量の多寡により、データ量の少ない白黒画像に適する符号化方式、又は、データ量が多くても画質の良いカラー画像に適する符号化方式を選択して、適切なフォーマットの符号に変換することができる。
【0020】
請求項6に記載の発明は、請求項3に記載の画像処理装置において、前記記憶容量を前記第1の値より大きい所定の第2の値と比較する第2の比較手段を備え、前記圧縮手段は、前記第2の比較手段による比較の結果、前記記憶容量が前記第2の値より大きいときは、前記記憶装置に記憶済みの前記符号データに対して当該符号データよりさらにデータ量を削減できるフォーマットで前記再度の圧縮符号化を行ない、前記記憶装置は、この再度の圧縮符号化後の符号データを再度記憶する。
【0021】
したがって、記憶装置の残り記憶容量がなくなった又はわずかになった場合に、記憶済みの符号データをさらにデータ量を削減できる符号データに変換して再度記憶するので、記憶装置の残り記憶容量を確保することができる。
【0022】
請求項7に記載の発明は、原稿の画像を読み取る光電変換素子と、この読み取った原稿の画像データを記憶する記憶装置と、この記憶装置に入出力する画像データを処理対象の少なくとも一部としている請求項1〜6の何れかの一に記載の画像処理装置と、を備えていることを特徴とする画像読取装置である。
【0023】
したがって、請求項1〜6の何れかの一に記載の発明と同様の作用、効果を奏することができる。
【0024】
請求項8に記載の発明は、請求項7に記載の画像読取装置と、前記光電変換素子で読み取った原稿の画像データにより用紙上に画像形成するプリンタエンジンと、を備えていることを特徴とする画像形成装置である。
【0025】
したがって、画像読取装置において、請求項1〜6の何れかの一に記載の発明と同様の作用、効果を奏することができる。
【0026】
【発明の実施の形態】
[発明の実施の形態1]
本発明の一実施の形態について説明する。
【0027】
図1は、本発明の画像形成装置を実施した複写機1の電気的な接続を示すブロック図である。原稿を光学的に読み取るスキャナである読み取りユニット11は、原稿に対するランプ照射の反射光をミラーおよびレンズなどからなる光学系によりCCD(電荷結合素子)などの光電変換素子に集光する。この光電変換素子は、SBU(センサ・ボード・ユニット)12に搭載され、受光素子において電気信号に変換された画像信号はデジタル画像信号に変換された後、SBU12から出力される。SBU12から出力される画像信号はCDIC(圧縮/伸張およびデータインターフェイス制御部)13に入力される。機能デバイスおよびデータバス間における画像データの伝送はCDIC13が全て制御する。CDIC13は画像データに関し、SBU12、パラレルバス14、IPP(画像処理プロッセッサ)15間のデータ転送、本システムの全体制御を司るシステムコントローラ(CPU)16と画像データに対するプロセスコントローラ27間の通信を行なう。符号16a,16bは、システムコントローラ16が使用するROM、RAMである。それぞれSBU12からの画像信号は、CDIC13を経由してIPP15に転送され、光学系およびデジタル画像信号への量子化に伴う信号劣化(スキャナ系の信号劣化とする)が補正されて、再度CDIC13へ出力される。
【0028】
この複写機1では、読み取りユニット11による読み取り画像をメモリに蓄積して再利用するジョブと、メモリに蓄積しないジョブとがあり、以下ではそれぞれの場合について説明する。メモリに蓄積する例としては、1枚の同一原稿を複数枚複写する場合、読み取りユニット11で1回だけ原稿の読取動作を行い、メモリに蓄積し、蓄積データを複数回読み出す使い方がある。メモリを使わない例としては、1枚の原稿を1枚だけ複写する場合、読み取り画像をそのまま印刷すればよいので、メモリアクセスを行なう必要はない。
【0029】
まず、メモリを使わない場合、IPP15からCDIC13へ転送された画像データは、再度CDIC13からIPP15へ戻される。IPP15において受光素子による輝度データを面積階調に変換するための画質処理を行なう。この画質処理後の画像データはIPP15からVDC(ビデオ・データ制御)17に転送する。そして、面積階調に変化された信号に対し、ドット配置に関する後処理およびドットを再現するためのパルス制御を行い、電子写真方式で画像形成するプリンタエンジンである作像ユニット18により、転写紙上に再生画像を形成する。なお、作像ユニット18の印刷方式は、電子写真方式のほか、インクジェット方式、昇華型熱転写方式、銀塩写真方式、直接感熱記録方式、溶融型熱転写方式など、様々な方式を用いることができる。
【0030】
メモリに画像データを蓄積し、画像データの読み出し時に付加的な処理、例えば、画像方向の回転、画像の合成等を行なう場合の画像データの流れを説明する。IPP15からCDIC13へ転送された画像データは、CDIC13からパラレルバス14を経由してIMAC19(画像メモリアクセス制御)19に送られる。IMAC19では、システムコントローラ16の制御に基づき画像データの、記憶装置であるMEM(メモリモジュール)20へのアクセス制御、外部のPC(パソコン)21へのプリント用データの展開、MEM20のメモリ有効活用のための画像データの圧縮/伸張を行なう。IMAC19へ送られた画像データはデータ圧縮後MEM20へ蓄積され、この蓄積データは必要に応じて読み出される。読み出した画像データは伸張されて本来の画像データに戻され、IMAC19からパラレルバス経由でCDIC13へ戻される。
【0031】
CDIC13からIPP15への転送後は画像データに対して画質処理およびVDC17でのパルス制御を行い、その画像データにより作像ユニット18において転写紙上に画像形成する。
【0032】
このデジタル複写機1は、いわゆる複合機であり、FAX送信機能を備えている。このFAX送信機能は、読み取り画像データにIPP15にて画像処理を実施し、CDIC13およびパラレルバス14を経由してFCU(FAX制御ユニット)22へ転送する。FCU22にて通信網へのデータ変換を行い、PN(公衆回線)23へFAXデータとして送信する。FAX受信は、PN23からの回線データをFCU22で画像データへ変換し、パラレルバス14およびCDIC13を経由してIPP15へ転送する。この場合、特別な画質処理は行なわず、VDC17においてドット再配置およびパルス制御を行い、作像ユニット18において転写紙上に再生画像を形成する。
【0033】
複数のジョブ、例えば、コピー機能、FAX送受信機能、プリンタ出力機能が並行に動作する状況において、読み取りユニット、作像ユニットおよびパラレルバス14の使用権のジョブへの割り振りをシステムコントローラ16およびプロセスコントローラ27で制御する。
【0034】
プロセスコントローラ(CPU)27は画像データの流れを制御し、システムコントローラ16はシステム全体を制御し、各リソースの起動を管理する。符号27a,27bは、システムコントローラ27が使用するROM、RAMである。
【0035】
ユーザは、操作パネル24を選択入力することで各種の機能の選択を行ない、コピー機能、FAX機能等の処理内容を設定する。
【0036】
システムコントローラ16とプロセスコントローラ27はパラレルバス14、CDIC13およびシリアルバス25を介して相互に通信を行なう。この際、CDIC13内においては、パラレルバス14とシリアルバス25とのデータインターフェイスのためのデータフォーマット変換を行なう。
【0037】
MLC(Media Link Controller)26は、画像データの符号変換の機能を実現する。具体的にはCDIC13で使用される符号化方式、IMAC19で使用される符号化方式から他の符号化方式への変換(例えば、標準であるJPEG方式等)を行なう。
【0038】
図2〜図4は、それぞれ、CDIC13、IMAC19およびMLC26の構成を示すブロック図である。
【0039】
図2に示すように、CDIC13において、画像データ入出力制御部31はSBU12からの画像データを入力し、IPP15に対して画像データを出力する。画像データ入力制御部32では、IPP15でスキャナ画像補正された画像データが入力される。この入力データは、パラレルバス14での転送効率を高めるためにデータ圧縮部33に於いて、必要に応じてデータ圧縮することができる。このデータはパラレルデータI/F34を介してパラレルバス14へ送出される。パラレルバス14からパラレルデータI/F34を介して入力される画像データは、バス転送のために圧縮されており、データ伸張部35で必要に応じて伸張することができる。伸張された画像データは画像データ出力制御部36によりIPP15へ転送される。データ圧縮部33、データ伸張部35での圧縮伸張に使われる符号化方式として最適なものの一例としては、符号語長が固定の方式が挙げられる。固定長の符号化方式は、符号状態で符号化前の画像の位置がわかるために任意の部分の画像のみを再生することが可能である。また、画像加工や編集性にも適している。
【0040】
CDIC13はパラレルデータとシリアルデータの変換機能を併せ持つ。システムコントローラ16はパラレルバス14にデータを転送し、プロセスコントローラ27はシリアルバス25にデータを転送する。2つのコントローラ16,27間での通信のためにデータ変換部37がデータ変換を行なう。シリアルデータI/F38はIPP15用の分も含めて2系統用意され、IPP15とのインターフェイスともなる。コマンド制御部39は各種コマンドの制御を行なう。
【0041】
図3に示すように、IMAC19は、パラレルデータI/F41において、パラレルバス14との間で画像データのインターフェイスを管理する。IMAC19は、構成的にはMEM20への画像データの格納/読み出しと、主に外部のPC21から入力されるコードデータの画像データへの展開を制御する。ここでいうMEM20の例としては、半導体メモリ、ハードディスク、もしくはその両方である。PC21から入力されたコードデータは、ラインバッファ42において、ローカル領域でのデータの格納を行なう。ラインバッファ42に格納されたコードデータは、システムコントローラI/F43を介して入力されたシステムコントローラ16からの展開処理命令に基づき、ビデオ制御部44において画像データに展開される。展開された画像データもしくはパラレルデータI/F41を介してパラレルバス14から入力された画像データは、MEM20に格納される。この場合、データ変換部45において格納対象となる画像データを選択し、データ圧縮部46においてメモリ使用効率を上げるために、必要に応じてデータ圧縮を行ない、メモリアクセス制御部47にてMEM20のアドレスを管理しながらMEM20に画像データを格納する。MEM20に格納された画像データの読み出しは、メモリアクセス制御部47において読み出し先アドレスを制御し、読み出されたデータは、必要に応じてデータ伸張部48で伸張される。データ圧縮部46、データ伸張部48ででの圧縮伸張に使われる符号化方式の一例としては、MEM20のメモリ領域の節約に適した高能率な符号化方式が挙げられる。これは前述したCDIC13に要求される機能重視の符号化方式と異なり、効率重視の符号化方式である。伸張された画像データをパラレルバス14へ転送する場合、パラレルデータI/F41を介してデータ転送を行なう。
【0042】
図4に示すように、MLC26において、システムコントローラI/F51は、システムコントローラ16からの処理命令に基づき、データアクセス制御部52、データ圧縮手段であるデータ圧縮部53、データ伸張手段であるデータ伸張部54、データ変換部55及び特徴判定手段である特徴量抽出部56の制御を行なう。データアクセス制御部52は、符号変換の対象となるデータをIMAC19、CDIC13との間で入出力する。具体的にはIMAC19経由でMEM20に格納されているデータとの入出力が例として挙げられる。入力されたデータに対しては必要に応じてデータ伸張部54により元の画像データが再現される。再現された画像データに対しては、必要であれば画像処理、変倍等のデータ変換がデータ変換部55で行われる。変換後のデータは出力すべき符号フォーマットを作成するためにデータ圧縮部53にて必要に応じ符号化処理が行われる。新たに作成された符号データはデータアクセス制御部52にて出力される。なお、対象とするデータが符号でない場合にはデータ伸張部54の処理は行われない。逆に、出力すべきデータが符号でない場合には、データ圧縮部53での処理は行われない。なお、MLC26で処理後の符号データは、IMAC19を介してPC21に出力することができる。
【0043】
特徴量抽出部56は、データ伸張部54における画像データの伸張と並行して、もしくは画像データの伸張後に再現される(された)画像データの画像の特徴を判断する。ここで、画像の特徴とは、具体的には、画像が文字画像か、それ以外の画像(絵柄画像等)か、あるいは、画像がカラー画像か、白黒画像か、等である。特徴量抽出部56は、画像のエッジを検出することにより、画像が文字画像か絵柄画像等かを判断することができる。かかる処理については周知であるため、詳細な説明は省略する。
【0044】
再現された画像データに対しては、必要であれば画像処理、変倍等のデータ変換がデータ変換部55で行われる。この変換後のデータは、出力すべき符号フォーマットを作成するためにデータ圧縮部53において圧縮符号化処理が行われる。このデータ変換部55、データ圧縮部53で行なう処理の際、特徴量抽出部56の判断結果が利用される。こうして、新たに作成された符号データは、データアクセス制御部52により出力される。なお、データアクセ制御部52からデータ伸張部54に入力するデータが符号でない場合には、データ伸張部54の処理は行われない(データ伸張部54をバイパスする)。逆に、データアクセス制御部52からMLC26の外部に出力すべきデータが符号でない場合には、データ圧縮部53での処理は行われない(データ圧縮部53をバイパスする)。
【0045】
図5は、データ圧縮部53、データ伸張部54及びデータ変換部55の一例の詳細な機能ブロック図である。前述のように、CDIC13とIMAC19とでは、望ましい符号化方式が異なり、それぞれ、この複写機1に専用の符号化フォーマットが使用されているものとする。そして、CDIC13で使用する符号化フォーマットを専用フォーマット、IMAC19使用する符号化フォーマットを第2の専用フォーマットと、ここでは呼ぶことにする。
【0046】
データ圧縮部53は、各種フォーマットの符号に圧縮する機能を備えている。この例では、専用フォーマットの符号に圧縮する専用圧縮部61、MMR符号(Modified Modified READ Code)に圧縮するMMR圧縮部62及びJPEGフォーマットの符号に圧縮するJPEG圧縮部63を備えている。
【0047】
データ伸張部54は、各種フォーマットの符号を伸張する機能を備えている。この例では、専用フォーマットの符号を伸張する専用伸張部71、MMRフォーマットの符号を伸張するMMR伸張部72及びJPEGフォーマットの符号を伸張するJPEG伸張部73を備えている。
【0048】
データ変換部55は、多値の画像データを2値に変換する多値→2値変換部84、この逆の変換を行なう2値→多値変換部85、多値のカラー画像データを白黒画像データに変換するカラー→白黒変換部86、多値の白黒画像データをカラー画像データに変換する白黒→カラー変換部87等を備えている。
【0049】
これにより、様々なフォーマットの符号データをデータ伸張部54で伸張し、データ変換部55で所定の変換を行なって、データ圧縮部53で所定のフォーマットで符号化することが可能となる。
【0050】
例えば、JPEGフォーマットの符号を専用フォーマットに変換するのであれば、まず、JPEG伸張部73でJPEGフォーマットの符号を伸張する。次に、専用フォーマットが2値画像符号化フォーマットであるなら、多値→2値変換部84で2値画像データに変換する。そして、専用圧縮部61で専用フォーマットに圧縮符号化する。
【0051】
このような構成により、例えば、MEM20に格納されている画像の符号は、データ伸張部48で伸張されているので、そのまま、データ変換部55で変換し、データ圧縮部53のJPEG圧縮部63でJPEGフォーマットに圧縮してやれば、これをPC21に出力することで、PC21では容易に扱える符号データを得ることができるので、PC21のディスプレイ上でもこの画像を見ること等が可能になる。
【0052】
2値画像は多値画像に比べて情報量が少ないため、符号化後の符号量は一般的に多値画像より少ない。しかし、画質の点では多値画像より劣る可能性がある。文字画像と絵柄画像等とを考えた場合に、符号化効率と画質のバランスという点では、文字画像に関しては2値画像符号化方式、絵柄画像等には多値画像符号化方式が適している。そこで、必要に応じて、多値の画像データは多値→2値変換部84で2値に変換し、2値の画像データは2値→多値変換部85で多値に変換したうえで、データ圧縮部53で所定のフォーマットで圧縮符号化することができる。
【0053】
この2値画像と多値画像との関係と同様に、多値画像の場合には、白黒画像とカラー画像との関係が存在する。そして、白黒画像はカラー画像に比べて情報量が少ないため、圧縮符号化後の符号量は一般的にカラー画像より少ない。そして、色の情報があまり重要でない、あるいは、多値画像であるが色情報がない場合には、白黒画像として扱っても画質的には大きな問題はない。そこで、必要に応じて、多値のカラー画像データはカラー→白黒変換部86で白黒画像データに変換し、多値の白黒画像データは白黒→カラー変換部87でカラー画像データに変換したうえで、データ圧縮部53で所定のフォーマットで圧縮符号化することができる。
【0054】
以上のような構成で、システムコントローラ16が行なう処理の内容について説明する。図6に示すように、まず、CDIC13、IMAC19で標準的に使用されている専用フォーマットの画像データが、本デジタル複写機1に最適な独自な方式であっても、ユーザが操作パネル24を操作して、その画像データを外部のPC21等に出力することを要求した場合には(ステップS1のY)、特徴量抽出部56により、画像が文字画像か絵柄画像等かを判断する(ステップS2)。そして、文字画像の場合には(ステップS2のY)、MLC26により、標準的な2値画像符号化方式、例えば、MMR符号に変換し(ステップS3)、それ以外の絵柄画像等である場合には(ステップS2のN)、標準的な多値画像符号化方式、例えば、JPEG符号に変換して(ステップS4)、PC21等、デジタル複写機1の外部に出力する(ステップS5)。
【0055】
具体的には、専用フォーマットをMMR符号に変換する場合は、専用伸張部71で専用フォーマットで符号化された画像データを伸張し、必要に応じて多値→2値変換部84で多値画像データに変換し、MMR圧縮部62でMMRフォーマットにより圧縮符号化する。また、専用フォーマットをJPEG符号に変換する場合は、専用伸張部71で専用フォーマットで符号化された画像データを伸張し、必要に応じて2値→多値変換部85で多値画像データに変換し、JPEG圧縮部63でJPEGフォーマットで符号化する。
【0056】
したがって、デジタル複写機1の内部では当該デジタル複写機1に最適な符号化方式を用い、デジタル複写機1の外部に対しては、汎用性が高く、かつ、符号化効率の良い符号化方式で画像データを出力することができる。
【0057】
また、MLC26による符号変換は、デジタル複写機1の内部での符号変換にも用いられる。すなわち、2値画像は多値画像に比べて情報量が少ないため、符号化後の符号量は一般的に多値画像より少ない。しかし、通常は画質が劣る可能性がある。そこで、文字画像と絵柄画像等とを考えた場合に、符号化効率と画質のバランスという点では、文字画像に関しては2値画像符号化方式、絵柄画像等には多値画像符号化方式が適している。
【0058】
具体的には、読み取りユニット11で読み取った、あるいは、FCU22を介して受信した画像データは、次のように処理される。すなわち、図7に示すように、システムコントローラ16は、MEM20の残存記憶容量又は使用済みの記憶容量を所定の閾値と比較することにより、MEM20の残量を判断し(ステップS11)、第1の比較手段を実現する。この残量が所定の量(第1の値)より少ないと判断したときは(ステップS11のY)、必要に応じて多値→2値変換部84で符号化効率は高いが画質がやや劣る2値画像に変換後、2値画像に適した符号化方式で画像信号を符号化する(例えば、MMR圧縮部62でMMRフォーマットにより圧縮符号化する)(ステップS12)。この残量が所定の量より多いと判断したときは(ステップS11のN)、必要に応じて2値→多値変換部85で符号化効率は低いが画質が良い多値画像に変換後、多値画像に適した符号化方式で画像信号を符号化する(JPEG圧縮部63でJPEGフォーマットにより圧縮符号化する)(ステップS13)。
【0059】
そして、MEM20の残量を第1の値より大きい所定の量(第2の値)と比較して(ステップS14)、第2の比較手段を実現する。この第2の値はMEM20の使用済みの記憶容量がフルの状態にあることを示すもので、第2の値を超えていたときは(ステップS14のY)、MEM20に記憶済みの符号データを、必要に応じて多値→2値変換部84で符号化効率は高いが画質がやや劣る2値画像に変換後、2値画像に適した符号化方式で画像信号を符号化することで、さらにデータ量の少ない符号データに再度変換し(例えば、MMR圧縮部62でMMRフォーマットにより圧縮符号化する)(ステップS15)、MEM20に再度記憶する(ステップS16)。
【0060】
このような処理によれば、MEM20の使用可能な記憶容量の大きさに応じて最適な符号化方式を選択できる。また、記憶領域が一杯になるまでは最高の画質で保存可能な符号化方式を選択し、記憶領域が一杯になった場合には、より記憶容量の少ない符号化方式に符号を変換して蓄積するので、記憶領域から符号を削除することなく、MEM20に空き領域を作成できる。
【0061】
また、2値画像と多値画像との関係と同様に、多値画像の場合には白黒画像とカラー画像との関係が存在するため、これを利用することも可能である。すなわち、白黒画像はカラー画像に比べて情報量が少ないため、符号化後の符号量は一般的にカラー画像より少ない。色の情報があまり重要でない、もしくは、多値画像であるが色情報がない場合には、白黒画像として扱っても画質的には大きな問題はない。
【0062】
そこで、図7の処理に代えて図8の処理を行ってもよい。すなわち、システムコントローラ16は、MEM20の残存記憶容量又は使用済みの記憶容量を所定の閾値と比較することにより、MEM20の残量を判断し(ステップS21)、第1の比較手段を実現する。この残量が所定の量(第1の値)より多いと判断したときは(ステップS21のY)、必要に応じてカラー→白黒変換部86により符号化効率は高いが画質がやや劣る白黒画像に変換後、白黒画像に適した符号化方式で画像信号を符号化する(ステップS22)。MEM20の残量が第1の値より少ないと判断したときは(ステップS21のN)、必要に応じて白黒→カラー変換部87により符号化効率は低いが画質が良いカラー画像に変換後、カラー画像に適した符号化方式で画像信号を符号化することができる(ステップS23)。
【0063】
そして、MEM20の残量を第1の値より大きい所定の量(第2の値)と比較して(ステップS24)、第2の比較手段を実現する。この第2の値もMEM20の使用済みの記憶容量がフルの状態にあることを示すもので、第2の値を超えていたときは(ステップS24のY)、MEM20に記憶済みの符号データを、白黒画像に適した符号化方式で符号化することで(ステップS25)、さらにデータ量の少ない符号データに変換し(ステップS15)、MEM20に再度記憶する。
【0064】
なお、使用する符号化方式の例としては、2値画像に適した符号化方式としては、MMR方式のほかにも同じくファクシミリで使用されているMH方式、MR方式などを、多値画像に適した符号化方式としては、JPEG方式のほかにもJPEG2000方式などを挙げることができる。なお、JPEG方式、JPEG2000方式は白黒画像およびカラー画像の両者に適している。
【0065】
[発明の実施の形態2]
別の実施の形態を発明の実施の形態2として説明する。
【0066】
図9は、本発明の画像読取装置を実施した画像読取装置91の電気的な接続を示すブロック図である。図9において、図1以下と同様の符号は前述の実施の形態1と同様の構成要素であるため、詳細な説明は省略する。この画像読取装置91が、複写機1と大きく異なる点は、作像ユニット18が無いことである。作像ユニット18が不要なのでVDC17も装着されない。
【0067】
読み取りユニット11において読み込まれた画像データは、SBU12においてデジタル化され、CDIC13を介してIPP15に転送された後、所定の画像処理を行なう。これは、読み取り画像の劣化補正がメインになるが、画面を使った表示装置に適する階調処理も行なう。複写機1のような転写紙を対象とした画質処理とは異なる処理が多い。この際IPP15をプログラマブルな演算処理装置で構成する事で、転写紙への画質処理、画面への階調処理に関し、必要な処理手順のみを設定すればよく、画質処理の手順と階調処理の手順を常に両方持ち合わせる必要はないという構成も可能である。
【0068】
階調処理後の画像データはCDIC13へ転送され、パラレルバス14を経由してIMAC19に送られる。バッファメモリとしてMEM20を使用し、PC21に付属するドライバに対し画像データを転送することで、スキャナ機能を実現する。複写機1と同様、システムコントローラ16とプロセスコントローラ27により画像データおよびシステムのリソース管理を行なう。
【0069】
【発明の効果】
請求項1に記載の発明は、特定のフォーマットで符号化された符号データを、画像の特徴に応じた適切な符号化方式に変換して、それを外部機器等で利用することができる。
【0070】
請求項2に記載の発明は、請求項1に記載の発明において、特定のフォーマットで符号化された符号データを、画像が文字画像か文字画像以外の画像かに応じて適切なフォーマットの符号データに変換して、それを外部機器等で利用することができる。
【0071】
請求項3に記載の発明は、請求項1又は2に記載の発明において、記憶装置の残り記憶容量の多寡により、データ量の少ないフォーマット、又は、データ量が多くても画質の良いフォーマットを選択して、適切なフォーマットの符号に変換することができる。
【0072】
請求項4に記載の発明は、請求項3に記載の発明において、記憶装置の残り記憶容量の多寡により、データ量の少ない2値画像に適する符号化方式、又は、データ量が多くても画質の良い多値画像に適する符号化方式を選択して、適切なフォーマットの符号に変換することができる。
【0073】
請求項5に記載の発明は、請求項3に記載の発明において、記憶装置の残り記憶容量の多寡により、データ量の少ない白黒画像に適する符号化方式、又は、データ量が多くても画質の良いカラー画像に適する符号化方式を選択して、適切なフォーマットの符号に変換することができる。
【0074】
請求項6に記載の発明は、請求項3に記載の発明において、記憶装置の残り記憶容量がなくなった又はわずかになった場合に、記憶済みの符号データをさらにデータ量を削減できる符号データに変換して再度記憶するので、記憶装置の残り記憶容量を確保することができる。
【0075】
請求項7,8に記載の発明は、請求項1〜6の何れかの一に記載の発明と同様の効果を奏することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1であるデジタル複写機の全体構成を示すブロック図である。
【図2】CDICの全体構成を示すブロック図である。
【図3】IMACの全体構成を示すブロック図である。
【図4】MLCの全体構成を示すブロック図である。
【図5】MLCのデータ圧縮部、データ伸長部、データ変換部の詳細な構成を示すブロック図である。
【図6】デジタル複写機が実行する処理のフローチャートである。
【図7】デジタル複写機が実行する他の処理のフローチャートである。
【図8】デジタル複写機が実行する他の処理のフローチャートである。
【図9】本発明の実施の形態2である画像読取装置の全体構成を示すブロック図である。
【符号の説明】
1   画像形成装置
18  プリンタエンジン
20  記憶装置
53  圧縮手段
54  伸張手段
91  画像読取装置
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing device, an image reading device, and an image forming device.
[0002]
[Prior art]
Patent Literature 1 discloses an image processing apparatus that optimizes image processing of a read signal, image storage in a memory, parallel operation of a plurality of functions, and each image processing in a so-called multifunction peripheral.
[0003]
[Patent Document 1] JP-A-8-274986 [Problems to be Solved by the Invention]
2. Description of the Related Art In a digital device handling an image, a resolution is increased, a number of gradations is increased, and the like for higher image quality. Then, since the information amount of the image data increases, the image quality improves, but the information amount of the image increases. Therefore, as one of the methods for solving the large data amount, a method of efficiently encoding a multi-tone image can be considered.
[0004]
For encoding such image data, a method suitable for a system using the image data is desired. For example, in a digital copying machine or a so-called multifunction peripheral, generally, a function of enabling rotation as code data, editing as code data, and an encoding method capable of high-speed compression and decompression are generally required.
[0005]
The encoding method is preferably a standard method from the viewpoint of data interchangeability, but there is no standard method that is optimal for such characteristics. The fact is that the JPEG system and the JPEG2000 system are not optimal. For this reason, devices such as digital copiers often employ a unique encoding method suited to the characteristics of the device.
[0006]
However, when these unique encoding methods are used, the code data is not versatile, and therefore, outside of these devices (for example, a computer connected to these devices), the code data can be easily transmitted. There is a problem that it can not be used.
[0007]
Further, there is a disadvantage that an appropriate encoding method according to the characteristics of the image, such as whether the image is a character image or a picture image, cannot be easily used.
[0008]
An object of the present invention is to use a unique encoding method or the like in an image device or the like, and to convert the target code data into code data in a format that can be used by an external device or the like according to the characteristics of the image. The purpose is to convert to an appropriate encoding method and use it in an external device or the like.
[0009]
[Means for Solving the Problems]
According to the first aspect of the present invention, there is provided a decompression unit for decompressing encoded data obtained by compressing and encoding image data in a predetermined format, a characteristic determination unit for determining a predetermined characteristic of an image from the decompressed image data, A compression unit that selects one of a plurality of types of formats for the decompressed image data in accordance with the determination and re-compresses the encoded data.
[0010]
Therefore, it is possible to convert the coded data coded in the specific format into an appropriate coding method according to the characteristics of the image, and use it in an external device or the like.
[0011]
Note that the features of the image include various features such as whether the image is a character image, a pattern image, a monochrome image, a color image, and the like.
[0012]
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the feature determination unit determines whether the image is a character image or an image other than a character image as the feature.
[0013]
Therefore, code data encoded in a specific format can be converted into code data in an appropriate format depending on whether the image is a character image or an image other than a character image, and the converted code data can be used in an external device or the like. .
[0014]
According to a third aspect of the present invention, in the image processing device according to the first or second aspect, a storage device that stores the code data and a remaining storage capacity of the storage device are compared with a predetermined first value. And a first comparing unit, wherein the compressing unit performs the second compression encoding according to the result of the comparison regardless of the determination result of the feature determining unit.
[0015]
Therefore, depending on the remaining storage capacity of the storage device, it is possible to select a format with a small amount of data or a format with good image quality even with a large amount of data and convert it to a code of an appropriate format.
[0016]
According to a fourth aspect of the present invention, in the image processing apparatus according to the third aspect, the compression unit determines whether the storage capacity is larger than the first value or smaller when the storage capacity is smaller than the first value. The latter is more suitable for multi-valued images than the latter, and the latter is converted to a multi-valued image or a binary image as required by a coding method more suitable for the binary image than the former, and then the compression encoding is performed again. Perform
[0017]
Therefore, depending on the remaining storage capacity of the storage device, an encoding method suitable for a binary image having a small data amount or an encoding method suitable for a multi-valued image having a high image quality even with a large data amount is selected. Can be converted to codes of various formats.
[0018]
According to a fifth aspect of the present invention, in the image processing apparatus according to the third aspect, the compression unit determines whether the storage capacity is larger or smaller than the first value as a result of the comparison. According to an encoding method suitable for a color image than for the latter, and for the latter, which is more suitable for a black-and-white image than the former, the image is converted into a color image or a black-and-white image as necessary, and then the above-mentioned compression encoding is performed again.
[0019]
Therefore, depending on the remaining storage capacity of the storage device, an encoding method suitable for a black-and-white image with a small data amount or an encoding method suitable for a color image with a high image quality even with a large data amount is selected and an appropriate format is selected. Can be converted.
[0020]
According to a sixth aspect of the present invention, in the image processing apparatus of the third aspect, the image processing apparatus further includes a second comparing unit that compares the storage capacity with a predetermined second value larger than the first value. Means for, if the storage capacity is larger than the second value as a result of the comparison by the second comparing means, further reducing the data amount of the code data stored in the storage device compared to the code data; The compression encoding is performed again in a format that can be performed, and the storage device stores the encoded data after the compression encoding again.
[0021]
Therefore, when the remaining storage capacity of the storage device is exhausted or becomes small, the stored code data is converted into code data capable of further reducing the data amount and stored again, so that the remaining storage capacity of the storage device is secured. can do.
[0022]
According to a seventh aspect of the present invention, there is provided a photoelectric conversion element for reading an image of a document, a storage device for storing the read image data of the document, and image data input / output to / from the storage device as at least a part of a processing target. An image reading apparatus comprising: the image processing apparatus according to claim 1.
[0023]
Therefore, the same operation and effect as the invention according to any one of claims 1 to 6 can be obtained.
[0024]
According to an eighth aspect of the present invention, there is provided the image reading apparatus according to the seventh aspect, and a printer engine for forming an image on a sheet by using image data of a document read by the photoelectric conversion element. Image forming apparatus.
[0025]
Therefore, in the image reading device, the same operation and effect as the invention according to any one of the first to sixth aspects can be obtained.
[0026]
BEST MODE FOR CARRYING OUT THE INVENTION
[First Embodiment of the Invention]
An embodiment of the present invention will be described.
[0027]
FIG. 1 is a block diagram showing an electrical connection of a copying machine 1 in which an image forming apparatus according to the present invention is implemented. A reading unit 11, which is a scanner for optically reading a document, condenses reflected light of lamp irradiation on the document to a photoelectric conversion element such as a CCD (charge coupled device) by an optical system including a mirror and a lens. The photoelectric conversion element is mounted on an SBU (sensor board unit) 12, and the image signal converted into an electric signal by the light receiving element is converted into a digital image signal, and then output from the SBU 12. The image signal output from the SBU 12 is input to a CDIC (compression / decompression and data interface control unit) 13. The transmission of image data between the functional device and the data bus is entirely controlled by the CDIC 13. The CDIC 13 performs image data transfer between the SBU 12, the parallel bus 14, and an IPP (image processing processor) 15, and communication between a system controller (CPU) 16 that controls the entire system and a process controller 27 for image data. Reference numerals 16a and 16b denote ROM and RAM used by the system controller 16. The image signals from the SBUs 12 are transferred to the IPP 15 via the CDIC 13, where the signal deterioration due to the quantization into the optical system and the digital image signal (referred to as the signal deterioration of the scanner system) is corrected and output to the CDIC 13 again. Is done.
[0028]
In the copying machine 1, there are a job for storing the image read by the reading unit 11 in the memory for reuse, and a job for not storing the image in the memory. Each case will be described below. As an example of storing the data in the memory, when a plurality of copies of the same document are copied, the reading unit 11 reads the document only once, stores the document in the memory, and reads the stored data a plurality of times. As an example in which no memory is used, when only one document is copied, the read image may be printed as it is, so that it is not necessary to access the memory.
[0029]
First, when the memory is not used, the image data transferred from the IPP 15 to the CDIC 13 is returned from the CDIC 13 to the IPP 15 again. In the IPP 15, an image quality process for converting the luminance data by the light receiving element into the area gradation is performed. The image data after the image quality processing is transferred from the IPP 15 to the VDC (video data control) 17. Then, the post-processing relating to the dot arrangement and the pulse control for reproducing the dots are performed on the signal changed to the area gradation, and the image forming unit 18 which is a printer engine for forming an image by an electrophotographic method is formed on transfer paper. Form a reproduced image. As a printing method of the image forming unit 18, various methods such as an ink jet method, a sublimation type thermal transfer method, a silver halide photographic method, a direct thermal recording method, and a fusion type thermal transfer method can be used in addition to the electrophotographic method.
[0030]
The flow of image data in the case where image data is stored in a memory and additional processing such as rotation in the image direction and image synthesis are performed at the time of reading the image data will be described. The image data transferred from the IPP 15 to the CDIC 13 is sent from the CDIC 13 to the IMAC 19 (image memory access control) 19 via the parallel bus 14. The IMAC 19 controls access of image data to a MEM (memory module) 20 as a storage device, expands print data to an external PC (personal computer) 21 based on the control of the system controller 16, and effectively uses the memory of the MEM 20. Compression / expansion of image data for the purpose. The image data sent to the IMAC 19 is stored in the MEM 20 after data compression, and the stored data is read out as needed. The read image data is expanded and returned to the original image data, and returned from the IMAC 19 to the CDIC 13 via the parallel bus.
[0031]
After the transfer from the CDIC 13 to the IPP 15, the image data is subjected to image quality processing and pulse control by the VDC 17, and the image data is used to form an image on transfer paper in the image forming unit 18.
[0032]
The digital copying machine 1 is a so-called multifunction machine, and has a facsimile transmission function. The FAX transmission function performs image processing on the read image data by the IPP 15 and transfers the read image data to the FCU (FAX control unit) 22 via the CDIC 13 and the parallel bus 14. The FCU 22 performs data conversion to a communication network and transmits the data to a PN (public line) 23 as FAX data. For FAX reception, the line data from the PN 23 is converted into image data by the FCU 22 and transferred to the IPP 15 via the parallel bus 14 and the CDIC 13. In this case, the VDC 17 performs dot rearrangement and pulse control without performing any special image quality processing, and the image forming unit 18 forms a reproduced image on transfer paper.
[0033]
In a situation where a plurality of jobs, for example, a copy function, a facsimile transmission / reception function, and a printer output function operate in parallel, the allocation of the right to use the reading unit, the imaging unit, and the parallel bus 14 to the job is performed by the system controller 16 and the process controller 27. To control.
[0034]
A process controller (CPU) 27 controls the flow of image data, and a system controller 16 controls the entire system and manages activation of each resource. Reference numerals 27a and 27b denote ROM and RAM used by the system controller 27.
[0035]
The user selects various functions by selecting and inputting the operation panel 24, and sets processing contents such as a copy function and a FAX function.
[0036]
The system controller 16 and the process controller 27 communicate with each other via the parallel bus 14, the CDIC 13, and the serial bus 25. At this time, in the CDIC 13, data format conversion for a data interface between the parallel bus 14 and the serial bus 25 is performed.
[0037]
An MLC (Media Link Controller) 26 realizes a function of code conversion of image data. Specifically, the conversion from the coding method used in the CDIC 13 and the coding method used in the IMAC 19 to another coding method (for example, a standard JPEG method) is performed.
[0038]
2 to 4 are block diagrams showing the configurations of the CDIC 13, the IMAC 19, and the MLC 26, respectively.
[0039]
As shown in FIG. 2, in the CDIC 13, the image data input / output control unit 31 inputs the image data from the SBU 12 and outputs the image data to the IPP 15. The image data input control unit 32 receives the image data corrected by the scanner image in the IPP 15. The input data can be data-compressed by the data compression unit 33 as needed to increase the transfer efficiency of the parallel bus 14. This data is sent to the parallel bus 14 via the parallel data I / F 34. Image data input from the parallel bus 14 via the parallel data I / F 34 is compressed for bus transfer, and can be expanded by the data expansion unit 35 as needed. The decompressed image data is transferred to the IPP 15 by the image data output control unit 36. As an example of the most suitable encoding method used for compression and decompression in the data compression unit 33 and the data decompression unit 35, there is a method in which the codeword length is fixed. The fixed-length coding method can reproduce only an arbitrary part of the image because the position of the image before coding is known in the code state. It is also suitable for image processing and editing.
[0040]
The CDIC 13 has a function of converting parallel data and serial data. The system controller 16 transfers data to the parallel bus 14, and the process controller 27 transfers data to the serial bus 25. The data conversion unit 37 performs data conversion for communication between the two controllers 16 and 27. The serial data I / F 38 is prepared in two systems including the one for the IPP 15, and also serves as an interface with the IPP 15. The command control unit 39 controls various commands.
[0041]
As shown in FIG. 3, the IMAC 19 manages an interface of image data with the parallel bus 14 in the parallel data I / F 41. The IMAC 19 controls storage / reading of image data to / from the MEM 20 and expansion of code data mainly input from the external PC 21 into image data. Examples of the MEM 20 here are a semiconductor memory, a hard disk, or both. The code data input from the PC 21 is stored in the line buffer 42 in the local area. The code data stored in the line buffer 42 is developed into image data in the video control unit 44 based on a development processing command from the system controller 16 input via the system controller I / F 43. The expanded image data or the image data input from the parallel bus 14 via the parallel data I / F 41 is stored in the MEM 20. In this case, the image data to be stored is selected in the data conversion unit 45, data compression is performed as necessary in the data compression unit 46 in order to increase the memory use efficiency, and the address of the MEM 20 is stored in the memory access control unit 47. While storing the image data in the MEM 20. When reading the image data stored in the MEM 20, the memory access control unit 47 controls the read destination address, and the read data is expanded by the data expansion unit 48 as necessary. As an example of an encoding method used for compression and decompression in the data compression unit 46 and the data decompression unit 48, a highly efficient encoding method suitable for saving the memory area of the MEM 20 can be mentioned. This is an encoding scheme that emphasizes efficiency, unlike the encoding scheme that emphasizes functions required for the CDIC 13 described above. When transferring the expanded image data to the parallel bus 14, the data transfer is performed via the parallel data I / F 41.
[0042]
As shown in FIG. 4, in the MLC 26, a system controller I / F 51 includes a data access control unit 52, a data compression unit 53 as a data compression unit, and a data decompression unit as a data decompression unit based on a processing command from the system controller 16. It controls the unit 54, the data conversion unit 55, and the feature amount extraction unit 56 which is a feature determination unit. The data access control unit 52 inputs and outputs data to be code-converted between the IMAC 19 and the CDIC 13. Specifically, input / output with data stored in the MEM 20 via the IMAC 19 is given as an example. For the input data, the original image data is reproduced by the data decompression unit 54 as necessary. The data conversion unit 55 performs data conversion such as image processing and scaling if necessary on the reproduced image data. The converted data is subjected to an encoding process as necessary in the data compression unit 53 to create a code format to be output. The newly created code data is output by the data access control unit 52. If the target data is not a code, the process of the data decompression unit 54 is not performed. Conversely, if the data to be output is not a code, the processing in the data compression unit 53 is not performed. The code data processed by the MLC 26 can be output to the PC 21 via the IMAC 19.
[0043]
The feature amount extraction unit 56 determines the feature of the image of the image data reproduced (executed) in parallel with the expansion of the image data in the data expansion unit 54 or after the expansion of the image data. Here, the feature of the image is, specifically, whether the image is a character image, another image (a pattern image or the like), or whether the image is a color image, a monochrome image, or the like. The feature amount extraction unit 56 can determine whether the image is a character image or a picture image by detecting the edge of the image. Since such processing is well known, a detailed description is omitted.
[0044]
The data conversion unit 55 performs data conversion such as image processing and scaling if necessary on the reproduced image data. The converted data is subjected to a compression encoding process in the data compression unit 53 to create a code format to be output. At the time of processing performed by the data conversion unit 55 and the data compression unit 53, the determination result of the feature amount extraction unit 56 is used. The newly created code data is output by the data access control unit 52 in this manner. If the data input from the data access control unit 52 to the data decompression unit 54 is not a code, the process of the data decompression unit 54 is not performed (bypass the data decompression unit 54). Conversely, when the data to be output from the data access control unit 52 to the outside of the MLC 26 is not a code, the processing in the data compression unit 53 is not performed (bypasses the data compression unit 53).
[0045]
FIG. 5 is a detailed functional block diagram of an example of the data compression unit 53, the data expansion unit 54, and the data conversion unit 55. As described above, the CDIC 13 and the IMAC 19 have different desirable coding methods, and it is assumed that each of the copying machines 1 uses a dedicated coding format. The encoding format used by the CDIC 13 is called a dedicated format, and the encoding format used by the IMAC 19 is called a second dedicated format.
[0046]
The data compression section 53 has a function of compressing into codes of various formats. In this example, a dedicated compression unit 61 for compressing to a code of a dedicated format, an MMR compression unit 62 for compressing to an MMR code (Modified Modified READ Code), and a JPEG compression unit 63 for compressing to a code of JPEG format are provided.
[0047]
The data decompression unit 54 has a function of decompressing codes of various formats. In this example, a dedicated expansion unit 71 for expanding the code of the dedicated format, an MMR expansion unit 72 for expanding the code of the MMR format, and a JPEG expansion unit 73 for expanding the code of the JPEG format are provided.
[0048]
The data conversion unit 55 converts a multi-valued image data into a binary image, converts the multi-valued image data into a binary image, converts the multi-valued color image data into a black-and-white image, A color-to-black and white conversion unit 86 for converting data into data, a black-and-white conversion unit 87 for converting multi-valued black-and-white image data into color image data, and the like are provided.
[0049]
This makes it possible to decompress code data of various formats by the data decompression unit 54, perform predetermined conversion by the data conversion unit 55, and encode by the data compression unit 53 in a predetermined format.
[0050]
For example, if a code in the JPEG format is to be converted into a special format, the code in the JPEG format is first expanded by the JPEG expansion unit 73. Next, if the dedicated format is a binary image encoding format, the multi-value → binary conversion unit 84 converts the format into binary image data. Then, the dedicated compression section 61 performs compression encoding in a dedicated format.
[0051]
With such a configuration, for example, the code of the image stored in the MEM 20 is decompressed by the data decompression unit 48, and thus is converted by the data conversion unit 55 as it is, and is converted by the JPEG compression unit 63 of the data compression unit 53. If the data is compressed to the JPEG format and output to the PC 21, code data that can be easily handled by the PC 21 can be obtained, so that this image can be viewed on the display of the PC 21.
[0052]
Since the binary image has a smaller amount of information than the multi-valued image, the code amount after encoding is generally smaller than that of the multi-valued image. However, there is a possibility that the image quality is inferior to the multi-valued image. When considering a character image and a picture image, a binary image coding method is suitable for a character image, and a multi-value image coding method is suitable for a picture image in terms of a balance between coding efficiency and image quality. . Therefore, if necessary, the multi-valued image data is converted to binary by a multi-valued-to-binary conversion unit 84, and the binary image data is converted to multi-valued by a binary-to-multi-value conversion unit 85. The data compression unit 53 can perform compression encoding in a predetermined format.
[0053]
Similar to the relationship between the binary image and the multi-valued image, in the case of the multi-valued image, there is a relationship between the monochrome image and the color image. Since a black-and-white image has a smaller amount of information than a color image, the code amount after compression encoding is generally smaller than that of a color image. If the color information is not so important, or if the image is a multi-valued image but has no color information, there is no major problem in terms of image quality even if it is handled as a monochrome image. Therefore, if necessary, the multi-valued color image data is converted to black-and-white image data by a color-to-black-and-white conversion unit 86, and the multi-valued black-and-white image data is converted to color image data by a black-and-white-to-color conversion unit 87. The data compression unit 53 can perform compression encoding in a predetermined format.
[0054]
The contents of the processing performed by the system controller 16 with the above configuration will be described. As shown in FIG. 6, the user operates the operation panel 24 even if the image data in the dedicated format that is standardly used in the CDIC 13 and the IMAC 19 is a unique system that is optimal for the digital copying machine 1. Then, when it is requested to output the image data to the external PC 21 or the like (Y in step S1), the feature amount extracting unit 56 determines whether the image is a character image or a picture image (step S2). ). In the case of a character image (Y in step S2), the image is converted into a standard binary image encoding method, for example, an MMR code by the MLC 26 (step S3). (N in step S2), the data is converted into a standard multi-valued image coding method, for example, a JPEG code (step S4), and output to the PC 21 or the like outside the digital copying machine 1 (step S5).
[0055]
More specifically, when converting the dedicated format into the MMR code, the dedicated decompressing unit 71 decompresses the image data encoded in the dedicated format, and if necessary, the multi-valued to binary conversion unit 84 The data is converted into data, and the MMR compression unit 62 performs compression encoding in the MMR format. When the dedicated format is converted to JPEG code, the image data encoded in the special format is expanded by the special expansion unit 71 and converted into multi-value image data by the binary-to-multi-value conversion unit 85 as necessary. Then, the data is encoded by the JPEG compression unit 63 in the JPEG format.
[0056]
Therefore, an encoding method most suitable for the digital copying machine 1 is used inside the digital copying machine 1, and a coding method having high versatility and high encoding efficiency is used outside the digital copying machine 1. Image data can be output.
[0057]
The code conversion by the MLC 26 is also used for code conversion inside the digital copying machine 1. That is, since the binary image has a smaller amount of information than the multi-valued image, the code amount after encoding is generally smaller than that of the multi-valued image. However, the image quality may usually be poor. Therefore, when considering a character image and a picture image, a binary image coding method is suitable for a character image, and a multi-value image coding method is suitable for a picture image in terms of a balance between coding efficiency and image quality. ing.
[0058]
Specifically, image data read by the reading unit 11 or received via the FCU 22 is processed as follows. That is, as shown in FIG. 7, the system controller 16 determines the remaining amount of the MEM 20 by comparing the remaining storage capacity or the used storage capacity of the MEM 20 with a predetermined threshold (step S11). Implement comparison means. When it is determined that the remaining amount is smaller than the predetermined amount (first value) (Y in step S11), the encoding efficiency is high but the image quality is slightly inferior as needed by the multi-value → binary conversion unit 84. After the conversion to the binary image, the image signal is encoded by an encoding method suitable for the binary image (for example, compression encoding is performed by the MMR compression unit 62 in the MMR format) (step S12). When it is determined that the remaining amount is larger than the predetermined amount (N in step S11), if necessary, the binary-to-multi-value conversion unit 85 converts the coding efficiency into a multi-value image with low encoding efficiency but good image quality. The image signal is encoded by an encoding method suitable for the multi-valued image (compression encoding is performed in the JPEG format by the JPEG compression unit 63) (step S13).
[0059]
Then, the remaining amount of the MEM 20 is compared with a predetermined amount (second value) larger than the first value (step S14) to implement a second comparing unit. The second value indicates that the used storage capacity of the MEM 20 is in a full state. If the second storage value exceeds the second value (Y in step S14), the code data stored in the MEM 20 is deleted. If necessary, the multi-level-to-binary conversion unit 84 converts the image signal into a binary image having high encoding efficiency but slightly inferior image quality, and then encoding the image signal using an encoding method suitable for the binary image. Further, the data is converted again into code data having a smaller data amount (for example, compression encoding is performed in the MMR format by the MMR compression unit 62) (step S15), and stored in the MEM 20 again (step S16).
[0060]
According to such processing, an optimal encoding method can be selected according to the amount of usable storage capacity of the MEM 20. Also, select an encoding method that can be stored with the highest image quality until the storage area is full, and if the storage area is full, convert the code to an encoding method with smaller storage capacity and store it Therefore, a free area can be created in the MEM 20 without deleting codes from the storage area.
[0061]
Similarly to the relationship between a binary image and a multi-valued image, in the case of a multi-valued image, there is a relationship between a black-and-white image and a color image, and this can be used. That is, since a black-and-white image has a smaller amount of information than a color image, the code amount after encoding is generally smaller than that of a color image. If the color information is not so important, or if the image is a multi-valued image but has no color information, there is no major problem in terms of image quality even if it is handled as a monochrome image.
[0062]
Therefore, the processing in FIG. 8 may be performed instead of the processing in FIG. That is, the system controller 16 determines the remaining amount of the MEM 20 by comparing the remaining storage capacity or the used storage capacity of the MEM 20 with a predetermined threshold (step S21), and implements a first comparing unit. If it is determined that the remaining amount is larger than the predetermined amount (first value) (Y in step S21), a color-to-black-and-white conversion unit 86 may perform a black-and-white image having high encoding efficiency but slightly inferior image quality as necessary. After the conversion, the image signal is encoded by an encoding method suitable for a monochrome image (step S22). If it is determined that the remaining amount of the MEM 20 is smaller than the first value (N in step S21), the color conversion unit 87 converts the color image into a color image with low encoding efficiency but good image quality as needed, if necessary. The image signal can be encoded by an encoding method suitable for the image (step S23).
[0063]
Then, the remaining amount of the MEM 20 is compared with a predetermined amount (second value) larger than the first value (step S24) to implement a second comparing unit. This second value also indicates that the used storage capacity of the MEM 20 is in a full state. When the second value exceeds the second value (Y in step S24), the code data stored in the MEM 20 is deleted. Then, the image data is encoded by an encoding method suitable for a black-and-white image (step S25), and is further converted into encoded data having a smaller data amount (step S15), and stored in the MEM 20 again.
[0064]
As an example of an encoding method used, as an encoding method suitable for a binary image, in addition to the MMR method, an MH method, an MR method, etc., which are also used in facsimile, are suitable for a multi-valued image. Examples of the encoding method include a JPEG2000 method in addition to the JPEG method. Note that the JPEG system and the JPEG2000 system are suitable for both monochrome images and color images.
[0065]
[Embodiment 2]
Another embodiment will be described as a second embodiment of the present invention.
[0066]
FIG. 9 is a block diagram showing the electrical connection of the image reading device 91 that implements the image reading device of the present invention. In FIG. 9, the same reference numerals as those in FIG. 1 and the following denote the same components as those in the first embodiment, and a detailed description thereof will be omitted. This image reading device 91 is greatly different from the copying machine 1 in that the image reading unit 91 is not provided. Since the image forming unit 18 is unnecessary, the VDC 17 is not mounted.
[0067]
The image data read by the reading unit 11 is digitized by the SBU 12, transferred to the IPP 15 via the CDIC 13, and then subjected to predetermined image processing. This mainly performs deterioration correction of a read image, but also performs gradation processing suitable for a display device using a screen. There are many processes different from the image quality process for transfer paper such as the copying machine 1. At this time, by configuring the IPP 15 with a programmable arithmetic processing unit, only necessary processing procedures need to be set for image quality processing on transfer paper and gradation processing on the screen. A configuration is also possible in which it is not necessary to always have both procedures.
[0068]
The image data after the gradation processing is transferred to the CDIC 13 and sent to the IMAC 19 via the parallel bus 14. The scanner function is realized by using the MEM 20 as a buffer memory and transferring image data to a driver attached to the PC 21. As with the copying machine 1, the system controller 16 and the process controller 27 manage image data and system resources.
[0069]
【The invention's effect】
According to the first aspect of the present invention, it is possible to convert code data encoded in a specific format into an appropriate encoding method according to the characteristics of an image, and use the converted data in an external device or the like.
[0070]
According to a second aspect of the present invention, in the first aspect of the invention, code data encoded in a specific format is converted into code data in an appropriate format depending on whether the image is a character image or an image other than a character image. And can be used by an external device or the like.
[0071]
According to a third aspect of the present invention, in the first or second aspect, a format with a small data amount or a format with good image quality even with a large data amount is selected depending on the remaining storage capacity of the storage device. Then, it can be converted into a code of an appropriate format.
[0072]
According to a fourth aspect of the present invention, in accordance with the third aspect of the present invention, an encoding method suitable for a binary image having a small data amount or an image quality even when the data amount is large depends on the remaining storage capacity of the storage device. It is possible to select a coding method suitable for a multi-valued image with good quality and convert it to a code of an appropriate format.
[0073]
According to a fifth aspect of the present invention, in the third aspect of the present invention, an encoding method suitable for a black-and-white image having a small data amount or an image quality having a large An encoding method suitable for a good color image can be selected and converted to a code of an appropriate format.
[0074]
According to a sixth aspect of the present invention, in the third aspect of the invention, when the remaining storage capacity of the storage device is exhausted or becomes small, the stored code data is converted into code data that can further reduce the data amount. Since the data is converted and stored again, the remaining storage capacity of the storage device can be secured.
[0075]
The inventions according to claims 7 and 8 can provide the same effects as the invention according to any one of claims 1 to 6.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an overall configuration of a digital copying machine according to a first embodiment of the present invention.
FIG. 2 is a block diagram showing the overall configuration of a CDIC.
FIG. 3 is a block diagram showing an overall configuration of the IMAC.
FIG. 4 is a block diagram illustrating an overall configuration of the MLC.
FIG. 5 is a block diagram illustrating a detailed configuration of a data compression unit, a data decompression unit, and a data conversion unit of the MLC.
FIG. 6 is a flowchart of a process executed by the digital copying machine.
FIG. 7 is a flowchart of another process executed by the digital copying machine.
FIG. 8 is a flowchart of another process executed by the digital copying machine.
FIG. 9 is a block diagram illustrating an overall configuration of an image reading apparatus according to a second embodiment of the present invention;
[Explanation of symbols]
1 image forming apparatus 18 printer engine 20 storage device 53 compression means 54 decompression means 91 image reading device

Claims (8)

画像データを所定のフォーマットで圧縮符号化した符号データを伸張する伸張手段と、
前記伸張後の画像データから画像の所定の特徴を判定する特徴判定手段と、
この判定に応じて前記伸張後の画像データについて複数種類のフォーマットのうちの何れかを選択して再度圧縮符号化する圧縮手段と、
を備えている画像処理装置。
Decompression means for decompressing code data obtained by compressing and encoding image data in a predetermined format,
Feature determining means for determining a predetermined feature of the image from the expanded image data,
Compression means for selecting any one of a plurality of types of formats for the decompressed image data in accordance with this determination and compressing and encoding the image data again;
An image processing apparatus comprising:
前記特徴判定手段は、前記特徴として前記画像が文字画像か文字画像以外の画像かを判定する、請求項1に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the characteristic determination unit determines whether the image is a character image or an image other than a character image as the characteristic. 前記符号データを記憶する記憶装置と、
この記憶装置の残りの記憶容量を所定の第1の値と比較する第1の比較手段と、
を備え、
前記圧縮手段は、前記特徴判定手段の判定結果にかかわらず、前記比較の結果に応じて前記再度の圧縮符号化を行なう、
請求項1又は2に記載の画像処理装置。
A storage device for storing the code data,
First comparing means for comparing the remaining storage capacity of the storage device with a predetermined first value;
With
Irrespective of the determination result of the feature determination unit, the compression unit performs the compression encoding again according to the result of the comparison,
The image processing device according to claim 1.
前記圧縮手段は、前記比較の結果で前記記憶容量が前記第1の値より大きいときと小さいときとでは、前者の方が後者より多値画像に適し、後者の方が前者より2値画像に適する符号化方式により、それぞれ多値画像又は2値画像に必要に応じて変換した上で、前記再度の圧縮符号化を行なう、
請求項3に記載の画像処理装置。
When the storage capacity is larger or smaller than the first value as a result of the comparison, the compression unit is more suitable for a multi-valued image than the former, and the latter is more suitable for a binary image than the former. By a suitable encoding method, after converting to a multi-valued image or a binary image as needed, the compression encoding is performed again.
The image processing device according to claim 3.
前記圧縮手段は、前記比較の結果で前記記憶容量が前記第1の値より大きいときと小さいときとでは、前者の方が後者よりカラー画像に適し、後者の方が前者より白黒画像に適する符号化方式により、それぞれカラー画像又は白黒画像に必要に応じて変換した上で、前記再度の圧縮符号化を行なう、
請求項3に記載の画像処理装置。
When the storage capacity is larger than the first value and smaller than the first value as a result of the comparison, the compression unit is a code that is more suitable for a color image than the latter and a code that is more suitable for a black-and-white image than the first. By the conversion method, after converting as necessary to a color image or a black and white image, respectively, perform the compression encoding again,
The image processing device according to claim 3.
前記記憶容量を前記第1の値より大きい所定の第2の値と比較する第2の比較手段を備え、
前記圧縮手段は、前記第2の比較手段による比較の結果、前記記憶容量が前記第2の値より大きいときは、前記記憶装置に記憶済みの前記符号データに対して当該符号データよりさらにデータ量を削減できるフォーマットで前記再度の圧縮符号化を行ない、
前記記憶装置は、この再度の圧縮符号化後の符号データを再度記憶する、
請求項3に記載の画像処理装置。
Second comparing means for comparing the storage capacity with a predetermined second value larger than the first value,
When the storage capacity is larger than the second value as a result of the comparison by the second comparison means, the compression means further increases the data amount of the code data stored in the storage device compared to the code data. Perform the above compression encoding again in a format that can reduce
The storage device stores the code data after the compression encoding again,
The image processing device according to claim 3.
原稿の画像を読み取る光電変換素子と、
この読み取った原稿の画像データを記憶する記憶装置と、
この記憶装置に入出力する画像データを処理対象の少なくとも一部としている請求項1〜6の何れかの一に記載の画像処理装置と、
を備えていることを特徴とする画像読取装置。
A photoelectric conversion element for reading an image of the original,
A storage device for storing the image data of the read original,
The image processing apparatus according to claim 1, wherein the image data input / output to / from the storage device is at least a part of a processing target.
An image reading apparatus comprising:
請求項7に記載の画像読取装置と、
前記光電変換素子で読み取った原稿の画像データにより用紙上に画像形成するプリンタエンジンと、
を備えていることを特徴とする画像形成装置。
An image reading device according to claim 7,
A printer engine that forms an image on paper using image data of a document read by the photoelectric conversion element,
An image forming apparatus comprising:
JP2002300284A 2002-10-15 2002-10-15 Image processing apparatus, image reading apparatus, and image forming apparatus Pending JP2004135242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002300284A JP2004135242A (en) 2002-10-15 2002-10-15 Image processing apparatus, image reading apparatus, and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002300284A JP2004135242A (en) 2002-10-15 2002-10-15 Image processing apparatus, image reading apparatus, and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2004135242A true JP2004135242A (en) 2004-04-30

Family

ID=32289168

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002300284A Pending JP2004135242A (en) 2002-10-15 2002-10-15 Image processing apparatus, image reading apparatus, and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2004135242A (en)

Similar Documents

Publication Publication Date Title
JP3732702B2 (en) Image processing device
US20050219594A1 (en) Apparatus and method for generating scanned data in a standard format
JP2001169022A (en) Image processor
JP2004080520A (en) Image processing apparatus, image reading apparatus and image forming apparatus
US20050280865A1 (en) Image reading unit, image processing apparatus, image forming apparatus, image processing method, and computer product
JP2008124819A (en) Image processor and image processing method
JP4378197B2 (en) Image information device
JP3384553B2 (en) Printing system
JP2004135242A (en) Image processing apparatus, image reading apparatus, and image forming apparatus
JP4195624B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, program, and storage medium
JP2006042217A (en) Image processing device
JP2004158999A (en) Color image reading and recording apparatus
JP2004140428A (en) Image processor, image reader, and image forming apparatus
JP4071809B2 (en) Image processing device
JP2002118756A (en) Data transfer method and data transfer device, and image processing unit and image forming device
JP2006041938A (en) Image processing unit
JP2005252442A (en) Image processing apparatus, image scanner, and image forming apparatus
JP2007081891A (en) Data conversion unit and image forming unit
JP2004363705A (en) Composite apparatus
JP2004297772A (en) Image processing system, image forming apparatus, image processing method, program and recording medium
JP2004080627A (en) Image forming device
JP5062633B2 (en) Image processing apparatus, image processing method, and program
JP2006157806A (en) Image processor
JP2004048113A (en) Image processing apparatus
JP3982982B2 (en) Image processing device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20041007

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050223

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050526

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20060925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061025

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061225

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070124