JP3942528B2 - Image processing apparatus, image processing method, program, and recording medium - Google Patents
Image processing apparatus, image processing method, program, and recording medium Download PDFInfo
- Publication number
- JP3942528B2 JP3942528B2 JP2002325136A JP2002325136A JP3942528B2 JP 3942528 B2 JP3942528 B2 JP 3942528B2 JP 2002325136 A JP2002325136 A JP 2002325136A JP 2002325136 A JP2002325136 A JP 2002325136A JP 3942528 B2 JP3942528 B2 JP 3942528B2
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- image
- processing
- image signal
- stored
- 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
Links
Images
Landscapes
- Facsimiles In General (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、プリンタ,デジタル複写機,ファクシミリ,複合機能画像処理装置,MFP(マルチファンクションプリンタ)などの画像処理装置および画像処理方法およびプログラムおよび記録媒体に関する。
【0002】
【従来の技術】
従来、例えば、特許文献1には、デジタルシグナルプロセッサ(DSP)を用いてデジタル複写機の画像処理を実行する例が示されている。
【0003】
【特許文献1】
特開2000−165563号公報
【0004】
【発明が解決しようとする課題】
本願出願人は、さらに、ネットワークを介して画像処理プログラムをダウンロードし、デジタルシグナルプロセッサ(DSP)によって画像処理プログラムを実行し、画像処理を施す画像処理装置に関する発明を、本願の先願として出願している。
【0005】
しかしながら、この先願の発明では、デジタルシグナルプロセッサ(DSP)の規模によって、実行できるプログラムサイズに制限があり、ダウンロードしたプログラム規模が大きい場合は、DSPに処理を実行させる際のインストラクション数が所定の数値を超えるために本来のパフォーマンス(コピースピード)が得られなくなったり、FIFO数やレジスタ数が不足して処理を行えなかったりした。
【0006】
また、この先願の発明では、ネットワークを介してダウンロードした拡張画像処理プログラムを実装する際、画像処理装置が画像処理プログラムを動作可能か否かを判定して、プログラムの転送を行うか否かの判断を行なっている。言い換えれば、実装可能なハードウエアが画像処理装置内にあるか否かによって、プログラムをユーザが使用できるか否かが決まってしまう。
【0007】
本発明は、規模の大きな処理内容であっても処理を可能にする画像処理装置および画像処理方法およびプログラムおよび記録媒体を提供することを目的としている。
【0008】
【課題を解決するための手段】
上記目的を達成するために、請求項1記載の発明は、入力された画像信号に対し画像処理モジュールに従い画像処理を施す画像処理手段と、前記画像処理手段から出力される画像信号を蓄積する蓄積手段と、前記蓄積手段に蓄積された画像信号を読み出し、後段へと出力するプリンタパスと、前記蓄積手段に蓄積された画像信号を読み出し前記画像処理手段に再度入力する再入力パスとを有している画像処理装置であって、
複数の画像処理モジュールの中から、指定された画像処理モードに基づき必要な画像処理モジュールを選択する選択手段と、前記選択手段によって選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理で実行可能か否かを判定する判定手段とをさらに有し、前記選択手段によって選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理で実行可能な場合には、蓄積された画像信号を前記プリンタパスに出力するとともに前記画像処理手段により全ての処理を行い、1回の処理での実行が不可能な場合には、蓄積された画像信号を前記再入力パスに出力するとともに、選択された画像処理モジュール群を複数の組に組み分けし、組み分けした画像処理モジュールをその都度書き換えることにより複数回に分けて処理を行い、所定の処理が完了したらプリンタパスに出力することを特徴としている。
【0011】
また、請求項2記載の発明は、請求項1記載の画像処理装置において、前記画像処理モジュールは前記画像処理装置内に通信手段によってダウンロード可能となっていることを特徴としている。
【0012】
また、請求項3記載の発明は、請求項2記載の画像処理装置において、前記画像処理モジュールとともに、インストラクション数,必要FIFO数,必要レジスタ数,バージョン情報のいずれかを含む付帯情報を前記画像処理装置内に前記通信手段によって同時にダウンロード可能となっていることを特徴としている。
【0013】
また、請求項4記載の発明は、請求項1記載の画像処理装置において、前記画像処理手段による1回の処理での処理実行可否判定は、選択された画像処理モジュールの必要インストラクション数,必要FIFO数,必要レジスタ数情報に基づき、なされることを特徴とすることを特徴としている。
【0014】
また、請求項5記載の発明は、請求項1記載の画像処理装置において、処理途中の画像信号を前記蓄積手段に蓄積する前に、該画像信号を圧縮して保存するか否か、あるいは、どのような圧縮方式または圧縮率で圧縮するかを、該画像信号が施された画像処理内容に基づき制御するようになっていることを特徴としている。
【0015】
また、請求項6記載の発明は、請求項5記載の画像処理装置において、前記蓄積手段に画像信号を複数回蓄積する際には、より前段の方が圧縮劣化が少ない画像信号を蓄積することを特徴としている。
【0016】
また、請求項7記載の発明は、請求項1記載の画像処理装置において、1つの画像処理過程において生成蓄積された複数の処理途中画像を画像処理ジョブ完了後も消去せず保存しておき、再度同じ画像に対する画像処理要求があった場合には、前回の処理で蓄積されている処理途中画像から最適な画像を取り出し、残りの処理を行うようになっていることを特徴としている。
【0017】
また、請求項8記載の発明は、請求項1乃至請求項7のいずれか一項に記載の画像処理装置において、ハードウエアを増設可能であり、前記ハードウエアの増設によって1回の処理で全ての処理ができるようになっていることを特徴としている。
【0018】
また、請求項9記載の発明は、請求項1記載の画像処理装置において、蓄積された画像信号を再入力パスに出力する動作が選択されたときに、画像処理内容を所定時間内に処理が完了するのに十分で、かつ、最も高画質な処理結果が得られるように処理内容の最適化または追加を制御するようになっていることを特徴としている。
【0019】
また、請求項10記載の発明は、請求項9記載の画像処理装置において、蓄積された画像信号を再入力パスに出力する動作が選択されたときに、前記画像処理手段によって蓄積前に1ページ分にわたる画像特徴を識別する処理を行い、前記画像処理手段によって蓄積後の画像に対し処理を施す際に、前記画像特徴の識別結果に応じた処理を行うようになっていることを特徴としている。
【0020】
また、請求項11記載の発明は、請求項1乃至請求項10のいずれか一項に記載の画像処理装置において、ネットワークあるいは外部機器から入力される外部機器画像信号は、前記蓄積手段に蓄積され、前記蓄積手段に蓄積された画像信号を再入力パスに出力することにより外部機器画像信号を処理するようになっていることを特徴としている。
【0021】
また、請求項12記載の発明は、入力された画像信号に対し画像処理モジュールに従い画像処理を施す画像処理手段と、前記画像処理手段から出力される画像信号を蓄積する蓄積手段と、前記蓄積手段に蓄積された画像信号を読み出し、後段へと出力するプリンタパスと、前記蓄積手段に蓄積された画像信号を読み出し前記画像処理手段に再度入力する再入力パスとが設けられている場合に、指定された画像処理モードに基づき必要な画像処理モジュールを選択し、選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理で実行可能か否かを判定し、選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理で実行可能な場合には、蓄積された画像信号を前記プリンタパスに出力するとともに前記画像処理手段により全ての処理を行い、処理の実行が不可能な場合には、蓄積された画像信号を前記再入力パスに出力するとともに、選択された画像処理モジュールを複数の組に組み分けし、組み分けした画像処理モジュールをその都度書き換えることにより複数回に分けて処理を行い、所定の処理が完了したらプリンタパスに出力することを特徴としている。
【0022】
また、請求項13記載の発明は、入力された画像信号に対し画像処理モジュールに従い画像処理を施す画像処理手段と、前記画像処理手段から出力される画像信号を蓄積する蓄積手段と、前記蓄積手段に蓄積された画像信号を読み出し、後段へと出力するプリンタパスと、前記蓄積手段に蓄積された画像信号を読み出し前記画像処理手段に再度入力する再入力パスとが設けられている場合に、指定された画像処理モードに基づき必要な画像処理モジュールを選択し、選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理で実行可能か否かを判定し、選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理で実行可能な場合には、蓄積された画像信号を前記プリンタパスに出力するとともに前記画像処理手段により全ての処理を行い、処理の実行が不可能な場合には、蓄積された画像信号を前記再入力パスに出力するとともに、選択された画像処理モジュールを複数の組に組み分けし、組み分けした画像処理モジュールをその都度書き換えることにより複数回に分けて処理を行い、所定の処理が完了したらプリンタパスに出力する処理をコンピュータに実現させるためのプログラムである。
【0023】
また、請求項14記載の発明は、入力された画像信号に対し画像処理モジュールに従い画像処理を施す画像処理手段と、前記画像処理手段から出力される画像信号を蓄積する蓄積手段と、前記蓄積手段に蓄積された画像信号を読み出し、後段へと出力するプリンタパスと、前記蓄積手段に蓄積された画像信号を読み出し前記画像処理手段に再度入力する再入力パスとが設けられている場合に、指定された画像処理モードに基づき必要な画像処理モジュールを選択し、選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理で実行可能か否かを判定し、選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理で実行可能な場合には、蓄積された画像信号を前記プリンタパスに出力するとともに前記画像処理手段により全ての処理を行い、処理の実行が不可能な場合には、蓄積された画像信号を前記再入力パスに出力するとともに、選択された画像処理モジュールを複数の組に組み分けし、組み分けした画像処理モジュールをその都度書き換えることにより複数回に分けて処理を行い、所定の処理が完了したらプリンタパスに出力する処理をコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体である。
【0024】
【発明の実施の形態】
以下、本発明の実施形態を図面に基づいて説明する。
【0025】
図1は本発明に係る画像処理装置の構成例を示す図である。図1を参照すると、この画像処理装置1は、全体を制御するCPU3と、EEPROM2と、ROM4と、RAM7と、画像信号を入力するスキャナ等の画像入力手段5と、画像信号に対して画像処理を施すためのデジタルシグナルプロセッサ(DSP)6と、プリンタ8と、NIC(Network Interface Card)9と、画像処理が施された画像信号を蓄積する蓄積手段10とを備えている。
【0026】
図1の構成例では、画像入力手段5によって入力された画像信号は、所望の画像処理を施すためDSP6に入力される。DSP6は、例えばデジタル複写機の画像処理を行うパフォーマンスをもつものとして、SIMD(Single Instruction Multiple Data Stream)型のアーキテクチャを持つものがある。このアーキテクチャは、複数のプロセッサを同一の命令で実行するところに特徴があり、高い処理速度が得られるものである。
【0027】
操作部(図示せず)によってある画像処理モードが選択されると、CPU3は選択された画像処理モードに応じた画像処理プログラムモジュールをROM4から読み出し、RAM7へ格納する。
【0028】
ここで、ROM4には、例えば図2に示すような各種モジュールが格納されている。すなわち、図2の例では、ROM4には、スキャナγ補正モジュール17,フィルタ処理モジュール18〜19,線幅補正モジュール20,プリンタγ補正モジュール21〜23,中間調処理モジュール24〜25などが格納されている。これらの中から、選択された画像処理モードに応じたモジュールをRAM7に格納する。例えば、文字モードでは、図3に示すように、5つのモジュールが選択されてRAM7に格納される。同様に、文字写真モードでは、図4に示すような5つのモジュールが選択され、また、写真モードでは、図5に示すような4つのモジュールが選択されて、RAM7に格納される。
【0029】
DSP6では、画像信号に対してRAM7の内容に従って順次画像処理を施し、全ての処理を完了すると、処理を施した画像信号を蓄積手段10に出力する。蓄積手段10では、DSP6からの画像信号を入力する動作と並行してプリンタ8へと画像データを出力し、プリント動作を実行する。つまり、1画像分蓄積する前にプリンタへの出力を行うようになっている。通常は、このように構成することにより、リアルタイムな画像処理が行われ、コピーボタンを押したと同時にコピー出力が得られるコピースピードの速い画像処理装置を実現している。
【0030】
また、画像処理装置1にNIC(Network Interface Card)9が設けられていることにより、外部との画像データの通信が行える他、画像処理モジュールのダウンロードが可能となっている。すなわち、NIC9は、インターネットなどのデータ通信網11を通じて、画像処理モジュールを提供するサーバ12にアクセスが可能であり、これにより、ユーザは、メーカが提供する拡張画像処理モジュールをサーバ12から画像処理装置1にダウンロードすることができるようになっている。
【0031】
例えば、メーカがサービスする拡張画像処理モジュールとして、裏写り除去モジュールのプログラムをダウンロードすることができる。このようにダウンロードされたプログラムは、EEPROM(不揮発性メモリ)2に格納され、操作パネル(図示せず)などによりユーザがこの拡張処理モジュールを使用して画像処理することを指定すると、CPU3はEEPROM2からプログラムを読み出しRAM7に格納するようになっている。
【0032】
ただし、CPU3は、拡張された処理モジュールを追加したときに、DSP6が所定時間内に各画素に対する処理が完了できるか否かを判断し、どの処理モジュールをRAM7に格納するかを決定する。また、拡張処理モジュールをダウンロードすると、処理プログラム本体の他に、その機能,インストラクション数,必要なFIFO数,レジスタ数,バージョン,どの処理と組み合わせができないか、などの付帯情報も同時にダウンロードされる。CPU3では、これらの情報により、トータルのインストラクション数を算出し、全ての処理がRAM7に格納できるか、また画像処理装置1のデフォルトのコピースピードが満足できるか否かを判定する。DSP6内部のFIFO(ラインメモリ)数やレジスタ数は有限であり、すべての処理がDSP6で1回の処理(以下、1ターンという)で実行できるかわからない。また、DSP6による処理はソフトウエアによる処理と同じで、インストラクション数によって処理速度が決定されるので、処理規模の大きな処理モジュールとなると所定時間内に処理が完了せず、システムが稼動できなくなることがある。よって、処理モジュールの管理が必要となる。
【0033】
CPU3による処理モジュールの管理を図6を用いて説明する。図6を参照すると、CPU3は、操作パネル等の画像処理モードを指示する手段から指示された画像処理モードに基づき、必要な処理モジュールを選択する(ステップs1)。そして、これらすべての処理モジュールのインストラクション数の合計値,FIFOの合計値等を算出する(ステップs2)。そして、インストラクション数の合計値が規定のインストラクション数以下であるか、また、FIFO数の合計値がDSP6の保有するFIFO数を超えないか、などのシステム成立性を判定し、画像処理装置本来のコピースピードを満足できるか否かを判定する(ステップs3)。
【0034】
満足できると判定された場合、選択された全ての処理モジュールを1つの処理モジュール群とする(ステップs4)。
【0035】
これに対し、ステップs3で満足できないと判定された場合は、複数の処理モジュール群に組分けを行う(ステップs5)。この組分けは、各組それぞれがシステムの成立性を有するように分割する。例えば、サーバより裏写り除去モジュールをダウンロードし、これを文字モードで動作させるよう選択されたとき、全ての処理に必要な処理モジュール群は図7の左側のようになる。しかし、裏写りモジュールは比較的広い画像領域を参照するプログラムであり、全ての処理を1ターン(1回の処理)で行うにはFIFO数が不足してしまう。このように判定されたとき、6つのモジュールを図7の右側に示すように、3つずつ2組のモジュール群に組分けする。
【0036】
次に、最初に処理すべきモジュール群のプログラムをROM4およびEEPROM2から読み出し、RAM7に格納する(ステップs6)。ここで他に処理すべきモジュール群があるかを認識し(ステップs7)、処理すべきモジュール群がない場合は、蓄積手段10からの出力パスをプリンタパスに設定し(ステップs9)、DSP6による処理を実行し(ステップs11)、処理を終了する。
【0037】
これに対し、ステップs7で他に処理すべきモジュール群がある場合は、蓄積手段10からの出力パスを再入力パスに設定し(ステップs8)、DSP6によって該当する処理モジュールの処理が実行され(例えば初回ターンであれば第1のモジュール群の処理が実行され)(ステップs10)、再びステップs6に戻る。
【0038】
この場合、ステップs6では、次に処理すべきモジュール群に対応するプログラムを新たにRAM7に読み込み、同様の処理を繰り返し、処理すべきモジュール群がなくなるまで繰り返しループ処理を行う。
【0039】
なお、上記ステップs8およびステップs9で、出力パスをそれぞれ再入力パス,プリンタパスに設定すると説明したが、これは図1における再入力パスA,プリンタパスBのことを指している。
【0040】
このように図6の処理例では、DSP6により1ターン(1回の処理)で処理が実行できないと判定されたときは、途中まで処理が終わった画像信号を一旦蓄積手段10に蓄積し、再度DSP6に再入力し、2度目のDSP6による処理では残りの処理を実行するようにしており、これを繰り返すことにより、処理規模の大きなプログラムもハードウエアの増設なしに実行することができる。但し、このときには画像処理装置本体のコピースピードは実現できなくなるが、これは仕方がないところである。
【0041】
ところで、拡張処理モジュールを追加することにより1ターン(1回の処理)による処理が実現できなくなる原因として、処理インストラクション数の超過とFIFO数の超過を挙げたが、処理インストラクション数の超過に対しては、図8に示すように画像入力手段5とDSP6との間に適当な入力バッファ25を設けることによって対応することができる。DSP6による処理速度よりも画像入力手段5による読取速度が速く、かつ途中で読取動作を停止できない場合などには、このように入力バッファ25を設けて対応することができるが、この場合、入力バッファ25の追加によりコストアップしてしまい得策ではない。これに対し、本発明に示したようなDSP後のデータを一旦蓄積し、これをDSP前に戻すパスを設け、再入力した画像データに続きの画像処理を施すよう構成することは、コストアップなしにインストラクション数の超過,FIFO数の超過に対応できる有効な方法である。
【0042】
上述した例では、インストラクション数,FIFO数を加算し、加算結果に基づき、本来のコピースピードが得られるか否かを判断する例を示したが、処理モジュールの組み合わせによって、あらかじめ保持された可否判定テーブルに基づき判定するように構成しても良い。
【0043】
このように、本発明の画像処理装置は、基本的には、入力された画像信号に対し画像処理素子によって画像処理プログラムに従い画像処理を施す画像処理手段と、画像処理手段から出力される画像信号を蓄積する蓄積手段と、蓄積手段に蓄積された画像信号を読み出し、後段へと出力するプリンタパスと、蓄積手段に蓄積された画像信号を読み出し前記画像処理手段に再度入力する再入力パスとを有している。すなわち、本発明は、再入力パスを有する構成を基本構成としている。
【0044】
そして、本発明は、上記基本構成に加えて、指定された画像処理モードに基づき必要な画像処理モジュールを選択する選択手段と、選択手段によって選択された画像処理モジュール群が現画像処理装置構成で画像処理実行可能か否かを判定する判定手段とをさらに有し、実行不可能な場合はその旨をユーザに報知するようになっている。
【0045】
また、本発明は、上記基本構成に加えて、指定された画像処理モードに基づき必要な画像処理モジュールを選択する選択手段と、選択手段によって選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理(1ターン)で実行可能か否かを判定する判定手段とをさらに有し、選択手段によって選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理で実行可能な場合には、蓄積された画像信号を前記プリンタパスに出力するとともに画像処理手段により全ての処理を行い、1回の処理での実行が不可能な場合には、蓄積された画像信号を前記再入力パスに出力するとともに、選択された画像処理モジュール群を複数の組に組み分けし、組み分けした画像処理モジュールに対応するプログラムをその都度書き換えることにより複数回に分けて処理を行い、所定の処理が完了したらプリンタパスに出力するようになっている。
【0046】
上記本発明の画像処理装置において、画像処理プログラムは画像処理装置内に通信手段によってダウンロード可能となっている。また、画像処理プログラムとともに、インストラクション数,必要FIFO数,必要レジスタ数,バージョン情報のいずれかを含む付帯情報を同時にダウンロード可能となっている。
【0047】
また、上記本発明の画像処理装置において、前記判定手段による現画像処理装置構成での画像処理実行可否判定、または、前記画像処理手段による1ターン(1回の処理)での処理実行可否判定は、選択された画像処理モジュールの必要インストラクション数,必要FIFO数,必要レジスタ数情報に基づき、なされる。
【0048】
ところで、蓄積手段10に画像データを蓄積する際には、より多くの画像データを蓄積できるように画像データ量を圧縮したいという要求がある。しかしながら、一連の処理手順の上流で非常に高い圧縮率で圧縮すると著しい画質劣化が発生する。一般に処理途中の画像データ蓄積は、処理の上流では非圧縮または圧縮率が低い圧縮方式を適用し、処理終了間際、あるいは、処理終了時の画像データ蓄積は高い圧縮率の圧縮方式を使用することで、蓄積できる画像枚数と画質のバランスのとれたシステムを構築できる。
【0049】
また、画像データを蓄積する際に、これまでどのような処理が施されたのか、その処理内容によって圧縮率を決定することも効果的である。例えば、強調フィルタ処理前に圧縮による画質劣化があると、強調フィルタ処理により劣化が非常に目立つものとなり好ましくない。図4に示した文字写真モードの例では、強調フィルタ前に圧縮率の高い処理を施すのは大きな画質劣化を引き起こすが、平滑化フィルタ後に一時蓄積するような場合にはかなり高い圧縮率の圧縮方式を適用しても大きな画質劣化はない。
【0050】
また、選択されたモジュールによって圧縮率を制御するのも有効である。エッジ量に基づき制御を行う処理、例えばエッジ量に基づくフィルタ処理、BG/UCR処理、中間調処理などでは、エッジ量に劣化があると画像品質が低下する。このような場合、エッジ量を算出する時点での画像は圧縮による劣化が少なくなるように比較的圧縮率の低いものとし、以降の蓄積の際には高い圧縮率のものを用いるなど、使用する圧縮方式を最適にすることも有効である。
【0051】
また、各処理モジュールに付帯する情報の中に、その処理を行う前提データとして、どの程度の圧縮劣化が少ないものが必要なのか、入力画像に対する要求品質を記述するなどしておけば、そのモジュールを使用する際に選択すべき圧縮手段を容易に選択できる。
【0052】
このように、上記本発明の画像処理装置においては、処理途中の画像信号を前記蓄積手段に蓄積する前に、該画像信号を圧縮して保存するか否か、あるいは、どのような圧縮方式または圧縮率で圧縮するかを、該画像信号が施された画像処理内容に基づき制御するのが良い。
【0053】
また、この場合、蓄積手段に複数回蓄積する際には、より前段の方が圧縮劣化が少ない画像信号を蓄積するのが良い。
【0054】
また、処理途中に一旦蓄積された画像は、次工程の処理が完了すれば本来必要ないが、この画像を消さずに蓄積保存しておき、後に再コピー出力要求があり、かつ画像濃度の変更など処理変更命令があった場合には、蓄積されている処理途中画像から最適な画像を取り出して処理を行うことで、処理の効率化,高速化を図ることができる。
【0055】
換言すれば、1つの画像処理過程において生成蓄積された複数の処理途中画像を画像処理ジョブ完了後も消去せず保存しておき、再度同じ画像に対する画像処理要求があった場合には、前回の処理で蓄積されている処理途中画像から最適な画像を取り出し、残りの処理を行うことで、処理の効率化,高速化を図ることができる。
【0056】
以上のように構成することで、付加的な拡張機能をコスト的な負担をかけることなしにユーザに提供することができるようになるが、コピースピードが低下してしまうという問題がある。これを解決するため、図9に示すように、DSP6の前段に拡張DSP26を追加した構成にすることができる。具体的に、裏写り除去機能など非常に高機能であるが処理速度が遅くなってしまう処理の場合、このままのスピードで使い続けるのは使い勝手が悪いので、図9のように拡張DSP26を増設して処理パワーを増強し、これによって、本来のコピースピードを満足したまま、高機能を得ることができる。
【0057】
このように、図9の構成例では、裏写り除去のような機能は滅多に使わないというユーザは、デフォルトのハード構成のまま高機能モジュールを使うときにはスピードを犠牲にして使い、高機能かつ高スピードを求めるユーザには拡張DSPを増設することによってこれを実現できる、という選択肢を提供することができる。
【0058】
また、次のような課金システムを構成することもできる。すなわち、拡張画像処理プログラムを使用してコピー出力をした場合は使用料として1枚あたりの課金料金に反映して課金料金を高く設定するなどしてもよいし、プログラム自体に価格設定しても良い。
【0059】
また、ダウンロードにより画像処理を提供できるということは非常に利便性が高く、例えばプログラムのバグを修正する際にも簡単にユーザに最新のプログラムを提供できるし、機能アップしたプログラムが完成した際にも同様である。また、リリース前の開発段階のプログラムをダウンロードして使用してもらい、アンケートを実施するなどして、よりユーザニーズにマッチしたプログラムを提供する上でも有効である。アンケートの配布・回収も画像処理装置からアンケート用紙を出力したり、記入後の用紙を画像処理装置に読み込ませ、ネットワークを介して回収するなどしてユーザニーズを把握してもよい。
【0060】
このように、本発明の画像処理装置においては、ハードウエアを増設可能であり、ハードウエアの増設によって1ターン(1回の処理)で全ての処理ができるようになっている。
【0061】
また、図1の構成例は唯一のDSPにより処理する例を示したものとなっているが、図10に示すように、第1のDSP6と第2のDSP27とを設け、この間に蓄積手段10を有するよう構成しても良い。図10の構成例は、コピー動作を行なわせるとともに、蓄積手段10に蓄積されているデータをNIC9を介して外部に転送したい場合などに都合がよい。転送したい画像が、スキャナにより読み取られた信号であったり、フィルタ処理後の画像信号であったり、中間調処理後のデータであったり、ユーザの希望により様々であるが、図10のように構成しておけば、1ターン(1回の処理)でコピー画像を出力するとともに所望する処理結果画像を転送できる。これは、例えばフィルタ処理後の画像信号を転送したい場合、フィルタ処理までの処理を第1のDSP6で実施し、フィルタ処理より後の処理を第2のDSP27で実施するように、処理モジュール群を分配する。また、中間調処理後の画像を転送したい場合は、第1のDSP6にて中間調処理まで実施し、第2のDSP27では何もしない(スルー)で中間調処理後の画像を出力するように処理モジュール群を分配すれば実現可能である。もちろん、これはDSPでなくとも実現でき、一連の処理が行えるASICなどのハードウエアを2個シリアルに配置し、それぞれのチップにどの処理を実行させるか制御すればよいが、2つのチップの両方に同じ機能の処理モジュールをもたせなければならないので不経済である。これに対し、DSPを用いれば、プログラマブルなので、このような不経済さはない。
【0062】
上述した各例では、全てをDSPで構成する例を示したが、その一部分がASICなどのハードウエアで実現されていても良い。例えば像域分離回路など、非常に多くのラインメモリを必要とするものなどは、コスト的な観点からみてもASICで実現するほうが好適な場合もある。
【0063】
ところで、拡張処理モジュールを追加したために1ターン(1回の処理)で処理の実行が行えない場合に、複数のモジュール群に組分けし、再入力パスを用いて処理を実行することは前述したとおりである。しかしながら、複数の組にモジュールを組分けすると、各組にはFIFO数,インストラクション数に大きな余裕が生まれ、他の処理を組み込めるだけの処理能力を余すことがある。このような場合は、付加的な異なる機能を有するモジュールを追加したり、モジュール自体をより高性能なものに置き換えたりすることが可能である。例えば図11に示すように、文字モードのモジュール群に拡張モジュールとして裏写り除去モジュールを追加した場合、1ターン(1回の処理)では処理が行えなくなり、2組のモジュール群(第1,第2のモジュール群)に分解する。しかし、FIFO数,インストラクション数が余るので有効活用のため、第1のモジュール群では、強調フィルタモジュール18をより高性能なモアレ抑制型強調フィルタモジュール28に入れ替え、第2のモジュール群では孤立点除去モジュール29を新たに追加している。このように構成することにより、DSPの処理能力を最大限に活用した画像処理システムが構築できる。
【0064】
また、モジュールの交換や追加を行う際にはその旨をユーザに報知し、ユーザからの指示があった場合にのみこれらの交換・追加処理を実施するよう構成している。
【0065】
このように、上記本発明の画像処理装置において、蓄積された画像信号を再入力パスに出力する動作が選択されたときに、画像処理内容を所定時間内に処理が完了するのに十分で、かつ、最も高画質な処理結果が得られるように処理内容の最適化または追加を制御することができる。
【0066】
また、上記追加する機能としては、ACS(オートカラーセレクト)や自動地肌除去など1ページ分にわたる画像特徴識別を行う機能が非常に簡単に行える。ACSは、原稿がモノクロ原稿であるかカラー原稿であるかを判定する処理であり、判定結果に応じて黒トナー単色で再生したりCMYK全てのトナーを用いてカラー再生したりするポピュラーな処理であるが、これはプレスキャンによりあらかじめ画像1ページ中にカラー部があるか検出したり、ACSのために一旦画像1ページ分を蓄積しカラー部があるか検出したりして、事前に原稿種判定してから処理を開始するのが一般的であった。
【0067】
本発明では、拡張処理モジュールを追加したため、1ターン(1回の処理)で処理の実行が行えない場合には、いずれにしろ蓄積手段に一旦蓄積する動作が伴うので、このときにACSなどの1ページにわたる画像特徴識別を実施するのに好適である。この結果を一旦保存し、画像処理手段によって蓄積後の画像に対し再度処理が施される際に、該識別結果に応じた処理を行うよう構成すればよい。以上のようにすれば、通常の1ターン処理の場合には実現が困難なACSなどの処理を容易に実行でき、高画質化に貢献できる。
【0068】
このように、蓄積された画像信号を再入力パスに出力する動作が選択されたときに、画像処理手段によって蓄積前に1ページ分にわたる画像特徴を識別する処理を行い、画像処理手段によって蓄積後の画像に対し処理を施す際に、前記画像特徴の識別結果に応じた処理を行うことにより、通常の1ターン処理の場合には実現が困難なACSなどの処理を容易に実行でき、高画質化に貢献できる。
【0069】
また、上述した例においては、スキャナ等の画像入力手段から入力した画像に処理を施す例を示したが、ネットワークから入手した画像に対して処理を行っても良い。この場合、図1や図9に示すように、LANやデータ通信網から入力された画像はNIC9を経由して蓄積手段10に蓄積され、蓄積手段10から再入力パスAへと出力されDSPにより処理が施される。すなわち、ネットワークや外部機器から入力される画像データは、ネットワークの通信速度,トラフィック,送信機器側の転送レートの制約から、画像処理装置ではリアルタイム制御ができず、このため、一旦画像データを記憶手段に蓄積する必要があった。本発明では、ネットワークからの画像データを蓄積手段10に蓄積することは容易に実現でき、さらに蓄積手段10からDSPの前段へと画像データを再入力させるパスが存在するので、ネットワークからの画像データを処理することも容易である。
【0070】
このように、本発明では、ネットワークあるいは外部機器から入力される外部機器画像信号を、蓄積手段10に蓄積し、蓄積手段10に蓄積された画像信号を再入力パスに出力することにより外部機器画像信号を処理することができる。
【0071】
以上のように、本発明では、処理規模が大きなプログラムであってもDSPからの処理画像を一旦蓄積手段に蓄積し、新たなプログラムをダウンロードし、これに基づき続きの処理を実行し、所望の処理が完了するまで、ダウンロードと処理実行と蓄積保存を繰り返すようにすることで、コピースピードが低下することはあっても処理が実行できないということはないようにしている。
【0072】
さらに、ユーザが拡張した画像処理内容による高機能と速いコピースピードとの両立が要求される場合には、ハードウエアの増設を行うことによって、その要求に応えられるようにしている。
【0073】
また、複数ターンにかけて画像蓄積を繰り返す際の圧縮方式について最適化することで画質劣化を極力低減している。
【0074】
さらに、画像処理ジョブを複数ターンに分けて処理する際、各処理ターンでDSPの処理能力に余力がある場合は、処理能力を有効活用すべく処理ターン内の処理の最適化を行なっている。
【0075】
以上、SIMD型のアーキテクチャを持つ画像処理プロセッサなどを画像処理手段の例として本発明を説明してきたが、画像処理手段としては、SISD型,MIMD型のアーキテクチャを持つ画像処理プロセッサなどでも良く、他に、FPGA(Field Programmable Gate Array)などに代表されるプログラマブルなハードウエアであるPLD(Programmable Logic Device)やCPU(汎用プロセッサ)によるソフトウエア処理でも良く、画像処理手段がプログラム可能な形態であれば本発明の範囲に含まれる。
【0076】
また、本発明の上述した画像処理をコンピュータ(例えばCPU3)に実現させるプログラムの形で提供することができる。
【0077】
また、本発明の上述した画像処理をコンピュータ(例えばCPU3)に実現させるためのプログラムは、例えばソフトウェアパッケージ(具体的には、CD−ROM等の記録媒体)の形で提供することができる。
【0078】
換言すれば、本発明の画像処理装置は、汎用の計算機システムにCD−ROM等の記録媒体に記録されたプログラムを読み込ませて、この汎用計算機システムのマイクロプロセッサに処理を実行させる装置構成においても実施することが可能である。この場合、本発明の処理を実行するためのプログラム(すなわち、ハードウェアシステムで用いられるプログラム)は、媒体に記録された状態で提供される。プログラムなどが記録される記録媒体としては、CD−ROMに限られるものではなく、ROM,RAM,フレキシブルディスク,メモリカード等が用いられても良い。媒体に記録されたプログラムは、ハードウェアシステムに組み込まれている記憶装置、例えばハードディスクにインストールされ起動されることにより、このプログラムを実行して、本発明の処理を実現することができる。
【0079】
【発明の効果】
以上に説明したように、請求項1乃至請求項14記載の発明によれば、入力された画像信号に対し画像処理素子によって画像処理プログラムに従い画像処理を施す画像処理手段と、画像処理手段から出力される画像信号を蓄積する蓄積手段と、蓄積手段に蓄積された画像信号を読み出し、後段へと出力するプリンタパスと、蓄積手段に蓄積された画像信号を読み出し前記画像処理手段に再度入力する再入力パスとを有しているので(すなわち、プログラマバブルな画像処理プロセッサ(DSP)を用いて画像処理を行い、DSPからの出力を一旦蓄積し、蓄積したデータを再度DSPに入力する再入力パスと、後段の処理へ出力するプリンタパスとを有しているので)、ユーザの要求に応じて高機能な画像処理プログラムの追加を行う場合に、規模の大きな処理内容であっても、処理可能にすることができる。
【0081】
特に、請求項2,請求項3記載の発明によれば、画像処理プログラムは通信手段によってダウンロード可能となっているので、ユーザはネットワークを介して簡単に最新の高機能な画像処理機能を入手することができる。
【0082】
また、請求項5,請求項6記載の発明によれば、処理途中の画像信号を前記蓄積手段に蓄積する前に、該画像信号を圧縮して保存するか否か、あるいは、どのような圧縮方式または圧縮率で圧縮するかを、該画像信号が施された画像処理内容に基づき制御するようになっているので、画質劣化の少ない高画質な画像再生が行える。
【0083】
また、請求項7記載の発明によれば、1つの画像処理過程において生成蓄積された複数の処理途中画像を画像処理ジョブ完了後も消去せず保存しておき、再度同一の画像処理要求があった場合には、蓄積されている処理途中画像から最適な画像を取り出し、残りの処理を行うようになっているので、処理の効率化,高速化を図ることができる。
【0084】
また、請求項8記載の発明によれば、ハードウエアを増設可能であり、前記ハードウエアの増設によって1回の処理で全ての処理ができるようになっているので、高機能と高速性を求めるユーザのニーズに対応することができる。
【0085】
また、請求項9記載の発明によれば、蓄積された画像信号を再入力パスに出力する動作が選択されたときに、画像処理内容を所定時間内に処理が完了するのに十分で、かつ、最も高画質な処理結果が得られるように処理内容の最適化または追加を制御するようになっているので、各処理ターンでDSPの処理能力に余力がある場合は、処理ターン内の処理の最適化を行ない、処理能力を最大限有効活用できる。
【0086】
また、請求項10記載の発明によれば、蓄積された画像信号を再入力パスに出力する動作が選択されたときに、画像処理手段によって蓄積前に1ページ分にわたる画像特徴を識別する処理を行い、画像処理手段によって蓄積後の画像に対し処理を施す際に、前記画像特徴の識別結果に応じた処理を行うようになっているので、通常の1ターン処理の場合は実現が困難なACS(オートカラーセレクト)などの処理を容易に実行でき、高画質化に貢献できる。
【0087】
また、請求項11記載の発明によれば、ネットワークあるいは外部機器から入力される外部機器画像信号は、前記蓄積手段に蓄積され、蓄積された画像信号を再入力パスに出力することにより外部機器画像信号を処理するようになっているので、ネットワークからの画像データを蓄積手段に蓄積することを容易に実現でき、さらに、蓄積手段からDSPの前段へと画像データを再入力させるパスが存在するので、ネットワークからの画像データを処理することも容易にできる。
【図面の簡単な説明】
【図1】本発明に係る画像処理装置の構成例を示す図である。
【図2】ROMに格納されている各種モジュールの一例を示す図である。
【図3】文字モードの場合のモジュール選択例を示す図である。
【図4】文字写真モードの場合のモジュール選択例を示す図である。
【図5】写真モードの場合のモジュール選択例を示す図である。
【図6】CPUによる処理モジュールの管理を説明するためのフローチャートである。
【図7】モジュールを追加する場合の処理動作を説明するための図である。
【図8】本発明に係る画像処理装置の他の構成例を示す図である。
【図9】本発明に係る画像処理装置の他の構成例を示す図である。
【図10】本発明に係る画像処理装置の他の構成例を示す図である。
【図11】モジュールを追加,置き換えする場合の処理動作を説明するための図である。
【符号の説明】
1 画像処理装置
2 EEPROM
3 CPU
4 ROM
5 画像入力手段
6 DSP
7 RAM
8 プリンタ
9 NIC
10 蓄積手段
11 データ通信網
12 サーバ
13 LAN
14 スキャナ
15 MFP
16 プリンタ
26 拡張DSP
27 第2のDSP[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus, an image processing method, a program, and a recording medium, such as a printer, a digital copying machine, a facsimile, a multi-function image processing apparatus, and an MFP (multifunction printer).
[0002]
[Prior art]
Conventionally, for example,
[0003]
[Patent Document 1]
JP 2000-165563 A
[0004]
[Problems to be solved by the invention]
The applicant of the present application further filed an application relating to an image processing apparatus that downloads an image processing program via a network, executes the image processing program by a digital signal processor (DSP), and performs image processing as a prior application of the present application. ing.
[0005]
However, in the invention of this prior application, there is a limit on the executable program size depending on the scale of the digital signal processor (DSP), and when the downloaded program scale is large, the number of instructions for causing the DSP to execute processing is a predetermined numerical value. As a result, the original performance (copy speed) could not be obtained, or the number of FIFOs and registers was insufficient and processing could not be performed.
[0006]
In the invention of the prior application, when the extended image processing program downloaded via the network is installed, it is determined whether the image processing apparatus can operate the image processing program, and whether to transfer the program. Judgment is made. In other words, whether or not the user can use the program is determined depending on whether or not the mountable hardware is in the image processing apparatus.
[0007]
An object of the present invention is to provide an image processing apparatus, an image processing method, a program, and a recording medium that can process even a large-scale processing content.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the invention according to
A selection unit that selects a required image processing module from a plurality of image processing modules based on a designated image processing mode, and the image processing unit performs all processing of the image processing module group selected by the selection unit. A determination unit that determines whether or not the image processing module can be executed in a single process, and when the image processing unit can execute all the processes of the image processing module group selected by the selection unit in one process Outputs the stored image signal to the printer path and performs all the processing by the image processing means. If it is impossible to execute the processing in a single process, the stored image signal is input again. In addition to outputting to the path, the selected image processing module group is grouped into a plurality of groups, and the grouped image processing modules are rewritten each time. Performs processing separately in time, and outputs to the printer path After predetermined processing is completedIt is characterized by that.
[0011]
Also,Claim 2DescribedTomorrow, Claims1In the image processing apparatus described,The image processing moduleIsSaidThe image processing apparatus can be downloaded by communication means.
[0012]
Also,Claim 3DescribedTomorrow,Claim 2In the described image processing apparatus,The image processing moduleAttached information including any number of instructions, number of required FIFOs, number of necessary registers, version informationSaidIn the image processing deviceSaidIt is characterized in that it can be downloaded simultaneously by communication means.
[0013]
Also,Claim 4DescribedTomorrow,Claim 1In the image processing apparatus described,in frontThe determination as to whether or not processing can be executed in a single process by the image processing means is made based on information on the number of necessary instructions, the number of necessary FIFOs, and the number of necessary registers of the selected image processing module. Yes.
[0014]
Also,Claim 5DescribedTomorrow,Claim 1In the image processing apparatus described above, whether or not the image signal being processed is compressed and stored before being stored in the storage means, or what compression method or compression rate is used for compression. The control is based on the contents of the image processing to which the image signal is applied.
[0015]
Also,Claim 6DescribedTomorrow,Claim 5In the described image processing apparatus,SaidWhen the image signal is accumulated a plurality of times in the accumulation means, the preceding stage is characterized in that the image signal with less compression deterioration is accumulated.
[0016]
Also,Claim 7DescribedTomorrow, Claims1In the case of an image processing apparatus, when a plurality of in-process images generated and accumulated in one image processing process are stored without being deleted even after the image processing job is completed, and there is an image processing request for the same image again The image processing apparatus is characterized in that an optimum image is extracted from the halfway processing images accumulated in the previous processing and the remaining processing is performed.
[0017]
Also,Claim 8DescribedTomorrow,
[0018]
Also,Claim 9DescribedTomorrow,Claim 1In the image processing apparatus described, when the operation of outputting the accumulated image signal to the re-input path is selected, the image processing content is sufficient to complete the processing within a predetermined time and has the highest image quality. It is characterized by controlling the optimization or addition of processing contents so that processing results can be obtained.
[0019]
Also,Claim 10DescribedTomorrow,Claim 9In the image processing apparatus described, when the operation of outputting the accumulated image signal to the re-input path is selected,SaidPerform processing to identify image features for one page before storage by image processing means,SaidWhen the image is processed by the image processing means, processing according to the image feature identification result is performed.
[0020]
Also,Claim 11DescribedTomorrow,
[0021]
Also,Claim 12DescribedTomorrow,Image processing means for performing image processing on the input image signal in accordance with an image processing module; storage means for storing the image signal output from the image processing means; reading out the image signal stored in the storage means; A printer path for outputting to the image processing apparatus, and a re-input path for reading the image signal stored in the storage unit and inputting it again to the image processing unit.Select the required image processing module based on the specified image processing mode, and perform all the processing of the selected image processing module group.SaidIt is determined whether or not the image processing means can be executed in a single process, and all the processes of the selected image processing module group are performed.SaidWhen the image processing means can be executed in one process, the accumulated image signal is output to the printer path.SaidWhen all the processing is performed by the image processing means and the execution of the processing is impossible, the accumulated image signal is output to the re-input path, and the selected image processing modules are grouped into a plurality of sets. Separate image processing moduleLeEach time it is rewritten, the process is divided into a plurality of times, and when a predetermined process is completed, it is output to the printer path.
[0022]
Also,Claim 13DescribedTomorrow,Image processing means for performing image processing on the input image signal in accordance with an image processing module; storage means for storing the image signal output from the image processing means; reading out the image signal stored in the storage means; A printer path for outputting to the image processing apparatus, and a re-input path for reading the image signal stored in the storage unit and inputting it again to the image processing unit.Select the required image processing module based on the specified image processing mode, and perform all the processing of the selected image processing module group.SaidIt is determined whether or not the image processing means can be executed in a single process, and all the processes of the selected image processing module group are performed.SaidWhen the image processing means can be executed in one process, the accumulated image signal is output to the printer path.SaidWhen all the processing is performed by the image processing means and the execution of the processing is impossible, the accumulated image signal is output to the re-input path, and the selected image processing modules are grouped into a plurality of sets. Separate image processing moduleLeThis is a program for causing a computer to execute a process divided into a plurality of times by rewriting each time and to output to a printer path when a predetermined process is completed.
[0023]
Also,Claim 14DescribedTomorrow,Image processing means for performing image processing on the input image signal in accordance with an image processing module; storage means for storing the image signal output from the image processing means; reading out the image signal stored in the storage means; A printer path for outputting to the image processing apparatus, and a re-input path for reading the image signal stored in the storage unit and inputting it again to the image processing unit.Select the required image processing module based on the specified image processing mode, and perform all the processing of the selected image processing module group.SaidIt is determined whether or not the image processing means can be executed in a single process, and all the processes of the selected image processing module group are performed.SaidWhen the image processing means can be executed in one process, the accumulated image signal is output to the printer path.SaidWhen all the processing is performed by the image processing means and the execution of the processing is impossible, the accumulated image signal is output to the re-input path, and the selected image processing modules are grouped into a plurality of sets. Separate image processing moduleLeThis is a computer-readable recording medium that records a program for performing a process in multiple times by rewriting each time, and causing a computer to execute a process of outputting to a printer path when a predetermined process is completed.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0025]
FIG. 1 is a diagram showing a configuration example of an image processing apparatus according to the present invention. Referring to FIG. 1, this
[0026]
In the configuration example of FIG. 1, the image signal input by the image input means 5 is input to the
[0027]
When a certain image processing mode is selected by an operation unit (not shown), the
[0028]
Here, the
[0029]
In the
[0030]
In addition, since the
[0031]
For example, the show-through removal module program can be downloaded as an extended image processing module serviced by the manufacturer. The program downloaded in this manner is stored in an EEPROM (nonvolatile memory) 2, and when the user designates image processing using the extended processing module by an operation panel (not shown) or the like, the
[0032]
However, when the expanded processing module is added, the
[0033]
Processing module management by the
[0034]
If it is determined that it is satisfactory, all the selected processing modules are set as one processing module group (step s4).
[0035]
On the other hand, when it is determined in step s3 that it is not satisfactory, the processing modules are grouped into a plurality of processing module groups (step s5). In this grouping, each group is divided so as to have system feasibility. For example, when the show-through removal module is downloaded from the server and selected to operate in the character mode, the processing module group necessary for all the processes is as shown on the left side of FIG. However, the show-through module is a program that refers to a relatively wide image area, and the number of FIFOs is insufficient to perform all the processing in one turn (one processing). When the determination is made in this way, the six modules are grouped into two module groups, three by three, as shown on the right side of FIG.
[0036]
Next, the module group program to be processed first is read from the
[0037]
On the other hand, if there is another module group to be processed in step s7, the output path from the storage means 10 is set as a re-input path (step s8), and the processing of the corresponding processing module is executed by the DSP 6 ( For example, if it is the first turn, the process of the first module group is executed) (step s10), and the process returns to step s6 again.
[0038]
In this case, in step s6, a program corresponding to the module group to be processed next is newly read into the RAM 7, the same processing is repeated, and loop processing is repeatedly performed until there is no module group to be processed.
[0039]
In step s8 and s9, the output path is set as the re-input path and the printer path, respectively. This indicates the re-input path A and the printer path B in FIG.
[0040]
As described above, in the processing example of FIG. 6, when the
[0041]
By the way, the reason why the processing by one turn (one processing) cannot be realized by adding the extended processing module is that the number of processing instructions and the number of FIFOs are exceeded. 8 can be handled by providing an
[0042]
In the above-described example, the number of instructions and the number of FIFOs are added, and based on the addition result, it is determined whether or not the original copy speed can be obtained. You may comprise so that it may determine based on a table.
[0043]
As described above, the image processing apparatus of the present invention basically includes an image processing unit that performs image processing on an input image signal according to an image processing program by an image processing element, and an image signal output from the image processing unit. Storage means for storing image data, a printer path for reading the image signal stored in the storage means and outputting it to the subsequent stage, and a re-input path for reading the image signal stored in the storage means and inputting it again to the image processing means. Have. That is, the present invention is based on a configuration having a re-input path.
[0044]
According to the present invention, in addition to the above basic configuration, a selection unit that selects a necessary image processing module based on a designated image processing mode, and an image processing module group selected by the selection unit are configured in the current image processing device configuration. The image processing apparatus further includes a determination unit that determines whether or not image processing can be performed. If the image processing cannot be performed, the user is notified of the fact.
[0045]
According to the present invention, in addition to the basic configuration described above, a selection unit that selects a necessary image processing module based on a designated image processing mode, and all processes of the image processing module group selected by the selection unit are processed by the image processing. Determination means for determining whether or not the means can be executed in one process (one turn), and the image processing means performs one process for all the processes of the image processing module group selected by the selection means. If it is possible to execute the process, the accumulated image signal is output to the printer path and all processing is performed by the image processing means. The signal is output to the re-input path, the selected image processing module group is grouped into a plurality of groups, and a program corresponding to the grouped image processing module is Performs processing a plurality of times by rewriting, and outputs it to the printer path After predetermined processing is completed.
[0046]
In the image processing apparatus of the present invention, the image processing program can be downloaded into the image processing apparatus by communication means. In addition to the image processing program, incidental information including any of the number of instructions, the number of necessary FIFOs, the number of necessary registers, and version information can be downloaded simultaneously.
[0047]
Also, in the image processing apparatus of the present invention, the determination means determines whether or not image processing can be executed in the current image processing apparatus configuration, or determines whether or not the image processing means can execute processing in one turn (one process). , Based on the number of necessary instructions, the number of necessary FIFOs, and the number of necessary registers of the selected image processing module.
[0048]
By the way, when storing image data in the storage means 10, there is a demand to compress the amount of image data so that more image data can be stored. However, if the image is compressed at a very high compression rate upstream of a series of processing procedures, significant image quality degradation occurs. In general, image data accumulation during processing applies uncompressed or a compression method with a low compression rate upstream of the processing, and image data accumulation at the end of processing or at the end of processing uses a compression method with a high compression rate. This makes it possible to construct a system that balances the number of images that can be stored and the image quality.
[0049]
It is also effective to determine the compression rate according to what processing has been performed so far when accumulating image data, and the content of the processing. For example, if there is image quality degradation due to compression before the enhancement filter process, the degradation becomes very noticeable due to the enhancement filter process, which is not preferable. In the example of the character photograph mode shown in FIG. 4, processing with a high compression ratio before the enhancement filter causes a large deterioration in image quality. However, when temporarily storing after the smoothing filter, compression with a considerably high compression ratio is performed. Even if the method is applied, there is no significant image quality degradation.
[0050]
It is also effective to control the compression rate by the selected module. In processing that performs control based on the edge amount, for example, filtering processing based on the edge amount, BG / UCR processing, halftone processing, and the like, image quality deteriorates if the edge amount is degraded. In such a case, the image at the time of calculating the edge amount is assumed to have a relatively low compression rate so that deterioration due to compression is reduced, and a higher compression rate is used for subsequent accumulation. It is also effective to optimize the compression method.
[0051]
In addition, in the information attached to each processing module, if the required data for the input image is described as the premise data to be processed, the required quality for the input image is described. The compression means to be selected when using the can be easily selected.
[0052]
As described above, in the image processing apparatus according to the present invention, before storing the image signal being processed in the storage means, whether or not the image signal is compressed and stored, or any compression method or It is good to control whether to compress at the compression rate based on the contents of image processing to which the image signal is applied.
[0053]
Further, in this case, when accumulating a plurality of times in the accumulating means, it is preferable to accumulate an image signal with less compression deterioration in the former stage.
[0054]
In addition, the image once accumulated during the process is not necessary when the next process is completed. However, the image is accumulated and stored without being erased, and there is a request for re-copy output later, and the image density is changed. When there is a process change command such as the above, it is possible to increase the efficiency and speed of the process by taking out the optimum image from the stored mid-process image and performing the process.
[0055]
In other words, a plurality of in-process images generated and accumulated in one image processing process are stored without being deleted even after the image processing job is completed, and when there is an image processing request for the same image again, By extracting an optimal image from the mid-process images accumulated in the processing and performing the remaining processing, the processing can be made more efficient and faster.
[0056]
With the configuration as described above, an additional extended function can be provided to the user without imposing a cost burden, but there is a problem that the copy speed is reduced. In order to solve this, as shown in FIG. 9, it is possible to adopt a configuration in which an
[0057]
As described above, in the configuration example of FIG. 9, a user who rarely uses a function such as show-through removal uses a high-performance module while using the high-performance module with the default hardware configuration. A user who wants speed can be provided with an option that this can be realized by adding an extended DSP.
[0058]
Further, the following charging system can be configured. In other words, when the extended image processing program is used for copy output, the charge fee may be set higher reflecting the charge fee per sheet as the use fee, or the program itself may be priced. good.
[0059]
Also, being able to provide image processing by downloading is very convenient. For example, when a bug in a program is corrected, the latest program can be easily provided to the user, and when an upgraded program is completed. Is the same. It is also effective in providing a program that more closely matches the needs of users by downloading and using a program at the development stage before release and conducting a questionnaire. As for distribution / collection of questionnaires, the user needs may be grasped by outputting a questionnaire form from the image processing apparatus or reading the completed form into the image processing apparatus and collecting it via a network.
[0060]
As described above, in the image processing apparatus of the present invention, hardware can be added, and all processing can be performed in one turn (one process) by adding hardware.
[0061]
1 shows an example in which processing is performed by a single DSP. As shown in FIG. 10, a
[0062]
In each of the examples described above, an example in which everything is configured by a DSP has been shown, but a part thereof may be realized by hardware such as an ASIC. For example, an image area separation circuit or the like that requires a very large number of line memories may be preferably realized by an ASIC from the viewpoint of cost.
[0063]
By the way, as described above, when an extended processing module is added and processing cannot be executed in one turn (one processing), the processing is performed by using a re-input path by grouping into a plurality of module groups. It is as follows. However, when modules are grouped into a plurality of groups, each group has a large margin in the number of FIFOs and the number of instructions, and there may be a surplus of processing capacity that can incorporate other processes. In such a case, a module having an additional different function can be added, or the module itself can be replaced with a higher performance module. For example, as shown in FIG. 11, when a show-through removal module is added as an expansion module to the character mode module group, processing cannot be performed in one turn (one process), and two sets of module groups (first and first modules) 2 modules). However, since the number of FIFOs and instructions remain, for effective use, the emphasis filter module 18 is replaced with a higher-performance moire suppression type emphasis filter module 28 in the first module group, and isolated points are removed in the second module group. Module 29 is newly added. With this configuration, it is possible to construct an image processing system that takes full advantage of the DSP processing capability.
[0064]
In addition, when replacing or adding a module, the user is notified of this, and only when there is an instruction from the user, the replacement / addition processing is performed.
[0065]
As described above, in the image processing apparatus of the present invention, when the operation of outputting the stored image signal to the re-input path is selected, the image processing content is sufficient to complete the processing within a predetermined time, In addition, the optimization or addition of processing contents can be controlled so that the processing result with the highest image quality can be obtained.
[0066]
As the function to be added, a function for performing image feature identification for one page such as ACS (Auto Color Select) and automatic background removal can be very easily performed. ACS is a process for determining whether a document is a monochrome document or a color document, and is a popular process for reproducing with a single black toner or color reproduction using all toners of CMYK according to the determination result. However, this can be done by pre-scanning in advance to detect if there is a color part in one page of the image, or by accumulating one page of the image once for ACS and detecting if there is a color part. Generally, the process is started after the determination.
[0067]
In the present invention, since the extended processing module is added, if the processing cannot be executed in one turn (one time processing), the storage means is temporarily stored in any case. Suitable for performing image feature identification over one page. The result may be stored once, and the processing corresponding to the identification result may be performed when the image processing unit processes the image after accumulation again. As described above, it is possible to easily execute processing such as ACS, which is difficult to realize in the case of normal one-turn processing, and contribute to higher image quality.
[0068]
As described above, when the operation of outputting the stored image signal to the re-input path is selected, the image processing unit identifies the image feature for one page before the storage, and the image processing unit stores the image signal after the storage. By performing processing according to the image feature identification result when processing the image, it is possible to easily execute processing such as ACS, which is difficult to realize in the case of normal one-turn processing, Can contribute to
[0069]
In the above-described example, an example is shown in which processing is performed on an image input from an image input unit such as a scanner. However, processing may be performed on an image obtained from a network. In this case, as shown in FIG. 1 and FIG. 9, the image input from the LAN or the data communication network is stored in the storage means 10 via the
[0070]
As described above, according to the present invention, the external device image signal input from the network or the external device is stored in the
[0071]
As described above, according to the present invention, even if the program has a large processing scale, the processed image from the DSP is temporarily stored in the storage means, a new program is downloaded, and the subsequent processing is executed based on the downloaded program. By repeating the download, process execution, and storage until the process is completed, the process cannot be executed even if the copy speed is reduced.
[0072]
Furthermore, when it is required to satisfy both a high function and a high copy speed based on the image processing contents expanded by the user, the request can be met by adding hardware.
[0073]
In addition, image quality degradation is reduced as much as possible by optimizing the compression method when image accumulation is repeated over a plurality of turns.
[0074]
Further, when the image processing job is divided into a plurality of turns and processing capacity of the DSP is sufficient in each processing turn, the processing in the processing turn is optimized so as to effectively use the processing capacity.
[0075]
The present invention has been described above using an image processor having an SIMD type architecture as an example of image processing means. However, the image processing means may be an image processor having an SISD type or MIMD type architecture, and the like. In addition, software processing by PLD (Programmable Logic Device), which is programmable hardware represented by FPGA (Field Programmable Gate Array), or CPU (general-purpose processor) may be used. It is included in the scope of the present invention.
[0076]
In addition, the above-described image processing of the present invention can be provided in the form of a program that causes a computer (for example, CPU 3) to realize the image processing.
[0077]
A program for causing a computer (for example, the CPU 3) to implement the above-described image processing of the present invention can be provided in the form of, for example, a software package (specifically, a recording medium such as a CD-ROM).
[0078]
In other words, the image processing apparatus of the present invention also has a configuration in which a general-purpose computer system reads a program recorded on a recording medium such as a CD-ROM and causes the microprocessor of the general-purpose computer system to execute processing. It is possible to implement. In this case, a program for executing the processing of the present invention (that is, a program used in the hardware system) is provided in a state recorded on a medium. The recording medium on which the program and the like are recorded is not limited to the CD-ROM, and a ROM, RAM, flexible disk, memory card, or the like may be used. The program recorded on the medium is installed in a storage device incorporated in the hardware system, for example, a hard disk, and is activated to execute the program, thereby realizing the processing of the present invention.
[0079]
【The invention's effect】
As explained above, claim 1To claim 14.According to the described invention, the image processing unit that performs image processing on the input image signal according to the image processing program by the image processing element, the storage unit that stores the image signal output from the image processing unit, and the storage unit Since it has a printer path for reading out the stored image signal and outputting it to the subsequent stage, and a re-input path for reading out the image signal stored in the storage means and inputting it again into the image processing means (that is, programmable) Image processing using a simple image processing processor (DSP), having a re-input path for temporarily storing output from the DSP, inputting the stored data to the DSP again, and a printer path for outputting to subsequent processing Therefore, when a high-functional image processing program is added according to the user's request, it is possible to process even a large-scale processing content Rukoto can.
[0081]
In particular, claims 2 and 3According to the described invention, since the image processing program can be downloaded by the communication means, the user can easily obtain the latest high-performance image processing function via the network.
[0082]
Also,
[0083]
Also,Claim 7According to the described invention, when a plurality of in-process images generated and accumulated in one image processing process are stored without being erased even after the image processing job is completed and the same image processing request is made again, Since the optimum image is extracted from the stored mid-process image and the remaining processing is performed, the processing can be made more efficient and faster.
[0084]
Also,Claim 8According to the described invention, it is possible to add hardware, and all the processing can be performed in one process by adding the hardware, so it meets the needs of users who require high functionality and high speed. can do.
[0085]
Also,Claim 9According to the described invention, when the operation of outputting the accumulated image signal to the re-input path is selected, the image processing content is sufficient to complete the processing within a predetermined time, and the highest image quality is obtained. Since the optimization or addition of the processing content is controlled so that the processing result can be obtained, if the DSP has sufficient processing capacity in each processing turn, the processing in the processing turn is optimized. The processing capacity can be utilized to the maximum.
[0086]
Also,Claim 10According to the described invention, when the operation of outputting the stored image signal to the re-input path is selected, the image processing unit performs processing for identifying image features for one page before storage, and the image processing unit When processing is performed on the image after storage by the above, processing according to the identification result of the image feature is performed, so ACS (Auto Color Select) is difficult to realize in the case of normal one-turn processing. Etc. can be executed easily, contributing to higher image quality.
[0087]
Also,Claim 11According to the described invention, an external device image signal input from a network or an external device is stored in the storage means, and the external device image signal is processed by outputting the stored image signal to a re-input path. Therefore, it is easy to store the image data from the network in the storage means, and there is a path for re-inputting the image data from the storage means to the previous stage of the DSP. Data can also be easily processed.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration example of an image processing apparatus according to the present invention.
FIG. 2 is a diagram illustrating an example of various modules stored in a ROM.
FIG. 3 is a diagram illustrating an example of module selection in a character mode.
FIG. 4 is a diagram illustrating an example of module selection in a character photo mode.
FIG. 5 is a diagram illustrating an example of module selection in the case of a photo mode.
FIG. 6 is a flowchart for explaining management of a processing module by a CPU.
FIG. 7 is a diagram for explaining a processing operation when a module is added.
FIG. 8 is a diagram showing another configuration example of the image processing apparatus according to the present invention.
FIG. 9 is a diagram showing another configuration example of the image processing apparatus according to the present invention.
FIG. 10 is a diagram illustrating another configuration example of the image processing apparatus according to the present invention.
FIG. 11 is a diagram for explaining a processing operation when a module is added or replaced.
[Explanation of symbols]
1 Image processing device
2 EEPROM
3 CPU
4 ROM
5 Image input means
6 DSP
7 RAM
8 Printer
9 NIC
10 Accumulation means
11 Data communication network
12 servers
13 LAN
14 Scanner
15 MFP
16 Printer
26 Extended DSP
27 Second DSP
Claims (14)
複数の画像処理モジュールの中から、指定された画像処理モードに基づき必要な画像処理モジュールを選択する選択手段と、前記選択手段によって選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理で実行可能か否かを判定する判定手段とをさらに有し、前記選択手段によって選択された画像処理モジュール群の処理全てを前記画像処理手段が1回の処理で実行可能な場合には、蓄積された画像信号を前記プリンタパスに出力するとともに前記画像処理手段により全ての処理を行い、1回の処理での実行が不可能な場合には、蓄積された画像信号を前記再入力パスに出力するとともに、選択された画像処理モジュール群を複数の組に組み分けし、組み分けした画像処理モジュールをその都度書き換えることにより複数回に分けて処理を行い、所定の処理が完了したらプリンタパスに出力することを特徴とする画像処理装置。Image processing means for performing image processing according to the image processing module against the input image signal, means for storing the image signal outputted from the image processing unit reads out image signals stored in said storage means, a subsequent stage An image processing apparatus having a printer path to be output to and a re-input path for reading out an image signal stored in the storage means and inputting the image signal again to the image processing means ,
A selection unit that selects a required image processing module from a plurality of image processing modules based on a designated image processing mode, and the image processing unit performs all processing of the image processing module group selected by the selection unit. A determination unit that determines whether or not the image processing module can be executed in a single process, and when the image processing unit can execute all the processes of the image processing module group selected by the selection unit in one process Outputs the stored image signal to the printer path and performs all the processing by the image processing means. If it is impossible to execute the processing in a single process, the stored image signal is input again. In addition to outputting to the path, the selected image processing module group is grouped into a plurality of groups, and the grouped image processing modules are rewritten each time. Performs processing separately in time, the image processing device and outputting to a printer path After predetermined processing is completed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002325136A JP3942528B2 (en) | 2002-11-08 | 2002-11-08 | Image processing apparatus, image processing method, program, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002325136A JP3942528B2 (en) | 2002-11-08 | 2002-11-08 | Image processing apparatus, image processing method, program, and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004159242A JP2004159242A (en) | 2004-06-03 |
| JP3942528B2 true JP3942528B2 (en) | 2007-07-11 |
Family
ID=32804454
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002325136A Expired - Fee Related JP3942528B2 (en) | 2002-11-08 | 2002-11-08 | Image processing apparatus, image processing method, program, and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3942528B2 (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006107329A (en) * | 2004-10-08 | 2006-04-20 | Noritsu Koki Co Ltd | Image processing device |
| JP2006209170A (en) * | 2005-01-25 | 2006-08-10 | Canon Inc | Relay device, control method therefor, and printing system |
| JP2007067871A (en) * | 2005-08-31 | 2007-03-15 | Ricoh Co Ltd | Image data processing apparatus, image processing apparatus, image forming apparatus, and image data processing method |
| JP2007081716A (en) * | 2005-09-13 | 2007-03-29 | Ricoh Co Ltd | Image forming apparatus, image processing unit, image processing method, and image processing program |
| JP2007249411A (en) * | 2006-03-14 | 2007-09-27 | Ricoh Co Ltd | Data processing apparatus, data processing method, document management system, and program |
| JP4832164B2 (en) * | 2006-05-29 | 2011-12-07 | 株式会社リコー | Image processing apparatus, application execution method, and application execution program |
| JP5223529B2 (en) * | 2007-09-12 | 2013-06-26 | 株式会社リコー | Image forming apparatus and image processing method |
-
2002
- 2002-11-08 JP JP2002325136A patent/JP3942528B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004159242A (en) | 2004-06-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7599087B2 (en) | Method and apparatus for image processing, and a computer product | |
| JP3861964B2 (en) | Printer and image data processing method in the printer | |
| JP2001273267A (en) | SIMD type processor, parallel processing device, image processing device, copier, printer, facsimile device, scanner, parallel processing method, image processing method, and computer-readable recording medium storing a program for causing a computer to execute the method | |
| US20090290192A1 (en) | Image processing apparatus, image processing method, and program | |
| JP3942528B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
| US6862101B1 (en) | Image processing apparatus, method for adding or updating sequence of image processing and data for image processing in the image processing apparatus, and computer-readable recording medium where program for making computer execute the method is recorded | |
| JPH11232081A (en) | Information processing system and method | |
| JP5054980B2 (en) | Color image processing control device | |
| US6930793B1 (en) | Image processing apparatus, image processing method and computer readable recording medium for recording program for computer to execute the method | |
| JP2000165563A (en) | Image processing device | |
| JPH10108018A (en) | Image processing apparatus, image processing method, and image forming apparatus | |
| JPH10322542A (en) | Image forming device | |
| JP3971575B2 (en) | Image processing apparatus, image processing method, and computer-readable recording medium storing program for causing computer to execute the method | |
| JP4690115B2 (en) | Control apparatus and image processing apparatus | |
| JP2005026835A (en) | Image processing device | |
| JP2002359743A (en) | IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING THE PROGRAM | |
| JP4237353B2 (en) | Image processing device | |
| JP3657161B2 (en) | Image processing apparatus, image processing method, and computer-readable recording medium storing program for causing computer to execute the method | |
| JPH10173836A (en) | Image processing unit | |
| JP2001092946A (en) | Image processing device | |
| JP2005323406A (en) | Image processing apparatus, image processing method, program for causing computer to execute the method, and computer-readable recording medium storing the program | |
| US20070165969A1 (en) | Image processing device and image processing control method | |
| JP5753370B2 (en) | Image processing apparatus, method, and program | |
| JP5132696B2 (en) | MEMORY CONTROL DEVICE, IMAGE FORMING DEVICE, AND MEMORY CONTROL METHOD | |
| JP2004234106A (en) | Image processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050301 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070109 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070312 |
|
| 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: 20070403 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070403 |
|
| 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: 20100413 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110413 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120413 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130413 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |