Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4090920B2 - Image processing control apparatus and image processing control method - Google Patents
[go: Go Back, main page]

JP4090920B2 - Image processing control apparatus and image processing control method - Google Patents

Image processing control apparatus and image processing control method Download PDF

Info

Publication number
JP4090920B2
JP4090920B2 JP2003076486A JP2003076486A JP4090920B2 JP 4090920 B2 JP4090920 B2 JP 4090920B2 JP 2003076486 A JP2003076486 A JP 2003076486A JP 2003076486 A JP2003076486 A JP 2003076486A JP 4090920 B2 JP4090920 B2 JP 4090920B2
Authority
JP
Japan
Prior art keywords
image
processing
image data
setting
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003076486A
Other languages
Japanese (ja)
Other versions
JP2004289314A (en
Inventor
俊己 山村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2003076486A priority Critical patent/JP4090920B2/en
Publication of JP2004289314A publication Critical patent/JP2004289314A/en
Application granted granted Critical
Publication of JP4090920B2 publication Critical patent/JP4090920B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、画像処理を制御する画像処理制御装置および画像処理制御方法に関し、特に、スキャナや、FAXなどの画像処理を行うプロセッサへの設定を行う画像処理制御装置および画像処理制御方法に関する。
【0002】
【従来の技術】
従来、入力された画像データの画像処理を制御する方法として、副走査方向および主走査方向の画像範囲を示す信号(以下、FGATEおよびLGATEと称する)と、主走査方向の画像開始の合図としての同期信号(以下、LSYNC)とが用いられていた。図14は、従来のデジタル複写機の概観を示す図である。図15は、デジタル複写機の読み取り光学系の動作を説明する図である。原稿101をデジタル複写機100の原稿台102に直接載せて読み取り面が下向きになるようにセット(Book読み取り)して読み取る場合、図の複写機手前から見て横方向に、読み取り光学系200が搬送されて原稿画像を読み込む。この時、先ず光源202によって原稿が照明され、その反射光がミラー203およびレンズと中継のミラー群204を通して順次収束されて反射され、イメージラインセンサ(以下、CCD)205により読み取られる。
【0003】
図16は、原稿画像入力における原稿、制御信号、および有効画像領域の関係を説明する図であり、(a)は原稿と制御信号の関係を説明する図であり、(b)は原稿画像の走査を説明する図であり、そして(c)は制御信号群と有効画像領域のタイミングを示す図である。図16の(a)に示された副走査範囲信号FGATEは、図15に示された光源202やミラー203が走査する方向、即ち副走査方向の画像範囲を示す信号である。同様に主走査同期信号LSYNCは、図15のCCD205の読み取り方向、即ち主走査方向のラインの開始点の合図となる同期信号である。そして、主走査範囲信号LGATEは、主走査方向の原稿読み取り面の画像範囲を示す信号である。
【0004】
主走査方向の原稿の読み取りは、図16の(b)に画像走査の具体例に示すようにCCD205によって主走査方向にline1、line2、line3、・・・、というように走査される。これらFGATE、LSYNC、LGATEと画像データとの時間的な関係が図16の(c)に示される。こうして2次元の原稿画像のデータを、時間軸による画像データに置き換えて処理を行なう。
【0005】
図17はデジタル複写機の機能的ブロック図である。処理全般の指示を与えるホストCPU(Central Processing Unit、以下CPUと略す)310は、各ブロックに処理や設定の指示を送る。CCD205によって読み取られた画像データはまず、スキャナ311に送られ、A/D変換を施されてスキャナ特性の補正を受け、画像処理部312でフィルタやマスク処理、誤差拡散などの画像処理が施され、必要に応じて画像蓄積部313に送られる。マスク処理は、上記LGATE内での実際の画像サイズ(図16の(a)における原稿)範囲に従って不要領域のマスクを行なう。画像蓄積部313は、画像処理部312との間で画像データを授受し、少なくともコピー出力紙(以下、転写紙)一枚分の画像編集用の一時的なメモリ領域を確保し、画像処理部312から画像データを受け取り、HD(ハードディスク)などの大容量の記憶媒体を持つことにより、多数部の画像データを蓄積可能である。また、画像データの圧縮/伸張機能を有して、画像情報の蓄積量を更に増大させることもできる。プリンタ314は、画像蓄積部313に蓄積された画像データを画像処理部312を経由して受け取り、転写紙に出力する。
【0006】
画像処理部312としては、従来からコスト的、処理時間の早さなどの理由で汎用CPUよりも、特定用途の目的に特化して設計されたASIC(Application Specific Integrated Circuit)をその都度設計することにより、パフォーマンスを上げてきた。しかし、近年のIC動作速度の高速化と、製品サイクル期間の短縮化による製品毎の設計負担の問題、そして、コア組み込み型ICの普及に伴なって、デジタルシグナルプロセッサ(以降DSPと略す)や、画像処理に特化した画像処理プロセッサなどが使用され始めてきている。
【0007】
DSPは例えば、特願2001−126656号公報に記載されているように基本的に、内部に信号処理部(ALU(Arithmetic and Logic Unit)などからなるプロセッサ部)と、それを動作させるプログラム格納部(メモリ)から構成され、ハードおよびソフトウェアの両面を持つ、ミドルウェアとして位置付けられる。DSPは、ALU(Arithmetic and Logic Unit)を複数個持ち、一連の画像データに対してこれら複数のALUが並列に同時に実行するSIMD(Single Instruction Multi Data)構造を持つことによって、また並列処理に不向きな誤差拡散などの処理に対しては専用のハードウェアを持つことによって、従来のASICよりも高速、かつ柔軟性を有して処理を行なうことができる。
【0008】
図18は、従来例のDSPの構成例を説明する図である。DSP315は実際の信号入力/信号処理/信号出力を行なうプロセッサ部と、プロセッサの動作を決定するプログラムを内蔵するためのメモリ部と、から構成され、メモリにダウンロードされたプログラムに従って種々の処理を行なう。ここでは、画像処理部312をDSP315とした構成例である。CPU10は内部に制御プログラムを格納したROMを持ち、このROM内にDSP315にダウンロードするプログラムを格納している。
【0009】
図19はDSPへのプログラムダウンロードの流れを示すフローチャートである。CPU310がDSP315にダウンロードを行なうのは、電源投入時のBoot処理時や、リセット命令終了後である。CPU310は図19に示すように、各処理へのBoot処理、上流処理への設定、DSPへの設定、そして下流処理への設定の順で、CPU310内のDSPプログラムエリアの内容をDSP315のメモリ部へ投入(インストール)する。
【0010】
【特許文献1】
特願2001−126656号公報
【0011】
DSPを用いた画像処理においては、並列に処理される単位での画像処理が行なわれるので、上記のように、画像蓄積部などの外部機器と画像データをやり取りする場合、常に入出力の画像データのサイズを固定とする場合は再設定の必要はなく、ホスト側で意識する必要がないためスムーズに処理を行なうことができる。しかし、受け取る画像データのサイズが異なる場合は、主走査方向の有効画像データ量を変更する設定が必要となる。
【0012】
【発明が解決しようとする課題】
しかしながら、従来例においてDSPを用いたプロセッサ制御方法では一般に、プログラムのダウンロードの方法について述べているものの、画像データの受け渡しにおける画像サイズの変換については、知られていなかった。
【0013】
上記の課題に鑑みて本発明はなされ、その目的は、入力する画像データ量を設定でき、周辺機器との任意のデータ量の画像の授受が可能な画像処理制御装置および画像処理制御方法を提供することである。
【0014】
また、他の目的は、周辺機器との任意のデータ量の画像の授受が可能な画像処理制御装置および画像処理制御方法を提供することである。
【0015】
また、さらに他の目的は、安定した画像データの授受が可能な画像処理制御装置および画像処理制御方法を提供することである。
【0016】
【課題を解決するための手段】
上記目的を達成するため、請求項1にかかる発明は、原稿画像を読み取り画像処理するプロセッサへ設定を行なう画像処理制御装置であって、
前記原稿画像を読み取る主走査方向の画像データ幅と、前記プロセッサが処理する処理単位とをパラメータとして、前記プロセッサが前記原稿画像を画像処理するために必要なSIMD数を計算する処理数計算手段と、計算された前記必要なSIMD数によって、画像処理される前記画像データ幅を設定する画像データ幅設定手段と、前記プロセッサが画像処理する処理内容によって、前記処理数計算手段が算出する前記必要なSIMD数を固定とするか可変とするかを設定する処理数設定手段と、を備えることを特徴とする画像処理制御装置である。
【0017】
この請求項1の発明によれば、原稿画像を読み取る主走査方向の画像データ幅と、プロセッサが処理する処理単位とをパラメータとして、プロセッサが原稿画像を画像処理するために必要なSIMD数を計算する処理数計算手段と、計算された必要なSIMD数によって、画像データ幅設定手段が画像処理される画像データ幅を設定するので、入力する画像データのデータ幅を設定することができるので、周辺機器と任意の画像データ量の授受が可能な画像処理制御装置を提供できる。
また、この請求項1の発明によれば、プロセッサが画像処理する処理内容によって、処理数計算手段が算出する必要なSIMD数を固定とするか可変とするかを設定する処理数設定手段を備えたことによって、画像データ量の変更を固定とするか変動とするか選択する制御を加えることができるので、周辺機器および/または自身の有する出力機器との間で能率的な画像データの授受が可能な画像処理制御装置を提供できる。
【0018】
また、請求項2にかかる発明は請求項1に記載の画像処理制御装置において、前記処理数計算手段はパラメータとして、前記読み取り原稿の変倍率を、さらに用いることを特徴とする。
【0019】
この請求項2の発明によれば、処理数計算手段はパラメータとして、読み取り原稿の変倍率を、さらに用いることによって、画像を変倍して出力できるので、周辺機器と任意の画像データ量の授受が可能な画像処理制御装置を提供できる。
【0020】
また、請求項3にかかる発明は、請求項1または2に記載の画像処理制御装置において、前記処理数計算手段はパラメータとして、前記読み取り原稿サイズおよび/または転写紙サイズを、さらに用いることを特徴とする。
【0021】
この請求項3の発明によれば、処理数計算手段はパラメータとして、読み取り原稿サイズおよび/または転写紙サイズを、さらに用いることによって、原稿サイズと転写紙サイズとから変倍率を計算できるので、原稿サイズと転写紙サイズが異なっても、周辺機器と任意の画像データ量の授受が可能な画像処理制御装置を提供できる。
【0024】
また、請求項にかかる発明は請求項1〜のいずれか1つに記載の画像処理制御装置において、画像処理される前記画像データ幅を設定後、前記画像データ読み取り開始合図に同期して、前記プロセッサに処理受付開始設定を行なう開始設定手段を、さらに備えたことを特徴とする。
【0025】
この請求項の発明によれば、画像処理される画像データ幅を設定後、画像データ読み取り開始合図に同期して、プロセッサに処理受付開始設定を行なう開始設定手段を、さらに備えたことによって、副走査開始合図を設定して動作させる制御とし、画像データ授受の仕様を広げ、不要な制御信号の入力による誤動作を防止できるので、より安定な動作が可能な画像処理制御装置を提供できる。
【0026】
また、請求項にかかる発明は請求項1〜のいずれか1つに記載の画像処理制御装置において、前記画像データの画像処理終了合図に同期して、前記プロセッサに処理受付終了設定を行なう終了設定手段を、さらに備えたことを特徴とする。
【0027】
この請求項の発明によれば、画像データの画像処理終了合図に同期して、プロセッサに処理受付終了設定を行なう終了設定手段を、さらに備えたことによって、副走査終了合図を設定して動作させる制御によって動作終了の仕様を広げ、画像データ後端において不要な制御信号の入力による誤動作を防止できるので、より安定な動作が可能な画像処理制御装置を提供できる。
また、請求項6にかかる発明は、原稿画像を読み取り画像処理するプロセッサへ設定を行なう画像処理制御装置で実行される画像処理制御方法であって、前記原稿画像を読み取る主走査方向の画像データ幅と、前記プロセッサが処理する処理単位とをパラメータとして、前記プロセッサが前記原稿画像を画像処理するために必要なSIMD数を計算する処理数計算ステップと、計算された前記必要なSIMD数によって、画像処理される前記画像データ幅を設定する画像データ幅設定ステップと、前記プロセッサが画像処理する処理内容によって、前記処理数計算手段が算出する前記必要なSIMD数を固定とするか可変とするかを設定する処理数設定ステップと、を含むことを特徴とする画像処理制御方法である。
【0028】
【発明の実施の形態】
以下に添付図面を参照して、この発明にかかる画像処理制御装置及び画像処理制御方法の好適な実施の形態を詳細に説明する。
【0029】
(実施の形態1)
図1は、本発明の実施の形態1による画像処理制御装置の機能的ブロック図である。CPU10は各ブロックに処理や設定の指示を送る。スキャナ11は読み取った画像データにA/D変換を行なってスキャナ特性を補正し、DSP15に送る。DSP15はCPU10から画像処理用のプログラムを設定(インストール)され、スキャナ11から受け取った画像データに対して、フィルタやマスク処理、誤差拡散などの画像処理を行ない、画像蓄積部13に出力する。画像蓄積部13は、CPU10より、DSP15から受け取る画像データの指定画像幅設定を受けて、DSP15から画像を受け取る。また、出力時には蓄積した画像データのサイズに応じたLSYNC,FGATE,およびLGATE信号を出力してDSP15に送信する。そして、印字する際にはプリンタ14がDSP15から画像データを受信して転写紙に出力する。
【0030】
図2は、実施の形態1による画像処理制御装置における画像データと制御信号の関係を説明する図であり、(a)はCPUがDSPおよび画像蓄積部に対して行う設定動作を説明する図であり、(b)は画像読取りと設定のタイミングを説明する図である。即ち、図2は、画像の読み取りを行なう際のDSP15が授受する画像データと、制御信号との関係を示している。ここで、図2の(b)に示すように、DSP15から画像データを画像蓄積部13へ渡す際には、LGATE信号がない代わりに指定画像幅を、CPU10から画素数によって画像蓄積部13へ設定する。また、DSP15が画像蓄積部13から画像データを受け取って画像処理を行なう場合は、画像データの量が変わるため、画像データ量の設定を変更しなければならない可能性がある。そのため、CPU10がDSP15に1ラインの画像量を設定する。これは、DSP15がLGATE信号によって画像データ量を把握する方式以外に、画像蓄積部13と同様にLGATE信号を受け取らない構成のケースもあるからである。SIMD数を指定することで、LGATE信号が無い場合でも、DSP15はバッファ(FIFO)に格納されたデータのどこまでを処理すればよいかが分かる。
【0031】
図3は、本発明の実施の形態1による他の画像処理制御装置の機能的ブロック図である。この画像処理装置は、DSPを2つ使用して画像処理を行なう。この場合、スキャナ11からの読み取りデータに対して画像処理を行なうDSP15aと、画像蓄積部13からの転送データに対して画像処理を行なうDSP15bとに対して、CPU10が設定を行なっている。
【0032】
図4は、DSP内のSIMD(Single Instruction Multi Data)の構成を説明する図であり、(a)は入出力データとSIMD処理の関係を示し、(b)はSIMDとプロセッサエレメント(PE)との関係を示す。図4の(b)に示すように、1つのSIMDは複数のプロセッサエレメント(PE)からなる。このPEは演算機(ALU)やそのレジスタ、ラインメモリ(FIFO)などから構成され、このPE1つが1画素の画像データの処理を受け持つ。このPEが並列に複数配置されることによって、PE数分だけの処理を同時に行なうことが可能になり、1SIMD当たりの処理画像データ数(画素数)が決定される。
【0033】
図4の(a)に示す入力データとSIMDの処理の関係については、外部からの画像データは入力用のラインメモリ(FIFO)401にて一度バッファリングされ、その後1SIMD分の処理単位毎に処理が行なわれ、処理後のデータは出力用のFIFO402に蓄積される。これが全ての画像データに行なわれた後、FIFO402から処理後のデータが出力される。
【0034】
図5は、原稿読み取り面、制御信号、有効画像領域、およびSIMDの関係を説明する図であり、(a)は原稿と制御信号との関係を示す図であり、(b)は画像走査方向を示す図であり、そして(c)は有効画像領域とSIMDの関係を示す図である。ここでは、LGATE信号を用いる場合であり、SIMD処理の対象範囲はLGATE区間となり、読み取り原稿面を読み取った画像データに対してその主走査方向をSIMDごとに分割して処理を行なっている。
【0035】
この場合、有効画像を処理するための必要なSIMD数Sは以下のようにして計算される。
【0036】
S(SIMD数)=1ラインの画像データ数/1SIMD当たり処理数
但し、この場合、
(1)整数値として割り切れない場合は商の小数点以下を切り上げる。なぜなら、小数点以下を切り捨てると有効領域画像をカバーできないからである。
【0037】
(2)周辺画素を参照して処理する機能がある場合、SIMDの境界で周辺参照分だけ互いのSIMD領域を取得しなくてはいけないので、
1SIMD当たり処理数=1SIMD当たりPE数−両側のSIMDとの画像オーバーラップ分となる。
【0038】
これについては、例えばフィルタ処理など、対象画素を処理するのに周辺の画素を参照するケースでは、SIMDの一番端の画像は正しい処理が出来ないために、前のSIMDあるいは後のSIMDの参照必要画素分もSIMDに取り込むことが必要になるため、オーバーラップ分を減ずる。即ち、DSP15が持つ実際のSIMD内のPE数は全て使用できるのではなく、そこから各処理が持つ周辺参照に必要な画素数を引いた分を、本来の有効画像に対する「1SIMDあたり処理数」にしなくてはいけなくなるためである。
【0039】
こうしてCPU10が設定する画像データ数は、上記式で計算しているS(SIMD数)であり、DSP15はその数に基づいてプログラムが処理を行う。そして、CPU10は内部で上記式やオーバーラップの計算を行う。また、画素で表す画像幅は、上記の式「S(SIMD数)=1ラインの画像データ数/1SIMD当たり処理数」を逆算して「1ラインの画像データ数=S(SIMD数)×1SIMD当たり処理数」として把握できる。
【0040】
ここで、CPU10は上記の式を計算するプログラムを備えて上記の式を計算する。またCPU10は画像データ幅を算出してDSP15に設定するプログラムを備えて、画像データ幅を算出する。CPU10が上記の式を計算するプログラムは本発明における処理数計算手段を構成し、またCPU10が画像データ幅を算出してDSP15に設定するプログラムが本発明における画像データ幅設定手段を構成する。
【0041】
(実施の形態2)
実施の形態2は、画像出力する機器によって、出力する画像サイズを固定とするか変動とするかを設定することによって、効率的な画像出力を行う。
【0042】
図6は、本発明の実施の形態2による画像処理制御装置の機能的ブロック図である。ここで、図1と同一の符号は同一の構成要素を示し、実施の形態1と異なる部分の説明を主として行う。DSP15は画像処理後のデータをプリンタ14および/または外部機器16に出力する。
【0043】
プリンタ14は、画像データを転写紙に出力する。この出力は例えば、スキャナで読み取ってから転写紙に出力する同じ複写機に装備されたコピー機能の動作である。一方、外部機器16はその目的によりDSP15から受け取ったデータを種々の方式で画像出力する。例えば、本発明の構成をスキャナ読み取りに使用した場合、外部機器16はそのデータをPCなどのモニタに出力したり、またネットワークプリンタの場合にはプリンタ14と同様に特定の機器を選択して転写紙に出力、また、サーバーなどの場合は電子データとして保持する外部機器である。
【0044】
ここで出力側として考えられるプリンタ14や外部機器16の場合について考えてみると、プリンタ14の場合はスキャナ11で読み取る装置に一体化した機器であり、もしDSP15において画像データを転写紙のサイズで転送しなくてもプリンタ14で転写紙のサイズを設定してその分の有効領域を受信するか、受け取った後に切り取り出来れば、DSP15ではSIMD数を固定にすることも可能である。SIMD数を固定にすることによって、ホストCPUが画像サイズを意識する必要がなくなり、無駄なハードおよびソフトウェア資源を省くことができる。
【0045】
しかし、出力側が外部機器16の場合は、そのそれぞれの機器の仕様により、画像有効領域と受け渡しデータの加工を補償するため、DSP15から出力する画像は予め要請される画像サイズである方が望ましい。図7は、本発明の実施の形態2による画像処理制御装置の動作を説明するフローチャートである。先ず、ホストCPU10はその時々の処理で、出力系が自身のプリンタ14であるのか、あるいは外部機器16(例えばパーソナルコンピュータ(PC))であるのかの情報によって、出力画像サイズを固定とするか変動とするかを判断する(ステップS701)。固定であれば(ステップS701のYes)、固定の値を設定するか(ステップS702)、あるいは前回と同じであれば固定値の設定動作を省略する。そして、判断結果が「変動」であれば(ステップS701のNo)、SIMD数を上述の方法によって計算して設定する(ステップS703)。
【0046】
こうして、出力画像サイズが固定であるか変動であるかを判断して、それぞれの方式で設定することによって、効率よく画像処理することができる。
【0047】
(実施の形態3)
実施の形態3による画像処理制御装置は、画像データを受けるDSPに対して、画像入力信号を送信することによって、より確実な画像処理を行う構成である。
【0048】
画像処理制御装置において、画像データと制御信号とが関係付けられた上で機器間でI/Fを行なって画像を受け渡す場合、当然ながら該制御信号の動作を合図に、各機器は画像データを取り込んで画像有効領域と認識して各処理を行なう事が前提になっている。しかし、画像をDSP15に出力する機器が、この前提を守ることなく制御信号を出力した場合は、DSP15はその制御信号が示す画像データを判定できないため、その前提を守らない制御信号に基づいて処理を行なってしまうか、あるいは、その時に設定されているプログラムが画像データの仕様に対して適性でないにも関わらず動作して、予期しない動作を起こす可能性がある。
【0049】
図8は、本発明の実施の形態3による画像処理制御装置の動作例を説明するシーケンス図である。先ず、立ち上げ時に外部からCPU10へ立ち上げ要求が通知される。CPU10は立ち上げ通知を受けて、DSP15、DSP15へ画像データを出力する上流処理801、および、DSP15から画像データを受けて処理する下流処理802へとBoot処理を行ない、次に各部品へと設定を行なっていく。ここではDSP15のみへの設定を示しており、CPU10より処理設定、即ちDSP15に対するプログラムのダウンロードを行なう。プログラムのダウンロードが終了すると、DSP15は設定完了の返答をCPU10へ返す。但し、この時点では画像データが出力されてもDSP15は画像を受け取らない。
【0050】
ここでCPU10は全ての準備が終わり、画像処理を開始する直前にDSP15に対して画像入力合図1(Kick)を入れ、これによりDSP15は画像データ受け待ち状態になる。そしてCPU10は上流処理801へ処理命令を送ることにより処理が開始され、DSP15へ随時、処理信号を送り、DSP15は受け取った信号を処理して下流処理802へ送る。このKickは画像データが入力されると自動的に受け付けされた後、画像データ処理の終了とともに自動的にOFFになり、画像シート一つ毎にKickを設定する。この例では2回のジョブについて示してあり、一回目は上流処理801からの画像が2つ送られてきており、二回目は一つ送られてきていることを示している。このように異なる処理毎に設定を行なうだけでなく、画像入力の合図を行なうことで不要な入力を排除することが可能になり、安定的な画像処理ができる。
【0051】
(実施の形態4)
実施の形態4による画像処理制御装置は、CPU10からDSP15への処理終了設定により、画像を受付を強制的に終わらせて、画像終了位置をホストCPU10の方でも制御可能とし、画像処理受付を強制的に終了することによって、画像処理動作を安定させるものである。
【0052】
図9は、本発明の実施の形態4による画像処理制御装置の動作例を説明するシーケンス図である。図9に示すように、実施の形態4による画像処理制御装置の動作のシーケンス例では、処理開始設定(イネーブル設定)により画像を受け取り、CPU10からDSP15への処理終了設定により、画像を受付を強制的に終わることを可能としている。これにより、画像終了位置をホストCPU10の方でも制御することが可能となる。そして、画像処理受付を強制的に終了することによって、画像処理動作を安定させることができる。
【0053】
(実施の形態5)
実施の形態5による画像処理制御装置は、さらに原稿が変倍されても、変倍して画像出力できる構成である。
【0054】
図10は、本発明の実施の形態5による画像処理制御装置の機能的ブロック図である。同一の符号は実施の形態1〜4と同様の機能を果たす。実施の形態5では主に、異なった構成と機能について説明する。DSP15はCPU10から画像処理用のプログラムを設定され、スキャナ11から受け取った画像データに対して、フィルタやマスク処理、誤差拡散などの画像処理を行ない、画像蓄積部13に出力する。画像蓄積部13はCPU10よりDSP15から受け取る画像データの指定画像幅設定を受けて、DSP15より画像を受け取る。また、出力時には蓄積した画像データのサイズに応じたLSYNC,FGATE,LGATEを出力してDSP15に渡す。そして、最後に印字する際にはプリンタ14がDSP15から画像データを受け取って転写紙に出力する。
【0055】
図11は、本発明の実施の形態5による他の画像処理制御装置の機能的ブロック図である。ここではDSPを2つ使用して画像処理を行なう。この場合、スキャナからの読み取りデータに対する画像処理を行なうDSP15cと、画像蓄積部からの転送データに対する画像処理を行なうDSP15dとに対して、CPU10が設定を行なう。
【0056】
ここで、ユーザーが変倍率を指定して画像の大きさを変えようとした場合、変倍処理自体はスキャナ11から画像データを受け取って画像蓄積部13に至る経路のDSP15cで設定され、そして変倍された画像データは画像蓄積部13に格納される。
【0057】
この場合、画像蓄積部13から画像データを受け取るDSP15dが有効画像を処理するための必要なSIMD数は以下のようにして計算される。
【0058】
S(SIMD数)=1ラインの画像データ数×変倍率÷1SIMD当たり処理数
但し、この場合、
(1)商が割り切れず小数点以下が出た場合は、小数点以下を切り上げる。切り捨てると有効領域画像をカバーできないからである。
【0059】
(2)周辺画素を参照して処理する機能がある場合、SIMDの境界で周辺参照分をだけ互いのSIMD領域を取得しなくてはいけないため、
SIMD当たり処理数=1SIMD当たりPE数−両側のSIMDとの画像オーバーラップ分
となる。
【0060】
(実施の形態6)
実施の形態6による画像処理制御装置は、原稿サイズと転写紙サイズが異なっていても任意の画像データの授受が可能である。
【0061】
図12は、本発明の実施の形態6による画像処理制御装置の機能的ブロック図である。図13は、本発明の実施の形態6による他の画像処理制御装置の機能的ブロック図である。図13に示された他の画像処理制御装置においては、画像処理を行って画像蓄積部13に処理された画像を送信するDSP15fおよび画像蓄積部13から画像データを受信するDSP15gとの2つのDSPを備える。実施の形態6による画像処理制御装置においては、ユーザーが転写紙を選択し、転写紙サイズにあわせて原稿を変倍して出力する。
【0062】
この場合、画像蓄積部13から画像データを受け取るDSP15e(図12)、およびDSP15g(図13)が有効画像を処理するための必要なSIMD数は、以下のようにして計算される。
【0063】
S(SIMD数)=1ラインの画像データ数×転写紙サイズ÷原稿サイズ÷1SIMDあたり処理数
但し、この場合、
(1)商が整数で割り切れずに小数点以下が出た場合は小数点以下を切り上げる。切り捨てると有効領域画像をカバーできないからである。
【0064】
(2)周辺画素を参照して処理する機能がある場合、SIMDの境界で周辺参照分をだけ互いのSIMD領域を取得しなくてはいけないため、
SIMD当たり処理数=1SIMD当たりPE数−両側のSIMDとの画像オーバーラップ分
となる。
【0065】
【発明の効果】
以上説明したように、請求項1および6にかかる発明によれば、入力する画像データのデータ幅を設定することができるので、周辺機器と任意の画像データ量の授受が可能な画像処理制御装置を提供できるという効果を奏する。
また、請求項1および6にかかる発明によれば、画像データ量の変更を固定とするか変動とするか選択する制御を加えることができるので、周辺機器および/または自身の有する出力機器との間で効率的な画像データの授受が可能な画像処理制御装置を提供できるという効果を奏する。
【0066】
請求項2にかかる発明によれば、画像を変倍して出力できるので、周辺機器と変倍された任意の画像データ量の授受が可能な画像処理制御装置を提供できるという効果を奏する。
【0067】
請求項3にかかる発明によれば、原稿サイズと転写紙サイズが異なっていても周辺機器と任意の画像データ量の授受が可能な画像処理制御装置を提供できるという効果を奏する。
【0069】
請求項にかかる発明によれば、副走査開始合図を設定して動作させる制御として、画像データ授受の仕様を広げ、不要な制御信号の入力による誤動作を防止できるので、より安定な動作が可能な画像処理制御装置を提供できるという効果を奏する。
【0070】
請求項にかかる発明によれば、副走査終了合図を設定して動作させる制御によって動作終了の仕様を広げ、画像データ後端において不要な制御信号の入力による誤動作を防止できるので、より安定な動作が可能な画像処理制御装置を提供できるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の実施の形態1による画像処理制御装置の機能的ブロック図である。
【図2】実施の形態1による画像処理制御装置における画像データと制御信号の関係を説明する図であり、(a)がCPUがDSPおよび画像蓄積部に対して行う設定動作を説明する図であり、(b)は画像読取りと設定のタイミングを説明する図である。
【図3】本発明の実施の形態1による他の画像処理制御装置の機能的ブロック図である。
【図4】DSP内のSIMDの構成を説明する図であり、(a)は入力データとSIMD処理の関係を示し、(b)はSIMDとプロセッサエレメント(PE)との関係を示す。
【図5】原稿読み取り面、制御信号、有効画像領域、およびSIMDの関係を説明する図であり、(a)は原稿と制御信号の関係を示す図であり、(b)は画像操作の方向を示す図であり、そして(c)は有効画像領域とSIMDの関係を示す図である。
【図6】本発明の実施の形態2による画像処理制御装置の機能的ブロック図である。
【図7】本発明の実施の形態2による画像処理制御装置の動作を説明するフローチャートである。
【図8】本発明の実施の形態3による画像処理制御装置の動作例を説明するシーケンス図である。
【図9】本発明の実施の形態4による画像処理制御装置の動作例を説明するシーケンス図である。
【図10】本発明の実施の形態5による画像処理制御装置の機能的ブロック図である。
【図11】本発明の実施の形態5による他の画像処理制御装置の機能的ブロック図である。
【図12】本発明の実施の形態6による画像処理制御装置の機能的ブロック図である。
【図13】本発明の実施の形態6による他の画像処理制御装置の機能的ブロック図である。
【図14】従来のデジタル複写機の概観を示す図である。
【図15】デジタル複写機の読み取り光学系の動作を説明する図である。
【図16】原稿画像入力における原稿、制御信号、および有効画像領域の関係を説明する図であり、(a)は原稿と制御信号の関係を説明する図であり、(b)は原稿画像の走査を説明する図であり、そして(c)は制御信号群と有効画像領域のタイミングを示す図である。
【図17】従来のデジタル複写機の機能的ブロック図である。
【図18】従来例のDSPの構成例を説明する図である。
【図19】従来例のDSPへのプログラムダウンロードの流れを示すフローチャートである。
【符号の説明】
10,310 CPU
11,311 スキャナ
13,313 画像蓄積部
14,314 プリンタ
15、15a,15b,15c,15d,15e、15f、15g DSP
101 原稿
102 原稿台
202 光源
205 CCD
312 画像処理部
401、402 FIFO
801 上流処理
802 下流処理
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to an image processing control apparatus for controlling image processing.And image processing control methodIn particular, an image processing control device for setting a scanner and a processor for performing image processing such as FAXAnd image processing control methodAbout.
[0002]
[Prior art]
Conventionally, as a method for controlling image processing of input image data, a signal indicating an image range in the sub-scanning direction and the main scanning direction (hereinafter referred to as FGATE and LGATE) and a signal for starting an image in the main scanning direction are used. A synchronization signal (hereinafter, LSYNC) was used. FIG. 14 is a diagram showing an overview of a conventional digital copying machine. FIG. 15 is a diagram for explaining the operation of the reading optical system of the digital copying machine. When the original 101 is directly placed on the original table 102 of the digital copying machine 100 and set so that the reading surface faces downward (book reading), the reading optical system 200 is arranged in the horizontal direction when viewed from the front of the copying machine in the figure. The original image is read after being conveyed. At this time, first, the original is illuminated by the light source 202, and the reflected light is sequentially converged and reflected through the mirror 203 and the lens and relay mirror group 204, and is read by an image line sensor (hereinafter, CCD) 205.
[0003]
FIG. 16 is a diagram for explaining the relationship between a document, a control signal, and an effective image area in document image input, (a) is a diagram for explaining the relationship between the document and the control signal, and (b) is a diagram of the document image. It is a figure explaining scanning, and (c) is a figure which shows the timing of a control signal group and an effective image area | region. The sub-scanning range signal FGATE shown in FIG. 16A is a signal indicating the image range in the sub-scanning direction, that is, the scanning direction of the light source 202 and the mirror 203 shown in FIG. Similarly, the main scanning synchronization signal LSYNC is a synchronization signal that serves as a signal of the starting point of the line in the reading direction of the CCD 205 in FIG. 15, that is, the main scanning direction. The main scanning range signal LGATE is a signal indicating the image range of the document reading surface in the main scanning direction.
[0004]
In reading the original in the main scanning direction, as shown in a specific example of image scanning in FIG. 16B, the CCD 205 scans the line 1, line 2, line 3,... In the main scanning direction. The temporal relationship between these FGATE, LSYNC, and LGATE and image data is shown in FIG. In this way, processing is performed by replacing the data of the two-dimensional document image with image data on the time axis.
[0005]
FIG. 17 is a functional block diagram of the digital copying machine. A host CPU (Central Processing Unit, hereinafter abbreviated as CPU) 310 that gives instructions for overall processing sends processing and setting instructions to each block. Image data read by the CCD 205 is first sent to the scanner 311, subjected to A / D conversion and corrected for scanner characteristics, and subjected to image processing such as filter, mask processing, and error diffusion in the image processing unit 312. If necessary, it is sent to the image storage unit 313. In the masking process, unnecessary areas are masked according to the actual image size (document in FIG. 16A) range in the LGATE. The image storage unit 313 exchanges image data with the image processing unit 312, secures a temporary memory area for image editing for at least one copy output paper (hereinafter referred to as transfer paper), and the image processing unit By receiving image data from 312 and having a large-capacity storage medium such as an HD (hard disk), a large number of image data can be stored. In addition, it is possible to further increase the storage amount of image information by having a compression / decompression function of image data. The printer 314 receives the image data stored in the image storage unit 313 via the image processing unit 312 and outputs it to transfer paper.
[0006]
As the image processing unit 312, an ASIC (Application Specific Integrated Circuit) that has been designed specifically for the purpose of a specific application rather than a general-purpose CPU for reasons such as cost and speed of processing has been conventionally designed. Has improved performance. However, with the recent increase in IC operation speed, the problem of design burden for each product due to shortened product cycle period, and the spread of core embedded ICs, digital signal processors (hereinafter abbreviated as DSP) and An image processor specialized for image processing has begun to be used.
[0007]
For example, as described in Japanese Patent Application No. 2001-126656, a DSP basically includes a signal processing unit (a processor unit including an ALU (Arithmetic and Logic Unit)) and a program storage unit for operating the signal processing unit. It is composed of (memory) and is positioned as middleware with both hardware and software. The DSP has a plurality of ALUs (Arithmetic and Logic Units) and has a SIMD (Single Instruction Multi Data) structure in which a plurality of ALUs execute simultaneously in parallel on a series of image data, and is not suitable for parallel processing. By using dedicated hardware for processing such as error diffusion, processing can be performed with higher speed and flexibility than conventional ASICs.
[0008]
FIG. 18 is a diagram illustrating a configuration example of a conventional DSP. The DSP 315 includes a processor unit for performing actual signal input / signal processing / signal output and a memory unit for incorporating a program for determining the operation of the processor, and performs various processes according to the program downloaded to the memory. . In this example, the image processing unit 312 is a DSP 315. The CPU 10 has a ROM that stores a control program therein, and a program to be downloaded to the DSP 315 is stored in the ROM.
[0009]
FIG. 19 is a flowchart showing the flow of downloading a program to the DSP. The CPU 310 downloads data to the DSP 315 at the time of boot processing when the power is turned on or after the end of the reset command. As shown in FIG. 19, the CPU 310 stores the contents of the DSP program area in the CPU 310 in the order of boot processing for each processing, setting for upstream processing, setting for DSP, and setting for downstream processing. (Install).
[0010]
[Patent Document 1]
Japanese Patent Application No. 2001-126656
[0011]
In image processing using a DSP, image processing is performed in units that are processed in parallel. As described above, when image data is exchanged with an external device such as an image storage unit, input / output image data is always input / output. If the size of the file is fixed, there is no need for resetting, and there is no need to be aware of it on the host side, so processing can be performed smoothly. However, when the sizes of received image data are different, it is necessary to change the effective image data amount in the main scanning direction.
[0012]
[Problems to be solved by the invention]
However, the processor control method using a DSP in the conventional example generally describes a method for downloading a program, but it has not been known about image size conversion in image data transfer.
[0013]
  The present invention has been made in view of the above problems, and an object of the present invention is to provide an image processing control apparatus that can set the amount of image data to be input and can exchange images of any data amount with peripheral devicesAnd image processing control methodIs to provide.
[0014]
  Another object of the present invention is to provide an image processing control apparatus capable of transferring an image of an arbitrary data amount with a peripheral device.And image processing control methodIs to provide.
[0015]
  Another object of the present invention is to provide an image processing control device capable of stably transferring image data.And image processing control methodIs to provide.
[0016]
[Means for Solving the Problems]
  In order to achieve the above object, an invention according to claim 1 is an image processing control apparatus for setting a processor for reading and processing an original image,
  Necessary for the processor to perform image processing on the document image using the image data width in the main scanning direction for reading the document image and the processing unit processed by the processor as parameters.SIMD numberA processing number calculation means for calculatingSIMD numberThe image data width setting means for setting the image data width to be image processed,The processing number setting means for setting whether the required SIMD number calculated by the processing number calculation means is fixed or variable depending on the processing contents of the image processing by the processor;An image processing control device comprising:
[0017]
  According to the first aspect of the present invention, it is necessary for the processor to perform image processing on the document image using the image data width in the main scanning direction for reading the document image and the processing unit processed by the processor as parameters.SIMD numberThe processing number calculation means to calculate the required calculationSIMD numberSince the image data width setting means sets the image data width to be image-processed, the data width of the input image data can be set, so that image processing that can exchange any amount of image data with the peripheral device is possible. A control device can be provided.
According to the first aspect of the present invention, the processing number setting means is provided for setting whether the required number of SIMDs calculated by the processing number calculation means is fixed or variable depending on the processing contents of the image processing by the processor. Therefore, it is possible to add control for selecting whether the change in the amount of image data is fixed or variable, so that efficient transmission / reception of image data between the peripheral device and / or its own output device is possible. A possible image processing control device can be provided.
[0018]
According to a second aspect of the present invention, in the image processing control apparatus according to the first aspect, the processing number calculation means further uses a scaling factor of the read original as a parameter.
[0019]
According to the second aspect of the present invention, since the processing number calculation means can further output an image by changing the magnification of the read document as a parameter, the image data can be exchanged with the peripheral device. Can be provided.
[0020]
According to a third aspect of the present invention, in the image processing control apparatus according to the first or second aspect, the processing number calculation means further uses the read original size and / or transfer paper size as a parameter. And
[0021]
According to the third aspect of the present invention, since the processing number calculation means can further use the read original size and / or the transfer paper size as parameters, the scaling factor can be calculated from the original size and the transfer paper size. It is possible to provide an image processing control apparatus capable of transferring an arbitrary amount of image data with a peripheral device even when the size and the transfer paper size are different.
[0024]
  Claims4The invention according to claim 13In the image processing control device according to any one of the above, after setting the image data width to be image-processed, start setting means for performing processing reception start setting in the processor in synchronization with the image data reading start signal , Further provided.
[0025]
  This claim4According to the present invention, after the image data width to be processed is set, the processor further includes start setting means for performing processing reception start setting in synchronization with the image data reading start signal, thereby providing a sub-scanning start signal. Therefore, it is possible to provide an image processing control apparatus that can operate more stably.
[0026]
  Claims5The invention according to claim 14The image processing control apparatus according to any one of the above, further comprising: an end setting unit configured to set a process reception end to the processor in synchronization with an image processing end signal of the image data.
[0027]
  This claim5According to the invention, the apparatus further includes end setting means for setting the processing acceptance end in the processor in synchronization with the image processing end signal of the image data, so that the sub-scan end signal is set and operated. Since the end specification can be expanded and an erroneous operation due to an input of an unnecessary control signal can be prevented at the rear end of the image data, an image processing control apparatus capable of a more stable operation can be provided.
According to a sixth aspect of the present invention, there is provided an image processing control method executed by an image processing control apparatus for setting a processor for reading and processing an original image, wherein the image data width in the main scanning direction for reading the original image is set. And a processing number calculating step in which the processor calculates the number of SIMDs necessary for image processing of the original image using the processing unit processed by the processor as a parameter, and the calculated number of SIMDs Whether the required number of SIMDs calculated by the processing number calculation means is fixed or variable depending on the image data width setting step for setting the image data width to be processed and the processing contents of the image processing by the processor. An image processing control method comprising: a processing number setting step to be set.
[0028]
DETAILED DESCRIPTION OF THE INVENTION
  An image processing control apparatus according to the present invention will be described below with reference to the accompanying drawings.And image processing control methodThe preferred embodiment will be described in detail.
[0029]
(Embodiment 1)
FIG. 1 is a functional block diagram of an image processing control apparatus according to Embodiment 1 of the present invention. The CPU 10 sends processing and setting instructions to each block. The scanner 11 performs A / D conversion on the read image data to correct the scanner characteristics, and sends it to the DSP 15. The DSP 15 sets (installs) a program for image processing from the CPU 10, performs image processing such as filter, mask processing, and error diffusion on the image data received from the scanner 11, and outputs the image data to the image storage unit 13. The image storage unit 13 receives a designated image width setting of image data received from the DSP 15 from the CPU 10 and receives an image from the DSP 15. At the time of output, LSYNC, FGATE, and LGATE signals corresponding to the size of the accumulated image data are output and transmitted to the DSP 15. When printing, the printer 14 receives the image data from the DSP 15 and outputs it to the transfer paper.
[0030]
FIG. 2 is a diagram for explaining the relationship between image data and control signals in the image processing control apparatus according to the first embodiment, and FIG. 2 (a) is a diagram for explaining a setting operation performed by the CPU for the DSP and the image storage unit. Yes, (b) is a diagram for explaining the timing of image reading and setting. That is, FIG. 2 shows the relationship between the image data exchanged by the DSP 15 and the control signal when reading the image. Here, as shown in FIG. 2B, when the image data is transferred from the DSP 15 to the image storage unit 13, the designated image width is sent from the CPU 10 to the image storage unit 13 according to the number of pixels instead of having no LGATE signal. Set. In addition, when the DSP 15 receives image data from the image storage unit 13 and performs image processing, the amount of image data changes, so the setting of the image data amount may need to be changed. Therefore, the CPU 10 sets an image amount for one line in the DSP 15. This is because there is a case where the DSP 15 does not receive the LGATE signal in the same manner as the image storage unit 13 other than the method in which the DSP 15 grasps the amount of image data by the LGATE signal. By specifying the number of SIMDs, the DSP 15 can know how much data stored in the buffer (FIFO) should be processed even when there is no LGATE signal.
[0031]
FIG. 3 is a functional block diagram of another image processing control apparatus according to Embodiment 1 of the present invention. This image processing apparatus performs image processing using two DSPs. In this case, the CPU 10 makes settings for the DSP 15 a that performs image processing on read data from the scanner 11 and the DSP 15 b that performs image processing on transfer data from the image storage unit 13.
[0032]
4A and 4B are diagrams for explaining the structure of SIMD (Single Instruction Multi Data) in the DSP. FIG. 4A shows the relationship between input / output data and SIMD processing, and FIG. 4B shows SIMD and processor elements (PE). The relationship is shown. As shown in FIG. 4B, one SIMD includes a plurality of processor elements (PE). The PE is composed of an arithmetic unit (ALU), its register, a line memory (FIFO), and the like, and one PE is responsible for processing image data of one pixel. By arranging a plurality of PEs in parallel, it is possible to perform processing for the number of PEs simultaneously, and the number of processed image data (number of pixels) per SIMD is determined.
[0033]
Regarding the relationship between input data and SIMD processing shown in FIG. 4A, image data from the outside is buffered once in an input line memory (FIFO) 401, and then processed for each processing unit of 1 SIMD. The processed data is stored in the output FIFO 402. After this is performed for all image data, the processed data is output from the FIFO 402.
[0034]
5A and 5B are diagrams for explaining the relationship between the document reading surface, the control signal, the effective image area, and the SIMD. FIG. 5A is a diagram illustrating the relationship between the document and the control signal, and FIG. 5B is the image scanning direction. (C) is a diagram showing the relationship between the effective image area and SIMD. In this case, an LGATE signal is used, and the target range of SIMD processing is an LGATE section, and processing is performed by dividing the main scanning direction for each SIMD with respect to image data obtained by reading a read original surface.
[0035]
In this case, the SIMD number S required for processing an effective image is calculated as follows.
[0036]
S (number of SIMD) = number of image data per line / number of processes per SIMD
However, in this case,
(1) If it is not divisible as an integer value, the quotient is rounded up. This is because the effective area image cannot be covered if the fractional part is truncated.
[0037]
(2) If there is a function to perform processing with reference to surrounding pixels, it is necessary to acquire each other's SIMD area by the amount of the peripheral reference at the boundary of SIMD.
Number of processes per SIMD = PE number per SIMD−image overlap with SIMD on both sides.
[0038]
In this case, for example, in the case of referring to surrounding pixels to process the target pixel, such as filter processing, the image at the extreme end of SIMD cannot be processed correctly, so reference to the previous SIMD or the subsequent SIMD Since the necessary pixels need to be taken into SIMD, the overlap is reduced. That is, the actual number of PEs in the SIMD that the DSP 15 has is not all usable, but the number of pixels necessary for the peripheral reference of each process is subtracted from the number of processes per SIMD for the original effective image. This is because it must be done.
[0039]
Thus, the number of image data set by the CPU 10 is S (the number of SIMD) calculated by the above equation, and the program is processed by the program based on the number of DSP 15. The CPU 10 internally calculates the above formula and overlap. Further, the image width represented by the pixel is calculated by back-calculating the above formula “S (number of SIMD) = number of image data per line / number of processes per SIMD” “number of image data per line = S (number of SIMD) × 1 SIMD”. It can be understood as “number of hits”.
[0040]
Here, the CPU 10 includes a program for calculating the above formula and calculates the above formula. The CPU 10 also has a program for calculating the image data width and setting it in the DSP 15 to calculate the image data width. The program in which the CPU 10 calculates the above formula constitutes the processing number calculation means in the present invention, and the program in which the CPU 10 calculates the image data width and sets it in the DSP 15 constitutes the image data width setting means in the present invention.
[0041]
(Embodiment 2)
The second embodiment performs efficient image output by setting whether the image size to be output is fixed or variable depending on the device that outputs the image.
[0042]
FIG. 6 is a functional block diagram of the image processing control apparatus according to the second embodiment of the present invention. Here, the same reference numerals as those in FIG. 1 denote the same components, and the description will be mainly made of the differences from the first embodiment. The DSP 15 outputs the data after image processing to the printer 14 and / or the external device 16.
[0043]
The printer 14 outputs the image data to transfer paper. This output is, for example, an operation of a copy function provided in the same copying machine that reads the image with a scanner and then outputs it to a transfer sheet. On the other hand, the external device 16 outputs the data received from the DSP 15 in various ways according to the purpose. For example, when the configuration of the present invention is used for scanner reading, the external device 16 outputs the data to a monitor such as a PC, and in the case of a network printer, a specific device is selected and transferred in the same manner as the printer 14. In the case of a server or the like, it is an external device that stores data as electronic data.
[0044]
Considering the case of the printer 14 or the external device 16 considered as the output side here, the printer 14 is a device integrated with a device that reads by the scanner 11, and if the image data is transferred to the size of the transfer paper in the DSP 15. Even if it is not transferred, if the size of the transfer paper is set by the printer 14 and the corresponding effective area is received, or if it can be cut out after being received, the DSP 15 can fix the SIMD number. By fixing the number of SIMDs, the host CPU does not need to be aware of the image size, and wasteful hardware and software resources can be omitted.
[0045]
However, when the output side is the external device 16, it is desirable that the image output from the DSP 15 has a requested image size in advance in order to compensate for the processing of the effective image area and the transfer data according to the specifications of each device. FIG. 7 is a flowchart for explaining the operation of the image processing control apparatus according to the second embodiment of the present invention. First, the host CPU 10 determines whether the output image size is fixed or varies depending on whether the output system is its own printer 14 or the external device 16 (for example, a personal computer (PC)) in the process at that time. Is determined (step S701). If it is fixed (Yes in step S701), a fixed value is set (step S702), or if it is the same as the previous time, the fixed value setting operation is omitted. If the determination result is “change” (No in step S701), the SIMD number is calculated and set by the above-described method (step S703).
[0046]
In this way, it is possible to efficiently perform image processing by determining whether the output image size is fixed or fluctuating and setting in accordance with each method.
[0047]
(Embodiment 3)
The image processing control apparatus according to the third embodiment is configured to perform more reliable image processing by transmitting an image input signal to a DSP that receives image data.
[0048]
  In an image processing control device, when image data and a control signal are associated with each other and I / F is performed between devices to transfer an image, naturally, the operation of the control signal is signaled, and each device has image data. It is assumed that each process is performed by recognizing the image as a valid image area. However, if a device that outputs an image to the DSP 15 outputs a control signal without observing this premise, the DSP 15 cannot determine the image data indicated by the control signal, and therefore performs processing based on a control signal that does not violate the premise. Or the program set at that time is not suitable for the specifications of the image data.AndUnexpected behavior may occur.
[0049]
FIG. 8 is a sequence diagram illustrating an operation example of the image processing control apparatus according to the third embodiment of the present invention. First, a startup request is notified from the outside to the CPU 10 during startup. Upon receiving the startup notification, the CPU 10 performs boot processing to the DSP 15, the upstream processing 801 that outputs image data to the DSP 15, and the downstream processing 802 that receives and processes image data from the DSP 15, and then sets each component Will continue. Here, only the settings for the DSP 15 are shown, and the CPU 10 performs processing settings, that is, downloads a program to the DSP 15. When the download of the program is completed, the DSP 15 returns a setting completion response to the CPU 10. However, at this time, even if image data is output, the DSP 15 does not receive an image.
[0050]
Here, the CPU 10 finishes all the preparations, and immediately before starting the image processing, inputs an image input signal 1 (Kick) to the DSP 15, and the DSP 15 is ready to receive image data. Then, the CPU 10 starts processing by sending a processing command to the upstream processing 801, sends processing signals to the DSP 15 as needed, and the DSP 15 processes the received signals and sends them to the downstream processing 802. The kick is automatically accepted when image data is input, and then automatically turned off when the image data processing ends, and the kick is set for each image sheet. In this example, two jobs are shown. The first time shows that two images from the upstream processing 801 have been sent, and the second time shows that one image has been sent. In addition to setting for each different process as described above, it is possible to eliminate unnecessary input by signaling image input, and stable image processing can be performed.
[0051]
(Embodiment 4)
The image processing control apparatus according to the fourth embodiment forcibly terminates reception of an image by the processing end setting from the CPU 10 to the DSP 15 and allows the host CPU 10 to control the image end position and forcibly accepts image processing. Thus, the image processing operation is stabilized.
[0052]
FIG. 9 is a sequence diagram illustrating an operation example of the image processing control apparatus according to the fourth embodiment of the present invention. As shown in FIG. 9, in the sequence example of the operation of the image processing control apparatus according to the fourth embodiment, an image is received by the processing start setting (enable setting), and the image is forcibly accepted by the processing end setting from the CPU 10 to the DSP 15. It is possible to end. As a result, the host CPU 10 can also control the image end position. The image processing operation can be stabilized by forcibly terminating the image processing reception.
[0053]
(Embodiment 5)
The image processing control apparatus according to the fifth embodiment is configured such that even if the document is further scaled, the image can be scaled and output.
[0054]
FIG. 10 is a functional block diagram of an image processing control apparatus according to Embodiment 5 of the present invention. The same reference numerals perform the same functions as in the first to fourth embodiments. In the fifth embodiment, different configurations and functions will be mainly described. The DSP 15 is set with an image processing program from the CPU 10, performs image processing such as filter, mask processing, and error diffusion on the image data received from the scanner 11, and outputs it to the image storage unit 13. The image storage unit 13 receives the designated image width setting of the image data received from the DSP 15 from the CPU 10 and receives an image from the DSP 15. At the time of output, LSYNC, FGATE, and LGATE corresponding to the size of the accumulated image data are output and passed to the DSP 15. When printing is finally performed, the printer 14 receives image data from the DSP 15 and outputs the image data to a transfer sheet.
[0055]
FIG. 11 is a functional block diagram of another image processing control apparatus according to the fifth embodiment of the present invention. Here, image processing is performed using two DSPs. In this case, the CPU 10 makes settings for the DSP 15c that performs image processing on read data from the scanner and the DSP 15d that performs image processing on transfer data from the image storage unit.
[0056]
Here, when the user tries to change the size of the image by designating the scaling factor, the scaling process itself is set by the DSP 15c in the path that receives the image data from the scanner 11 and reaches the image storage unit 13, and the scaling process is performed. The doubled image data is stored in the image storage unit 13.
[0057]
In this case, the number of SIMD necessary for the DSP 15d that receives the image data from the image storage unit 13 to process the effective image is calculated as follows.
[0058]
S (number of SIMD) = number of image data for one line × magnification / number of processes per SIMD
However, in this case,
(1) If the quotient is not divisible and the decimal part appears, round up the decimal part. This is because the effective area image cannot be covered if it is discarded.
[0059]
(2) When there is a function to process by referring to the peripheral pixels, it is necessary to acquire each other's SIMD area only for the peripheral reference at the boundary of SIMD.
Number of processes per SIMD = number of PEs per SIMD-image overlap with SIMD on both sides
It becomes.
[0060]
(Embodiment 6)
The image processing control apparatus according to the sixth embodiment can exchange arbitrary image data even if the document size and the transfer paper size are different.
[0061]
FIG. 12 is a functional block diagram of an image processing control apparatus according to Embodiment 6 of the present invention. FIG. 13 is a functional block diagram of another image processing control apparatus according to the sixth embodiment of the present invention. In the other image processing control apparatus shown in FIG. 13, two DSPs, a DSP 15f that performs image processing and transmits the processed image to the image storage unit 13, and a DSP 15g that receives image data from the image storage unit 13. Is provided. In the image processing control apparatus according to the sixth embodiment, the user selects a transfer sheet, and scales and outputs the document according to the transfer sheet size.
[0062]
In this case, the number of SIMDs necessary for the DSP 15e (FIG. 12) and the DSP 15g (FIG. 13) that receive the image data from the image storage unit 13 to process an effective image is calculated as follows.
[0063]
S (number of SIMD) = number of image data of one line × transfer sheet size ÷ original size ÷ number of processes per SIMD
However, in this case,
(1) When the quotient is not divisible by an integer and a decimal point appears, the decimal point is rounded up. This is because the effective area image cannot be covered if it is discarded.
[0064]
(2) When there is a function to process by referring to the peripheral pixels, it is necessary to acquire each other's SIMD area only for the peripheral reference at the boundary of SIMD.
Number of processes per SIMD = number of PEs per SIMD-image overlap with SIMD on both sides
It becomes.
[0065]
【The invention's effect】
  As explained above, claim 1And 6According to the invention, since the data width of the input image data can be set, there is an effect that it is possible to provide an image processing control apparatus that can exchange an arbitrary amount of image data with a peripheral device.
Further, according to the inventions according to claims 1 and 6, since it is possible to add control for selecting whether the change of the image data amount is fixed or variable, it is possible to connect the peripheral device and / or the output device owned by the peripheral device. It is possible to provide an image processing control apparatus that can efficiently exchange image data between the two.
[0066]
According to the second aspect of the present invention, since the image can be scaled and output, the image processing control apparatus capable of transferring the scaled image data amount with the peripheral device can be provided.
[0067]
According to the third aspect of the present invention, there is an effect that it is possible to provide an image processing control device capable of transmitting / receiving an arbitrary amount of image data to / from peripheral devices even when the document size and the transfer paper size are different.
[0069]
  Claim4According to the invention, as the control for setting and operating the sub-scan start signal, the specification of image data transmission / reception can be expanded, and erroneous operation due to the input of unnecessary control signals can be prevented, so that image processing capable of more stable operation is possible. The control device can be provided.
[0070]
  Claim5According to the invention, the operation end specification can be expanded by controlling the operation by setting the sub-scan end signal, and an erroneous operation due to an input of an unnecessary control signal can be prevented at the rear end of the image data, so that a more stable operation is possible. An effect is provided that a simple image processing control device can be provided.
[Brief description of the drawings]
FIG. 1 is a functional block diagram of an image processing control apparatus according to a first embodiment of the present invention.
FIGS. 2A and 2B are diagrams for explaining a relationship between image data and control signals in the image processing control apparatus according to the first embodiment, and FIG. 2A is a diagram for explaining a setting operation performed by a CPU on a DSP and an image storage unit; Yes, (b) is a diagram for explaining the timing of image reading and setting.
FIG. 3 is a functional block diagram of another image processing control apparatus according to the first embodiment of the present invention.
4A and 4B are diagrams for explaining the configuration of SIMD in a DSP, where FIG. 4A shows the relationship between input data and SIMD processing, and FIG. 4B shows the relationship between SIMD and a processor element (PE).
FIGS. 5A and 5B are diagrams for explaining a relationship between a document reading surface, a control signal, an effective image area, and SIMD. FIG. 5A is a diagram illustrating a relationship between a document and a control signal, and FIG. (C) is a diagram showing the relationship between the effective image area and SIMD.
FIG. 6 is a functional block diagram of an image processing control apparatus according to a second embodiment of the present invention.
FIG. 7 is a flowchart for explaining the operation of the image processing control apparatus according to the second embodiment of the present invention;
FIG. 8 is a sequence diagram illustrating an operation example of an image processing control apparatus according to a third embodiment of the present invention.
FIG. 9 is a sequence diagram illustrating an operation example of the image processing control apparatus according to the fourth embodiment of the present invention.
FIG. 10 is a functional block diagram of an image processing control apparatus according to a fifth embodiment of the present invention.
FIG. 11 is a functional block diagram of another image processing control apparatus according to a fifth embodiment of the present invention.
FIG. 12 is a functional block diagram of an image processing control apparatus according to a sixth embodiment of the present invention.
FIG. 13 is a functional block diagram of another image processing control apparatus according to Embodiment 6 of the present invention.
FIG. 14 is a diagram showing an overview of a conventional digital copying machine.
FIG. 15 is a diagram illustrating the operation of a reading optical system of a digital copying machine.
FIGS. 16A and 16B are diagrams illustrating the relationship between a document, a control signal, and an effective image area in document image input, FIG. 16A is a diagram illustrating a relationship between the document and the control signal, and FIG. It is a figure explaining scanning, and (c) is a figure which shows the timing of a control signal group and an effective image area | region.
FIG. 17 is a functional block diagram of a conventional digital copying machine.
FIG. 18 is a diagram illustrating a configuration example of a conventional DSP.
FIG. 19 is a flowchart showing a flow of downloading a program to a conventional DSP.
[Explanation of symbols]
10,310 CPU
11,311 scanner
13,313 Image storage unit
14,314 Printer
15, 15a, 15b, 15c, 15d, 15e, 15f, 15g DSP
101 manuscript
102 Document table
202 Light source
205 CCD
312 Image processing unit
401, 402 FIFO
801 Upstream processing
802 Downstream processing

Claims (6)

原稿画像を読み取り画像処理するプロセッサへ設定を行なう画像処理制御装置であって、
前記原稿画像を読み取る主走査方向の画像データ幅と、前記プロセッサが処理する処理単位とをパラメータとして、前記プロセッサが前記原稿画像を画像処理するために必要なSIMD数を計算する処理数計算手段と、
計算された前記必要なSIMD数によって、画像処理される前記画像データ幅を設定する画像データ幅設定手段と、
前記プロセッサが画像処理する処理内容によって、前記処理数計算手段が算出する前記必要なSIMD数を固定とするか可変とするかを設定する処理数設定手段と、
を備えることを特徴とする画像処理制御装置。
An image processing control apparatus for setting a processor for reading and processing a document image,
Processing number calculation means for calculating the number of SIMDs required for the processor to image-process the document image, using as parameters the image data width in the main scanning direction for reading the document image and the processing unit processed by the processor; ,
Image data width setting means for setting the image data width to be image-processed according to the calculated required SIMD number ;
The processing number setting means for setting whether the required SIMD number calculated by the processing number calculation means is fixed or variable depending on the processing contents of the image processing by the processor;
An image processing control apparatus comprising:
前記処理数計算手段はパラメータとして、前記読み取り原稿の変倍率を、さらに用いることを特徴とする請求項1に記載の画像処理制御装置。  The image processing control apparatus according to claim 1, wherein the processing number calculation unit further uses a scaling factor of the read document as a parameter. 前記処理数計算手段はパラメータとして、前記読み取り原稿サイズおよび/または転写紙サイズを、さらに用いることを特徴とする請求項1または2に記載の画像処理制御装置。  The image processing control apparatus according to claim 1, wherein the processing number calculation unit further uses the read original size and / or the transfer paper size as a parameter. 画像処理される前記画像データ幅を設定後、前記画像データ読み取り開始合図に同期して、前記プロセッサに処理受付開始設定を行なう開始設定手段を、さらに備えたことを特徴とする請求項1〜のいずれか1つに記載の画像処理制御装置。After setting the image data width to be image processed, the image data in synchronism with the read start signal, according to claim 1 to 3, characterized in that the start setting means for processing reception start setting to the processor, further comprising The image processing control apparatus according to any one of the above. 前記画像データの画像処理終了合図に同期して、前記プロセッサに処理受付終了設定を行なう終了設定手段を、さらに備えたことを特徴とする請求項1〜のいずれか1つに記載の画像処理制御装置。Wherein in synchronization with the image processing end indication of the image data, the image processing according to the termination setting means for processing acceptance end setting to the processor, any one of claims 1-4, characterized in that it comprises further Control device. 原稿画像を読み取り画像処理するプロセッサへ設定を行なう画像処理制御装置で実行される画像処理制御方法であって、An image processing control method executed by an image processing control device for setting a processor for reading and processing a document image,
前記原稿画像を読み取る主走査方向の画像データ幅と、前記プロセッサが処理する処理単位とをパラメータとして、前記プロセッサが前記原稿画像を画像処理するために必要なSIMD数を計算する処理数計算ステップと、  A processing number calculation step in which the processor calculates the number of SIMDs necessary for image processing of the document image, using the image data width in the main scanning direction for reading the document image and the processing unit processed by the processor as parameters. ,
計算された前記必要なSIMD数によって、画像処理される前記画像データ幅を設定する画像データ幅設定ステップと、  An image data width setting step for setting the image data width to be image-processed according to the calculated number of required SIMDs;
前記プロセッサが画像処理する処理内容によって、前記処理数計算手段が算出する前記必要なSIMD数を固定とするか可変とするかを設定する処理数設定ステップと、  A processing number setting step for setting whether the required number of SIMDs calculated by the processing number calculation means is fixed or variable depending on the processing content that the processor performs image processing;
を含むことを特徴とする画像処理制御方法。  An image processing control method comprising:
JP2003076486A 2003-03-19 2003-03-19 Image processing control apparatus and image processing control method Expired - Fee Related JP4090920B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003076486A JP4090920B2 (en) 2003-03-19 2003-03-19 Image processing control apparatus and image processing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003076486A JP4090920B2 (en) 2003-03-19 2003-03-19 Image processing control apparatus and image processing control method

Publications (2)

Publication Number Publication Date
JP2004289314A JP2004289314A (en) 2004-10-14
JP4090920B2 true JP4090920B2 (en) 2008-05-28

Family

ID=33291532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003076486A Expired - Fee Related JP4090920B2 (en) 2003-03-19 2003-03-19 Image processing control apparatus and image processing control method

Country Status (1)

Country Link
JP (1) JP4090920B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6204313B2 (en) * 2014-08-28 2017-09-27 京セラドキュメントソリューションズ株式会社 Electronics

Also Published As

Publication number Publication date
JP2004289314A (en) 2004-10-14

Similar Documents

Publication Publication Date Title
JP2002211082A (en) Image processing apparatus and data processing method of image processing apparatus
JP2012138718A (en) Image processing system, image formation device, image processing method and image processing program
JP3682443B2 (en) Image forming apparatus
US9256385B2 (en) Relay device and image processing device capable of executing selected image processing using selected application types
JP4090920B2 (en) Image processing control apparatus and image processing control method
JP5132451B2 (en) Image forming apparatus
US7826086B2 (en) Metadata producing apparatus, image processing apparatus, metadata producing method and program
JP2014110597A (en) Image processing device, method for displaying preview image, and program
JP2000032203A (en) Parameter sharing method and system for image processor
JP3730586B2 (en) Image processing device
JP3682442B2 (en) Image forming apparatus
JP4168499B2 (en) Printing system
JP2011071657A (en) Image processing method and image processing apparatus
JP2004112067A (en) Parameter setter and setting method
JP4016726B2 (en) Image forming apparatus
JP2000025307A (en) Method and system for sharing parameters of image processor
JP2000039975A (en) Multifunction system, communication control method of multifunction system, and control method of multifunction system
JP2001246818A (en) Printing apparatus and image processing apparatus provided with the printing apparatus
JP5982933B2 (en) Printing instruction apparatus, printing system, and program
JP5693130B2 (en) Image processing apparatus and image processing apparatus control method
JP2003241940A (en) Image information communication system including image forming apparatus with communication function
JP5214055B2 (en) Image forming apparatus, control method thereof, and computer program
JP2011056752A (en) Image forming apparatus
JP4362889B2 (en) Network scanner control method and apparatus
JP6833491B2 (en) Information processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080204

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: 20080226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080227

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: 20110307

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120307

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130307

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140307

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees