JP2008065654A - Image processing apparatus, method and program - Google Patents
Image processing apparatus, method and program Download PDFInfo
- Publication number
- JP2008065654A JP2008065654A JP2006243706A JP2006243706A JP2008065654A JP 2008065654 A JP2008065654 A JP 2008065654A JP 2006243706 A JP2006243706 A JP 2006243706A JP 2006243706 A JP2006243706 A JP 2006243706A JP 2008065654 A JP2008065654 A JP 2008065654A
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- processing
- execution order
- image
- configuration information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Image Processing (AREA)
Abstract
Description
この発明は、ファクス送信、ファクス受信、プリント、スキャン、コピーなど複数のドキュメント処理機能を複数の処理手段によって実現する画像処理装置、この画像処理装置によって実行される画像処理方法、この画像処理方法を記述した画像処理用プログラムに関するものである。 The present invention relates to an image processing apparatus that implements a plurality of document processing functions such as fax transmission, fax reception, printing, scanning, copying, and the like by a plurality of processing means, an image processing method executed by the image processing apparatus, and the image processing method. The present invention relates to the described image processing program.
近年、ファクス送信、ファクス受信、プリント、スキャン、コピーなど複数のドキュメント処理機能を併せ持ち、多機能複合機、デジタル複合機、多機能プリンタ、オールインワンプリンタ、多機能ファクスなどと呼ばれている多機能な画像処理装置が数多く製品化されている。この多機能な画像処理装置では、機能に応じて様々な画像処理の組み合わせが要求される。 In recent years, it has multiple document processing functions such as fax transmission, fax reception, printing, scanning, copying, etc., and it is called a multifunction multifunction device, digital multifunction device, multifunction printer, all-in-one printer, multifunction fax, etc. Many image processing apparatuses have been commercialized. In this multifunctional image processing apparatus, various combinations of image processing are required depending on functions.
例えば、ファクス送信では、スキャナで読み取った画像データをフィルター処理で補正し、MH(Modified Huffman)方式やMR(Modified Relative Element Address Designate)方式、MMR(Modified MR)方式、JBIG(Joint Bi−Level Image Coding Experts Group)方式などで符号化した後に、通信インターフェースから送信する。 For example, in fax transmission, image data read by a scanner is corrected by a filter process, and the MH (Modified Huffman) method, MR (Modified Relatively Element Address Design) method, MMR (Modified MR) method, JBIG (Joint Bi-Lem). After encoding by a coding experts group) or the like, it is transmitted from the communication interface.
ファクス受信では、通信インターフェースが受信したファクス符号データを復号化し、記録用紙に合わせて拡大または縮小し、色変換した後に、プリンタで印刷出力する。 In fax reception, the fax code data received by the communication interface is decoded, enlarged or reduced in accordance with the recording paper, color-converted, and then printed out by the printer.
コピーでは、スキャナで読み取った画像データをフィルター処理で補正し、記録用紙に合わせて拡大または縮小し、色変換し、中間調処理した後に、プリンタで印刷出力する。 In copying, image data read by a scanner is corrected by filter processing, enlarged or reduced in accordance with recording paper, color converted, halftone processed, and then printed out by a printer.
プリント処理では、通信インターフェースで受信した印刷コマンドに基づいて画像データを生成し、色変換し、中間調処理した後に、プリンタで印刷出力する。 In the print processing, image data is generated based on a print command received by the communication interface, color conversion is performed, halftone processing is performed, and then printing is performed by the printer.
スキャン処理では、スキャナで読み取った画像データをフィルター処理で補正し、JPEG(Joint Photographic Experts Group)方式で符号化した後に、通信インターフェースからコンピュータに出力する、または外部記憶装置に保存する。 In the scan process, image data read by the scanner is corrected by a filter process, encoded by a JPEG (Joint Photographic Experts Group) method, and then output to a computer from a communication interface or stored in an external storage device.
多機能な画像処理装置は、上記のような機能に応じた様々な画像処理の組み合わせを可能にすべく、主に制御処理を行う処理手段と主に画像処理を行う処理手段というように処理を分担する少なくとも2つの処理手段を備えているが、常に高速化と低価格化という相反する要求があり、この要求を実現する技術が種々提案されている(例えば、特許文献1〜3等)。 The multifunctional image processing apparatus performs processing such as processing means that mainly performs control processing and processing means that mainly performs image processing in order to enable a combination of various image processing according to the functions described above. Although at least two processing means for sharing are provided, there are always conflicting demands for speeding up and cost reduction, and various techniques for realizing this demand have been proposed (for example, Patent Documents 1 to 3).
即ち、例えば(特許文献1,2)では、装置制御処理に最適な処理手段であるCPUと、画像処理に最適なDSP(Digital Signal Processor)とを備え、CPUがDSPを制御して画像処理を実行させることにより、高速化と低価格化の両方を満たす画像処理装置を実現する技術が開示されている。 That is, for example, (Patent Documents 1 and 2) include a CPU that is optimal processing means for device control processing and a DSP (Digital Signal Processor) that is optimal for image processing, and the CPU controls the DSP to perform image processing. A technique for realizing an image processing apparatus that satisfies both high speed and low price by executing is disclosed.
また、(特許文献3)では、装置制御処理に最適な処理手段であるCPUと、画像処理に最適なハードウェア構成を動的に再構成可能なプロセッサ(以後、「リコンフィギャラブルプロセッサ」という)を備え、CPUがリコンフィギャラブルプロセッサを制御して画像処理を実行させることにより、高速化と低価格化の両方を満たす画像処理装置を実現する技術が開示されている。
しかしながら、従来の技術では、次のような問題がある。以下、(特許文献1,2)で開示されるDSPを用いた場合について説明するが、(特許文献3)で開示されるリコンフィギャラブルプロセッサを用いた場合も同様の問題がある。 However, the conventional technology has the following problems. Hereinafter, although the case where the DSP disclosed in (Patent Documents 1 and 2) is used will be described, the same problem occurs when the reconfigurable processor disclosed in (Patent Document 3) is used.
一般に、ドキュメント処理は複数の画像処理の組み合わせで実現されるが、DSPのプログラムメモリは高速性が要求されるために高価であるので、小容量となり多数のプログラムを同時に格納できる容量が確保できない。そのために、上記の従来の技術では、CPUは、DSP用プログラムをDSPのプログラムメモリに転送し、DSPにプログラムの実行開始を指示する。そして、画像処理が完了したDSPからその旨を受け取るという動作を繰り返し行っている。 In general, document processing is realized by a combination of a plurality of image processings. However, since the DSP program memory is expensive because high speed is required, the capacity is small and it is not possible to secure a capacity capable of storing a large number of programs simultaneously. Therefore, in the above conventional technique, the CPU transfers the DSP program to the program memory of the DSP and instructs the DSP to start executing the program. And the operation | movement of receiving that from the DSP which image processing was completed is performed repeatedly.
この場合に、低価格化の要求のため1ページ分の画像データを記憶できるメモリが確保できない状況下では、画像を小領域に分割し、その小領域毎に複数の画像処理を行うことになるので、CPUでは、組み合わせられた画像処理の個数に小領域の個数を乗じた回数分だけDSPに関する処理を行う必要が生じ、CPUの処理負荷が増大する。つまりCPUのパフォーマンス低下の要因となる。 In this case, in a situation where it is not possible to secure a memory capable of storing image data for one page due to a request for price reduction, the image is divided into small areas, and a plurality of image processes are performed for each small area. Therefore, in the CPU, it is necessary to perform processing related to the DSP as many times as the number of combined image processing times the number of small regions, and the processing load on the CPU increases. That is, it becomes a factor of CPU performance degradation.
また、DSPプログラムの転送処理は、通常DMAC(Direct Memory Access Controller)が行い、その完了通知は一般に割り込みで実現される。同様に、DSPからCPUに対する画像処理の完了通知も一般に割り込みで実現される。このようにCPUに対して多頻度に割り込みが入力されると、そのパフォーマンスは大幅に低下する。さらに、DSPプログラム転送のオーバーヘッドもCPUのパフォーマンス低下の要因となる。 In addition, the transfer processing of the DSP program is usually performed by a direct memory access controller (DMAC), and the completion notification is generally realized by an interrupt. Similarly, notification of completion of image processing from the DSP to the CPU is generally realized by interruption. As described above, when interrupts are frequently input to the CPU, the performance is greatly reduced. Furthermore, the overhead of DSP program transfer also causes a reduction in CPU performance.
したがって、従来の技術では、これらパフォーマンス低下分を補うだけの性能の高い、つまり、より高価なCPUを使用しなければならず、高速化と低価格化という本来の課題を達成できない。 Therefore, in the conventional technology, a high-performance CPU that compensates for the performance degradation, that is, a more expensive CPU must be used, and the original problems of high speed and low price cannot be achieved.
この発明は、上記に鑑みてなされたものであり、画像処理に最適な処理手段が多数の小領域に対して複数の画像処理を実行する場合に装置制御処理に最適な処理手段との通信回数を最小にし、各処理手段の処理能力を最大限に活用できる画像処理装置、画像処理方法及び画像処理用プログラムを得ることを目的とする。 The present invention has been made in view of the above, and when the processing means optimal for image processing executes a plurality of image processing on a large number of small regions, the number of times of communication with the processing means optimal for apparatus control processing An object of the present invention is to obtain an image processing apparatus, an image processing method, and an image processing program capable of minimizing the processing capacity and utilizing the processing capability of each processing means to the maximum.
上述した目的を達成するために、この発明にかかる画像処理装置は、複数の画像処理の実行順序を示した複数の実行順リストと画像処理用の複数のプログラムとを記憶する第1の記憶手段と、装置制御の過程で、前記第1の記憶手段に記憶された複数の実行順リストから1つの実行順リストを選択するとともに、画像処理の開始指示を発行する第1の処理手段と、少なくとも前記画像処理用のプログラムを記憶するために用いる第2の記憶手段と、前記画像処理の開始指示を受けて、前記第1の処理手段が選択した1つの実行順リストに示された画像処理の実行順序に従った画像処理用プログラムを前記第1の記憶手段から前記第2の記憶手段に転送記憶させる依頼を発行し、前記第2の記憶手段に記憶させた画像処理用プログラムに基づき画像処理を実施する第2の処理手段とを備えていることを特徴とする。 To achieve the above object, an image processing apparatus according to the present invention stores a plurality of execution order lists indicating a plurality of image processing execution orders and a plurality of image processing programs. And a first processing means for selecting one execution order list from a plurality of execution order lists stored in the first storage means and issuing an image processing start instruction in the course of device control, Second storage means used for storing the image processing program, and image processing indicated in one execution order list selected by the first processing means in response to an instruction to start the image processing Based on the image processing program stored in the second storage means, issuing a request to transfer and store the image processing program according to the execution order from the first storage means to the second storage means Characterized in that it comprises a second processing means for performing image processing.
この発明によれば、第2の処理手段は、主に装置制御を行う第1の処理手段から画像処理の開始指示を受け取ると、第1の処理手段の指示を受けることなく、第2の記憶手段に記憶された実行順リストに従って複数の画像処理を連続して行うことができる。第1の処理手段は、この連続した複数の画像処理の完了時に1回だけの通知を受けることになるので、第1の処理手段の処理負荷が大幅に軽減される。したがって、主に装置制御を行う第1の処理手段のパフォーマンスの低下を抑制しつつ、1つの画像処理に対する実行順リストに示される対象画像を複数の小領域に分割した複数の画像処理を第2の処理手段に実行させることができるので、高速で低価格の画像処理装置を実現することができる。 According to this invention, when the second processing means receives an image processing start instruction from the first processing means that mainly controls the apparatus, the second processing means receives the second processing means without receiving the instruction from the first processing means. A plurality of image processing can be performed continuously according to the execution order list stored in the means. Since the first processing means receives only one notification when the plurality of continuous image processes are completed, the processing load on the first processing means is greatly reduced. Therefore, the second image processing is performed by dividing the target image shown in the execution order list for one image processing into a plurality of small regions while suppressing the deterioration of the performance of the first processing unit that mainly controls the apparatus. Therefore, it is possible to realize a high-speed and low-cost image processing apparatus.
この発明によれば、装置制御処理に最適な処理手段のパフォーマンス低下を最小限に抑制でき、高速で安価な画像処理装置が得られるという効果を奏する。 According to the present invention, it is possible to minimize the performance degradation of the processing means optimum for the apparatus control process, and it is possible to obtain a high-speed and inexpensive image processing apparatus.
以下に図面を参照して、この発明にかかる画像処理装置、画像処理方法及び画像処理用プログラムの好適な実施の形態を詳細に説明する。 Exemplary embodiments of an image processing apparatus, an image processing method, and an image processing program according to the present invention are explained in detail below with reference to the drawings.
(実施の形態1)
図1は、本発明の実施の形態1による画像処理装置の構成を示すブロック図である。図1に示すように、この実施の形態1による画像処理装置100は、装置制御処理に最適な第1の処理手段であるマイクロプロセッサとしてのCPU113を中心に構成される。このCPU113が管理するCPUバス120には、センサインターフェース112を介してセンサ111が接続され、外部記憶インターフェース110を介して外部記憶装置109が接続され、スキャナインターフェース102を介してスキャナエンジン101が接続され、プリンタインターフェース104を介してプリンタエンジン103が接続され、パネルコントローラ108を介して操作パネルを構成する表示装置106及び入力装置107が接続されている。
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to Embodiment 1 of the present invention. As shown in FIG. 1, the
また、このCPU113が管理するCPUバス120には、第1の記憶手段であるROM116、RAM117、割り込みコントローラ119、通信インターフェース105、画像処理に最適な第2の処理手段であるプロセッサとしてのDSP114、第2の記憶手段である高速メモリ115及びDMAC118がそれぞれ接続されている。
In addition, the
スキャナエンジン101は、スキャナインターフェース102の制御下に、スキャナインターフェース102がCPUバス120から取り込んだ制御信号に従ってスキャナ原稿台上に配置された原稿を読み取ってデジタル化した画像データを生成し、それをスキャナインターフェース102からCPUバス120上に出力させる。
Under the control of the
プリンタエンジン103は、プリンタインターフェース104の制御下に、プリンタインターフェース104がCPUバス120から取り込んだ画像データを記録用紙に印刷する。
Under the control of the
通信インターフェース105は、通信線路(図示せず)を経由してコンピュータ(図示せず)やファクス装置(図示せず)と通信し、通信線路から受信した画像データやファクスデータをCPUバス120上に出力し、CPUバス120から取り込んだ画像データやファクスデータを通信線路に送出する。
The
操作パネルを構成する表示装置106及び入力装置107は、それぞれパネルコントローラ108の制御下に動作する。パネルコントローラ108は、CPUバス120から取り込んだ操作者へのメッセージや入力装置107から取得した操作者の入力情報を表示装置106に表示する。また、パネルコントローラ108は、操作者による入力装置107への入力情報をCPUバス120上に出力する。
The
外部記憶装置109は、様々な種類のメモリカード、ハードディスクあるいはフロッピー(登録商標)ディスクなどの情報記録媒体である。外部記憶インターフェース110は、CPUバス120から取り込んだ書込制御信号に従ってデータを外部記憶装置109に書き込む制御と、CPUバス120から取り込んだ読み出し制御信号に従ってデータを外部記憶装置109から読み出してCPUバス120上に出力する制御とを行う。
The
センサ111は、センサインターフェース112の制御下に、プリンタエンジン103の各種状態(記録用紙の有無や記録用紙カセットの状態、装置周辺の温湿度、記録用紙詰まりの有無など)を検出する。また、センサ111は、スキャナエンジン101に自動給紙装置が搭載されている場合は、自動給紙装置における給紙状態などを検出する。センサインターフェース112は、センサ111が検出したこれらの各種情報をCPUバス120上に出力する。
Under the control of the
第1の記憶手段であるROM116には、少なくとも、CPU113が実行する制御プログラムと、DSP114が実行する複数の画像処理用プログラム、実行制御用プログラム及び複数の画像処理の実行順序を示した複数の実行順リストとが記憶されている。
The
RAM117は、CPU113の制御下に、画像データ、符号データ及びCPU113の作業用データを一時的に記憶する。
The
CPU113は、ROM116に格納される上記の制御プログラムに基づき、スキャナエンジン101、プリンタエンジン103、通信インターフェース105、表示装置106及び入力装置107を制御する。また、CPU113は、ドキュメント処理時においてROM116に格納される上記の複数の実行順リストの中から指示されたドキュメント処理に対応する実行順リストの選択、DSP114に対する処理の開始指示、必要に応じて画像データの分割処理などを行う。つまり、CPU113は、画像処理以外の全ての装置制御処理を実行するように構成されている。
The
第2の処理手段であるDSP114は、専用の高速なバスで接続された第2の記憶手段である高速メモリ115を用いて画像処理を実行する(図2参照)。
The
高速メモリ115は、少容量ながらDSP114の動作速度以上の高速で読み書き可能なノーウエイトメモリで構成され、DSP114が実行するプログラムと、DSP114が画像処理を行う際の入出力データと、CPU113にて選択された実行順リストとを記憶する。
The high-
DMAC118は、CPU113の指示に従ってROM116及びRAM117と高速メモリ115との間のデータ転送処理を行う。
The
割り込みコントローラ119は、センサインターフェース112、外部記憶インターフェース110、スキャナインターフェース102、プリンタインターフェース104、パネルコントローラ108、通信インターフェース105、DSP114及びDMAC118からCPU113への割り込み信号を調停する。
The interrupt
図2は、図1に示す画像処理装置においてファクス受信時、ファクス送信時、コピー時、プリント時、スキャン時に実行する画像処理の流れを説明する図である。図1を参照しつつ、各種のドキュメント処理時に行われる画像処理とその画像処理に関わる制御処理とを説明する。 FIG. 2 is a diagram for explaining the flow of image processing executed at the time of fax reception, fax transmission, copy, print, and scan in the image processing apparatus shown in FIG. With reference to FIG. 1, image processing performed during various types of document processing and control processing related to the image processing will be described.
図2において、DSP114は、対応するドキュメント処理時に、高速メモリ115に保存される画像データに対して、スキャナエンジン補正処理201、フィルター処理202、データ圧縮処理203、データ伸張処理204、ズーム処理205、色変換処理206、プリンタエンジン補正処理207及び中間調処理208のうち対応する画像処理を行う。
In FIG. 2, the
スキャナエンジン補正処理201は、シェーディング補正、ガンマ補正、背景除去などに係る画像処理である。フィルター処理202は、先鋭化、平滑化、エッジ強調などに係る画像処理である。データ圧縮処理203及びデータ伸張処理204は、RLE、MH、MR、MMR、JBIG、JPEGなどに係る画像処理である。ズーム処理205は、画像データの拡大あるいは縮小に係る画像処理である。色変換処理206は、RGBをCMYあるいはCMYKあるいはKに変換する際に用いる画像処理である。プリンタエンジン補正処理207は、プリンタエンジン103の印刷特性に合わせて行うガンマ補正などに係る画像処理である。中間調処理208は、単純二値化法、ディザ法、誤差拡散法、スクリーン法などを用いた階調処理に係る画像処理である。
The scanner
ファクス受信に対するドキュメント処理210では、CPU113の制御下に、通信インターフェース105が相手ファクス装置から受信したファクス符号データをRAM117に一時保存し、DMAC118がファクス符号データをRAM117から高速メモリ115に転送する。DSP114は、開始指示を受けると、CPU113と通信することなく、高速メモリ115に格納されているファクス符号データを画像データに復号するデータ伸張処理204、その復号した画像データに対するズーム処理205、色変換処理206及びプリンタエンジン補正処理207を連続して実行し、CPU113に終了を通知する。その結果、CPU113の制御下に、DMAC118が画像データを高速メモリ115からRAM117に転送し、プリンタインターフェース104が画像データをRAM117からプリンタエンジン103に出力する処理が行われる。
In the
ファクス送信に対するドキュメント処理211では、CPU113の制御下に、スキャナエンジン101が読み取った画像をスキャナインターフェース102がRAM117に一時保存し、DMAC118が画像データをRAM117から高速メモリ115に転送する。DSP114は、開始指示を受けると、CPU113と通信することなく、高速メモリ115に格納されている画像データに対して、その画像データをファクス符号データに変換するスキャナエンジン補正処理201、フィルター処理202及びデータ圧縮処理203を連続して実行し、CPU113に終了を通知する。その結果、CPU113の制御下に、DMAC118がファクス符号データを高速メモリ115からRAM117に転送し、通信インターフェース105がファクス符号データをRAM117から相手ファクス装置に送信する処理が行われる。
In
コピー指示に対するドキュメント処理212では、CPU113の制御下に、スキャナエンジン101が読み取った画像データをスキャナインターフェース102がRAM117に一時保存し、DMAC118が画像データをRAM117から高速メモリ115に転送する。DSP114は、開始指示を受けると、CPU113と通信することなく、高速メモリ115に格納されている画像データに対して、スキャナエンジン補正処理201、フィルター処理202、ズーム処理205、色変換処理206、プリンタエンジン補正処理207及び中間調処理208を連続して実行し、CPU113に終了を通知する。その結果、CPU113の制御下に、DMAC118が画像データを高速メモリ115からRAM117に転送し、プリンタインターフェース104が画像データをRAM117からプリンタエンジン103に出力する処理が行われる。
In document processing 212 for the copy instruction, under the control of the
プリント指示に対するドキュメント処理213では、CPU113の制御下に、通信インターフェース105が相手コンピュータから受信した印刷コマンドをRAM117に一時保存し、CPU113が印刷コマンドを解釈して画像データを生成し、DMAC118が画像データをRAM117から高速メモリ115に転送する。DSP114は、開始指示を受けると、CPU113と通信することなく、高速メモリ115に格納されている画像データに対して、色変換処理206、プリンタエンジン補正処理207及び中間調処理208を連続して実行し、CPU113に終了を通知する。その結果、CPU113の制御下に、DMAC118が画像データを高速メモリ115からRAM117に転送し、プリンタインターフェース104が画像データをRAM117からプリンタエンジン103に出力する処理が行われる。
In
スキャン指示に対するドキュメント処理214では、CPU113の制御下に、スキャナエンジン101が読み取った画像データをスキャナインターフェース102がRAM117に一時保存し、DMAC118が画像データをRAM117から高速メモリ115に転送する。DSP114は、開始指示を受けると、CPU113と通信することなく、高速メモリ115に格納されている画像データに対して、その画像データを符号データに変換するスキャナエンジン補正処理201、フィルター処理202及びデータ圧縮処理203を連続して実行し、CPU113に終了を通知する。その結果、CPU113の制御下に、DMAC118が符号データを高速メモリ115からRAM117に転送し、通信インターフェース105が符号データをRAM117から相手コンピュータに送信する処理が行われる。
In the
図3は、処理すべき画像に対するバンド分割の一例を示す図である。CPU113は、処理すべき画像を、例えば図3に示すように多数のほぼ等値の小領域(これを以降「バンド」という)301に分割し、少なくとも1バンド301の画像データをRAM117に格納することで、バンド301毎の画像処理が行えるように制御する。以後に説明する画像処理は、バンド301毎に行われているとする。
FIG. 3 is a diagram illustrating an example of band division for an image to be processed. The
図4は、図1に示す画像処理装置の起動時及びその後におけるCPUの処理手順を説明するフローチャートである。なお、処理手順を示す「ステップ」は、以降、単に「S」と表記する。図4において、画像処理装置が起動すると、CPU113は、DMAC118に対して、ROM116に格納される実行制御用プログラムを高速メモリ115に転送する指示を発行し(S401)、ドキュメント処理の指示入力有無を監視する(S402)。ドキュメント処理が指示されると(S402:Yes)、指示されたドキュメント処理に応じた制御処理(データ転送処理、画像処理の開始指示発行、終了確認等)を実行する(S403)。そして、指示されたドキュメント処理に応じた画像処理の終了通知を受け取ると、S402に戻り、ドキュメント処理の指示入力有無を監視する。このように、CPU113は、画像処理装置の起動時に高速メモリ115に実行制御用プログラムを格納し(S401)、その後は、ドキュメント処理の指示入力がある度(S402:Yes)にS403の処理を繰り返す。
FIG. 4 is a flowchart for explaining the processing procedure of the CPU at the time of starting the image processing apparatus shown in FIG. 1 and thereafter. The “step” indicating the processing procedure is hereinafter simply referred to as “S”. In FIG. 4, when the image processing apparatus is activated, the
図5は、図1に示す画像処理装置で実施するドキュメント処理の一つであるコピー処理時におけるCPUの処理手順を説明するフローチャートである。つまり、図5では、図4に示すS403での処理内容の一例を示している。 FIG. 5 is a flowchart for explaining the processing procedure of the CPU at the time of copy processing, which is one of document processing performed by the image processing apparatus shown in FIG. That is, FIG. 5 shows an example of the processing content in S403 shown in FIG.
図5において、CPU113は、操作者による入力装置107の操作によってコピー処理の発生を認識すると、ROM116に格納されている複数の実行順リストからコピー処理に対応した実行順リストを選択し、選択した実行順リストを高速メモリ115に転送する処理をDMAC118に実行させる(S501)。DMAC118は、転送を終了すると、CPU113に対して割り込みを発行して転送終了を通知する。
In FIG. 5, when the
並行して、CPU113は、スキャナインターフェース102を通してスキャナエンジン101に対して1バンド分の画像データを取得するように指示し、スキャナインターフェース102にその取得した画像データをRAM117に記憶させる(S502)。そして、CPU113は、DMAC118に対して、1バンド分の画像データをRAM117から高速メモリ115に転送する指示を発行し(S503)、転送終了の割り込みを受け取ると、DSP114に対して高速メモリ115に記憶された実行順リストに従った1バンド分の画像データについての画像処理を開始させる指示を発行し(S504)、DSP114からの画像処理完了通知を待つ(S505)。CPU113は、DSP114から画像処理完了通知を示す割り込みを受け取るまでの間(S505:No)、他の制御処理、例えばスキャナエンジン101や、プリンタエンジン103、パネルコントローラ108などの制御を行う。
In parallel, the
DSP114から画像処理完了通知を受け取ると(S505:Yes)、CPU113は、1ページ分の画像処理が完了したか否かを判定し(S506)、処理が終了していれば(S506:Yes)、プリンタインターフェース104に指示を出してプリンタエンジン103に画像データを印字させる(S507)。一方、S506において、1ページ分の処理が完了していなければ(S506:No)、1ページ分の処理が完了する(S506:Yes)まで、S502からS506の処理を繰り返す。
Upon receiving an image processing completion notification from the DSP 114 (S505: Yes), the
他のドキュメント処理におけるCPU113の動作は、コピー処理とは、画像データの入出力先及び選択する実行順リストが異なるのみであるので説明は省略する。
The operation of the
図6は、図1に示すROMに格納される実行順リストの一例を示す図である。図6に示す実行順リスト601は、複数行のディスクリプタ609〜615で構成される。ディスクリプタ609〜615には、それぞれ、1つの画像処理に関する情報がまとめられている。図6では、1つの画像処理に関する情報として、例えば、画像処理の番号602と、当該画像処理用プログラムを記憶するROM116の先頭アドレス603と、当該画像処理用プログラムのサイズ604と、当該画像処理用プログラムの処理結果0,1,2,3に対する処理方法605,606,607,608とが示されている。処理方法605〜608では、画像処理結果0〜3に応じて「次に行う画像処理の番号602」が示されている。但し、次に実行する画像処理の番号が「255」の場合は処理を終了することを示している。
FIG. 6 is a diagram showing an example of an execution order list stored in the ROM shown in FIG. The
例えば、ディスクリプタ610では、画像処理番号602が「1」であり、画像処理用プログラムが格納されるROM116の先頭アドレス603が「0x00100200」であり、当該画像処理用プログラムのサイズ604が「0x00000030バイト」である。そして、画像処理結果に対する処理方法605〜608は、「2」「4」「255」「255」となっている。
For example, in the
この場合の処理方法605〜608は、次の内容を示している。即ち、画像処理結果が「0」であれば、対する処理方法605は「2」であるので次は画像処理番号「2」の処理を行い、画像処理結果が「1」であれば、対する処理方法606は「4」であるので次は画像処理番号「4」の処理を行い、画像処理結果が「2」または「3」であれば、対する処理方法607,608は「255」であるので処理を終了することを示している。
このような実行順リスト601は、ファクス送信、ファクス受信、コピー、スキャン、プリントのドキュメント処理毎に用意されている。例えばコピー用の実行順リストでは、スキャナエンジン補正処理201、フィルター処理202、ズーム処理205、色変換処理206、プリンタエンジン補正処理207及び中間調処理208が順次実行されるようなものになっており、各処理に対して1つのディスクリプタが存在する。
Such an
図7は、図1に示す画像処理装置で実施する画像処理時におけるDSPの処理手順を説明するフローチャートである。なお、図7に示す処理手順は、起動時に図4に示した手順(S401)で高速メモリ115に転送記憶された実行制御用プログラムの内容である。DSP114は、その実行制御用プログラムに従って画像処理を実行する。
FIG. 7 is a flowchart for explaining the processing procedure of the DSP at the time of image processing performed by the image processing apparatus shown in FIG. The processing procedure shown in FIG. 7 is the content of the execution control program transferred and stored in the high-
図7において、S701の処理は、CPU113が、図4に示した手順(S403)において実行する処理の一部である。即ち、CPU113は、あるドキュメント処理の実行指示を受けて(S402:Yes)、S403では、まず、DMAC118に対して、RAM117に格納されている1バンド分の画像データを高速メモリ115に転送する指示を発行し、併せて、図5に示した手順(S501)も実行し、DMAC118に依頼して対応する実行順リストを高速メモリ115に転送させている。そして、CPU113は、DMAC118から転送完了通知の割り込みを受け取ると、DSP114に対して1バンド分の画像処理の開始を指示する割り込みを発行する。
In FIG. 7, the process of S701 is a part of the process executed by the
そこで、DSP114は、CPU113から1バンド分の画像処理を開始する指示(割り込み)を受け取ると、高速メモリ115に保存されている実行順リストの先頭のディスクリプタを選択する。図6を参照すると、ディスクリプタ609が選択される(S702)。
Therefore, upon receiving an instruction (interrupt) for starting image processing for one band from the
DSP114は、その選択したディスクリプタ609に示された画像処理用プログラムのROM116における先頭アドレス603「0x00100000」と、サイズ604「0x000000A0」とをDMAC118に示して、ROM116から高速メモリ115に転送するように指示を出す(S703)。
The
DSP114は、DMAC118から転送完了を通知する割り込みを受け取ると、DMAC118が高速メモリ115に転送した画像処理用プログラムに従い、S701において高速メモリ115に転送した1バンド分の画像データに対して画像処理を行い、処理した画像データを高速メモリ115に記憶させ(S704)、画像処理用プログラムの処理結果に応じて次のディスクリプタを選択し(S705)、次のディスクリプタが存在するか否かを調べる(S706)。
When the
その結果、次のディスクリプタが存在する場合(S706:Yes)は、S703からS706の処理を繰り返すが、次のディスクリプタが存在しない場合(S706:No)は、DMAC118に対し処理した画像データを高速メモリ115からRAM117に転送するように指示を出し(S707)、DMAC118から転送完了を通知する割り込みを受け取ると、割り込みコントローラ119に対し、CPU113に対して画像処理が完了したことを通知する割り込みの発行を依頼する(S708)。
As a result, when the next descriptor exists (S706: Yes), the processing from S703 to S706 is repeated. When the next descriptor does not exist (S706: No), the image data processed for the
図6を参照して具体的に説明する。S705での「次のディスクリプタ選択」は、S704での画像処理結果に基づき行われる。そして、S706での「次のディスクリプタあるか」の判定は、その選択したディスクリプタでの処理方法605〜608の内容に基づき行われる。
This will be specifically described with reference to FIG. The “next descriptor selection” in S705 is performed based on the image processing result in S704. The determination of “whether there is a next descriptor” in S706 is performed based on the contents of the
実行順リスト601の先頭にあるディスクリプタ609で指示された画像処理の処理結果が「1」であれば対する処理方法606は、「1」であるので、S705では、画像処理番号1の処理、即ち、ディスクリプタ610が選択される。そして、そのディスクリプタ610で指示された画像処理の処理結果が「0」の場合は、対する処理方法605は、「2」であるので、S705では、画像処理番号2の処理、即ち、ディスクリプタ611の処理が選択される。一方、そのディスクリプタ610で指示された画像処理の処理結果が「2または3」の場合、対する処理方法607,608は、「255」であるので、S706では画像処理終了と判定される(706:No)。
If the processing result of the image processing instructed by the
S705にてディスクリプタ611の処理が選択されると、ディスクリプタ612〜ディスクリプタ614での処理方法605〜608には、終了番号「255」はないので、以降、同様の手順で、ディスクリプタ612〜ディスクリプタ615が順次選択される。そして、ディスクリプタ615で示された画像処理では、処理結果が「0」から「3」の何れの場合であっても、対する処理方法605〜608は、「255」であるので、S706では画像処理終了と判定される(706:No)。
If the processing of the
このように、DSP114は、CPU113から画像処理の開始指示を受け取ると、CPU113の指示を受けることなく、高速メモリ115に記憶された実行順リストに従って複数の画像処理を連続して行うことができる。CPU113に入力される割り込みは、この連続した複数の画像処理の完了時に1回だけであるので、CPU113の処理負荷が大幅に軽減される。
As described above, when the
したがって、この実施の形態1によれば、主に装置制御を行う第1の処理手段であるCPU113のパフォーマンスの低下を抑制しつつ、多数の小領域(バンド)に分割した処理対象画像に対する複数の画像処理を第2の処理手段であるDSP114に実行させることができるので、高速で低価格の画像処理装置を実現することができる。
Therefore, according to the first embodiment, a plurality of processing target images divided into a large number of small regions (bands) are suppressed while suppressing a decrease in performance of the
ここで、この実施の形態1にて実施される画像処理方法を示すと、「ROM116に複数の画像処理の実行順序を示した複数の実行順リストと画像処理用の複数のプログラムとを用意する第1の工程と」、CPU113にて実行されるS501での「複数の画像処理の実行順序を示した複数の実行順リストから1つの実行順リストを選択する工程」と、DSP114にて実行されるS703での「対応する画像処理用プログラムを第2の記憶手段に転送する工程」と、DSP114にて実行されるS704での「転送した画像処理用プログラムを実行する工程」と、DSP114におけるS703からS706での「実行順リストに示された画像処理を実行順に繰り返す工程」とを含んでいる。そして、画像処理用プログラムは、それらの各工程をコンピュータが実行可能に記述したものである。
Here, the image processing method implemented in the first embodiment is described as follows: “In
なお、この実施の形態1で示している第1の処理手段であるCPU113と第2の処理手段であるDSP114は、それぞれ単一のプロセッサとすべき必然性はない。例えば、それぞれの処理手段が複数のICチップによって構成されていてもよい。また、これらのプロセッサは、それぞれが個別に存在せず、それぞれのプロセッサのコアを単一のIC内にまとめて構成するようにしてもよい。
The
また、この実施の形態1では、ROM116に予め記憶しておいた実行制御用プログラム及び画像処理用プログラムを使用すると説明したが、それらのプログラムを初期化処理などでRAM117に転送し、RAM117に記憶したプログラムを使用するようにしてもよい。この場合には、RAM117が第1の記憶手段となると言える。
In the first embodiment, it has been described that the execution control program and the image processing program stored in advance in the
さらに、DSP114は、CPUバス120を使用して、RAM117のデータを直接入力し、またRAM117に直接出力する構成でもよい。画像処理時間は増大するが、それを問題としない場合は装置構成の簡素化の点で有効な措置となる。
Further, the
さらに、高速メモリ115に、CPU113が選択した実行順リストと、DSP114が実行するプログラムと、DSP114が画像処理を行う際の入出力データとを記憶すると説明したが、これらは別のメモリに記憶してもよい。
Furthermore, although it has been described that the high-
(実施の形態2)
図8は、本発明の実施の形態2による画像処理装置の構成を示すブロック図である。なお、図8では、図1(実施の形態1)に示した構成要素と同一ないしは同等である構成要素には同一の符号が付されている。ここでは、この実施の形態2に関わる部分を中心に説明する。
(Embodiment 2)
FIG. 8 is a block diagram showing a configuration of an image processing apparatus according to
図8に示すように、この実施の形態2による画像処理装置800は、図1(実施の形態1)に示したCPU113に代えたCPU801を中心に構成される。このCPU801が管理するCPUバス120に代えたCPUバス808には、図1(実施の形態1)に示したセンサインターフェース112,外部記憶インターフェース110,スキャナインターフェース102,プリンタインターフェース104,パネルコントローラ108,RAM117及び通信インターフェース105と、ROM116に代えたROM805と、割り込みコントローラ119に代えた割り込みコントローラ807と、DSP114及び高速メモリ115に代えたサブCPU802,高速メモリ804及びリコンフィギャラブルプロセッサ803と、DMAC118に代えたDMAC806とが接続されている。
As shown in FIG. 8, an
CPU801は、CPU113と同様に、第1の処理手段としてのマイクロプロセッサであり、スキャナエンジン101、プリンタエンジン103、通信インターフェース105、表示装置106及び入力装置107を同様に制御して、画像処理以外の全ての装置制御処理を実行するとともに、複数の実行順リストから実行すべき実行順リストを選択し、また第2の処理手段であるサブCPU801に対して処理の開始を指示する等の制御動作を行うように構成されている。
Similar to the
サブCPU802は、第2の処理手段としてのプロセッサである。また、リコンフィギャラブルプロセッサ803は、第3の処理手段としてのプロセッサである。両者は、それぞれ、第2の記憶手段としての高速メモリ804と専用の高速バスで接続されている。この構成によってサブCPU802とリコンフィギャラブルプロセッサ803は、協働して図1(実施の形態1)に示したDSP114の機能を実現する。
The
サブCPU802は、高速メモリ804に記憶されたサブCPU802用の実行制御プログラムに基づき、高速メモリ804に記憶されたCPU801が選択した実行順リストを解釈して次に実行する画像処理を決定し、その画像処理に対応した画像処理用構成情報のROM805から高速メモリ804への転送処理をDMAC806に依頼する動作、リコンフィギャラブルプロセッサ803に対して処理の開始を指示する動作などを行うように構成されている。
Based on the execution control program for the
リコンフィギャラブルプロセッサ803は、具体的な構成は後述するが、高速メモリ804に記憶された画像処理用構成情報に従って内部のハードウェア構成を動的に再構成することができるプロセッサであり、サブCPU802から指示された画像処理を高速メモリ804に記憶された実行順リストに従って実行する。
Although the specific configuration will be described later, the
高速メモリ804は、少容量ながらサブCPU802及びリコンフィギャラブルプロセッサ803の動作速度以上の高速で読み書き可能なノーウエイトメモリで構成され、サブCPU802用の実行制御プログラムと、CPU801にて選択された実行順リストと、リコンフィギャラブルプロセッサ803の画像処理用構成情報と、リコンフィギャラブルプロセッサ803が画像処理を行う際の入出力データとを記憶する。
The high-
第1の記憶手段としてのROM805は、少なくともCPU801が実行する制御プログラムと、リコンフィギャラブルプロセッサ803用の複数の画像処理用構成情報と、サブCPU802用の実行制御用プログラムと、複数の実行順リストとが記憶されている。
A
DMAC806は、ROM805及びRAM117と高速メモリ804との間のデータ転送を行う。
The
割り込みコントローラ807は、センサインターフェース112、外部記憶インターフェース110、スキャナインターフェース102、プリンタインターフェース104、パネルコントローラ108、通信インターフェース105、サブCPU802及びDMAC806からCPU801への割り込み信号を調停する。
The interrupt
ここで、リコンフィギャラブルプロセッサ803の構成について詳細に説明する。リコンフィギャラブルプロセッサ803は、入出力インターフェース、メモリ、複数のプロセッサエレメント及びそれらを選択的に結線する信号線から構成される。1つのプロセッサエレメントは、ALU(Arithmetic and Logical Unit)、乗算器、レジスタ、セレクタ及びそれらをつなぐ信号線から構成される。それぞれのプロセッサエレメントの機能及び入出力インターフェース、メモリ、プロセッサエレメント間の接続は、画像処理用構成情報によって決定される。
Here, the configuration of the
例えば、積和演算機能を実現する場合、第1のプロセッサエレメントは、第1の入力を入力インターフェースに接続し、第2の入力を第2のプロセッサエレメントの出力に接続し、その2つの入力を乗算器にて乗算し、その結果を出力するように構成する。第2のプロセッサエレメントは、第1の入力を第1のプロセッサエレメントの出力に接続し、第2の入力をメモリに接続し、その2つの入力をALUにて加算し、その結果を出力インターフェースとメモリとに出力するように構成する。つまり、第1のプロセッサエレメントで乗算機能を、第2のプロセッサエレメントで加算機能を実現し、それらを接続して積和機能を実現する。 For example, when realizing the multiply-accumulate function, the first processor element connects the first input to the input interface, connects the second input to the output of the second processor element, and inputs the two inputs. Multiplication is performed by a multiplier, and the result is output. The second processor element connects the first input to the output of the first processor element, connects the second input to the memory, adds the two inputs at the ALU, and outputs the result to the output interface. Configure to output to memory. That is, the multiplication function is realized by the first processor element, the addition function is realized by the second processor element, and the product-sum function is realized by connecting them.
このように、リコンフィギャラブルプロセッサ803は、高速メモリ804に記憶された画像処理用構成情報に基づき内部のハードウェア構成を動的に再構成する。再構成されたリコンフィギャラブルプロセッサ803の振る舞いは、プロセッサではなく専用ハードウェアに近いものとなる。したがって、複数の画像処理用構成情報を切り替えることによって、複数の専用ハードウェアが存在するかのように扱うことが可能となる。
As described above, the
さて、この実施の形態2による画像処理装置800にて実施されるドキュメント処理(ファクス受信、ファクス送信、コピー、プリント、スキャン)時における画像処理の流れは、図2と同様であるが、そこでの画像処理は、リコンフィギャラブルプロセッサ803が、DSP114と同様に、図3に示すようにバンド301に分割された画像の各データを処理することで実現する。
The flow of image processing during document processing (fax reception, fax transmission, copying, printing, scanning) performed by the
また、この実施の形態2による画像処理装置800の起動時及びその後におけるCPU801の処理手順は、図4及び図5と同様である。即ち、画像処理装置800の起動時では、図4に示すS401での実行制御用プログラムをサブCPU802用の実行制御用プログラム及び画像処理用構成情報と読み替えることで適用できる。また、画像処理装置800の起動後においてドキュメント処理が指示されたときにCPU801が実行する画像処理に関する転送制御である図4に示すS403の処理は、図5に例示する手順で実行されるが、図5においてDSP114をサブCPU802と読み替えることで適用できる。そして、この実施の形態2にて用いる実行順リストは、図6に示す各ディスクリプタにおいて、画像処理用プログラムを画像処理用構成情報と読み替えることで適用できる。
The processing procedure of the
したがって、以下では、DSP114の画像処理動作(図7)に対応する動作を実現するサブCPU802の動作について図9を参照して説明する。なお、図9は、図8に示す画像処理装置の画像処理時におけるサブCPUの処理手順を説明するフローチャートである。図9に示す処理手順は、起動時に図4に示した手順(S401)で高速メモリ804に転送記憶されたサブCPU802用の実行制御用プログラムの内容である。
Therefore, hereinafter, the operation of the
図9において、S901の処理は、CPU801が、図4に示した手順(S403)において実行する処理の一部である。即ち、CPU801は、あるドキュメント処理の実行指示を受けて(S402:Yes)、S403では、まず、DMAC806に対して、RAM117に格納されている1バンド分の画像データを高速メモリ804に転送する指示を発行し、併せて、図5に示した手順(S501)も実行し、DMAC806に依頼して対応する実行順リストを高速メモリ804に転送させている。そして、CPU801は、DMAC806から転送完了通知の割り込みを受け取ると、サブCPU802に対して1バンド分の画像処理の開始を指示する割り込みを発行する。
In FIG. 9, the process of S901 is a part of the process executed by the
そこで、サブCPU802は、CPU801から1バンド分の画像処理を開始する指示(割り込み)を受け取ると、図4に示した手順(S403)において高速メモリ804に保存された実行順リストの先頭のディスクリプタを選択する。図6を参照すると、ディスクリプタ609が選択される(S902)。
Therefore, when the
サブCPU802は、その選択したディスクリプタ609に示された画像処理用構成情報のROM805における先頭アドレス603「0x00100000」とサイズ604「0x000000A0」とをDMAC806に示して、ROM805から高速メモリ804に転送するように指示を出す(S903)。
The
サブCPU802は、DMAC806から転送完了を通知する割り込みを受け取ると、リコンフィギャラブルプロセッサ803に対して画像処理の開始を指示し(S904)、画像処理が完了するのを待つ(S905)。
When the
リコンフィギャラブルプロセッサ803は、サブCPU802から開始指示を受けて、DMAC806が高速メモリ804に転送した画像処理用構成情報に従ってハードウェア構成を定め、S901において高速メモリ804に転送した1バンド分の画像データに対して画像処理を行い、処理した画像データを高速メモリ804に記憶させると、サブCPU802に処理の完了を通知する。
The
サブCPU802は、リコンフィギャラブルプロセッサ803から処理完了の通知を受け取ると(S905:Yes)、リコンフィギャラブルプロセッサ803の処理結果に応じて次のディスクリプタを選択し(S906)、次のディスクリプタが存在するか否かを調べる(S907)。
Upon receiving the processing completion notification from the reconfigurable processor 803 (S905: Yes), the
その結果、次のディスクリプタが存在する場合(S907:Yes)は、S903からS907の処理を繰り返すが、次のディスクリプタが存在しない場合(S907:No)は、DMAC806に対し処理した画像データを高速メモリ804からRAM117に転送するように指示(割り込み)を出し(S908)、DMAC806から転送完了を通知する割り込みを受け取ると、割り込みコントローラ807に対し、CPU801に対して画像処理が完了したことを通知する割り込みの発行を依頼する(S909)。
As a result, if the next descriptor exists (S907: Yes), the processing from S903 to S907 is repeated. If the next descriptor does not exist (S907: No), the image data processed for the
図6を参照して具体的に説明する。S906での「次のディスクリプタ選択処理」は、リコンフィギャラブルプロセッサ803での画像処理結果に基づき行われる。そして、S907での「次のディスクリプタあるか」の判定処理は、その選択したディスクリプタでの処理方法605〜608の内容に基づき行われる。
This will be specifically described with reference to FIG. The “next descriptor selection process” in S906 is performed based on the image processing result in the
実行順リスト601の先頭にあるディスクリプタ609で指示された画像処理の処理結果が「1」であれば対する処理方法606は、「1」であるので、S906では、画像処理番号1の処理、即ち、ディスクリプタ610が選択される。そして、そのディスクリプタ610で指示された画像処理の処理結果が「0」の場合は、対する処理方法605は、「2」であるので、S906では、画像処理番号2の処理、即ち、ディスクリプタ611の処理が選択される。一方、そのディスクリプタ610で指示された画像処理の処理結果が「2または3」の場合、対する処理方法607,608は、「255」であるので、S907では画像処理終了と判定される(S907:No)。
If the processing result of the image processing instructed by the
S906にてディスクリプタ611の処理が選択され、S907での判定が肯定(S907:Yes)であると、以降、同様の手順で、ディスクリプタ612〜615が順次選択される。そして、ディスクリプタ615で示された画像処理では、処理結果が「0」から「3」の何れの場合であっても対する処理方法605〜608は、「255」であるので、S907では画像処理終了と判定される(S907:No)。
If the processing of the
以上説明したように、サブCPU802は、CPU801から画像処理の開始指示を受け取ると、高速メモリ804に構成情報を用意してリコンフィギャラブルプロセッサ803に画像処理の開始指示を出し、リコンフィギャラブルプロセッサ803が高速メモリ804に記憶された構成情報に従って再構成しながらの複数の画像処理を、CPU801の指示を受けることなく連続して行うことができる。CPU801に入力される割り込みは、この連続した複数の画像処理の完了時に1回だけであるので、CPU801の処理負荷が大幅に軽減される。
As described above, when the
したがって、この実施の形態2によれば、主に装置制御を行う第1の処理手段であるCPU801のパフォーマンスの低下を抑制しつつ、多数の小領域(バンド)に分割した処理対象画像に対する複数の画像処理を第2の処理手段であるサブCPU802と第3の処理手段であるリコンフィギャラブルプロセッサ803との協働で実行することができるので、実施の形態1と同様に、高速で低価格の画像処理装置を実現することができる。
Therefore, according to the second embodiment, a plurality of processing target images divided into a large number of small regions (bands) are suppressed while suppressing a decrease in performance of the
加えて、この実施の形態2によれば、第3の処理手段であるリコンフィギャラブルプロセッサ803は、画像処理用構成情報に応じてハードウェア構成を変更できるので、画像処理の自由度を向上させることができる。
In addition, according to the second embodiment, the
ここで、この実施の形態2にて実施される画像処理方法を示すと、画像処理を実施するハードウェアの構成を構成情報に応じて変更できる処理手段(リコンフィギャラブルプロセッサ803)を備える画像処理装置における画像処理方法であって、「複数の画像処理の実行順を示した複数の実行順リストと画像処理を行うための複数の前記構成情報とを第1の記憶手段(ROM805)に用意する工程」と、CPU801が「ROM805が記憶する前記複数の実行順リストから1つの実行順リストを選択して画像処理の開始指示を発行する工程」と、サブCPU802が「前記画像処理の開始指示を受けて(DMAC806に転送を依頼して)CPU801が選択した1つの実行順リストに示された画像処理の実行順に従った構成情報をROM805から第2の記憶手段(高速メモリ804)に転送する工程」と、サブCPU802がDMAC806から受け取る「高速メモリ804への転送処理終了に応答してリコンフィギャラブルプロセッサ803に対し開始指示を与えて高速メモリ804に記憶された前記構成情報の読み取りを行わせる工程」と、サブCPU802が「リコンフィギャラブルプロセッサ803が実施した画像処理の結果と前記選択された1つの実行順リストとの両方に基づいて、次の画像処理で用いる前記構成情報の選択可否を判断し、選択できる場合はその選択できた構成情報を前記第2の記憶手段に転送記憶させる依頼を発行し、選択できない場合は前記処理手段での画像処理の終了処理(CPU801への通知処理)を行う工程」とを含んでいる。そして、画像処理用プログラムは、それらの各工程をコンピュータが実行可能に記述したものである。
Here, the image processing method implemented in the second embodiment will be described. Image processing including processing means (reconfigurable processor 803) that can change the configuration of hardware that performs image processing according to configuration information. In the image processing method in the apparatus, “a plurality of execution order lists indicating the execution order of a plurality of image processes and a plurality of pieces of configuration information for performing image processing are prepared in a first storage unit (ROM 805). A process, a process in which the
なお、この実施の形態2で示している第1の処理手段であるCPU801と第2の処理手段であるサブCPU802と第3の処理手段であるリコンフィギャラブルプロセッサ803は、それぞれ単一のプロセッサとすべき必然性はない。例えば、それぞれの処理手段が複数のICチップによって構成されていてもよい。また、これらのプロセッサは、それぞれが個別に存在せず、それぞれのプロセッサのコアを単一のIC内にまとめて構成するようにしてもよい。
Note that the
また、ROM805に記憶している実行制御用プログラム及び構成情報を使用するとして説明したが、それらを初期化処理などでROM805からRAM117に転送し、RAM117に記憶した実行制御用プログラム及び構成情報を使用するようにしてもよい。この場合には、RAM117が第1の記憶手段であると言える。
Also, the execution control program and configuration information stored in the
また、CPU801は、実行順リストをROM805から高速メモリ804に転送すると説明したが、初期化処理などでRAM117に格納し、格納したアドレスをサブCPU802に通知するようにしてもよい。また、実行順リストに一意の記号を付し、その記号で指定してもよい。つまり、サブCPU802が1つの実行順リストを特定できさえすればよく、その形式は問わない。
The
また、高速メモリ804に、CPU801によって選択された実行順リストと、サブCPU802が実行するプログラムと、リコンフィギャラブルプロセッサ803用の構成情報と、リコンフィギャラブルプロセッサ803が画像処理を行う際の入出力データとを記憶すると説明したが、これらは別のメモリに記憶してもよい。
Further, the execution order list selected by the
さらに、リコンフィギャラブルプロセッサ803は、CPUバス809を使用して、RAM117のデータを直接入力し、またRAM117に直接出力する構成でもよい。画像処理時間は増大するが、それを問題としない場合は装置構成の簡素化の点で有効な措置となる。
Further, the
(実施の形態3)
図10は、本発明の実施の形態3による画像処理装置の構成を示すブロック図である。なお、図10では、図1(実施の形態1)に示した構成要素と同一ないしは同等である構成要素には同一の符号が付されている。ここでは、この実施の形態3に関わる部分を中心に説明する。
(Embodiment 3)
FIG. 10 is a block diagram showing a configuration of an image processing apparatus according to
図10に示すように、この実施の形態3による画像処理装置1000は、図1(実施の形態1)に示したCPU113に代えたCPU1001を中心に構成される。このCPU1001が管理するCPUバス120に代えたCPUバス1007には、図1(実施の形態1)に示したセンサインターフェース112,外部記憶インターフェース110,スキャナインターフェース102,プリンタインターフェース104,パネルコントローラ108,RAM117及び通信インターフェース105と、ROM116に代えたROM1004と、割り込みコントローラ119に代えた割り込みコントローラ1006と、DSP114,高速メモリ115、及びにDMAC118代えた高速メモリ1003,リコンフィギャラブルプロセッサ1002及びDMAC1005とが接続されている。
As shown in FIG. 10, the
また、高速メモリ1003とリコンフィギャラブルプロセッサ1002との間、及び高速メモリ1003とDMAC1005との間は、それぞれ専用の高速バスで接続されている。
Further, the high-
CPU1001は、CPU113と同様に、第1の処理手段としてのマイクロプロセッサであり、スキャナエンジン101、プリンタエンジン103、通信インターフェース105、表示装置106及び入力装置107を同様に制御して、画像処理以外の全ての装置制御処理を実行するとともに、複数の実行順リストから実行すべき実行順リストを選択し、また第2の処理手段であるリコンフィギャラブルプロセッサ1002に対して画像処理の開始を指示する等の制御動作を行うように構成されている。
Similar to the
第2の記憶手段としての高速メモリ1003は、少容量ながらリコンフィギャラブルプロセッサ1002の動作速度以上の高速で読み書き可能なノーウエイトメモリで構成され、リコンフィギャラブルプロセッサ1002の構成情報(実行制御用構成情報及び画像処理用構成情報)と、CPU801にて選択された実行順リストと、リコンフィギャラブルプロセッサ1002が画像処理を行う際の入出力データとを記憶する。
The high-
第1の記憶手段としてのROM1004は、少なくともCPU1001が実行する制御プログラムと、リコンフィギャラブルプロセッサ1002用の複数の構成情報(実行制御用構成情報及び画像処理用構成情報)と、複数の実行順リストとが記憶されている。
The
DMAC1005は、リコンフィギャラブルプロセッサ1002からの依頼に基づきROM1004及びRAM117と高速メモリ1003との間のデータ転送を行う。
The
割り込みコントローラ1006は、センサインターフェース112、外部記憶インターフェース110、スキャナインターフェース102、プリンタインターフェース104、パネルコントローラ108、通信インターフェース105及びDMAC1005からCPU1001への割り込み信号を調停する。
The interrupt
さて、リコンフィギャラブルプロセッサ1002は、第2の処理手段としてのプロセッサである。基本的な構成は、図8(実施の形態2)に示したリコンフィギャラブルプロセッサ803と同様であるが、この実施の形態3によるリコンフィギャラブルプロセッサ1002は、「ALU(Arithmetic and Logical Unit)、乗算器、レジスタ、セレクタ及びそれらをつなぐ信号線から構成される」プロセッサエレメントの複数個からなるプロセッサブロックを1単位としそれの複数個で構成される。
Now, the
そして、複数のプロセッサブロックは、高速メモリ1003に記憶された構成情報に従って、その1プロセッサブロック毎に、内部のハードウェア構成を動的に再構成することができるが、画像処理を実施する画像処理プロセッサブロックと、その画像処理プロセッサブロックでの画像処理の実行を制御する実行制御プロセッサブロックとが構成されるようになっている。
The plurality of processor blocks can dynamically reconfigure the internal hardware configuration for each processor block according to the configuration information stored in the high-
つまり、この実施の形態3では、リコンフィギャラブルプロセッサ1002は、装置の初期化処理時などにおいてROM1004から高速メモリ1003に転送される実行制御用構成情報に従って対応する実行制御プロセッサブロックが構成され、CPU1001から画像処理の開始指示を受け取ると、その実行制御プロセッサブロックが、高速メモリ1003に記憶された実行順リストを解釈して次に実行する画像処理を決定し、DMAC1005に依頼してその画像処理に対応した構成情報をROM1004から高速メモリ1003に転送させ、高速メモリ1003に画像処理用の構成情報を用意する。すると、高速メモリ1003に記憶された画像処理用構成情報に従って対応する画像処理プロセッサブロックが構成され、その画像処理プロセッサブロックが画像処理を行うように構成されている。
That is, in the third embodiment, the
ここで、この実施の形態3による画像処理装置1000にて実施されるドキュメント処理(ファクス受信、ファクス送信、コピー、プリント、スキャン)時における画像処理の流れは、図2と同様であるが、そこでの画像処理は、リコンフィギャラブルプロセッサ1002の「画像処理プロセッサブロック」が、DSP114と同様に、図3に示すようにバンド301に分割された画像の各データを処理することで実現する。
Here, the flow of image processing during document processing (fax reception, fax transmission, copying, printing, scanning) performed by the
また、この実施の形態3による画像処理装置1000の起動時及びその後におけるCPU1001の処理手順は、図4及び図5と同様である。即ち、画像処理装置1000の起動時では、図4に示すS401での実行制御用プログラムを、リコンフィギャラブルプロセッサ1002用の構成情報(実行制御用構成情報)と読み替えることで適用できる。また、画像処理装置1000の起動後においてドキュメント処理が指示されたときにCPU1001が実行する画像処理に関する転送制御である図4に示すS403の処理は、図5に例示する手順で実行されるが、図5においてDSP114をリコンフィギャラブルプロセッサ1002と読み替えることで適用できる。そして、この実施の形態3にて用いる実行順リストは、実施の形態2と同様に、図6に示す各ディスクリプタにおいて、画像処理用プログラムを画像処理用構成情報と読み替えることで適用できる。
Further, the processing procedure of the
したがって、以下では、図11を参照してリコンフィギャラブルプロセッサ1002の「実行制御プロセッサブロック」について説明する。なお、図11は、図10に示すリコンフィギャラブルプロセッサの実行制御プロセッサブロックでの処理手順を説明するフローチャートである。図11に示す処理手順は、起動時に図4に示した手順(S401)で高速メモリ1003に転送記憶された実行制御用構成情報の内容であり、リコンフィギャラブルプロセッサ1002に対応する「実行制御プロセッサブロック」を構成させる指示と、その構成した「実行制御プロセッサブロック」で行われる処理の手順とが示されている。
Therefore, hereinafter, the “execution control processor block” of the
図11において、S1101の処理は、CPU1001が、図4に示した手順(S403)において実行する処理の一部である。即ち、CPU1001は、あるドキュメント処理の実行指示を受けて(S402:Yes)、S403では、まず、DMAC1005に対して、RAM117に格納されている1バンド分の画像データを高速メモリ1003に転送する指示を発行し、併せて、図5に示した手順(S501)も実行し、DMAC1005に依頼して対応する実行順リストを高速メモリ1003に転送させている。そして、CPU1001は、DMAC1005から転送完了通知の割り込みを受け取ると、リコンフィギャラブルプロセッサ1002に対して1バンド分の画像処理の開始を指示する割り込みを発行する。
In FIG. 11, the process of S1101 is a part of the process executed by the
そこで、リコンフィギャラブルプロセッサ1002は、図4に示した手順(S401)において高速メモリ1003に保存された実行制御用構成情報に従って実行制御プロセッサブロックを構成している状態において、CPU1001から1バンド分の画像処理を開始する指示(割り込み)を受け取ると、その制御プロセッサブロックにおいて、S1102〜S1109の各処理を行う。
Therefore, the
即ち、実行制御プロセッサブロックは、図4に示した手順(S403)において高速メモリ1003に保存された実行順リストの先頭のディスクリプタを選択する。図6を参照すると、ディスクリプタ609が選択される(S1102)。
That is, the execution control processor block selects the first descriptor of the execution order list stored in the
制御プロセッサブロックは、その選択したディスクリプタ609に示された画像処理用構成情報のROM1004における先頭アドレス603「0x00100000」とサイズ604「0x000000A0」とをDMAC1005に示して、ROM1004から高速メモリ1003に転送するように指示(割り込み)を出し、高速メモリ1003に選択したディスクリプタに対する画像処理用構成情報を用意する(S1103)。すると、リコンフィギャラブルプロセッサ1002では、高速メモリ1003に用意され画像処理用構成情報に従って画像処理プロセッサブロックが構成されるので、制御プロセッサブロックは、その画像処理プロセッサブロックに対して、S1101において高速メモリ1003に転送した1バンド分の画像データに対して画像処理を行い、処理した画像データを高速メモリ1003に記憶させるように指示し(S1104)、画像処理が完了するのを待つ(S1105)。
The control processor block indicates the
実行制御プロセッサブロックは、画像処理プロセッサブロックでの画像処理が完了すると(S1105:Yes)、その画像処理の処理結果に応じて次のディスクリプタを選択し(S1106)、次のディスクリプタが存在するか否かを調べる(S1107)。 When the image processing in the image processing processor block is completed (S1105: Yes), the execution control processor block selects the next descriptor according to the processing result of the image processing (S1106), and whether or not the next descriptor exists. (S1107).
その結果、次のディスクリプタが存在する場合(S1107:Yes)は、S1103からS1107の処理を繰り返すが、次のディスクリプタが存在しない場合(S1107:No)は、DMAC1005に対し処理した画像データを高速メモリ1003からRAM117に転送するように指示(割り込み)を出し(S1108)、DMAC1005から転送完了を通知する割り込みを受け取ると、割り込みコントローラ1006に対し、CPU1001に対して画像処理が完了したことを通知する割り込みの発行を依頼する(S1109)。
As a result, if the next descriptor exists (S1107: Yes), the processing from S1103 to S1107 is repeated. If the next descriptor does not exist (S1107: No), the image data processed for the
なお、実行順リストにおけるディスクリプタ選択処理(S1106)と画像処理での次候補有無の判定処理(S1107)は、実施の形態2にて説明したのと同様の手順で行われるので、説明を割愛する。 Note that the descriptor selection process (S1106) in the execution order list and the next candidate presence / absence determination process (S1107) in the image process are performed in the same procedure as described in the second embodiment, and thus description thereof is omitted. .
以上説明したように、リコンフィギャラブルプロセッサ1002は、まず、実行制御プロセッサブロックが構成され、その後、CPU1001から画像処理の開始指示を受け取ると、その実行制御プロセッサブロックが高速メモリ1003に記憶された実行順リストに従って画像処理プロセッサブロックを構成する構成情報を高速メモリ1003に用意することを繰り返すことで、CPU1001の指示を受けることなく、画像処理プロセッサブロックを再構成しながら複数の画像処理を連続して行うことができる。CPU1001に入力される割り込みは、この連続した複数の画像処理の完了時に1回だけであるので、CPU1001の処理負荷が大幅に軽減される。
As described above, the
したがって、この実施の形態3によれば、第1の処理手段であるCPU1001のパフォーマンスの低下を抑制しつつ、多数の小領域(バンド)に分割した画像に対する複数の画像処理を第2の処理手段であるリコンフィギャラブルプロセッサ1002で実行することができるので、実施の形態1と同様に、高速で低価格の画像処理装置を実現することができる。
Therefore, according to the third embodiment, the second processing means performs a plurality of image processing on the image divided into a large number of small regions (bands) while suppressing a decrease in performance of the
加えて、この実施の形態3によれば、第2の処理手段であるリコンフィギャラブルプロセッサ1002は、画像処理用構成情報に応じてハードウェア構成を変更できるので、画像処理の自由度を向上させることができる。
In addition, according to the third embodiment, the
ここで、この実施の形態3にて実施される画像処理方法を示すと、画像処理を実施するハードウェアの構成を構成情報に応じて変更できるとともに、前記画像処理の実行制御を実施するハードウェアを構成情報に応じて構成できる処理手段(リコンフィギャラブルプロセッサ1002)を備える画像処理装置における画像処理方法であって、「複数の画像処理の実行順序を示した複数の実行順リストと実行制御及び画像処理それぞれを行うハードウェアの構成を示した複数の構成情報とを第1の記憶手段(ROM1004)に用意する工程」と、「CPU1001がリコンフィギャラブルプロセッサ1002に対し、ROM1004に記憶される前記実行制御を行うハードウェアの構成を示した構成情報を与えるとともに、ROM1004が記憶する前記複数の実行順リストから1つの実行順リストを選択したときに画像処理の開始指示を与える工程」と、「CPU1001が、リコンフィギャラブルプロセッサ1002からの要求に応じて、当該リコンフィギャラブルプロセッサ1002が読み取り可能な第2の記憶手段(高速メモリ1003)に、前記選択した1つの実行順リストに示された画像処理の実行順序に従って対応する前記画像処理を行うハードウェアの構成を示した構成情報をROM1004から転送記憶させて当該構成情報に対応する画像処理が実施できるようにし、当該リコンフィギャラブルプロセッサ1002からの終了通知を待機する工程」とを含んでいる。そして、画像処理用プログラムは、それらの各工程をコンピュータが実行可能に記述したものである。
Here, when the image processing method implemented in the third embodiment is shown, the hardware configuration for performing the image processing can be changed according to the configuration information, and the hardware for performing the execution control of the image processing Is an image processing method in an image processing apparatus including processing means (reconfigurable processor 1002) that can be configured in accordance with configuration information, and includes “a plurality of execution order lists and execution controls indicating the execution order of a plurality of image processes; “A step of preparing a plurality of pieces of configuration information indicating the configuration of hardware for performing each image processing in the first storage unit (ROM 1004)” and “the
なお、この実施の形態3にて示した第1の処理手段であるCPU1001と第2の処理手段であるリコンフィギャラブルプロセッサ1002は、それぞれ単一のプロセッサとすべき必然性はない。例えば、それぞれの処理手段が複数のICチップによって構成されていてもよい。また、これらのプロセッサは、それぞれが個別に存在せず、それぞれのプロセッサのコアを単一のIC内にまとめて構成するようにしてもよい。
Note that the
また、この実施の形態3では、高速メモリ1003に、CPU1001によって選択された実行順リストと、リコンフィギャラブルプロセッサ1002用の構成情報と、リコンフィギャラブルプロセッサ1002が画像処理を行う際の入出力データとを記憶すると説明したが、これらは別のメモリに記憶してもよい。
In the third embodiment, the high-
さらに、リコンフィギャラブルプロセッサ1002は、CPUバス1007を使用して、RAM117のデータを直接入力し、またRAM117に直接出力する構成でもよい。画像処理時間は増大するが、それを問題としない場合は装置構成の簡素化の点で有効な措置となる。
Further, the
加えて、実施の形態1〜3では、以下のような変形態様を採ることが可能である。 In addition, in the first to third embodiments, the following modifications can be adopted.
(1)実行順リストは、高速メモリに転送せず、RAMに格納し、格納したアドレスを第2の処理手段に通知するようにしてもよい。また、実行順リストに一意の記号を付し、その記号で指定してもよい。つまり、第2の処理手段が1つの実行順リストを特定できさえすればよく、その形式は問わない。 (1) The execution order list may be stored in the RAM without being transferred to the high-speed memory, and the stored address may be notified to the second processing means. Also, a unique symbol may be attached to the execution order list and designated by that symbol. That is, it is only necessary that the second processing means can identify one execution order list, and the format is not limited.
(2)また、実行順リストに関しては、図6では、各ディスクリプタにおける画像処理結果に対する処理方法(次に行う画像処理の候補)として、605〜608の4個を示したが、次に行う画像処理の候補は4個に限るものではなく、4個以外でもよいし、可変長にしてもよい。逆に、画像処理の処理結果に応じて次に行う画像処理を選択する必要がない場合は、各ディスクリプタでは、画像処理結果に対する処理方法(次に行う画像処理の候補)の欄(605〜608)を省略してよい。そして、各ディスクリプタにおける画像処理用プログラムないしは構成情報が格納されているアドレス603及びそのサイズ604は、実行順リストとは別に第2の処理手段に通知することも可能である。つまり、実行順リストは、複数の画像処理を実行する順番を示すことができればよく、その形式は問わない。
(2) Regarding the execution order list, in FIG. 6, four
(3)さらに、1バンド分の画像データを全て高速メモリに転送して処理すると説明したが、高速メモリが1バンド分の画像データを全て記憶できる容量がない場合には、1バンドの画像データをさらに小さなブロックに分割して転送処理するようにしてもよい。 (3) Further, it has been described that all the image data for one band is transferred to the high-speed memory for processing. May be divided into smaller blocks for transfer processing.
以上のように、本発明にかかる画像処理装置、画像処理方法及び画像処理用プログラムは、装置制御処理に最適な処理手段のパフォーマンスの低下を抑制して画像処理の高速化を安価に実現するに有用である。 As described above, the image processing apparatus, the image processing method, and the image processing program according to the present invention can realize a high-speed image processing at a low cost by suppressing a decrease in the performance of the processing means optimal for the apparatus control process. Useful.
100 画像処理装置
101 スキャナエンジン
102 スキャナインターフェース
103 プリンタエンジン
104 プリンタインターフェース
105 通信インターフェース
106 表示装置
107 入力装置
108 パネルコントローラ
109 外部記憶装置
110 外部記憶インターフェース
111 センサ
112 センサインターフェース
113 CPU(装置制御処理に最適な第1の処理手段であるマイクロプロセッサ)
114 DSP(画像処理に最適な第2の処理手段であるプロセッサ)
115 高速メモリ
116 通信コントローラ
116 ROM
117 RAM
118 DMAC
119 割り込みコントローラ
120 CPUバス
201 スキャナエンジン補正処理
202 フィルター処理
203 データ圧縮処理
204 データ伸張処理
205 ズーム処理
206 色変換処理
207 プリンタエンジン補正処理
210 ファクス受信に対するドキュメント処理
211 ファクス送信に対するドキュメント処理
212 コピー指示に対するドキュメント処理
213 プリント指示に対するドキュメント処理
214 スキャン指示に対するドキュメント処理
301 バンド
601 実行順リスト
800 画像処理装置
801 CPU
802 サブCPU
803 リコンフィギャラブルプロセッサ
804 高速メモリ
805 ROM
806 DMAC
807 割り込みコントローラ
808 CPUバス
1000 画像処理装置
1001 CPU
1002 リコンフィギャラブルプロセッサ
1003 高速メモリ
1004 ROM
1005 DMAC
1006 割り込みコントローラ
1007 CPUバス
DESCRIPTION OF
114 DSP (processor which is the second processing means most suitable for image processing)
115 High-
117 RAM
118 DMAC
119 Interrupt
802 Sub CPU
803
806 DMAC
807 Interrupt
1002
1005 DMAC
1006 Interrupt
Claims (13)
装置制御の過程で前記第1の記憶手段に記憶された複数の実行順リストから1つの実行順リストを選択するとともに、画像処理の開始指示を発行する第1の処理手段と、
少なくとも前記画像処理用のプログラムを記憶するために用いる第2の記憶手段と、
前記画像処理の開始指示を受けて、前記第1の処理手段が選択した1つの実行順リストに示された画像処理の実行順序に従った画像処理用プログラムを前記第1の記憶手段から前記第2の記憶手段に転送記憶させる依頼を発行し、前記第2の記憶手段に記憶させた画像処理用プログラムに基づき画像処理を実施する第2の処理手段と、
を備えていることを特徴とする画像処理装置。 First storage means for storing a plurality of execution order lists indicating a plurality of image processing execution orders and a plurality of image processing programs;
A first processing means for selecting one execution order list from a plurality of execution order lists stored in the first storage means in the course of device control and issuing an image processing start instruction;
Second storage means used to store at least the image processing program;
In response to the start instruction of the image processing, an image processing program according to the execution order of the image processing shown in one execution order list selected by the first processing means is stored in the first storage means from the first storage means. A second processing unit that issues a request for transfer and storage to the second storage unit and performs image processing based on the image processing program stored in the second storage unit;
An image processing apparatus comprising:
装置制御の過程で前記第1の記憶手段に記憶された複数の実行順リストから1つの実行順リストを選択するとともに、画像処理の開始指示を発行する第1の処理手段と、
少なくとも前記構成情報を記憶するために用いる第2の記憶手段と、
前記画像処理の開始指示を受けて前記第1の処理手段が選択した1つの実行順リストに示された画像処理の実行順序に従った構成情報を前記第1の記憶手段から前記第2の記憶手段に転送記憶させる依頼を発行する第2の処理手段と、
前記第2の処理手段から開始指示を受けて前記第2の記憶手段に記憶された前記構成情報に応じてハードウェア構成を変更し対応する画像処理を実施する第3の処理手段と、
を備えていることを特徴とする画像処理装置。 First storage means for storing a plurality of execution order lists indicating the execution order of a plurality of image processing and a plurality of configuration information indicating the configuration of hardware for performing image processing;
A first processing means for selecting one execution order list from a plurality of execution order lists stored in the first storage means in the course of device control and issuing an image processing start instruction;
Second storage means used to store at least the configuration information;
Configuration information according to the execution order of the image processing shown in one execution order list selected by the first processing means in response to the start instruction of the image processing is sent from the first storage means to the second storage. Second processing means for issuing a request to transfer and store the means;
Third processing means for receiving a start instruction from the second processing means and changing the hardware configuration in accordance with the configuration information stored in the second storage means to perform corresponding image processing;
An image processing apparatus comprising:
装置制御の過程で前記第1の記憶手段に記憶された複数の実行順リストから1つの実行順リストを選択するとともに、画像処理の開始指示を発行する第1の処理手段と、
少なくとも前記画像処理を行うハードウェアの構成を示した構成情報を記憶するために用いる第2の記憶手段と、
画像処理を実施するハードウェアの構成を構成情報に応じて変更できるとともに、前記画像処理の実行制御を実施するハードウェアを構成情報に応じて構成できる第2の処理手段であって、前記第1の記憶手段に記憶される前記実行制御を行うハードウェアの構成を示した構成情報に応じたハードウェア構成となり前記第1の処理手段が選択した1つの実行順リストに示された画像処理の実行順序に従って対応する前記画像処理を行うハードウェアの構成を示した構成情報を前記第1の記憶手段から前記第2の記憶手段に転送記憶させる依頼を発行する実行制御動作と、前記第2の記憶手段に記憶された前記画像処理を行うハードウェアの構成を示した構成情報に応じてハードウェア構成を変更し対応する画像処理を実施する画像処理動作とを前記画像処理の開始指示を受けてこの順に実行する第2の処理手段と、
を備えることを特徴とする画像処理装置。 A first storage means for storing a plurality of execution order lists indicating the execution order of a plurality of image processes and a plurality of pieces of configuration information indicating hardware configurations for performing each of execution control and image processing;
A first processing means for selecting one execution order list from a plurality of execution order lists stored in the first storage means in the course of device control and issuing an image processing start instruction;
Second storage means used to store configuration information indicating at least hardware configuration for performing the image processing;
A second processing unit that can change a hardware configuration for performing image processing according to configuration information and that can configure hardware for performing execution control of the image processing according to configuration information, the first processing unit Execution of the image processing shown in the one execution order list selected by the first processing unit is a hardware configuration corresponding to the configuration information indicating the configuration of the hardware that performs the execution control stored in the storage unit An execution control operation for issuing a request to transfer and store the configuration information indicating the hardware configuration for performing the corresponding image processing in accordance with the order from the first storage unit to the second storage unit; and the second storage unit An image processing operation for changing the hardware configuration according to the configuration information indicating the configuration of the hardware for performing the image processing stored in the means and performing the corresponding image processing; And second processing means for executing in this order by receiving an instruction to start the image processing,
An image processing apparatus comprising:
前記第1の記憶手段が記憶する前記複数の実行順リストから1つの実行順リストを選択して画像処理の開始指示を発行する第2の工程と、
前記画像処理の開始指示を受けて前記第2の工程にて選択された1つの実行順リストに示された画像処理の実行順序に従った画像処理用プログラムを前記第1の記憶手段から第2の記憶手段に転送する第3の工程と、
前記第2の記憶手段に記憶させた画像処理用プログラムに基づき画像処理を実施する第4の工程と、
前記第4の工程での画像処理の結果と前記選択された1つの実行順リストとの両方に基づき、次の画像処理で用いる画像処理用プログラムの選択可否を判断し、選択できる場合はその選択できた画像処理用プログラムを前記第2の記憶手段に転送記憶させ、選択できない場合は画像処理の終了処理を行う第5の工程と、
を含むことを特徴とする画像処理方法。 A first step of preparing in a first storage means a plurality of execution order lists indicating a plurality of image processing execution orders and a plurality of image processing programs;
A second step of selecting one execution order list from the plurality of execution order lists stored in the first storage unit and issuing an image processing start instruction;
In response to the image processing start instruction, an image processing program according to the execution order of the image processing shown in one execution order list selected in the second step is stored in the second storage unit from the first storage unit. A third step of transferring to the storage means;
A fourth step of performing image processing based on the image processing program stored in the second storage unit;
Based on both the result of image processing in the fourth step and the selected one execution order list, it is determined whether or not an image processing program to be used in the next image processing can be selected. A fifth step of transferring the stored image processing program to the second storage means and performing an end processing of the image processing if it cannot be selected;
An image processing method comprising:
複数の画像処理の実行順序を示した複数の実行順リストと画像処理を行うための複数の前記構成情報とを第1の記憶手段に用意する第1の工程と、
前記第1の記憶手段が記憶する前記複数の実行順リストから1つの実行順リストを選択して画像処理の開始指示を発行する第2の工程と、
前記画像処理の開始指示を受けて前記第2の工程にて選択された1つの実行順リストに示された画像処理の実行順序に従った構成情報を前記第1の記憶手段から第2の記憶手段に転送する第3の工程と、
前記処理手段に対し前記第2の記憶手段に記憶された前記構成情報の読み取り指示を与えて画像処理を実行させる第4の工程と、
前記処理手段が実施した画像処理の結果と前記選択された1つの実行順リストとの両方に基づいて、次の画像処理で用いる前記構成情報の選択可否を判断し、選択できる場合はその選択できた構成情報を前記第2の記憶手段に転送記憶させ、選択できない場合は前記処理手段での画像処理の終了処理を行う第5の工程と、
を含むことを特徴とする画像処理方法。 An image processing method in an image processing apparatus comprising processing means capable of changing the configuration of hardware for performing image processing according to configuration information,
A first step of preparing in a first storage means a plurality of execution order lists indicating a plurality of image processing execution orders and a plurality of the configuration information for performing image processing;
A second step of selecting one execution order list from the plurality of execution order lists stored in the first storage unit and issuing an image processing start instruction;
In response to the start instruction of the image processing, the configuration information according to the execution order of the image processing shown in the one execution order list selected in the second step is stored in the second storage from the first storage means. A third step of transferring to the means;
A fourth step of giving an instruction to read the configuration information stored in the second storage means to the processing means and executing image processing;
Based on both the result of the image processing performed by the processing means and the selected one execution order list, it is determined whether or not the configuration information used in the next image processing can be selected. A fifth step of transferring the stored configuration information to the second storage unit and performing an end process of the image processing in the processing unit if the selection cannot be made;
An image processing method comprising:
複数の画像処理の実行順序を示した複数の実行順リストと実行制御及び画像処理それぞれを行うハードウェアの構成を示した複数の構成情報とを第1の記憶手段に用意する第1の工程と、
前記処理手段に対し、前記第1の記憶手段に記憶される前記実行制御を行うハードウェアの構成を示した構成情報を与えるとともに、前記第1の記憶手段が記憶する前記複数の実行順リストから1つの実行順リストを選択したときに画像処理の開始指示を与える第2の工程と、
前記処理手段からの要求に応じて、当該処理手段が読み取り可能な第2の記憶手段に、前記第2の工程にて選択した1つの実行順リストに示された画像処理の実行順序に従って対応する前記画像処理を行うハードウェアの構成を示した構成情報を前記第1の記憶手段から転送記憶させて当該構成情報に対応する画像処理が実施できるようにし、当該処理手段からの終了通知を待機する第3の工程と、
を含むことを特徴とする画像処理方法。 An image processing method in an image processing apparatus including a processing unit that can change a configuration of hardware that performs image processing according to configuration information and that can configure hardware that performs execution control of the image processing according to configuration information. There,
A first step of preparing, in a first storage means, a plurality of execution order lists indicating the execution order of a plurality of image processes, and a plurality of pieces of configuration information indicating a hardware configuration for performing each of execution control and image processing; ,
From the plurality of execution order lists stored in the first storage unit, the processing unit is provided with configuration information indicating the configuration of hardware that performs the execution control stored in the first storage unit. A second step of giving an instruction to start image processing when one execution order list is selected;
In response to a request from the processing means, the second storage means that can be read by the processing means corresponds to the execution order of the image processing shown in the one execution order list selected in the second step. The configuration information indicating the configuration of the hardware that performs the image processing is transferred and stored from the first storage unit so that image processing corresponding to the configuration information can be performed, and an end notification from the processing unit is waited for. A third step;
An image processing method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006243706A JP2008065654A (en) | 2006-09-08 | 2006-09-08 | Image processing apparatus, method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006243706A JP2008065654A (en) | 2006-09-08 | 2006-09-08 | Image processing apparatus, method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008065654A true JP2008065654A (en) | 2008-03-21 |
Family
ID=39288319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006243706A Pending JP2008065654A (en) | 2006-09-08 | 2006-09-08 | Image processing apparatus, method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008065654A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011061454A (en) * | 2009-09-09 | 2011-03-24 | Fuji Xerox Co Ltd | Image processor and image forming apparatus |
JP2015177253A (en) * | 2014-03-13 | 2015-10-05 | キヤノン株式会社 | Image processing apparatus, control method and program thereof |
-
2006
- 2006-09-08 JP JP2006243706A patent/JP2008065654A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011061454A (en) * | 2009-09-09 | 2011-03-24 | Fuji Xerox Co Ltd | Image processor and image forming apparatus |
JP2015177253A (en) * | 2014-03-13 | 2015-10-05 | キヤノン株式会社 | Image processing apparatus, control method and program thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3660182B2 (en) | Image processing device | |
JP2001188898A (en) | Image processor, image processing method and computer readable recording medium recording program for making computer execute the method | |
JP5669569B2 (en) | Image reading apparatus, information processing apparatus, control method thereof, and program | |
JP2008092550A (en) | Image forming apparatus and input/output control method | |
JP2008065654A (en) | Image processing apparatus, method and program | |
JP4591372B2 (en) | Image forming apparatus and image forming method | |
JP4144396B2 (en) | Apparatus and program for image processing | |
JP2001156968A (en) | Image processor | |
US8582153B2 (en) | Image forming apparatus and method | |
JPH11112753A (en) | Picture processor | |
JP2005065043A (en) | Data processor | |
JP5600959B2 (en) | Image processing apparatus and image processing method | |
JP3682442B2 (en) | Image forming apparatus | |
JP5694689B2 (en) | Image forming apparatus, control method therefor, and computer program | |
JP2007221520A (en) | Image processor, image processing method, and image processing program | |
JP2018118477A (en) | Image processing device, control method and program of the same | |
JP7383462B2 (en) | Image processing device, control method for image processing device, program | |
JP4901781B2 (en) | Image forming apparatus | |
JP2001246818A (en) | Printer and image processor comprising it | |
JP2017168012A (en) | Image processor, memory control method of image processor and program | |
JP6736925B2 (en) | Information processing apparatus, image processing apparatus, information processing method, information processing program | |
JP3670918B2 (en) | Image processing device | |
JP2001186355A (en) | Picture processor | |
JP2006121438A (en) | Compound machine | |
JP5132696B2 (en) | MEMORY CONTROL DEVICE, IMAGE FORMING DEVICE, AND MEMORY CONTROL METHOD |