JP2008065654A - Image processing apparatus, method and program - Google Patents

Image processing apparatus, method and program Download PDF

Info

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
Application number
JP2006243706A
Other languages
Japanese (ja)
Inventor
Masaji Osono
正司 大園
Hajime Asano
一 浅野
Tatsuo Kamei
辰夫 亀井
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006243706A priority Critical patent/JP2008065654A/en
Publication of JP2008065654A publication Critical patent/JP2008065654A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus, method and program capable of making maximum use of the processing ability of each processing means by minimizing the number of times of communication with the processing means best suited for a device control process, if the processing means best suited for image processing performs a plurality of image processes on a number of small areas. <P>SOLUTION: A CPU 13 issues an instruction to start image processes upon selecting one list of execution order from a plurality of lists of execution order stored in a ROM 116. In response to the instruction to start the image processes, a DSP 114 transfers from the ROM 116 to a high-speed memory 115 an image processing program that conforms to the order of executing the image processes, shown in the one list of execution order selected by the CPU 113, to implement the image processes. Based on the results of the image processes and the selected one list of execution order, the image processing program for use in the next image process is selected and transferred to the high-speed memory 115 to implement the image process. This operation is repeated, and when it is over the CPU 113 is notified. <P>COPYRIGHT: (C)2008,JPO&INPIT

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がリコンフィギャラブルプロセッサを制御して画像処理を実行させることにより、高速化と低価格化の両方を満たす画像処理装置を実現する技術が開示されている。
特開2002−245447号公報 特開2004―252948号公報 国際公開第01/016710号パンフレット
In (Patent Document 3), a CPU that is a processing unit that is optimal for device control processing and a processor that can dynamically reconfigure a hardware configuration that is optimal for image processing (hereinafter referred to as “reconfigurable processor”). And a CPU that controls the reconfigurable processor to execute image processing, thereby realizing a technology for realizing an image processing apparatus that satisfies both high speed and low price.
JP 2002-245447 A Japanese Patent Laid-Open No. 2004-252948 International Publication No. 01/016710 Pamphlet

しかしながら、従来の技術では、次のような問題がある。以下、(特許文献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 image processing apparatus 100 according to the first embodiment is mainly configured by a CPU 113 as a microprocessor, which is a first processing unit optimal for apparatus control processing. A sensor 111 is connected to the CPU bus 120 managed by the CPU 113 via a sensor interface 112, an external storage device 109 is connected via an external storage interface 110, and a scanner engine 101 is connected via a scanner interface 102. The printer engine 103 is connected via the printer interface 104, and the display device 106 and the input device 107 constituting the operation panel are connected via the panel controller 108.

また、このCPU113が管理するCPUバス120には、第1の記憶手段であるROM116、RAM117、割り込みコントローラ119、通信インターフェース105、画像処理に最適な第2の処理手段であるプロセッサとしてのDSP114、第2の記憶手段である高速メモリ115及びDMAC118がそれぞれ接続されている。   In addition, the CPU bus 120 managed by the CPU 113 includes a ROM 116, a RAM 117, an interrupt controller 119, a communication interface 105, a DSP 114 as a processor, which is a second processing means optimal for image processing, and a first storage means. High-speed memory 115 and DMAC 118, which are two storage means, are connected to each other.

スキャナエンジン101は、スキャナインターフェース102の制御下に、スキャナインターフェース102がCPUバス120から取り込んだ制御信号に従ってスキャナ原稿台上に配置された原稿を読み取ってデジタル化した画像データを生成し、それをスキャナインターフェース102からCPUバス120上に出力させる。   Under the control of the scanner interface 102, the scanner engine 101 reads a document placed on the scanner document table in accordance with a control signal fetched from the CPU bus 120 by the scanner interface 102 and generates digitized image data. The data is output from the interface 102 onto the CPU bus 120.

プリンタエンジン103は、プリンタインターフェース104の制御下に、プリンタインターフェース104がCPUバス120から取り込んだ画像データを記録用紙に印刷する。   Under the control of the printer interface 104, the printer engine 103 prints image data captured by the printer interface 104 from the CPU bus 120 on a recording sheet.

通信インターフェース105は、通信線路(図示せず)を経由してコンピュータ(図示せず)やファクス装置(図示せず)と通信し、通信線路から受信した画像データやファクスデータをCPUバス120上に出力し、CPUバス120から取り込んだ画像データやファクスデータを通信線路に送出する。   The communication interface 105 communicates with a computer (not shown) and a fax device (not shown) via a communication line (not shown), and image data and fax data received from the communication line are transferred to the CPU bus 120. The image data and the fax data output from the CPU bus 120 are sent to the communication line.

操作パネルを構成する表示装置106及び入力装置107は、それぞれパネルコントローラ108の制御下に動作する。パネルコントローラ108は、CPUバス120から取り込んだ操作者へのメッセージや入力装置107から取得した操作者の入力情報を表示装置106に表示する。また、パネルコントローラ108は、操作者による入力装置107への入力情報をCPUバス120上に出力する。   The display device 106 and the input device 107 constituting the operation panel operate under the control of the panel controller 108, respectively. The panel controller 108 displays a message for the operator fetched from the CPU bus 120 and operator input information acquired from the input device 107 on the display device 106. Further, the panel controller 108 outputs information input to the input device 107 by the operator on the CPU bus 120.

外部記憶装置109は、様々な種類のメモリカード、ハードディスクあるいはフロッピー(登録商標)ディスクなどの情報記録媒体である。外部記憶インターフェース110は、CPUバス120から取り込んだ書込制御信号に従ってデータを外部記憶装置109に書き込む制御と、CPUバス120から取り込んだ読み出し制御信号に従ってデータを外部記憶装置109から読み出してCPUバス120上に出力する制御とを行う。   The external storage device 109 is an information recording medium such as various types of memory cards, hard disks, and floppy (registered trademark) disks. The external storage interface 110 controls the writing of data to the external storage device 109 according to the write control signal fetched from the CPU bus 120 and reads the data from the external storage device 109 according to the read control signal fetched from the CPU bus 120. Control to output above.

センサ111は、センサインターフェース112の制御下に、プリンタエンジン103の各種状態(記録用紙の有無や記録用紙カセットの状態、装置周辺の温湿度、記録用紙詰まりの有無など)を検出する。また、センサ111は、スキャナエンジン101に自動給紙装置が搭載されている場合は、自動給紙装置における給紙状態などを検出する。センサインターフェース112は、センサ111が検出したこれらの各種情報をCPUバス120上に出力する。   Under the control of the sensor interface 112, the sensor 111 detects various states of the printer engine 103 (the presence / absence of recording paper, the state of the recording paper cassette, the temperature / humidity around the apparatus, the presence / absence of a recording paper jam, etc.). The sensor 111 detects a paper feed state in the automatic paper feeder when the scanner engine 101 is equipped with an automatic paper feeder. The sensor interface 112 outputs the various information detected by the sensor 111 on the CPU bus 120.

第1の記憶手段であるROM116には、少なくとも、CPU113が実行する制御プログラムと、DSP114が実行する複数の画像処理用プログラム、実行制御用プログラム及び複数の画像処理の実行順序を示した複数の実行順リストとが記憶されている。   The ROM 116 serving as the first storage means includes at least a control program executed by the CPU 113, a plurality of image processing programs executed by the DSP 114, an execution control program, and a plurality of executions indicating the execution order of the plurality of image processes. An ordered list is stored.

RAM117は、CPU113の制御下に、画像データ、符号データ及びCPU113の作業用データを一時的に記憶する。   The RAM 117 temporarily stores image data, code data, and work data for the CPU 113 under the control of the CPU 113.

CPU113は、ROM116に格納される上記の制御プログラムに基づき、スキャナエンジン101、プリンタエンジン103、通信インターフェース105、表示装置106及び入力装置107を制御する。また、CPU113は、ドキュメント処理時においてROM116に格納される上記の複数の実行順リストの中から指示されたドキュメント処理に対応する実行順リストの選択、DSP114に対する処理の開始指示、必要に応じて画像データの分割処理などを行う。つまり、CPU113は、画像処理以外の全ての装置制御処理を実行するように構成されている。   The CPU 113 controls the scanner engine 101, the printer engine 103, the communication interface 105, the display device 106, and the input device 107 based on the control program stored in the ROM 116. Further, the CPU 113 selects the execution order list corresponding to the document processing instructed from the plurality of execution order lists stored in the ROM 116 at the time of document processing, instructs the DSP 114 to start processing, and if necessary, images Performs data division processing. That is, the CPU 113 is configured to execute all device control processes other than image processing.

第2の処理手段であるDSP114は、専用の高速なバスで接続された第2の記憶手段である高速メモリ115を用いて画像処理を実行する(図2参照)。   The DSP 114 as the second processing means performs image processing using the high-speed memory 115 as the second storage means connected by a dedicated high-speed bus (see FIG. 2).

高速メモリ115は、少容量ながらDSP114の動作速度以上の高速で読み書き可能なノーウエイトメモリで構成され、DSP114が実行するプログラムと、DSP114が画像処理を行う際の入出力データと、CPU113にて選択された実行順リストとを記憶する。   The high-speed memory 115 is composed of a no-wait memory that can read and write at a speed higher than the operation speed of the DSP 114 with a small capacity. The program executed by the DSP 114, input / output data when the DSP 114 performs image processing, and selection by the CPU 113 The executed execution order list is stored.

DMAC118は、CPU113の指示に従ってROM116及びRAM117と高速メモリ115との間のデータ転送処理を行う。   The DMAC 118 performs data transfer processing between the ROM 116 and RAM 117 and the high-speed memory 115 in accordance with instructions from the CPU 113.

割り込みコントローラ119は、センサインターフェース112、外部記憶インターフェース110、スキャナインターフェース102、プリンタインターフェース104、パネルコントローラ108、通信インターフェース105、DSP114及びDMAC118からCPU113への割り込み信号を調停する。   The interrupt controller 119 arbitrates interrupt signals from the sensor interface 112, the external storage interface 110, the scanner interface 102, the printer interface 104, the panel controller 108, the communication interface 105, the DSP 114, and the DMAC 118 to the CPU 113.

図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 DSP 114 performs scanner engine correction processing 201, filter processing 202, data compression processing 203, data expansion processing 204, zoom processing 205, and image data stored in the high-speed memory 115 during corresponding document processing. Corresponding image processing is performed among the color conversion processing 206, the printer engine correction processing 207, and the halftone processing 208.

スキャナエンジン補正処理201は、シェーディング補正、ガンマ補正、背景除去などに係る画像処理である。フィルター処理202は、先鋭化、平滑化、エッジ強調などに係る画像処理である。データ圧縮処理203及びデータ伸張処理204は、RLE、MH、MR、MMR、JBIG、JPEGなどに係る画像処理である。ズーム処理205は、画像データの拡大あるいは縮小に係る画像処理である。色変換処理206は、RGBをCMYあるいはCMYKあるいはKに変換する際に用いる画像処理である。プリンタエンジン補正処理207は、プリンタエンジン103の印刷特性に合わせて行うガンマ補正などに係る画像処理である。中間調処理208は、単純二値化法、ディザ法、誤差拡散法、スクリーン法などを用いた階調処理に係る画像処理である。   The scanner engine correction process 201 is image processing related to shading correction, gamma correction, background removal, and the like. The filter processing 202 is image processing related to sharpening, smoothing, edge enhancement, and the like. The data compression process 203 and the data expansion process 204 are image processes related to RLE, MH, MR, MMR, JBIG, JPEG, and the like. The zoom process 205 is an image process related to enlargement or reduction of image data. The color conversion process 206 is an image process used when converting RGB into CMY, CMYK, or K. The printer engine correction processing 207 is image processing related to gamma correction performed in accordance with the printing characteristics of the printer engine 103. The halftone processing 208 is image processing related to gradation processing using a simple binarization method, a dither method, an error diffusion method, a screen method, or the like.

ファクス受信に対するドキュメント処理210では、CPU113の制御下に、通信インターフェース105が相手ファクス装置から受信したファクス符号データをRAM117に一時保存し、DMAC118がファクス符号データをRAM117から高速メモリ115に転送する。DSP114は、開始指示を受けると、CPU113と通信することなく、高速メモリ115に格納されているファクス符号データを画像データに復号するデータ伸張処理204、その復号した画像データに対するズーム処理205、色変換処理206及びプリンタエンジン補正処理207を連続して実行し、CPU113に終了を通知する。その結果、CPU113の制御下に、DMAC118が画像データを高速メモリ115からRAM117に転送し、プリンタインターフェース104が画像データをRAM117からプリンタエンジン103に出力する処理が行われる。   In the document processing 210 for fax reception, under the control of the CPU 113, the communication interface 105 temporarily stores the fax code data received from the partner fax machine in the RAM 117, and the DMAC 118 transfers the fax code data from the RAM 117 to the high-speed memory 115. When the DSP 114 receives the start instruction, the DSP 114 does not communicate with the CPU 113, and the data decompression process 204 that decodes the fax code data stored in the high-speed memory 115 into image data, the zoom process 205 for the decoded image data, and color conversion Processing 206 and printer engine correction processing 207 are executed in succession, and the CPU 113 is notified of the end. As a result, under the control of the CPU 113, the DMAC 118 transfers the image data from the high-speed memory 115 to the RAM 117, and the printer interface 104 outputs the image data from the RAM 117 to the printer engine 103.

ファクス送信に対するドキュメント処理211では、CPU113の制御下に、スキャナエンジン101が読み取った画像をスキャナインターフェース102がRAM117に一時保存し、DMAC118が画像データをRAM117から高速メモリ115に転送する。DSP114は、開始指示を受けると、CPU113と通信することなく、高速メモリ115に格納されている画像データに対して、その画像データをファクス符号データに変換するスキャナエンジン補正処理201、フィルター処理202及びデータ圧縮処理203を連続して実行し、CPU113に終了を通知する。その結果、CPU113の制御下に、DMAC118がファクス符号データを高速メモリ115からRAM117に転送し、通信インターフェース105がファクス符号データをRAM117から相手ファクス装置に送信する処理が行われる。   In document processing 211 for fax transmission, under the control of the CPU 113, the scanner interface 102 temporarily stores an image read by the scanner engine 101 in the RAM 117, and the DMAC 118 transfers image data from the RAM 117 to the high-speed memory 115. When the DSP 114 receives the start instruction, the DSP 114 converts the image data stored in the high-speed memory 115 into fax code data for the image data stored in the high-speed memory 115 without communicating with the CPU 113. Data compression processing 203 is executed continuously, and the CPU 113 is notified of the end. As a result, under the control of the CPU 113, the DMAC 118 transfers the fax code data from the high-speed memory 115 to the RAM 117, and the communication interface 105 transmits the fax code data from the RAM 117 to the partner fax machine.

コピー指示に対するドキュメント処理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 CPU 113, the scanner interface 102 temporarily stores the image data read by the scanner engine 101 in the RAM 117, and the DMAC 118 transfers the image data from the RAM 117 to the high-speed memory 115. Upon receiving the start instruction, the DSP 114 performs scanner engine correction processing 201, filter processing 202, zoom processing 205, color conversion processing 206, and printer for image data stored in the high-speed memory 115 without communicating with the CPU 113. The engine correction process 207 and the halftone process 208 are continuously executed to notify the CPU 113 of the end. As a result, under the control of the CPU 113, the DMAC 118 transfers the image data from the high-speed memory 115 to the RAM 117, and the printer interface 104 outputs the image data from the RAM 117 to the printer engine 103.

プリント指示に対するドキュメント処理213では、CPU113の制御下に、通信インターフェース105が相手コンピュータから受信した印刷コマンドをRAM117に一時保存し、CPU113が印刷コマンドを解釈して画像データを生成し、DMAC118が画像データをRAM117から高速メモリ115に転送する。DSP114は、開始指示を受けると、CPU113と通信することなく、高速メモリ115に格納されている画像データに対して、色変換処理206、プリンタエンジン補正処理207及び中間調処理208を連続して実行し、CPU113に終了を通知する。その結果、CPU113の制御下に、DMAC118が画像データを高速メモリ115からRAM117に転送し、プリンタインターフェース104が画像データをRAM117からプリンタエンジン103に出力する処理が行われる。   In document processing 213 for the print instruction, under the control of the CPU 113, the communication interface 105 temporarily stores the print command received from the partner computer in the RAM 117, the CPU 113 interprets the print command and generates image data, and the DMAC 118 generates the image data. Are transferred from the RAM 117 to the high-speed memory 115. Upon receiving the start instruction, the DSP 114 continuously executes the color conversion process 206, the printer engine correction process 207, and the halftone process 208 for the image data stored in the high-speed memory 115 without communicating with the CPU 113. Then, the CPU 113 is notified of the end. As a result, under the control of the CPU 113, the DMAC 118 transfers the image data from the high-speed memory 115 to the RAM 117, and the printer interface 104 outputs the image data from the RAM 117 to the printer engine 103.

スキャン指示に対するドキュメント処理214では、CPU113の制御下に、スキャナエンジン101が読み取った画像データをスキャナインターフェース102がRAM117に一時保存し、DMAC118が画像データをRAM117から高速メモリ115に転送する。DSP114は、開始指示を受けると、CPU113と通信することなく、高速メモリ115に格納されている画像データに対して、その画像データを符号データに変換するスキャナエンジン補正処理201、フィルター処理202及びデータ圧縮処理203を連続して実行し、CPU113に終了を通知する。その結果、CPU113の制御下に、DMAC118が符号データを高速メモリ115からRAM117に転送し、通信インターフェース105が符号データをRAM117から相手コンピュータに送信する処理が行われる。   In the document processing 214 in response to the scan instruction, the image data read by the scanner engine 101 is temporarily stored in the RAM 117 under the control of the CPU 113, and the DMAC 118 transfers the image data from the RAM 117 to the high-speed memory 115. Upon receiving the start instruction, the DSP 114 converts the image data stored in the high-speed memory 115 into code data for the image data stored in the high-speed memory 115 without communicating with the CPU 113, the filter process 202, and the data. The compression process 203 is continuously executed, and the CPU 113 is notified of the end. As a result, under the control of the CPU 113, the DMAC 118 transfers the code data from the high speed memory 115 to the RAM 117, and the communication interface 105 transmits the code data from the RAM 117 to the partner computer.

図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 CPU 113 divides the image to be processed into a number of substantially equal-valued small regions (hereinafter referred to as “bands”) 301 as shown in FIG. 3, for example, and stores image data of at least one band 301 in the RAM 117. Thus, control is performed so that image processing for each band 301 can be performed. Assume that image processing described below is performed for each band 301.

図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 CPU 113 issues an instruction for transferring the execution control program stored in the ROM 116 to the high-speed memory 115 to the DMAC 118 (S401), and whether or not an instruction for document processing is input. Monitor (S402). When document processing is instructed (S402: Yes), control processing (data transfer processing, image processing start instruction issuance, end confirmation, etc.) corresponding to the instructed document processing is executed (S403). When an end notification of image processing corresponding to the instructed document processing is received, the process returns to S402 to monitor the presence / absence of input of the document processing instruction. As described above, the CPU 113 stores the execution control program in the high-speed memory 115 when the image processing apparatus is started up (S401), and thereafter repeats the process of S403 every time there is a document processing instruction input (S402: Yes). .

図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 CPU 113 recognizes the occurrence of the copy process by the operation of the input device 107 by the operator, the CPU 113 selects the execution order list corresponding to the copy process from the plurality of execution order lists stored in the ROM 116, and selects the selected execution order list. The DMAC 118 is caused to execute processing for transferring the execution order list to the high-speed memory 115 (S501). When the transfer ends, the DMAC 118 issues an interrupt to the CPU 113 to notify the end of transfer.

並行して、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 CPU 113 instructs the scanner engine 101 to acquire image data for one band through the scanner interface 102, and causes the scanner interface 102 to store the acquired image data in the RAM 117 (S502). Then, the CPU 113 issues an instruction to transfer the image data for one band from the RAM 117 to the high-speed memory 115 to the DMAC 118 (S503), and upon receiving the transfer end interrupt, stores it in the high-speed memory 115 to the DSP 114. An instruction to start image processing for image data for one band in accordance with the execution order list thus issued is issued (S504), and an image processing completion notification from the DSP 114 is awaited (S505). The CPU 113 controls other control processes such as the scanner engine 101, the printer engine 103, and the panel controller 108 until an interrupt indicating an image processing completion notification is received from the DSP 114 (S505: No).

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 CPU 113 determines whether image processing for one page has been completed (S506). If the processing has been completed (S506: Yes), The printer interface 104 is instructed to print image data on the printer engine 103 (S507). On the other hand, if the processing for one page is not completed in S506 (S506: No), the processing from S502 to S506 is repeated until the processing for one page is completed (S506: Yes).

他のドキュメント処理におけるCPU113の動作は、コピー処理とは、画像データの入出力先及び選択する実行順リストが異なるのみであるので説明は省略する。   The operation of the CPU 113 in other document processing is different from the copy processing in that only the input / output destination of image data and the execution order list to be selected are different.

図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 execution order list 601 shown in FIG. 6 includes a plurality of lines of descriptors 609 to 615. Each of the descriptors 609 to 615 collects information related to one image process. In FIG. 6, as information related to one image processing, for example, an image processing number 602, a leading address 603 of the ROM 116 storing the image processing program, a size 604 of the image processing program, and the image processing Processing methods 605, 606, 607, and 608 for the processing results 0, 1, 2, and 3 of the program are shown. In the processing methods 605 to 608, “next image processing number 602” is indicated according to the image processing results 0 to 3. However, if the number of the image process to be executed next is “255”, this indicates that the process is to be terminated.

例えば、ディスクリプタ610では、画像処理番号602が「1」であり、画像処理用プログラムが格納されるROM116の先頭アドレス603が「0x00100200」であり、当該画像処理用プログラムのサイズ604が「0x00000030バイト」である。そして、画像処理結果に対する処理方法605〜608は、「2」「4」「255」「255」となっている。   For example, in the descriptor 610, the image processing number 602 is “1”, the head address 603 of the ROM 116 in which the image processing program is stored is “0x00100200”, and the size 604 of the image processing program is “0x00000030 bytes”. It is. The processing methods 605 to 608 for the image processing result are “2”, “4”, “255”, and “255”.

この場合の処理方法605〜608は、次の内容を示している。即ち、画像処理結果が「0」であれば、対する処理方法605は「2」であるので次は画像処理番号「2」の処理を行い、画像処理結果が「1」であれば、対する処理方法606は「4」であるので次は画像処理番号「4」の処理を行い、画像処理結果が「2」または「3」であれば、対する処理方法607,608は「255」であるので処理を終了することを示している。   Processing methods 605 to 608 in this case indicate the following contents. That is, if the image processing result is “0”, the corresponding processing method 605 is “2”, so the processing of the image processing number “2” is performed next. If the image processing result is “1”, the corresponding processing is performed. Since the method 606 is “4”, the image processing number “4” is processed next. If the image processing result is “2” or “3”, the corresponding processing methods 607 and 608 are “255”. It indicates that the process is to be terminated.

このような実行順リスト601は、ファクス送信、ファクス受信、コピー、スキャン、プリントのドキュメント処理毎に用意されている。例えばコピー用の実行順リストでは、スキャナエンジン補正処理201、フィルター処理202、ズーム処理205、色変換処理206、プリンタエンジン補正処理207及び中間調処理208が順次実行されるようなものになっており、各処理に対して1つのディスクリプタが存在する。   Such an execution order list 601 is prepared for each document processing of fax transmission, fax reception, copy, scan, and print. For example, in the copy execution order list, the scanner engine correction process 201, the filter process 202, the zoom process 205, the color conversion process 206, the printer engine correction process 207, and the halftone process 208 are sequentially executed. There is one descriptor for each process.

図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-speed memory 115 in the procedure (S401) shown in FIG. The DSP 114 executes image processing according to the execution control program.

図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 CPU 113 in the procedure (S403) shown in FIG. That is, the CPU 113 receives an instruction to execute certain document processing (S402: Yes), and in S403, first, instructs the DMAC 118 to transfer image data for one band stored in the RAM 117 to the high-speed memory 115. At the same time, the procedure (S501) shown in FIG. 5 is also executed to request the DMAC 118 to transfer the corresponding execution order list to the high-speed memory 115. Upon receiving a transfer completion notification interrupt from the DMAC 118, the CPU 113 issues an interrupt instructing the DSP 114 to start image processing for one band.

そこで、DSP114は、CPU113から1バンド分の画像処理を開始する指示(割り込み)を受け取ると、高速メモリ115に保存されている実行順リストの先頭のディスクリプタを選択する。図6を参照すると、ディスクリプタ609が選択される(S702)。   Therefore, upon receiving an instruction (interrupt) for starting image processing for one band from the CPU 113, the DSP 114 selects the first descriptor in the execution order list stored in the high-speed memory 115. Referring to FIG. 6, the descriptor 609 is selected (S702).

DSP114は、その選択したディスクリプタ609に示された画像処理用プログラムのROM116における先頭アドレス603「0x00100000」と、サイズ604「0x000000A0」とをDMAC118に示して、ROM116から高速メモリ115に転送するように指示を出す(S703)。   The DSP 114 indicates the start address 603 “0x00100000” in the ROM 116 of the image processing program indicated by the selected descriptor 609 and the size 604 “0x000000A0” to the DMAC 118 and instructs to transfer from the ROM 116 to the high-speed memory 115. (S703).

DSP114は、DMAC118から転送完了を通知する割り込みを受け取ると、DMAC118が高速メモリ115に転送した画像処理用プログラムに従い、S701において高速メモリ115に転送した1バンド分の画像データに対して画像処理を行い、処理した画像データを高速メモリ115に記憶させ(S704)、画像処理用プログラムの処理結果に応じて次のディスクリプタを選択し(S705)、次のディスクリプタが存在するか否かを調べる(S706)。   When the DSP 114 receives an interruption notifying the completion of transfer from the DMAC 118, the DSP 114 performs image processing on the image data for one band transferred to the high speed memory 115 in S701 in accordance with the image processing program transferred to the high speed memory 115 by the DMAC 118. The processed image data is stored in the high-speed memory 115 (S704), the next descriptor is selected according to the processing result of the image processing program (S705), and it is checked whether or not the next descriptor exists (S706). .

その結果、次のディスクリプタが存在する場合(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 DMAC 118 is stored in the high-speed memory. 115 issues an instruction to transfer data to the RAM 117 (S707), and upon receiving an interrupt notification of completion of transfer from the DMAC 118, issues an interrupt notification notifying the CPU 113 that image processing has been completed to the interrupt controller 119. A request is made (S708).

図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 processing methods 605 to 608 for the selected descriptor.

実行順リスト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 descriptor 609 at the top of the execution order list 601 is “1”, the processing method 606 is “1”, so in S705, the processing of the image processing number 1 is performed. Descriptor 610 is selected. When the processing result of the image processing instructed by the descriptor 610 is “0”, the processing method 605 is “2”, so that the processing of the image processing number 2, that is, the descriptor 611 is processed in S 705. A process is selected. On the other hand, if the processing result of the image processing instructed by the descriptor 610 is “2 or 3”, the processing methods 607 and 608 are “255”, so that it is determined in S706 that the image processing has ended (706: No).

S705にてディスクリプタ611の処理が選択されると、ディスクリプタ612〜ディスクリプタ614での処理方法605〜608には、終了番号「255」はないので、以降、同様の手順で、ディスクリプタ612〜ディスクリプタ615が順次選択される。そして、ディスクリプタ615で示された画像処理では、処理結果が「0」から「3」の何れの場合であっても、対する処理方法605〜608は、「255」であるので、S706では画像処理終了と判定される(706:No)。   If the processing of the descriptor 611 is selected in S705, the processing methods 605 to 608 in the descriptor 612 to the descriptor 614 do not have the end number “255”, so that the descriptor 612 to the descriptor 615 are subsequently processed in the same procedure. Selected sequentially. In the image processing indicated by the descriptor 615, the processing method 605 to 608 is “255” regardless of whether the processing result is “0” to “3”. It is determined to end (706: No).

このように、DSP114は、CPU113から画像処理の開始指示を受け取ると、CPU113の指示を受けることなく、高速メモリ115に記憶された実行順リストに従って複数の画像処理を連続して行うことができる。CPU113に入力される割り込みは、この連続した複数の画像処理の完了時に1回だけであるので、CPU113の処理負荷が大幅に軽減される。   As described above, when the DSP 114 receives an instruction to start image processing from the CPU 113, the DSP 114 can continuously perform a plurality of image processing in accordance with the execution order list stored in the high-speed memory 115 without receiving an instruction from the CPU 113. Since the interrupt input to the CPU 113 is only once at the completion of the continuous image processing, the processing load on the CPU 113 is greatly reduced.

したがって、この実施の形態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 CPU 113 that is a first processing unit that mainly performs apparatus control. Since the image processing can be executed by the DSP 114 as the second processing means, a high-speed and low-cost image processing apparatus can be realized.

ここで、この実施の形態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 ROM 116, a plurality of execution order lists indicating the execution order of a plurality of image processes and a plurality of programs for image processing are prepared. “The first step”, “the step of selecting one execution order list from a plurality of execution order lists indicating the execution order of a plurality of image processes” in S501 executed by the CPU 113, and the DSP 114 "Step of transferring the corresponding image processing program to the second storage means" in S703, "Step of executing the transferred image processing program" executed in S704, and S703 in the DSP 114 To “step of repeating the image processing shown in the execution order list in the execution order” in S706. The image processing program describes these steps so that the computer can execute them.

なお、この実施の形態1で示している第1の処理手段であるCPU113と第2の処理手段であるDSP114は、それぞれ単一のプロセッサとすべき必然性はない。例えば、それぞれの処理手段が複数のICチップによって構成されていてもよい。また、これらのプロセッサは、それぞれが個別に存在せず、それぞれのプロセッサのコアを単一のIC内にまとめて構成するようにしてもよい。   The CPU 113 as the first processing means and the DSP 114 as the second processing means shown in the first embodiment are not necessarily each a single processor. For example, each processing means may be composed of a plurality of IC chips. Further, these processors do not exist individually, and the cores of the respective processors may be configured together in a single IC.

また、この実施の形態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 ROM 116 are used. However, these programs are transferred to the RAM 117 and stored in the RAM 117 by an initialization process or the like. The program may be used. In this case, the RAM 117 can be said to be the first storage means.

さらに、DSP114は、CPUバス120を使用して、RAM117のデータを直接入力し、またRAM117に直接出力する構成でもよい。画像処理時間は増大するが、それを問題としない場合は装置構成の簡素化の点で有効な措置となる。   Further, the DSP 114 may be configured to directly input the data of the RAM 117 using the CPU bus 120 and directly output the data to the RAM 117. Although the image processing time increases, if this is not a problem, it is an effective measure in terms of simplifying the apparatus configuration.

さらに、高速メモリ115に、CPU113が選択した実行順リストと、DSP114が実行するプログラムと、DSP114が画像処理を行う際の入出力データとを記憶すると説明したが、これらは別のメモリに記憶してもよい。   Furthermore, although it has been described that the high-speed memory 115 stores the execution order list selected by the CPU 113, the program executed by the DSP 114, and the input / output data when the DSP 114 performs image processing, these are stored in another memory. May be.

(実施の形態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 Embodiment 2 of the present invention. In FIG. 8, components that are the same as or equivalent to the components shown in FIG. 1 (Embodiment 1) are given the same reference numerals. Here, the description will be focused on the portion related to the second embodiment.

図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 image processing apparatus 800 according to the second embodiment is configured around a CPU 801 in place of the CPU 113 shown in FIG. 1 (first embodiment). A CPU bus 808 in place of the CPU bus 120 managed by the CPU 801 has a sensor interface 112, an external storage interface 110, a scanner interface 102, a printer interface 104, a panel controller 108, and a RAM 117 shown in FIG. 1 (first embodiment). And the communication interface 105, the ROM 805 instead of the ROM 116, the interrupt controller 807 instead of the interrupt controller 119, the sub CPU 802 instead of the DSP 114 and the high speed memory 115, the high speed memory 804 and the reconfigurable processor 803, and the DMAC 118. A DMAC 806 is connected.

CPU801は、CPU113と同様に、第1の処理手段としてのマイクロプロセッサであり、スキャナエンジン101、プリンタエンジン103、通信インターフェース105、表示装置106及び入力装置107を同様に制御して、画像処理以外の全ての装置制御処理を実行するとともに、複数の実行順リストから実行すべき実行順リストを選択し、また第2の処理手段であるサブCPU801に対して処理の開始を指示する等の制御動作を行うように構成されている。   Similar to the CPU 113, the CPU 801 is a microprocessor as a first processing unit, and controls the scanner engine 101, the printer engine 103, the communication interface 105, the display device 106, and the input device 107 in the same manner to perform operations other than image processing. Control operations such as executing all device control processes, selecting an execution order list to be executed from a plurality of execution order lists, and instructing the sub CPU 801 as the second processing means to start processing. Configured to do.

サブCPU802は、第2の処理手段としてのプロセッサである。また、リコンフィギャラブルプロセッサ803は、第3の処理手段としてのプロセッサである。両者は、それぞれ、第2の記憶手段としての高速メモリ804と専用の高速バスで接続されている。この構成によってサブCPU802とリコンフィギャラブルプロセッサ803は、協働して図1(実施の形態1)に示したDSP114の機能を実現する。   The sub CPU 802 is a processor as second processing means. The reconfigurable processor 803 is a processor as a third processing unit. Both are connected to a high-speed memory 804 as a second storage means by a dedicated high-speed bus. With this configuration, the sub CPU 802 and the reconfigurable processor 803 cooperate to realize the function of the DSP 114 shown in FIG. 1 (Embodiment 1).

サブCPU802は、高速メモリ804に記憶されたサブCPU802用の実行制御プログラムに基づき、高速メモリ804に記憶されたCPU801が選択した実行順リストを解釈して次に実行する画像処理を決定し、その画像処理に対応した画像処理用構成情報のROM805から高速メモリ804への転送処理をDMAC806に依頼する動作、リコンフィギャラブルプロセッサ803に対して処理の開始を指示する動作などを行うように構成されている。   Based on the execution control program for the sub CPU 802 stored in the high speed memory 804, the sub CPU 802 interprets the execution order list selected by the CPU 801 stored in the high speed memory 804 and determines the image processing to be executed next. It is configured to perform operations such as requesting the DMAC 806 to transfer image processing configuration information corresponding to image processing from the ROM 805 to the high-speed memory 804, and instructing the reconfigurable processor 803 to start processing. Yes.

リコンフィギャラブルプロセッサ803は、具体的な構成は後述するが、高速メモリ804に記憶された画像処理用構成情報に従って内部のハードウェア構成を動的に再構成することができるプロセッサであり、サブCPU802から指示された画像処理を高速メモリ804に記憶された実行順リストに従って実行する。   Although the specific configuration will be described later, the reconfigurable processor 803 is a processor that can dynamically reconfigure the internal hardware configuration in accordance with the image processing configuration information stored in the high-speed memory 804. The sub-CPU 802 Is executed in accordance with the execution order list stored in the high-speed memory 804.

高速メモリ804は、少容量ながらサブCPU802及びリコンフィギャラブルプロセッサ803の動作速度以上の高速で読み書き可能なノーウエイトメモリで構成され、サブCPU802用の実行制御プログラムと、CPU801にて選択された実行順リストと、リコンフィギャラブルプロセッサ803の画像処理用構成情報と、リコンフィギャラブルプロセッサ803が画像処理を行う際の入出力データとを記憶する。   The high-speed memory 804 is composed of a no-wait memory capable of reading and writing at a speed higher than the operation speed of the sub CPU 802 and the reconfigurable processor 803 with a small capacity, and the execution control program for the sub CPU 802 and the execution order selected by the CPU 801 A list, configuration information for image processing of the reconfigurable processor 803, and input / output data when the reconfigurable processor 803 performs image processing are stored.

第1の記憶手段としてのROM805は、少なくともCPU801が実行する制御プログラムと、リコンフィギャラブルプロセッサ803用の複数の画像処理用構成情報と、サブCPU802用の実行制御用プログラムと、複数の実行順リストとが記憶されている。   A ROM 805 serving as a first storage unit includes at least a control program executed by the CPU 801, a plurality of pieces of image processing configuration information for the reconfigurable processor 803, an execution control program for the sub CPU 802, and a plurality of execution order lists. Is stored.

DMAC806は、ROM805及びRAM117と高速メモリ804との間のデータ転送を行う。   The DMAC 806 performs data transfer between the ROM 805 and RAM 117 and the high-speed memory 804.

割り込みコントローラ807は、センサインターフェース112、外部記憶インターフェース110、スキャナインターフェース102、プリンタインターフェース104、パネルコントローラ108、通信インターフェース105、サブCPU802及びDMAC806からCPU801への割り込み信号を調停する。   The interrupt controller 807 arbitrates interrupt signals from the sensor interface 112, the external storage interface 110, the scanner interface 102, the printer interface 104, the panel controller 108, the communication interface 105, the sub CPU 802, and the DMAC 806 to the CPU 801.

ここで、リコンフィギャラブルプロセッサ803の構成について詳細に説明する。リコンフィギャラブルプロセッサ803は、入出力インターフェース、メモリ、複数のプロセッサエレメント及びそれらを選択的に結線する信号線から構成される。1つのプロセッサエレメントは、ALU(Arithmetic and Logical Unit)、乗算器、レジスタ、セレクタ及びそれらをつなぐ信号線から構成される。それぞれのプロセッサエレメントの機能及び入出力インターフェース、メモリ、プロセッサエレメント間の接続は、画像処理用構成情報によって決定される。   Here, the configuration of the reconfigurable processor 803 will be described in detail. The reconfigurable processor 803 includes an input / output interface, a memory, a plurality of processor elements, and a signal line that selectively connects them. One processor element includes an ALU (Arithmetic and Logical Unit), a multiplier, a register, a selector, and a signal line connecting them. The function of each processor element, the input / output interface, the memory, and the connection between the processor elements are determined by the image processing configuration information.

例えば、積和演算機能を実現する場合、第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 reconfigurable processor 803 dynamically reconfigures the internal hardware configuration based on the image processing configuration information stored in the high-speed memory 804. The behavior of the reconfigured reconfigurable processor 803 is similar to that of dedicated hardware, not a processor. Therefore, by switching a plurality of pieces of image processing configuration information, it becomes possible to handle a plurality of dedicated hardware as if they existed.

さて、この実施の形態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 image processing apparatus 800 according to the second embodiment is the same as that shown in FIG. The image processing is realized by the reconfigurable processor 803 processing each data of the image divided into the bands 301 as shown in FIG.

また、この実施の形態2による画像処理装置800の起動時及びその後におけるCPU801の処理手順は、図4及び図5と同様である。即ち、画像処理装置800の起動時では、図4に示すS401での実行制御用プログラムをサブCPU802用の実行制御用プログラム及び画像処理用構成情報と読み替えることで適用できる。また、画像処理装置800の起動後においてドキュメント処理が指示されたときにCPU801が実行する画像処理に関する転送制御である図4に示すS403の処理は、図5に例示する手順で実行されるが、図5においてDSP114をサブCPU802と読み替えることで適用できる。そして、この実施の形態2にて用いる実行順リストは、図6に示す各ディスクリプタにおいて、画像処理用プログラムを画像処理用構成情報と読み替えることで適用できる。   The processing procedure of the CPU 801 at the time of starting the image processing apparatus 800 according to the second embodiment and thereafter is the same as that in FIGS. In other words, when the image processing apparatus 800 is activated, the execution control program in S401 shown in FIG. 4 can be replaced with the execution control program for the sub CPU 802 and the image processing configuration information. Further, the processing of S403 shown in FIG. 4 which is transfer control related to the image processing executed by the CPU 801 when document processing is instructed after the image processing apparatus 800 is activated is executed according to the procedure illustrated in FIG. 5 can be applied by replacing the DSP 114 with the sub CPU 802. The execution order list used in the second embodiment can be applied by replacing the image processing program with the image processing configuration information in each descriptor shown in FIG.

したがって、以下では、DSP114の画像処理動作(図7)に対応する動作を実現するサブCPU802の動作について図9を参照して説明する。なお、図9は、図8に示す画像処理装置の画像処理時におけるサブCPUの処理手順を説明するフローチャートである。図9に示す処理手順は、起動時に図4に示した手順(S401)で高速メモリ804に転送記憶されたサブCPU802用の実行制御用プログラムの内容である。   Therefore, hereinafter, the operation of the sub CPU 802 that realizes the operation corresponding to the image processing operation of the DSP 114 (FIG. 7) will be described with reference to FIG. FIG. 9 is a flowchart for explaining the processing procedure of the sub CPU at the time of image processing of the image processing apparatus shown in FIG. The processing procedure shown in FIG. 9 is the contents of the execution control program for the sub CPU 802 transferred and stored in the high-speed memory 804 in the procedure (S401) shown in FIG.

図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 CPU 801 in the procedure (S403) shown in FIG. That is, the CPU 801 receives an instruction to execute a certain document processing (S402: Yes), and in S403, first, instructs the DMAC 806 to transfer image data for one band stored in the RAM 117 to the high-speed memory 804. At the same time, the procedure (S501) shown in FIG. 5 is also executed to request the DMAC 806 to transfer the corresponding execution order list to the high-speed memory 804. Upon receiving a transfer completion notification interrupt from the DMAC 806, the CPU 801 issues an interrupt instructing the sub CPU 802 to start image processing for one band.

そこで、サブCPU802は、CPU801から1バンド分の画像処理を開始する指示(割り込み)を受け取ると、図4に示した手順(S403)において高速メモリ804に保存された実行順リストの先頭のディスクリプタを選択する。図6を参照すると、ディスクリプタ609が選択される(S902)。   Therefore, when the sub CPU 802 receives an instruction (interrupt) for starting image processing for one band from the CPU 801, the sub CPU 802 sets the first descriptor in the execution order list stored in the high speed memory 804 in the procedure (S403) shown in FIG. select. Referring to FIG. 6, the descriptor 609 is selected (S902).

サブCPU802は、その選択したディスクリプタ609に示された画像処理用構成情報のROM805における先頭アドレス603「0x00100000」とサイズ604「0x000000A0」とをDMAC806に示して、ROM805から高速メモリ804に転送するように指示を出す(S903)。   The sub CPU 802 indicates the start address 603 “0x00100000” and the size 604 “0x000000A0” in the ROM 805 of the image processing configuration information indicated by the selected descriptor 609 to the DMAC 806 and transfers the ROM 805 to the high-speed memory 804. An instruction is issued (S903).

サブCPU802は、DMAC806から転送完了を通知する割り込みを受け取ると、リコンフィギャラブルプロセッサ803に対して画像処理の開始を指示し(S904)、画像処理が完了するのを待つ(S905)。   When the sub CPU 802 receives an interrupt notifying the completion of transfer from the DMAC 806, the sub CPU 802 instructs the reconfigurable processor 803 to start image processing (S904), and waits for completion of the image processing (S905).

リコンフィギャラブルプロセッサ803は、サブCPU802から開始指示を受けて、DMAC806が高速メモリ804に転送した画像処理用構成情報に従ってハードウェア構成を定め、S901において高速メモリ804に転送した1バンド分の画像データに対して画像処理を行い、処理した画像データを高速メモリ804に記憶させると、サブCPU802に処理の完了を通知する。   The reconfigurable processor 803 receives a start instruction from the sub CPU 802, determines the hardware configuration according to the image processing configuration information transferred to the high speed memory 804 by the DMAC 806, and image data for one band transferred to the high speed memory 804 in step S901. When the processed image data is stored in the high speed memory 804, the sub CPU 802 is notified of the completion of the processing.

サブCPU802は、リコンフィギャラブルプロセッサ803から処理完了の通知を受け取ると(S905:Yes)、リコンフィギャラブルプロセッサ803の処理結果に応じて次のディスクリプタを選択し(S906)、次のディスクリプタが存在するか否かを調べる(S907)。   Upon receiving the processing completion notification from the reconfigurable processor 803 (S905: Yes), the sub CPU 802 selects the next descriptor according to the processing result of the reconfigurable processor 803 (S906), and the next descriptor exists. It is checked whether or not (S907).

その結果、次のディスクリプタが存在する場合(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 DMAC 806 is stored in the high-speed memory. An instruction (interrupt) is issued to transfer to the RAM 117 from 804 (S908), and upon receiving an interrupt notifying the completion of transfer from the DMAC 806, an interrupt notifying the CPU 801 that image processing has been completed to the interrupt controller 807 Is issued (S909).

図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 reconfigurable processor 803. Then, the determination process of “whether there is a next descriptor” in S907 is performed based on the contents of the processing methods 605 to 608 for the selected descriptor.

実行順リスト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 descriptor 609 at the head of the execution order list 601 is “1”, the processing method 606 is “1”, so in S906, the processing of the image processing number 1 is performed. Descriptor 610 is selected. If the processing result of the image processing instructed by the descriptor 610 is “0”, the processing method 605 is “2”. Therefore, in S906, the processing of the image processing number 2, that is, the descriptor 611 A process is selected. On the other hand, when the processing result of the image processing instructed by the descriptor 610 is “2 or 3”, the processing methods 607 and 608 are “255”, so that it is determined in S907 that the image processing has ended (S907: No).

S906にてディスクリプタ611の処理が選択され、S907での判定が肯定(S907:Yes)であると、以降、同様の手順で、ディスクリプタ612〜615が順次選択される。そして、ディスクリプタ615で示された画像処理では、処理結果が「0」から「3」の何れの場合であっても対する処理方法605〜608は、「255」であるので、S907では画像処理終了と判定される(S907:No)。   If the processing of the descriptor 611 is selected in S906 and the determination in S907 is affirmative (S907: Yes), the descriptors 612 to 615 are sequentially selected in the same procedure. In the image processing indicated by the descriptor 615, the processing method 605 to 608 is “255” regardless of whether the processing result is “0” to “3”. (S907: No).

以上説明したように、サブCPU802は、CPU801から画像処理の開始指示を受け取ると、高速メモリ804に構成情報を用意してリコンフィギャラブルプロセッサ803に画像処理の開始指示を出し、リコンフィギャラブルプロセッサ803が高速メモリ804に記憶された構成情報に従って再構成しながらの複数の画像処理を、CPU801の指示を受けることなく連続して行うことができる。CPU801に入力される割り込みは、この連続した複数の画像処理の完了時に1回だけであるので、CPU801の処理負荷が大幅に軽減される。   As described above, when the sub CPU 802 receives the image processing start instruction from the CPU 801, the sub CPU 802 prepares the configuration information in the high speed memory 804, issues the image processing start instruction to the reconfigurable processor 803, and reconfigurable processor 803. Can perform a plurality of image processing while reconstructing according to the configuration information stored in the high-speed memory 804 without receiving an instruction from the CPU 801. Since the interrupt input to the CPU 801 is only once when a plurality of continuous image processes are completed, the processing load on the CPU 801 is greatly reduced.

したがって、この実施の形態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 CPU 801 that is a first processing unit that mainly performs apparatus control. Since the image processing can be executed in cooperation with the sub CPU 802 as the second processing means and the reconfigurable processor 803 as the third processing means, similarly to the first embodiment, the image processing can be performed at high speed and at a low price. An image processing apparatus can be realized.

加えて、この実施の形態2によれば、第3の処理手段であるリコンフィギャラブルプロセッサ803は、画像処理用構成情報に応じてハードウェア構成を変更できるので、画像処理の自由度を向上させることができる。   In addition, according to the second embodiment, the reconfigurable processor 803, which is the third processing means, can change the hardware configuration in accordance with the image processing configuration information, thereby improving the degree of freedom of image processing. be able to.

ここで、この実施の形態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 CPU 801 “selects one execution order list from the plurality of execution order lists stored in the ROM 805 and issues an image processing start instruction”, and a sub CPU 802 “provides an instruction to start the image processing. Upon receipt (requested to be transferred to the DMAC 806), the configuration information in accordance with the execution order of the image processing shown in one execution order list selected by the CPU 801 is R The process of transferring from the M805 to the second storage means (high-speed memory 804) "and the sub CPU 802 receives from the DMAC 806" the start instruction to the reconfigurable processor 803 in response to the completion of the transfer process to the high-speed memory 804 " The step of reading the configuration information stored in the high-speed memory 804 ”and the sub CPU 802“ based on both the result of the image processing performed by the reconfigurable processor 803 and the selected execution order list. Determining whether or not the configuration information used in the next image processing can be selected. If it can be selected, it issues a request to transfer and store the selected configuration information in the second storage means. Step of performing image processing end processing (notification processing to the CPU 801) by means ”. The image processing program describes these steps so that the computer can execute them.

なお、この実施の形態2で示している第1の処理手段であるCPU801と第2の処理手段であるサブCPU802と第3の処理手段であるリコンフィギャラブルプロセッサ803は、それぞれ単一のプロセッサとすべき必然性はない。例えば、それぞれの処理手段が複数のICチップによって構成されていてもよい。また、これらのプロセッサは、それぞれが個別に存在せず、それぞれのプロセッサのコアを単一のIC内にまとめて構成するようにしてもよい。   Note that the CPU 801 as the first processing means, the sub CPU 802 as the second processing means, and the reconfigurable processor 803 as the third processing means shown in the second embodiment are each a single processor. There is no necessity to do. For example, each processing means may be composed of a plurality of IC chips. Further, these processors do not exist individually, and the cores of the respective processors may be configured together in a single IC.

また、ROM805に記憶している実行制御用プログラム及び構成情報を使用するとして説明したが、それらを初期化処理などでROM805からRAM117に転送し、RAM117に記憶した実行制御用プログラム及び構成情報を使用するようにしてもよい。この場合には、RAM117が第1の記憶手段であると言える。   Also, the execution control program and configuration information stored in the ROM 805 have been described as being used. However, the execution control program and configuration information stored in the RAM 117 are transferred from the ROM 805 to the RAM 117 by initialization processing or the like. You may make it do. In this case, it can be said that the RAM 117 is the first storage means.

また、CPU801は、実行順リストをROM805から高速メモリ804に転送すると説明したが、初期化処理などでRAM117に格納し、格納したアドレスをサブCPU802に通知するようにしてもよい。また、実行順リストに一意の記号を付し、その記号で指定してもよい。つまり、サブCPU802が1つの実行順リストを特定できさえすればよく、その形式は問わない。   The CPU 801 has been described as transferring the execution order list from the ROM 805 to the high-speed memory 804. However, the CPU 801 may store the execution order list in the RAM 117 by an initialization process or the like, and notify the sub CPU 802 of the stored address. Also, a unique symbol may be attached to the execution order list and designated by that symbol. That is, the sub CPU 802 only needs to be able to specify one execution order list, and the format is not limited.

また、高速メモリ804に、CPU801によって選択された実行順リストと、サブCPU802が実行するプログラムと、リコンフィギャラブルプロセッサ803用の構成情報と、リコンフィギャラブルプロセッサ803が画像処理を行う際の入出力データとを記憶すると説明したが、これらは別のメモリに記憶してもよい。   Further, the execution order list selected by the CPU 801, the program executed by the sub CPU 802, the configuration information for the reconfigurable processor 803, and the input / output when the reconfigurable processor 803 performs image processing are stored in the high-speed memory 804. Although described as storing data, these may be stored in another memory.

さらに、リコンフィギャラブルプロセッサ803は、CPUバス809を使用して、RAM117のデータを直接入力し、またRAM117に直接出力する構成でもよい。画像処理時間は増大するが、それを問題としない場合は装置構成の簡素化の点で有効な措置となる。   Further, the reconfigurable processor 803 may be configured to directly input the data of the RAM 117 and output it directly to the RAM 117 using the CPU bus 809. Although the image processing time increases, if this is not a problem, it is an effective measure in terms of simplifying the apparatus configuration.

(実施の形態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 Embodiment 3 of the present invention. In FIG. 10, the same reference numerals are given to the same or equivalent components as those shown in FIG. 1 (Embodiment 1). Here, the description will be focused on the portion related to the third embodiment.

図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 image processing apparatus 1000 according to the third embodiment is configured around a CPU 1001 instead of the CPU 113 shown in FIG. 1 (first embodiment). A CPU bus 1007 in place of the CPU bus 120 managed by the CPU 1001 has a sensor interface 112, an external storage interface 110, a scanner interface 102, a printer interface 104, a panel controller 108, and a RAM 117 shown in FIG. 1 (first embodiment). The communication interface 105, the ROM 1004 in place of the ROM 116, the interrupt controller 1006 in place of the interrupt controller 119, the DSP 114, the high speed memory 115, and the high speed memory 1003 in place of the DMAC 118, the reconfigurable processor 1002 and the DMAC 1005 are connected. ing.

また、高速メモリ1003とリコンフィギャラブルプロセッサ1002との間、及び高速メモリ1003とDMAC1005との間は、それぞれ専用の高速バスで接続されている。   Further, the high-speed memory 1003 and the reconfigurable processor 1002 and the high-speed memory 1003 and the DMAC 1005 are respectively connected by dedicated high-speed buses.

CPU1001は、CPU113と同様に、第1の処理手段としてのマイクロプロセッサであり、スキャナエンジン101、プリンタエンジン103、通信インターフェース105、表示装置106及び入力装置107を同様に制御して、画像処理以外の全ての装置制御処理を実行するとともに、複数の実行順リストから実行すべき実行順リストを選択し、また第2の処理手段であるリコンフィギャラブルプロセッサ1002に対して画像処理の開始を指示する等の制御動作を行うように構成されている。   Similar to the CPU 113, the CPU 1001 is a microprocessor as a first processing unit, and controls the scanner engine 101, the printer engine 103, the communication interface 105, the display device 106, and the input device 107 in the same manner, and other than image processing. All device control processes are executed, an execution order list to be executed is selected from a plurality of execution order lists, and the reconfigurable processor 1002 as the second processing means is instructed to start image processing. It is comprised so that control operation | movement may be performed.

第2の記憶手段としての高速メモリ1003は、少容量ながらリコンフィギャラブルプロセッサ1002の動作速度以上の高速で読み書き可能なノーウエイトメモリで構成され、リコンフィギャラブルプロセッサ1002の構成情報(実行制御用構成情報及び画像処理用構成情報)と、CPU801にて選択された実行順リストと、リコンフィギャラブルプロセッサ1002が画像処理を行う際の入出力データとを記憶する。   The high-speed memory 1003 as the second storage means is configured with a no-wait memory that can read and write at a high speed that is higher than the operation speed of the reconfigurable processor 1002 with a small capacity, and configuration information (execution control configuration) of the reconfigurable processor 1002 Information and image processing configuration information), an execution order list selected by the CPU 801, and input / output data when the reconfigurable processor 1002 performs image processing.

第1の記憶手段としてのROM1004は、少なくともCPU1001が実行する制御プログラムと、リコンフィギャラブルプロセッサ1002用の複数の構成情報(実行制御用構成情報及び画像処理用構成情報)と、複数の実行順リストとが記憶されている。   The ROM 1004 as the first storage means includes at least a control program executed by the CPU 1001, a plurality of configuration information for the reconfigurable processor 1002 (configuration information for execution control and configuration information for image processing), and a plurality of execution order lists. Is stored.

DMAC1005は、リコンフィギャラブルプロセッサ1002からの依頼に基づきROM1004及びRAM117と高速メモリ1003との間のデータ転送を行う。   The DMAC 1005 performs data transfer between the ROM 1004 and the RAM 117 and the high-speed memory 1003 based on a request from the reconfigurable processor 1002.

割り込みコントローラ1006は、センサインターフェース112、外部記憶インターフェース110、スキャナインターフェース102、プリンタインターフェース104、パネルコントローラ108、通信インターフェース105及びDMAC1005からCPU1001への割り込み信号を調停する。   The interrupt controller 1006 arbitrates interrupt signals from the sensor interface 112, the external storage interface 110, the scanner interface 102, the printer interface 104, the panel controller 108, the communication interface 105, and the DMAC 1005 to the CPU 1001.

さて、リコンフィギャラブルプロセッサ1002は、第2の処理手段としてのプロセッサである。基本的な構成は、図8(実施の形態2)に示したリコンフィギャラブルプロセッサ803と同様であるが、この実施の形態3によるリコンフィギャラブルプロセッサ1002は、「ALU(Arithmetic and Logical Unit)、乗算器、レジスタ、セレクタ及びそれらをつなぐ信号線から構成される」プロセッサエレメントの複数個からなるプロセッサブロックを1単位としそれの複数個で構成される。   Now, the reconfigurable processor 1002 is a processor as a second processing means. The basic configuration is the same as that of the reconfigurable processor 803 shown in FIG. 8 (Embodiment 2), but the reconfigurable processor 1002 according to Embodiment 3 is “ALU (Arithmetic and Logical Unit), A processor block composed of a plurality of processor elements is composed of a multiplier, a register, a selector and a signal line connecting them.

そして、複数のプロセッサブロックは、高速メモリ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-speed memory 1003. Image processing for performing image processing A processor block and an execution control processor block that controls execution of image processing in the image processing processor block are configured.

つまり、この実施の形態3では、リコンフィギャラブルプロセッサ1002は、装置の初期化処理時などにおいてROM1004から高速メモリ1003に転送される実行制御用構成情報に従って対応する実行制御プロセッサブロックが構成され、CPU1001から画像処理の開始指示を受け取ると、その実行制御プロセッサブロックが、高速メモリ1003に記憶された実行順リストを解釈して次に実行する画像処理を決定し、DMAC1005に依頼してその画像処理に対応した構成情報をROM1004から高速メモリ1003に転送させ、高速メモリ1003に画像処理用の構成情報を用意する。すると、高速メモリ1003に記憶された画像処理用構成情報に従って対応する画像処理プロセッサブロックが構成され、その画像処理プロセッサブロックが画像処理を行うように構成されている。   That is, in the third embodiment, the reconfigurable processor 1002 is configured with a corresponding execution control processor block according to the configuration information for execution control transferred from the ROM 1004 to the high-speed memory 1003 at the time of initialization processing of the apparatus, and the like. When the image processing start instruction is received, the execution control processor block interprets the execution order list stored in the high speed memory 1003 to determine the next image processing to be executed, and requests the DMAC 1005 to perform the image processing. Corresponding configuration information is transferred from the ROM 1004 to the high-speed memory 1003, and configuration information for image processing is prepared in the high-speed memory 1003. Then, a corresponding image processing processor block is configured according to the image processing configuration information stored in the high-speed memory 1003, and the image processing processor block is configured to perform image processing.

ここで、この実施の形態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 image processing apparatus 1000 according to the third embodiment is the same as that shown in FIG. The “image processing processor block” of the reconfigurable processor 1002 is realized by processing each data of the image divided into the bands 301 as shown in FIG.

また、この実施の形態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 CPU 1001 at the time of starting the image processing apparatus 1000 according to the third embodiment and thereafter is the same as that shown in FIGS. That is, when the image processing apparatus 1000 is activated, the execution control program in S401 shown in FIG. 4 can be applied by replacing the configuration information for the reconfigurable processor 1002 (execution control configuration information). Further, the processing of S403 shown in FIG. 4 which is transfer control related to the image processing executed by the CPU 1001 when the document processing is instructed after the image processing apparatus 1000 is activated is executed according to the procedure illustrated in FIG. 5 can be applied by replacing the DSP 114 with the reconfigurable processor 1002. The execution order list used in the third embodiment can be applied by replacing the image processing program with the image processing configuration information in each descriptor shown in FIG. 6 as in the second embodiment.

したがって、以下では、図11を参照してリコンフィギャラブルプロセッサ1002の「実行制御プロセッサブロック」について説明する。なお、図11は、図10に示すリコンフィギャラブルプロセッサの実行制御プロセッサブロックでの処理手順を説明するフローチャートである。図11に示す処理手順は、起動時に図4に示した手順(S401)で高速メモリ1003に転送記憶された実行制御用構成情報の内容であり、リコンフィギャラブルプロセッサ1002に対応する「実行制御プロセッサブロック」を構成させる指示と、その構成した「実行制御プロセッサブロック」で行われる処理の手順とが示されている。   Therefore, hereinafter, the “execution control processor block” of the reconfigurable processor 1002 will be described with reference to FIG. FIG. 11 is a flowchart for explaining the processing procedure in the execution control processor block of the reconfigurable processor shown in FIG. The processing procedure shown in FIG. 11 is the contents of the configuration information for execution control transferred and stored in the high-speed memory 1003 in the procedure (S401) shown in FIG. 4 at the time of startup, and the “execution control processor corresponding to the reconfigurable processor 1002”. An instruction to configure a “block” and a procedure of processing performed in the configured “execution control processor block” are shown.

図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 CPU 1001 in the procedure (S403) shown in FIG. That is, the CPU 1001 receives an instruction to execute a certain document process (S402: Yes), and in S403, first, instructs the DMAC 1005 to transfer image data for one band stored in the RAM 117 to the high-speed memory 1003. At the same time, the procedure (S501) shown in FIG. 5 is also executed to request the DMAC 1005 to transfer the corresponding execution order list to the high-speed memory 1003. Upon receiving a transfer completion notification interrupt from the DMAC 1005, the CPU 1001 issues an interrupt instructing the reconfigurable processor 1002 to start image processing for one band.

そこで、リコンフィギャラブルプロセッサ1002は、図4に示した手順(S401)において高速メモリ1003に保存された実行制御用構成情報に従って実行制御プロセッサブロックを構成している状態において、CPU1001から1バンド分の画像処理を開始する指示(割り込み)を受け取ると、その制御プロセッサブロックにおいて、S1102〜S1109の各処理を行う。   Therefore, the reconfigurable processor 1002 has one band from the CPU 1001 in a state where the execution control processor block is configured according to the configuration information for execution control stored in the high speed memory 1003 in the procedure (S401) shown in FIG. When an instruction to start image processing (interrupt) is received, each process of S1102 to S1109 is performed in the control processor block.

即ち、実行制御プロセッサブロックは、図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 high speed memory 1003 in the procedure (S403) shown in FIG. Referring to FIG. 6, the descriptor 609 is selected (S1102).

制御プロセッサブロックは、その選択したディスクリプタ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 start address 603 “0x00100000” and the size 604 “0x000000A0” in the ROM 1004 of the image processing configuration information indicated by the selected descriptor 609 to the DMAC 1005 and transfers the information from the ROM 1004 to the high-speed memory 1003. The image processing configuration information for the selected descriptor is prepared in the high-speed memory 1003 (S1103). Then, in the reconfigurable processor 1002, the image processor block is configured in accordance with the image processing configuration information prepared in the high speed memory 1003. Therefore, the control processor block performs the high speed memory 1003 on the image processor block in S1101. The image processing is performed on the image data for one band transferred to, the processed image data is instructed to be stored in the high-speed memory 1003 (S1104), and the completion of the image processing is waited (S1105).

実行制御プロセッサブロックは、画像処理プロセッサブロックでの画像処理が完了すると(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 DMAC 1005 is stored in the high-speed memory. An instruction (interrupt) is issued to transfer to the RAM 117 from 1003 (S1108), and upon receiving an interrupt notifying the completion of transfer from the DMAC 1005, an interrupt notifying the CPU 1001 that image processing has been completed to the interrupt controller 1006 Is issued (S1109).

なお、実行順リストにおけるディスクリプタ選択処理(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 reconfigurable processor 1002 has an execution control processor block first, and then receives an image processing start instruction from the CPU 1001, and the execution control processor block is stored in the high-speed memory 1003. By repeating the preparation of the configuration information constituting the image processor block in the high-speed memory 1003 according to the order list, a plurality of image processes are continuously performed while reconfiguring the image processor block without receiving an instruction from the CPU 1001. It can be carried out. Since the interrupt input to the CPU 1001 is only once at the completion of the continuous image processing, the processing load on the CPU 1001 is greatly reduced.

したがって、この実施の形態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 CPU 1001 as the first processing means. Therefore, it is possible to realize a high-speed and low-cost image processing apparatus as in the first embodiment.

加えて、この実施の形態3によれば、第2の処理手段であるリコンフィギャラブルプロセッサ1002は、画像処理用構成情報に応じてハードウェア構成を変更できるので、画像処理の自由度を向上させることができる。   In addition, according to the third embodiment, the reconfigurable processor 1002, which is the second processing means, can change the hardware configuration in accordance with the image processing configuration information, thereby improving the degree of freedom of image processing. be able to.

ここで、この実施の形態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 CPU 1001 stores the ROM 1004 in the ROM 1004 with respect to the reconfigurable processor 1002”. The configuration information indicating the configuration of hardware that performs execution control is given, and the ROM 1004 A step of giving an instruction to start image processing when one execution order list is selected from the plurality of execution order lists to be memorized, and “the CPU 1001 responds to a request from the reconfigurable processor 1002 in accordance with the request from the reconfigurable processor 1002. The hardware configuration for performing the corresponding image processing in the second storage means (high-speed memory 1003) readable by the processor 1002 according to the execution order of the image processing indicated in the selected execution order list is shown. And a step of waiting for an end notification from the reconfigurable processor 1002 so that the configuration information is transferred and stored from the ROM 1004 so that image processing corresponding to the configuration information can be performed. The image processing program describes these steps so that the computer can execute them.

なお、この実施の形態3にて示した第1の処理手段であるCPU1001と第2の処理手段であるリコンフィギャラブルプロセッサ1002は、それぞれ単一のプロセッサとすべき必然性はない。例えば、それぞれの処理手段が複数のICチップによって構成されていてもよい。また、これらのプロセッサは、それぞれが個別に存在せず、それぞれのプロセッサのコアを単一のIC内にまとめて構成するようにしてもよい。   Note that the CPU 1001 as the first processing means and the reconfigurable processor 1002 as the second processing means shown in the third embodiment are not necessarily a single processor. For example, each processing means may be composed of a plurality of IC chips. Further, these processors do not exist individually, and the cores of the respective processors may be configured together in a single IC.

また、この実施の形態3では、高速メモリ1003に、CPU1001によって選択された実行順リストと、リコンフィギャラブルプロセッサ1002用の構成情報と、リコンフィギャラブルプロセッサ1002が画像処理を行う際の入出力データとを記憶すると説明したが、これらは別のメモリに記憶してもよい。   In the third embodiment, the high-speed memory 1003 stores the execution order list selected by the CPU 1001, configuration information for the reconfigurable processor 1002, and input / output data when the reconfigurable processor 1002 performs image processing. However, these may be stored in another memory.

さらに、リコンフィギャラブルプロセッサ1002は、CPUバス1007を使用して、RAM117のデータを直接入力し、またRAM117に直接出力する構成でもよい。画像処理時間は増大するが、それを問題としない場合は装置構成の簡素化の点で有効な措置となる。   Further, the reconfigurable processor 1002 may be configured to directly input the data of the RAM 117 using the CPU bus 1007 and directly output the data to the RAM 117. Although the image processing time increases, if this is not a problem, it is an effective measure in terms of simplifying the apparatus configuration.

加えて、実施の形態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 processing methods 605 to 608 are shown as processing methods (candidates for the next image processing) for the image processing results in each descriptor. The number of processing candidates is not limited to four, and may be other than four or may be variable length. Conversely, when it is not necessary to select the next image processing to be performed according to the processing result of the image processing, each descriptor has a column (605 to 608) of a processing method (candidate for the next image processing to be performed) for the image processing result. ) May be omitted. The address 603 storing the image processing program or the configuration information in each descriptor and its size 604 can be notified to the second processing means separately from the execution order list. That is, the execution order list is not particularly limited as long as it can indicate the order in which a plurality of image processes are executed.

(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.

本発明の実施の形態1による画像処理装置の構成を示すブロック図1 is a block diagram showing a configuration of an image processing apparatus according to Embodiment 1 of the present invention. 図1に示す画像処理装置においてファクス受信時、ファクス送信時、コピー時、プリント時、スキャン時に実行する画像処理の流れを説明する図1 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. 処理すべき画像に対するバンド分割の一例を示す図The figure which shows an example of the band division with respect to the image which should be processed 図1に示す画像処理装置の起動時及びその後におけるCPUの処理手順を説明するフローチャートThe flowchart explaining the processing procedure of CPU at the time of starting of the image processing apparatus shown in FIG. 図1に示す画像処理装置で実施するドキュメント処理の一つであるコピー処理時におけるCPUの処理手順を説明するフローチャートThe flowchart explaining the processing procedure of CPU at the time of the copy process which is one of the document processes implemented with the image processing apparatus shown in FIG. 図1に示すROMに格納される実行順リストの一例を示す図The figure which shows an example of the execution order list | wrist stored in ROM shown in FIG. 図1に示す画像処理装置で実施する画像処理時におけるDSPの処理手順を説明するフローチャート1 is a flowchart for explaining a processing procedure of a DSP during image processing performed by the image processing apparatus shown in FIG. 本発明の実施の形態2による画像処理装置の構成を示すブロック図Block diagram showing a configuration of an image processing apparatus according to Embodiment 2 of the present invention. 図8に示す画像処理装置で実施する画像処理時におけるサブCPUの処理手順を説明するフローチャート8 is a flowchart for explaining the processing procedure of the sub CPU at the time of image processing performed by the image processing apparatus shown in FIG. 本発明の実施の形態3による画像処理装置の構成を示すブロック図Block diagram showing the configuration of an image processing apparatus according to Embodiment 3 of the present invention. 図10に示すリコンフィギャラブルプロセッサの実行制御プロセッサブロックでの処理手順を説明するフローチャート10 is a flowchart for explaining a processing procedure in the execution control processor block of the reconfigurable processor shown in FIG.

符号の説明Explanation of symbols

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 SYMBOLS 100 Image processing apparatus 101 Scanner engine 102 Scanner interface 103 Printer engine 104 Printer interface 105 Communication interface 106 Display apparatus 107 Input apparatus 108 Panel controller 109 External storage apparatus 110 External storage interface 111 Sensor 112 Sensor interface 113 CPU (optimum for apparatus control processing) Microprocessor as first processing means)
114 DSP (processor which is the second processing means most suitable for image processing)
115 High-speed memory 116 Communication controller 116 ROM
117 RAM
118 DMAC
119 Interrupt controller 120 CPU bus 201 Scanner engine correction process 202 Filter process 203 Data compression process 204 Data decompression process 205 Zoom process 206 Color conversion process 207 Printer engine correction process 210 Document process for fax reception 211 Document process for fax transmission 212 Copy instruction Document Processing 213 Document Processing for Print Instruction 214 Document Processing for Scan Instruction 301 Band 601 Execution Order List 800 Image Processing Device 801 CPU
802 Sub CPU
803 Reconfigurable processor 804 High-speed memory 805 ROM
806 DMAC
807 Interrupt controller 808 CPU bus 1000 Image processing apparatus 1001 CPU
1002 Reconfigurable processor 1003 High-speed memory 1004 ROM
1005 DMAC
1006 Interrupt controller 1007 CPU bus

Claims (13)

複数の画像処理の実行順序を示した複数の実行順リストと画像処理用の複数のプログラムとを記憶する第1の記憶手段と、
装置制御の過程で前記第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:
前記第2の処理手段は、画像処理の結果と前記選択された1つの実行順リストとの両方に基づいて、次の画像処理で用いる画像処理用プログラムの選択可否を判断し、選択できる場合はその選択できた画像処理用プログラムを前記第2の記憶手段に転送記憶させる依頼を発行し、選択できない場合は画像処理を終了しその旨を前記第1の処理手段に通知することを特徴とする請求項1に記載の画像処理装置。 The second processing means determines whether or not an image processing program to be used in the next image processing can be selected based on both the image processing result and the selected execution order list, A request for transferring and storing the selected image processing program in the second storage means is issued, and if the selection cannot be made, the image processing is terminated and a notice to that effect is sent to the first processing means. The image processing apparatus according to claim 1. 前記第1の処理手段はマイクロプロセッサであり、前記第2の処理手段はDSPであることを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the first processing unit is a microprocessor, and the second processing unit is a DSP. 複数の画像処理の実行順序を示した複数の実行順リストと画像処理を行うハードウェアの構成を示した複数の構成情報とを記憶する第1の記憶手段と、
装置制御の過程で前記第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:
前記第2の処理手段は、前記第3の処理手段が実施した画像処理の結果と前記選択された1つの実行順リストとの両方に基づき、次の画像処理で用いる前記構成情報の選択可否を判断し、選択できる場合はその選択できた構成情報を前記第2の記憶手段に転送記憶させる依頼を発行し、選択できない場合は前記第3の処理手段での画像処理を終了しその旨を前記第1の処理手段に通知することを特徴とする請求項4に記載の画像処理装置。 The second processing unit determines whether the configuration information used in the next image processing is selectable based on both the result of the image processing performed by the third processing unit and the selected one execution order list. If it can be selected and selected, it issues a request to transfer and store the selected configuration information to the second storage means. If it cannot be selected, the image processing in the third processing means is terminated and the fact is The image processing apparatus according to claim 4, wherein the image processing apparatus notifies the first processing means. 複数の画像処理の実行順序を示した複数の実行順リストと実行制御及び画像処理それぞれを行うハードウェアの構成を示した複数の構成情報とを記憶する第1の記憶手段と、
装置制御の過程で前記第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:
第2の処理手段の実行制御動作では、前記画像処理動作での画像処理の結果と前記選択された実行順リストとの両方に基づき、次の画像処理で用いる前記画像処理を行うハードウェアの構成を示した構成情報の選択可否を判断し、選択できる場合はその選択できた構成情報を前記第2の記憶手段に転送記憶させる依頼を発行し、選択できない場合は画像処理が終了した旨を前記第1の処理手段に通知することを特徴とする請求項6に記載の画像処理装置。 In the execution control operation of the second processing means, a hardware configuration for performing the image processing used in the next image processing based on both the result of the image processing in the image processing operation and the selected execution order list If the selection can be selected, a request for transferring and storing the selected configuration information to the second storage means is issued. If the selection cannot be selected, the fact that the image processing has been completed is issued. The image processing apparatus according to claim 6, wherein the image processing apparatus notifies the first processing unit. 1つの画像処理に対する前記実行順リストでは、対象画像を複数の小領域に分割した個々の画像処理の順番が示されていることを特徴とする請求項1〜7のいずれか一つに記載の画像処理装置。 8. The execution order list for one image process indicates the order of individual image processes in which the target image is divided into a plurality of small regions. Image processing device. 複数の画像処理の実行順序を示した複数の実行順リストと画像処理用の複数のプログラムとを第1の記憶手段に用意する第1の工程と、
前記第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:
1つの画像処理に対する前記実行順リストでは、対象画像を複数の小領域に分割した個々の画像処理の順番が示されていることを特徴とする請求項9〜11のいずれか一つに記載された画像処理方法。 12. The execution order list for one image process indicates the order of individual image processes in which the target image is divided into a plurality of small areas. Image processing method. 請求項9〜11のいずれか一つに記載された画像処理方法の各工程をコンピュータが実施可能に記述したことを特徴とする画像処理用プログラム。 An image processing program, wherein each step of the image processing method according to any one of claims 9 to 11 is described so as to be executable by a computer.
JP2006243706A 2006-09-08 2006-09-08 Image processing apparatus, method and program Pending JP2008065654A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
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