JP2003157243A - Device and method for parallel image processing - Google Patents

Device and method for parallel image processing

Info

Publication number
JP2003157243A
JP2003157243A JP2002065695A JP2002065695A JP2003157243A JP 2003157243 A JP2003157243 A JP 2003157243A JP 2002065695 A JP2002065695 A JP 2002065695A JP 2002065695 A JP2002065695 A JP 2002065695A JP 2003157243 A JP2003157243 A JP 2003157243A
Authority
JP
Japan
Prior art keywords
processing
area
load
calculation
image
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.)
Granted
Application number
JP2002065695A
Other languages
Japanese (ja)
Other versions
JP4202033B2 (en
Inventor
Teruhisa Imai
照久 今井
Hideyuki Izumi
秀幸 和泉
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2002065695A priority Critical patent/JP4202033B2/en
Publication of JP2003157243A publication Critical patent/JP2003157243A/en
Application granted granted Critical
Publication of JP4202033B2 publication Critical patent/JP4202033B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a parallel image processor for efficiently carrying out an algorithm for image processing in which processing load varys. SOLUTION: The parallel image processor is provided with a image area assignment means 2 and a processing load calculation means 8. The image area assignment means 2 assigns a processing area and a processing restriction quantity to respective processors and when reassignment is requested from a processor, the means 2 reassigns an area whose assignment is requested as an unprocessed area. The processing load calculation means 8 calculates the processing load in an object image area about the assigned processing area by the respective processors, and instructs to process it a corresponding image processing execution means 9 about a range which does not exceed a designated processing restricted quantity. In the case of exceeding the processing restricted quantity, the means 8 requests reassignment of the area of restriction over to the means 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、入力画像により
処理負荷が変化する画像処理アルゴリズムを、並列計算
機上で効率良く実行する並列画像処理装置および並列画
像処理方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel image processing apparatus and a parallel image processing method for efficiently executing an image processing algorithm whose processing load changes depending on an input image on a parallel computer.

【0002】[0002]

【従来の技術】画像処理用のアルゴリズムには、入力画
像によって処理負荷が変化するものがある。このような
アルゴリズムの1つに、MUSIC(Multiple
Signal Classification)があ
る。MUSICは、SAR(Synthetic Ap
erture Rader:合成開口レーダ)画像の解
像度向上等で利用される。MUSICをSAR画像の解
像度向上で利用する場合、各行(または列、説明を簡単
にするため、以後は行方向のみ表記する)毎に、まず、
固有値に基づいて散乱点数を推定する。次に、推定した
散乱点数を基準に、SAR画像の解像度向上処理を実施
する。このため、各行の計算量は、推定した散乱点の数
に依存する。この散乱点数が入力画像に依存するため、
入力画像を処理しないと、各行の処理負荷が分からな
い。一方で、画像処理の高速化手法の1つに、複数のプ
ロセッサを使った並列処理がある。並列処理は、画像処
理内での依存関係が少なく、画像サイズが大きいケース
や処理負荷が高いケースで有効である。並列処理を効率
良く行うためには、各プロセッサへ負荷を均等に割り振
ることと、各プロセッサでの処理を効率良く行うことが
ポイントになる。MUSICでは、入力画像により各行
の処理負荷が異なる。このような画像処理アルゴリズム
を、画像領域のサイズを基準に単純に並列化すると(領
域の大きさを基準に分割すると)、各プロセッサに負荷
を均等に割り振れるとは限らない。プロセッサに負荷を
均等に割り振れない場合には、並列処理の実行効率は低
下する。このように、入力画像によって処理負荷が変化
するアルゴリズムの並列化では、単純な方法では、実行
効率が低下する可能性がある。
2. Description of the Related Art Some algorithms for image processing change the processing load depending on the input image. One of such algorithms is MUSIC (Multiple
There is a Signal Classification). MUSIC is a SAR (Synthetic Ap)
image radar: Synthetic aperture radar) Used for improving image resolution. When using MUSIC to improve the resolution of a SAR image, first, for each row (or column, for simplicity of description, only the row direction will be shown below),
Estimate the number of scattering points based on the eigenvalues. Next, the resolution improvement processing of the SAR image is performed based on the estimated number of scattering points. Therefore, the calculation amount of each row depends on the estimated number of scattering points. Since this number of scattering points depends on the input image,
If the input image is not processed, the processing load of each line is unknown. On the other hand, one of the techniques for speeding up image processing is parallel processing using a plurality of processors. Parallel processing is effective in cases where the image processing size is large and the processing load is high, since there are few dependencies within the image processing. In order to efficiently perform parallel processing, it is important to evenly allocate the load to each processor and to efficiently perform the processing in each processor. In MUSIC, the processing load of each line differs depending on the input image. If such an image processing algorithm is simply parallelized based on the size of the image area (divided based on the size of the area), the load may not be evenly allocated to each processor. If the load cannot be evenly allocated to the processors, the execution efficiency of parallel processing is reduced. As described above, in the parallelization of the algorithm in which the processing load changes depending on the input image, the execution efficiency may decrease with a simple method.

【0003】これに対応する一般的な対応方法として、
動的スケジューリング(データ分割)や、事前に散乱点
を計算しておくことが考えられる。この問題に対応する
動的スケジューリングとしては、実行時の負荷により、
データの分割を決定する方法が考えられる。このような
方法の1つに、Guided−Selfスケジューリン
グがある。Guided−Selfスケジューリングで
は、各プロセッサが動的に処理領域の割当を要求する。
また、割当領域を動的に設定(徐々に小さく)する(図
7参照)。このスケジューリング方法は、一般に、割当
の要求回数と分割領域のばらつきを抑えられるケースが
多い。このため、効率の良い動的スケジューリング法と
して知られている。Guided−Selfスケジュー
リングで、MUSICを並列化すると、散乱点を多く含
んだ行を処理したプロセッサは、処理領域の割当回数が
減るため、ある程度、処理負荷のばらつきを吸収でき
る。ただし、特定の行で処理負荷が著しく高い場合に
は、うまくいかない。例えば、最後の1行で負荷が高く
なるケースや、特定の行の処理だけが画像サイズの数倍
以上の処理時間がかかるケース等である。これを解決す
るには、画像領域の分割と割当方法を変える必要(問
題)がある。分割方法を変えるには、基準となる情報
(MUSICでは散乱点数)の特徴を考慮する必要があ
る。ただし、この問題に対して、最適な解を得る一般的
な解決方法は存在しない。また、従来例もない。一方、
事前に計算する方法では、次の問題がある。MUSIC
によるSAR画像の解像度向上を、各行単位で実行する
場合には、散乱点数推定の計算で使ったキャッシュ・デ
ータ(プロセッサのキャッシュ・メモリ中に蓄積済のデ
ータ)を、次の計算フェーズである解像度向上処理でも
利用できる利点がある。事前に全行の散乱点数推定を実
行する場合には、解像度向上処理フェーズで散乱点数推
定の計算で使ったキャッシュ・データを利用できない。
このため、各プロセッサで実行する処理の効率が低下す
る問題がある。また、散乱点を数えておくためのメモリ
領域が、新たに必要になる。なお、ここではMUSIC
の例で説明したが、MUSICと同様に、入力画像によ
り処理負荷が変化する画像処理アルゴリズムでは、同じ
問題が発生する。
As a general method of dealing with this,
Dynamic scheduling (data division) and calculation of scattering points in advance can be considered. As dynamic scheduling to deal with this problem, depending on the load at runtime,
A method of determining the division of data can be considered. One of such methods is Guided-Self scheduling. In the Guided-Self scheduling, each processor dynamically requests a processing area allocation.
Further, the allocation area is dynamically set (gradually decreased) (see FIG. 7). In general, this scheduling method can suppress variations in the number of allocation requests and divided areas in many cases. Therefore, it is known as an efficient dynamic scheduling method. When the MUSIC is parallelized by the Guided-Self scheduling, the processor that has processed a row including a large number of scattering points can absorb the variation in the processing load to some extent because the number of times the processing area is allocated decreases. However, it does not work when the processing load is extremely high on a particular row. For example, there is a case where the load is high in the last one row, or a case where only a specific row takes a processing time which is several times the image size or more. In order to solve this, it is necessary to change the method of dividing and allocating the image area (problem). To change the division method, it is necessary to consider the characteristics of the reference information (the number of scattering points in MUSIC). However, there is no general solution to this problem to get the optimal solution. Also, there is no conventional example. on the other hand,
The pre-calculation method has the following problems. MUSIC
When the resolution of the SAR image is improved by each line by using, the cache data (data already stored in the cache memory of the processor) used in the calculation of the scattered point number is calculated in the resolution of the next calculation phase. There is an advantage that it can also be used in improvement processing. When the scatter point estimation of all rows is executed in advance, the cache data used in the calculation of scatter point estimation in the resolution improvement processing phase cannot be used.
Therefore, there is a problem that the efficiency of the processing executed by each processor is reduced. In addition, a memory area for counting the scattering points is newly required. In addition, here, MUSIC
However, similar to MUSIC, the same problem occurs in the image processing algorithm in which the processing load changes depending on the input image.

【0004】[0004]

【発明が解決しようとする課題】従来の並列画像処理方
法は以上のように構成されているので、動的スケジュー
リングを採用する場合には、画像領域の分割と割当方法
を変える必要があるが、分割方法を変えるには、基準と
なる情報(MUSICでは散乱点数)の特徴を考慮する
必要があり、この最適な解を得る一般的な解決方法は存
在しないという課題があった。また、事前に散乱点を計
算する方法では、各プロセッサで実行する処理の効率が
低下してしまうなどの課題があった。
Since the conventional parallel image processing method is configured as described above, when adopting the dynamic scheduling, it is necessary to change the method of dividing and allocating the image area. In order to change the division method, it is necessary to consider the characteristics of the reference information (scattering point number in MUSIC), and there is a problem that there is no general solution for obtaining this optimal solution. In addition, the method of calculating the scattered points in advance has a problem that the efficiency of the processing executed by each processor decreases.

【0005】この発明は上記のような課題を解決するた
めになされたもので、負荷の基準となる要素(MUSI
Cの場合散乱点数)に基づいて、処理の領域を再度割り
当てることで、入力画像によって処理負荷が変化する画
像処理用のアルゴリズムを効率良く実行する並列画像処
理装置および並列画像処理方法を得ることを目的とす
る。
The present invention has been made in order to solve the above problems, and is an element (MUSI) serving as a load reference.
It is possible to obtain a parallel image processing device and a parallel image processing method for efficiently executing an algorithm for image processing in which the processing load changes depending on the input image, by reallocating the processing area based on the scattering point number in the case of C). To aim.

【0006】また、この発明は、処理領域の再度割当の
要求に応じて割り当てる領域の大きさを調整すること
で、各プロセッサへの処理領域の割り当てをより均等に
することで、画像処理用のアルゴリズムを効率良く実行
する並列画像処理装置および並列画像処理方法を得るこ
とも目的とする。
Further, according to the present invention, the size of the area to be allocated is adjusted in response to a request for reallocation of the processing area to make the allocation of the processing areas to the respective processors more uniform, thereby making it possible to perform the image processing. It is also an object to obtain a parallel image processing device and a parallel image processing method that efficiently execute an algorithm.

【0007】さらに、この発明は、キャッシュを効率良
くアクセスできる範囲等、各計算機に割り振られた処理
を効率良く実行できる範囲を考慮して、処理領域を各プ
ロセッサに割り当てることで、画像処理用のアルゴリズ
ムをより効率良く並列実行する並列画像処理装置および
並列画像処理方法を得ることを目的とする。
Furthermore, the present invention allocates a processing area to each processor in consideration of a range in which the processing allocated to each computer can be efficiently executed, such as a range in which the cache can be efficiently accessed. An object of the present invention is to obtain a parallel image processing device and a parallel image processing method for executing algorithms in parallel more efficiently.

【0008】さらに、この発明は、画像領域を割当後、
あるプロセッサで計算負荷が著しく増加し、画像処理ア
ルゴリズムでの処理負荷の計算と画像処理実行の組みを
計算する最小単位の画像領域(MUSICの場合、1行
分の領域)での再割当では十分対応できない時に、この
最小単位の画像領域をも分割(MUSICの場合、1行
分の処理を分割)して再割当の対象として実行すること
で、より効率良く並列実行する並列画像処理装置および
並列画像処理方法を得ることを目的とする。
Further, according to the present invention, after allocating an image area,
The calculation load is significantly increased on a certain processor, and reallocation in the minimum image area (one row area in the case of MUSIC) for calculating the processing load calculation and image processing execution set in the image processing algorithm is sufficient. A parallel image processing apparatus and a parallel image processing apparatus that perform parallel execution more efficiently by dividing the image area of the smallest unit (in the case of MUSIC, dividing the processing for one row) and executing it as a reallocation target when it is not possible The purpose is to obtain an image processing method.

【0009】さらに、この発明は、動的なスケジューリ
ングで処理を分散して実行する時には、処理の後半で負
荷が高い部分が現れると、各プロセッサでの処理の終了
を均等にすることが難しく、並列実行で不利になるが、
簡易な計算で入手可能な入力画像に対する情報を利用し
て、対象の画像処理用のアルゴリズムでの負荷を予測
し、その予測結果を利用して負荷の高いと予測される処
理領域から各プロセッサへの割り当てを行うことで、対
象の画像処理用のアルゴリズムを効率良く実行する並列
画像処理装置および並列画像処理方法を得ることを目的
とする。
Further, according to the present invention, when the processing is distributed and executed by the dynamic scheduling, it is difficult to evenly finish the processing in each processor when a high load portion appears in the latter half of the processing. It is disadvantageous in parallel execution,
Using the information about the input image that can be obtained by simple calculation, predict the load of the algorithm for image processing of the target, and use the prediction result to transfer from the processing area predicted to be heavy to each processor It is an object of the present invention to obtain a parallel image processing device and a parallel image processing method for efficiently executing an algorithm for image processing of a target by allocating the.

【0010】さらに、この発明は、画像を撮影した条件
を利用して負荷を予測することで、対象の画像処理用の
アルゴリズムを効率良く実行する並列画像処理装置およ
び並列画像処理方法を得ることを目的とする。
Further, the present invention provides a parallel image processing apparatus and a parallel image processing method for efficiently executing an algorithm for image processing of a target by predicting a load by utilizing a condition of capturing an image. To aim.

【0011】さらに、この発明は、対象の画像処理用の
アルゴリズムにおいて、最大処理時間と最小処理時間の
差が、動的な処理領域の再割り当てでは効率の良い並列
実行が困難なほど大きい場合に、これを検知し、事前に
画像領域全体の負荷を計算し、その計算結果に基づいて
各プロセッサへの処理領域割当を決定することで、困難
な条件下でも、対象の画像処理用のアルゴリズムを効率
良く実行する並列画像処理装置および並列画像処理方法
を得ることを目的とする。
Further, according to the present invention, when the difference between the maximum processing time and the minimum processing time in the algorithm for the target image processing is large enough to make efficient parallel execution difficult by dynamic reallocation of the processing area. By detecting this, calculating the load of the entire image area in advance, and determining the processing area allocation to each processor based on the calculation result, the algorithm for the target image processing can be set even under difficult conditions. An object is to obtain a parallel image processing device and a parallel image processing method that execute efficiently.

【0012】[0012]

【課題を解決するための手段】この発明に係る並列画像
処理装置は、使用プロセッサ数および画像処理領域サイ
ズに応じて処理領域の割当方法を設定する領域分割法設
定手段と、単位領域での最大処理負荷量および算出され
る処理領域に応じて処理制限量を設定する処理制限量計
算手段と、領域分割法設定手段によって設定された割当
方法に基づいて処理領域を算出し、その処理領域および
その処理領域に応じて処理制限量計算手段によって設定
された処理制限量を各プロセッサに割り当てると共に、
プロセッサから再割当を要求された場合に、その再割当
を要求された領域を未処理領域として再度割り当てを行
う画像領域割当手段と、各プロセッサにおいて、画像領
域割当手段によって割り当てられた処理領域に対して、
対象画像領域での処理負荷を計算し、指定された処理制
限量を超えない範囲について対応する画像処理実行手段
に処理を指示すると共に、その処理制限量を超えた場合
には、制限オーバーの領域の再割当を画像領域割当手段
に要求する処理負荷計算手段とを備えたものである。
A parallel image processing apparatus according to the present invention comprises an area division method setting means for setting a processing area allocation method according to the number of processors used and an image processing area size, and a maximum value for a unit area. A processing limit amount calculation unit that sets a processing limit amount according to the processing load amount and the calculated processing region, and a processing region is calculated based on the allocation method set by the region division method setting unit, and the processing region and its While assigning the processing limit amount set by the processing limit amount calculation means to each processor according to the processing area,
When the processor requests re-allocation, the image area allocating means for re-allocating the area requested for re-allocation as an unprocessed area, and the processing area allocated by the image area allocating means in each processor. hand,
The processing load in the target image area is calculated, the processing is instructed to the corresponding image processing execution means in the range not exceeding the specified processing limit amount, and when the processing limit amount is exceeded, the limit overrange area is reached. And a processing load calculating means for requesting the image area allocating means to reallocate.

【0013】この発明に係る並列画像処理装置は、領域
分割法設定手段を、単位領域当たりの最大処理量設定手
段に設定された単位領域での最大処理負荷量に応じて処
理領域の割当方法を設定する負荷計算型領域分割法設定
手段としたものである。
In the parallel image processing apparatus according to the present invention, the area division method setting means sets the processing area allocation method according to the maximum processing load amount in the unit area set in the maximum processing amount setting means per unit area. The load calculation type area division method setting means is set.

【0014】この発明に係る並列画像処理装置は、領域
分割法設定手段を、画像処理アルゴリズムでの単位領域
に対する最大負荷に対する実行時間と最小負荷に対する
実行時間とを実測する処理負荷実測手段を備え、領域分
割法設定手段を、処理負荷実測手段によって実測された
実測時間に応じて処理領域の割当方法を設定する実測対
応型領域分割法設定手段とし、処理制限量計算手段を、
処理負荷実測手段によって実測された実測時間に応じて
処理制限量を設定する実測対応型処理制限量計算手段と
したものである。
The parallel image processing apparatus according to the present invention comprises the area division method setting means, the processing load measuring means for actually measuring the execution time for the maximum load and the execution time for the minimum load for the unit area in the image processing algorithm, The area division method setting means is a measurement corresponding area division method setting means for setting the processing area allocation method according to the actual measurement time measured by the processing load measuring means, and the processing limit calculation means is
This is a measurement corresponding processing limit amount calculating means for setting the processing limit amount according to the actual measurement time measured by the processing load measuring means.

【0015】この発明に係る並列画像処理装置は、任意
のサイズの画像領域をブロックとして設定する処理ブロ
ック設定手段を備え、処理負荷計算手段を、処理ブロッ
ク設定手段によって設定されたブロックを優先処理する
処理ブロック対応型処理負荷計算手段とし、画像処理実
行手段を、処理ブロック対応型処理負荷計算手段によっ
て指示された画像領域の画像処理を実行する処理ブロッ
ク対応型画像処理実行手段としたものである。
The parallel image processing apparatus according to the present invention comprises processing block setting means for setting an image area of an arbitrary size as a block, and the processing load calculation means preferentially processes the block set by the processing block setting means. The processing block-corresponding processing load calculating means is used, and the image processing executing means is processing block-corresponding image processing executing means for executing the image processing of the image area designated by the processing block-corresponding processing load calculating means.

【0016】この発明に係る並列画像処理装置は、対象
計算機でのキャッシュ情報を設定するキャッシュ情報設
定手段と、処理画像情報設定手段によって設定された画
像処理領域サイズおよびキャッシュ情報設定手段によっ
て設定されたキャッシュ情報に応じて処理ブロック設定
手段によって設定されるブロックのサイズを設定する処
理ブロック計算手段とを備えたものである。
The parallel image processing apparatus according to the present invention is set by the cache information setting means for setting the cache information in the target computer, the image processing area size set by the processed image information setting means and the cache information setting means. And processing block calculation means for setting the size of the block set by the processing block setting means in accordance with the cache information.

【0017】この発明に係る並列画像処理装置は、画像
領域割当手段によって算出された処理領域、および処理
ブロック対応型処理負荷計算手段に指定されたブロック
のサイズに応じて処理ブロック設定手段によって設定さ
れるブロックのサイズを動的に変化させて設定する動的
処理ブロック計算手段を備えたものである。
In the parallel image processing apparatus according to the present invention, the processing block setting means sets the processing area calculated by the image area allocating means and the size of the block designated by the processing block corresponding processing load calculating means. It is provided with a dynamic processing block calculating means for dynamically changing and setting the size of the block to be processed.

【0018】この発明に係る並列画像処理装置は、領域
分割法設定手段を、処理ブロック設定手段によって設定
されたブロックのサイズに応じて処理領域の割当方法を
設定する処理ブロック対応型領域分割法設定手段とした
ものである。
In the parallel image processing apparatus according to the present invention, the area division method setting means sets the processing area allocation method for setting the processing area allocation method according to the size of the block set by the processing block setting means. It is a means.

【0019】この発明に係る並列画像処理装置は、処理
制限量計算手段を、処理ブロック設定手段によって設定
されたブロックのサイズに応じて処理制限量を設定する
処理ブロック対応型処理制限量計算手段としたものであ
る。
In the parallel image processing apparatus according to the present invention, the processing limit amount calculating means is a processing block corresponding type processing limit amount calculating means for setting the processing limit amount according to the size of the block set by the processing block setting means. It was done.

【0020】この発明に係る並列画像処理装置は、領域
分割設定手段を、単位領域の分割を考慮した処理領域の
割当方法を設定する単位領域分割対応型領域分割設定手
段とし、処理制限量計算手段を、単位領域を分割した場
合の処理制限量を設定する単位領域分割対応型処理制限
量計算手段とし、画像領域割当手段を、単位領域を分割
して処理領域の割当および再割当を行う単位領域分割対
応型画像領域割当手段とし、処理負荷計算手段を、単位
領域の分割に対応して処理負荷の計算と再割当の有無を
判定する単位領域分割対応型処理負荷計算手段とし、画
像処理実行手段を、単位領域の分割に対応して指定され
た画像領域の画像処理を実行する単位領域分割対応型画
像処理実行手段としたものである。
In the parallel image processing apparatus according to the present invention, the area division setting means is a unit area division corresponding area division setting means for setting a processing area allocation method in consideration of division of the unit area, and the processing limit amount calculating means Is a unit area division-compatible processing limit amount calculation means for setting a processing limitation amount when the unit area is divided, and the image area allocating means divides the unit area to allocate and reallocate the processing areas. The image processing execution means is a division corresponding image area allocating means, the processing load calculating means is a unit area division corresponding processing load calculating means for judging a processing load calculation and presence / absence of reallocation corresponding to division of a unit area. Is a unit area division corresponding image processing executing means for executing image processing of an image area designated corresponding to division of a unit area.

【0021】この発明に係る並列画像処理装置は、単位
領域分割対応型領域分割設定手段の情報を参照して、単
位領域の分割の可否を判定し、単位領域分割対応型処理
負荷計算手段に伝達する単位領域分割可否条件設定手段
を備えたものである。
The parallel image processing apparatus according to the present invention refers to the information of the unit area division correspondence type area division setting means to judge whether or not division of the unit area is possible, and transmits it to the unit area division correspondence type processing load calculation means. The unit area division permission / prohibition condition setting means is provided.

【0022】この発明に係る並列画像処理装置は、単位
領域を分割して再割当する際に、最初にその単位領域で
処理負荷を計算した単位領域分割対応型処理負荷計算手
段のその計算結果を保持し、分割された単位領域を再割
り当てされた別のプロセッサの単位領域分割対応型処理
負荷計算手段がその計算結果を参照可能にする事前計算
結果保持手段を備えたものである。
In the parallel image processing apparatus according to the present invention, when the unit area is divided and reallocated, the calculation result of the unit-area-division-compatible processing load calculating unit which first calculates the processing load in the unit area is displayed. It is provided with a pre-calculation result holding unit that holds the divided unit area and allows the unit area division-compatible processing load calculation means of another processor to which the reassigned unit area is referred to the calculation result.

【0023】この発明に係る並列画像処理装置は、対象
計算機でのキャッシュ情報を設定するキャッシュ情報設
定手段と、キャッシュ情報設定手段に設定されたキャッ
シュ情報および処理画像情報設定手段に設定された画像
処理領域サイズに応じて単位領域を分割した場合のコス
トを算出すると共に、その算出されたコストから処理制
限量を算出して単位領域分割対応型処理負荷計算手段に
伝達する単位領域分割コスト計算手段とを備えたもので
ある。
A parallel image processing apparatus according to the present invention is a cache information setting means for setting cache information in a target computer, and cache information set in the cache information setting means and image processing set in the processed image information setting means. A unit area division cost calculation means for calculating a cost when the unit area is divided according to the area size, and for calculating a processing limit amount from the calculated cost and transmitting it to the unit area division correspondence processing load calculation means; It is equipped with.

【0024】この発明に係る並列画像処理装置は、画像
処理アルゴリズムでの単位領域毎に、予測負荷を設定す
る負荷予測設定手段を備え、領域分割法手段を、負荷予
測設定手段によって設定された予測負荷に応じて処理領
域の割当方法を設定する負荷予測型領域分割法手段とし
たものである。
The parallel image processing apparatus according to the present invention comprises a load prediction setting means for setting a prediction load for each unit area in the image processing algorithm, and the area division method means is used for the prediction set by the load prediction setting means. This is a load prediction type area division method means for setting a processing area allocation method according to a load.

【0025】この発明に係る並列画像処理装置は、対象
画像の輝度値の計算式を設定する輝度値計算式設定手段
と、輝度値計算式設定手段によって設定された計算式に
応じて対象画像の画素毎の輝度値を計算する輝度値計算
実行手段と、輝度値計算実行手段によって計算された輝
度値に応じて予測負荷を計算し、負荷予測設定手段に伝
達する画素基準負荷予測計算手段とを備えたものであ
る。
A parallel image processing apparatus according to the present invention is a brightness value calculation formula setting means for setting a calculation formula of a brightness value of a target image, and a target image according to the calculation formula set by the brightness value calculation formula setting means. A brightness value calculation executing means for calculating a brightness value for each pixel, and a pixel reference load prediction calculating means for calculating a predicted load according to the brightness value calculated by the brightness value calculation executing means and transmitting it to the load prediction setting means. Be prepared.

【0026】この発明に係る並列画像処理装置は、画素
毎の輝度値に対する予測負荷の計算方法を設定する画素
基準負荷予測条件設定手段を備え、画素基準負荷予測計
算手段を、画素基準負荷予測条件設定手段に設定された
計算方法に応じて単位領域毎の予測負荷を計算する計測
条件対応型画素基準負荷予測計算手段としたものであ
る。
The parallel image processing apparatus according to the present invention comprises pixel reference load prediction condition setting means for setting the calculation method of the prediction load for the brightness value of each pixel, and the pixel reference load prediction calculation means is used for the pixel reference load prediction condition. This is a measurement condition corresponding pixel reference load prediction calculation means for calculating the prediction load for each unit area according to the calculation method set in the setting means.

【0027】この発明に係る並列画像処理装置は、画素
の輝度値から負荷予測の基準となる特徴域の算出方法を
設定する特徴域抽出設定手段と、特徴域抽出設定手段に
よって設定された算出方法に応じて輝度値計算実行手段
によって計算された対象画像の画素毎の輝度値から特徴
域を抽出する特徴域抽出手段とを備え、画素基準負荷予
測計算手段を、特徴域抽出手段によって抽出された特徴
域に応じて画像処理アルゴリズムでの単位領域毎の予測
負荷を計算し、負荷予測設定手段に伝達する特徴域負荷
予測計算手段としたものである。
In the parallel image processing apparatus according to the present invention, a characteristic region extraction setting means for setting a method of calculating a characteristic region serving as a reference of load prediction from the brightness value of a pixel, and a calculation method set by the characteristic region extraction setting means And a characteristic region extracting unit that extracts a characteristic region from the luminance value of each pixel of the target image calculated by the luminance value calculation executing unit according to It is a characteristic region load prediction calculation means for calculating a predicted load for each unit area in the image processing algorithm according to the characteristic region and transmitting it to the load prediction setting means.

【0028】この発明に係る並列画像処理装置は、特徴
域に対する予測負荷の計算方法を設定する特徴域負荷予
測条件設定手段を備え、特徴域負荷予測計算手段を、特
徴域負荷予測条件設定手段によって設定された計算方法
に応じて単位領域毎の予測負荷を計算する計測条件対応
型特徴域負荷予測計算手段としたものである。
The parallel image processing apparatus according to the present invention comprises a characteristic region load prediction condition setting means for setting a method of calculating a predicted load for the characteristic region, and the characteristic region load prediction calculation means is operated by the characteristic region load prediction condition setting means. This is a characteristic condition load predictive calculation means corresponding to a measurement condition for calculating a predicted load for each unit area according to the set calculation method.

【0029】この発明に係る並列画像処理装置は、一定
範囲の画像領域を基準領域として設定する基準領域設定
手段を備え、画素基準負荷予測計算手段を、基準領域設
定手段によって設定された基準領域内の輝度値計算実行
手段によって計算された輝度値に応じて画像処理アルゴ
リズムでの単位領域毎の予測負荷を計算する基準領域負
荷予測計算手段としたものである。
The parallel image processing apparatus according to the present invention comprises a reference area setting means for setting an image area in a fixed range as a reference area, and the pixel reference load prediction calculation means is set within the reference area set by the reference area setting means. The reference area load prediction calculation means calculates the predicted load for each unit area in the image processing algorithm according to the brightness value calculated by the brightness value calculation execution means.

【0030】この発明に係る並列画像処理装置は、基準
領域内の輝度値に応じて予測負荷の計算方法を設定する
基準領域負荷予測条件設定手段を備え、基準領域負荷予
測計算手段を、基準領域負荷予測条件設定手段によって
設定された計算方法に応じて単位領域毎の予測負荷を計
算する計測条件対応型基準領域負荷予測計算手段とした
ものである。
The parallel image processing apparatus according to the present invention comprises the reference area load prediction condition setting means for setting the calculation method of the prediction load in accordance with the brightness value in the reference area, and the reference area load prediction calculation means is used as the reference area. This is a measurement condition-corresponding reference area load prediction calculation means for calculating a predicted load for each unit area according to the calculation method set by the load prediction condition setting means.

【0031】この発明に係る並列画像処理装置は、基準
となる輝度値の傾きを設定する傾き基準設定手段と、画
素基準負荷予測計算手段を、傾き基準設定手段によって
設定された輝度値の傾きに応じて単位領域毎の予測負荷
を計算する傾き負荷予測計算手段としたものである。
In the parallel image processing apparatus according to the present invention, the inclination reference setting means for setting the inclination of the reference luminance value and the pixel reference load prediction calculation means are set to the inclination of the luminance value set by the inclination reference setting means. According to this, the gradient load prediction calculation means calculates the predicted load for each unit area.

【0032】この発明に係る並列画像処理装置は、輝度
値の傾きに対する予測負荷の計算方法を設定する傾き負
荷予測条件設定手段を備え、傾き負荷予測計算手段を、
傾き負荷予測条件設定手段によって設定された計算方法
に応じて単位領域毎の予測負荷を計算する計測条件対応
型傾き負荷予測計算手段としたものである。
The parallel image processing apparatus according to the present invention is provided with the gradient load prediction condition setting means for setting the calculation method of the prediction load with respect to the gradient of the brightness value, and the gradient load prediction calculation means is provided.
The tilt load prediction condition setting means is a tilt load prediction calculation means corresponding to the measurement condition for calculating the prediction load for each unit area according to the calculation method set by the tilt load prediction condition setting means.

【0033】この発明に係る並列画像処理装置は、画像
を撮影した地域情報から、画像処理アルゴリズムでの単
位領域毎の予測負荷を計算し、負荷予測設定手段に伝達
する撮影地域負荷予測計算手段を備えたものである。
The parallel image processing apparatus according to the present invention comprises a photographing area load prediction calculating means for calculating the predicted load for each unit area in the image processing algorithm from the area information of the image and transmitting it to the load prediction setting means. Be prepared.

【0034】この発明に係る並列画像処理装置は、輝度
値計算式設定手段および輝度値計算実行手段と、画素基
準負荷予測条件設定手段および計測条件対応型画素基準
負荷予測計算手段と、特徴域抽出設定手段および特徴域
抽出手段と、特徴域負荷予測条件設定手段および計測条
件対応型特徴域負荷予測計算手段と、基準領域設定手段
と、基準領域負荷予測条件設定手段および計測条件対応
型基準領域負荷予測計算手段と、傾き基準設定手段と、
傾き負荷予測条件設定手段および計測条件対応型傾き負
荷予測計算手段と、撮影地域負荷予測計算手段と、各予
測条件間の重み付けが可能な予測計算重み付け設定手段
とを備えたものである。
The parallel image processing apparatus according to the present invention comprises a brightness value calculation formula setting means, a brightness value calculation executing means, a pixel reference load prediction condition setting means, a measurement condition corresponding pixel reference load prediction calculation means, and a characteristic region extraction. Setting means and characteristic area extraction means, characteristic area load prediction condition setting means and measurement condition corresponding characteristic area load prediction calculation means, reference area setting means, reference area load prediction condition setting means and measurement condition corresponding reference area load Prediction calculation means, inclination reference setting means,
The tilt load prediction condition setting means and the measurement condition-compatible tilt load prediction calculation means, the photographing area load prediction calculation means, and the prediction calculation weighting setting means capable of weighting the prediction conditions are provided.

【0035】この発明に係る並列画像処理装置は、算出
した予測値と入力条件を記録する予測値記録手段と、予
測値に対して実際の実行で算出された処理負荷を記録す
る処理結果記録手段と、予測値記録手段によって記録さ
れた予測値と処理結果記録手段によって記録された処理
負荷から予測負荷の計算方法を補正する予測パラメータ
補正手段とを備えたものである。
The parallel image processing apparatus according to the present invention comprises a prediction value recording means for recording the calculated prediction value and the input condition, and a processing result recording means for recording the processing load calculated in actual execution for the prediction value. And a prediction parameter correction means for correcting the calculation method of the predicted load based on the predicted value recorded by the predicted value recording means and the processing load recorded by the processing result recording means.

【0036】この発明に係る並列画像処理装置は、過去
の予測計算実行時の画像を撮像した条件を記録すると共
に、新たな予測計算を行う対象の画像への撮像条件か
ら、最適の予測計算の補正を選択する撮影条件負荷予測
補正手段を備えたものである。
The parallel image processing apparatus according to the present invention records the conditions under which the images at the time of executing the past prediction calculation are captured, and at the same time, the optimum prediction calculation is performed based on the imaging conditions for the image for which new prediction calculation is performed. It is provided with a photographing condition load prediction correction means for selecting correction.

【0037】この発明に係る並列画像処理装置は、新た
な予測値算出を指示された時に、予測値記録手段に記録
された予測値算出の入力条件の中で類似の条件を検索し
て選択すると共に、処理結果記録手段に記録された計算
結果を参照して、選択した予測計算に対する補正を行う
最適予測条件計算手段を備えたものである。
The parallel image processing apparatus according to the present invention, when instructed to calculate a new predicted value, searches for and selects a similar condition among the input conditions for calculating the predicted value recorded in the predicted value recording means. At the same time, the optimum prediction condition calculation means for correcting the selected prediction calculation with reference to the calculation result recorded in the processing result recording means is provided.

【0038】この発明に係る並列画像処理装置は、事前
計算による処理を行うか否かの条件を設定する事前計算
選択設定手段と、事前計算選択設定手段によって設定さ
れた条件から事前計算による処理の有無を判定する事前
計算判定手段と、事前計算判定手段によって事前計算に
よる処理を指示された時に、画像領域全体を対象に単位
領域毎の処理負荷量を求める計算を事前に実行する事前
処理負荷量計算手段と、事前処理負荷量計算手段によっ
て事前に計算された単位領域毎の処理負荷量を基準に、
各プロセッサの処理負荷が均等になるように領域の割当
を行う事前処理対応型画像領域割当手段とを備えたもの
である。
The parallel image processing apparatus according to the present invention comprises a pre-calculation selection setting means for setting a condition as to whether or not to perform a pre-calculation processing, and a pre-calculation processing based on the condition set by the pre-calculation selection setting means. A pre-calculation determining unit that determines the presence / absence and a pre-processing load amount that pre-executes a calculation for obtaining a processing load amount for each unit region for the entire image region when instructed to perform the process by the pre-calculation determining unit. Based on the calculation load and the processing load amount for each unit area pre-calculated by the pre-processing load amount calculating means,
It is provided with a pre-processing compatible image area allocating means for allocating areas so that the processing loads of the respective processors become equal.

【0039】この発明に係る並列画像処理装置は、領域
分割設定手段を、画像情報を考慮した処理領域の割当方
法を設定する画像情報参照型領域分割設定手段とし、画
像領域割当手段を、プロセッサから再割当を要求された
場合に、画像情報を参照して処理領域の再割当を行う画
像情報参照型画像領域割当手段とし、処理負荷計算手段
を、割り当てられた処理領域に対して処理単位毎の画像
情報を計算する画像情報参照型処理負荷計算手段とした
ものである。
In the parallel image processing apparatus according to the present invention, the area division setting means is the image information reference type area division setting means for setting the processing area allocation method in consideration of the image information, and the image area allocation means from the processor. When the reallocation is requested, the image information reference type image area allocating means for reallocating the processing area by referring to the image information is used, and the processing load calculating means is provided for each processing unit with respect to the allocated processing area. This is an image information reference type processing load calculation means for calculating image information.

【0040】この発明に係る並列画像処理装置は、画像
情報参照型画像領域割当手段において、画像情報を参照
して処理領域の再割当を行う際に、単位領域数を優先し
て再割当を行う処理領域を決定するようにしたものであ
る。
In the parallel image processing apparatus according to the present invention, in the image information reference type image area allocating means, when reallocating the processing areas by referring to the image information, the reallocation is performed by giving priority to the number of unit areas. The processing area is determined.

【0041】この発明に係る並列画像処理装置は、画像
情報参照型画像領域割当手段において、画像情報を参照
して処理領域の再割当を行う際に、画像情報の大きさを
優先して再割当を行う処理領域を決定するようにしたも
のである。
In the parallel image processing apparatus according to the present invention, in the image information reference type image area allocating means, when the processing areas are reallocated by referring to the image information, the size of the image information is preferentially reallocated. The processing area is determined.

【0042】この発明に係る並列画像処理装置は、画像
情報参照型画像領域割当手段において、画像情報を参照
して処理領域の再割当を行う際に、単純に画像情報から
再割当を行う処理領域を採用するのではなく、得られた
画像情報に基づいて、実行する画像処理の処理負荷を算
出し、その処理負荷に基づいて再割当を行う処理領域を
決定するようにしたものである。
In the parallel image processing apparatus according to the present invention, in the image information reference type image area allocating means, when the processing area is re-allocated by referring to the image information, the processing area is simply re-allocated from the image information. Instead of adopting, the processing load of the image processing to be executed is calculated based on the obtained image information, and the processing area to be reallocated is determined based on the processing load.

【0043】この発明に係る並列画像処理装置は、画像
情報参照型処理負荷計算手段において、初期割当時に、
画像情報の計算と、画像処理実行手段への処理の指示と
を連続して実行するようにしたものである。
In the parallel image processing apparatus according to the present invention, in the image information reference type processing load calculating means, at the time of initial allocation,
The calculation of the image information and the instruction of the processing to the image processing execution means are continuously executed.

【0044】この発明に係る並列画像処理方法は、並列
計算機で、入力画像によって処理負荷が変化する画像処
理アルゴリズムを実行する時に、割当処理領域を動的に
決定すると共に、その割当処理領域に対する処理制限量
を、単位領域での最大処理負荷量から算出し、各プロセ
ッサのアルゴリズム実行手段へ割当処理領域と処理制限
量の組として割り当てると共に、各プロセッサのアルゴ
リズム実行手段から処理制限量を超えた領域を受け取
り、その領域を全体の未処理領域に組み込んで、再度処
理領域として各プロセッサのアルゴリズム実行手段に割
り当て、各プロセッサにおいては、割り当てられた画像
領域に対して、対象画像領域での処理負荷を計算し、指
定された処理制限量を超えない範囲についての処理実行
を指示すると共に、処理制限量を超えた場合には、制限
オーバーの領域の再割当を要求するようにしたものであ
る。
According to the parallel image processing method of the present invention, when a parallel computer executes an image processing algorithm whose processing load changes depending on an input image, the allocation processing area is dynamically determined and the processing for the allocation processing area is performed. A limit amount is calculated from the maximum processing load amount in a unit area, and is assigned to the algorithm execution means of each processor as a set of an assigned processing area and a process limit amount, and the area exceeding the process limit amount from the algorithm execution means of each processor Is received, the area is incorporated into the entire unprocessed area, and is again assigned to the algorithm execution means of each processor as the processing area. In each processor, the processing load in the target image area is assigned to the assigned image area. Calculate and instruct execution of processing in the range that does not exceed the specified processing limit, If it exceeds the physical limit amount is obtained so as to request the re-allocation of space limitations over.

【0045】この発明に係る並列画像処理方法は、画像
処理アルゴリズムでの単位領域での最大処理負荷量か
ら、割当処理領域の割当方法を決定するようにしたもの
である。
In the parallel image processing method according to the present invention, the allocation method of the allocation processing area is determined from the maximum processing load amount in the unit area in the image processing algorithm.

【0046】この発明に係る並列画像処理方法は、画像
処理アルゴリズムの単位領域での最大負荷に対する実行
時間と最小負荷に対する実行時間とを実測し、その実測
時間から割当処理領域の割当方法と処理制限量の算出方
法を決定するようにしたものである。
In the parallel image processing method according to the present invention, the execution time with respect to the maximum load and the execution time with respect to the minimum load in the unit area of the image processing algorithm are measured, and the allocation method and the processing restriction of the allocation processing area are measured from the measured time. The method of calculating the quantity is decided.

【0047】この発明に係る並列画像処理方法は、任意
のサイズの画像領域をブロックとして指定し、そのブロ
ック内では指定された処理を優先して行うようにしたも
のである。
In the parallel image processing method according to the present invention, an image area of an arbitrary size is designated as a block, and the designated processing is preferentially performed within the block.

【0048】この発明に係る並列画像処理方法は、ある
プロセッサで処理負荷が著しく増加し、画像処理アルゴ
リズムでの単位領域を基準とした再割当では十分対応で
きないときに、単位領域を分割して再割当を行うと共
に、各プロセッサにおいても、単位領域の分割を考慮し
て、指定された処理制限量の判定と、分割された単位領
域で処理の実行を行うようにしたものである。
In the parallel image processing method according to the present invention, when the processing load on a certain processor is remarkably increased and the reallocation based on the unit area in the image processing algorithm is not sufficient, the unit area is divided and reallocated. In addition to performing the allocation, each processor also determines the specified processing restriction amount in consideration of division of the unit area and executes the processing in the divided unit area.

【0049】この発明に係る並列画像処理方法は、待機
中のプロセッサ数や残りの処理領域の量を基準に、単位
領域の分割の可否を判定するようにしたものである。
In the parallel image processing method according to the present invention, whether or not the unit area can be divided is determined based on the number of waiting processors and the amount of the remaining processing area.

【0050】この発明に係る並列画像処理方法は、単位
領域を分割して再割当を要求する時に、その単位領域を
最初に処理するプロセッサが、処理負荷を求めるために
実施する前半部分の計算結果を記録しておき、分割され
た単位領域での残りの処理を、後から指示されたプロセ
ッサでは、その記録された前半部分の計算結果を利用し
て、後半部分の処理を行うようにしたものである。
In the parallel image processing method according to the present invention, when the unit area is divided and the reallocation is requested, the processor which processes the unit area first executes the calculation result of the first half portion for obtaining the processing load. Is recorded, and the remaining processing in the divided unit area is performed by the processor instructed later, using the calculation result of the recorded first half part to perform the second half part processing. Is.

【0051】この発明に係る並列画像処理方法は、単位
領域を分割する際に、キャッシュと画像領域のサイズか
ら、キャッシュアクセスが有利となる分割位置を求める
ようにしたものである。
In the parallel image processing method according to the present invention, when the unit area is divided, the division position where the cache access is advantageous is obtained from the sizes of the cache and the image area.

【0052】この発明に係る並列画像処理方法は、画像
処理アルゴリズムでの単位領域毎に予測負荷を設定し、
その予測負荷を基準に画像領域の割当方法を決定するよ
うにしたものである。
The parallel image processing method according to the present invention sets the prediction load for each unit area in the image processing algorithm,
The image area allocation method is determined based on the predicted load.

【0053】この発明に係る並列画像処理方法は、処理
対象画像の各画素の輝度値を基準に予測負荷を算出する
ようにしたものである。
In the parallel image processing method according to the present invention, the prediction load is calculated based on the brightness value of each pixel of the image to be processed.

【0054】この発明に係る並列画像処理方法は、処理
対象画像の各画素の輝度値から特徴域を決定し、その特
徴域を基準に予測負荷を算出するようにしたものであ
る。
In the parallel image processing method according to the present invention, the characteristic region is determined from the brightness value of each pixel of the image to be processed, and the prediction load is calculated based on the characteristic region.

【0055】この発明に係る並列画像処理方法は、一定
範囲の画像領域を基準領域として設定し、その基準領域
内の各画素の輝度値を利用して予測負荷を算出するよう
にしたものである。
In the parallel image processing method according to the present invention, an image area in a fixed range is set as a reference area, and the prediction load is calculated by using the brightness value of each pixel in the reference area. .

【0056】この発明に係る並列画像処理方法は、算出
した予測値とそれに対する入力条件を記録すると共に、
予測値に対して実際の実行で算出された処理負荷を記録
し、これら記録した値を基準に予測負荷の算出方法を補
正するようにしたものである。
The parallel image processing method according to the present invention records the calculated predicted value and the input condition for the predicted value, and
The processing load calculated by actual execution is recorded for the predicted value, and the calculation method of the predicted load is corrected based on these recorded values.

【0057】この発明に係る並列画像処理方法は、過去
の予測計算実行時の画像の撮像した条件や、予測値の算
出基準となった入力条件から、新たに予測値を算出する
際の方法を選択すると共に、適切な補正を行うようにし
たものである。
The parallel image processing method according to the present invention is a method for newly calculating a predicted value from the image capturing condition of the past prediction calculation execution and the input condition used as the calculation standard of the predicted value. The selection is made and an appropriate correction is made.

【0058】この発明に係る並列画像処理方法は、事前
に単位領域毎の処理負荷を求めるか否かを判定して実行
すると共に、事前に単位領域毎の処理負荷を求める場合
には、求めた負荷を基準に画像領域の割当方法を決定す
るようにしたものである。
The parallel image processing method according to the present invention is executed by determining in advance whether or not the processing load for each unit area is obtained, and when the processing load for each unit area is obtained in advance. The image area allocation method is determined based on the load.

【0059】[0059]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1による並
列画像処理装置を示す構成図であり、図において、1は
並列画像処理装置、2は画像領域割当手段、3は単位領
域当たりの最大処理量設定手段、4は使用プロセッサ数
設定手段、5は処理画像情報設定手段、6は領域分割法
設定手段、7は処理制限量計算手段、8は処理負荷計算
手段、9は画像処理実行手段、10はプラットホーム、
11は画像処理プログラム、12は処理負荷を決定する
処理部分、13は動的に負荷が変化する処理部分であ
る。図2は画像領域割当手段の処理を示すフローチャー
ト、図3は処理負荷計算手段の処理を示すフローチャー
ト、図4は並列実行時の並列画像処理装置の実装イメー
ジを示す構成図、図5はMUSICを用いたSAR画像
の超解像処理を実行するプログラムの動作の概要を示す
説明図、図6は実行管理テーブルの操作の概念を示す説
明図、図7はGuided−Selfスケジューリング
での処理領域の割当例を示す説明図、図8は処理負荷計
算手段に割り当てられた「次処理領域」に対する「超解
像実行領域」と「未処理領域」の例を示す説明図、図9
は処理対象であるMUSICを用いたSAR画像の超解
像処理での、あるサンプル画像に対する推定散乱点数と
処理負荷(処理時間)を示す説明図、図10は4プロセ
ッサ構成で処理する時の実装イメージを示す説明図であ
る。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below. Embodiment 1. 1 is a block diagram showing a parallel image processing apparatus according to Embodiment 1 of the present invention. In the figure, 1 is a parallel image processing apparatus, 2 is an image area allocating means, and 3 is a maximum processing amount setting means per unit area. Reference numeral 4 is a processor number setting means, 5 is a processed image information setting means, 6 is a region division method setting means, 7 is a processing limit amount calculating means, 8 is a processing load calculating means, 9 is an image processing executing means, and 10 is a platform. ,
Reference numeral 11 is an image processing program, 12 is a processing part for determining the processing load, and 13 is a processing part for dynamically changing the load. 2 is a flow chart showing the processing of the image area allocating means, FIG. 3 is a flow chart showing the processing of the processing load calculating means, FIG. 4 is a block diagram showing the mounting image of the parallel image processing device at the time of parallel execution, and FIG. 5 is MUSIC. FIG. 7 is an explanatory view showing an outline of the operation of a program for executing the super-resolution processing of the SAR image used, FIG. 6 is an explanatory view showing the concept of the operation of the execution management table, and FIG. 7 is an allocation of the processing area in the guided-self scheduling. 9 is an explanatory diagram showing an example, FIG. 8 is an explanatory diagram showing examples of a “super-resolution execution region” and an “unprocessed region” for the “next processing region” assigned to the processing load calculation means, FIG. 9
Is an explanatory view showing the estimated number of scattering points and processing load (processing time) for a certain sample image in the super-resolution processing of the SAR image using MUSIC which is the processing target, and FIG. 10 is an implementation when processing with a 4-processor configuration It is explanatory drawing which shows an image.

【0060】次に動作について説明する。プラットホー
ム10は、並列計算機のH/WやOS、並列化ライブラ
リ等のプラットホームである。画像処理プログラム11
は、MUSICを用いたSAR画像の超解像処理を実行
するプログラムである。図5のように、画像処理プログ
ラム11は、各行毎に処理を進めていく。各行での処理
は、固有値を基に散乱点数を推定する処理を行う部分
と、推定した散乱点数を基準にSAR画像の解像度向上
処理を実施する部分に分けることができる。処理負荷を
決定する処理部分12は、画像処理プログラム11中
で、各行毎に固有値を基に散乱点数を推定する処理を行
う部分である。この処理で散乱点数を推定するのに要す
る時間は、各行で同じ(一定)である。動的に負荷が変
化する処理部分13は、画像処理プログラム11中で、
推定した散乱点数を基準に、SAR画像の解像度向上処
理を実施する部分である。この処理に要する時間は、推
定された散乱点数に比例する。
Next, the operation will be described. The platform 10 is a platform for a parallel computer H / W, an OS, a parallelization library, and the like. Image processing program 11
Is a program for executing super-resolution processing of SAR image using MUSIC. As shown in FIG. 5, the image processing program 11 advances the processing line by line. The process in each row can be divided into a part for performing the process of estimating the number of scattering points based on the eigenvalue and a part for performing the resolution improving process of the SAR image based on the estimated number of scattering points. The processing part 12 for determining the processing load is a part of the image processing program 11 for performing processing for estimating the number of scattering points based on the eigenvalue for each row. The time required to estimate the number of scattering points in this process is the same (constant) in each row. In the image processing program 11, the processing part 13 whose load dynamically changes is
This is a part for performing the resolution improvement processing of the SAR image based on the estimated number of scattering points. The time required for this processing is proportional to the estimated number of scattering points.

【0061】並列画像処理装置1は、プラットホーム1
0上で動作し、MUSICを用いたSAR画像の超解像
処理において、各プロセッサ毎に処理を実行する領域の
割当を行い、割り当てた領域を画像処理プログラム11
に実行させる装置である。並列画像処理装置1の実装法
としては、並列化支援ライブラリとして独立して提供す
る方法、プラットホームであるOSや並列化ライブラリ
へ組み込む方法、画像処理プログラム中へ組み込む方法
がある。この実施の形態1では、並列化支援ライブラリ
として独立して提供する方法で説明する。
The parallel image processing apparatus 1 comprises a platform 1
0, and in the super-resolution processing of the SAR image using MUSIC, an area to execute the processing is assigned to each processor, and the assigned area is assigned to the image processing program 11
It is a device to be executed by. As a method of implementing the parallel image processing apparatus 1, there are a method of independently providing as a parallelization support library, a method of incorporating into a platform OS or a parallelization library, and a method of incorporating into an image processing program. In the first embodiment, a method of independently providing the parallelization support library will be described.

【0062】並列画像処理装置1が並列実行する時に
は、図4のように、処理負荷計算手段8と画像処理実行
手段9は、各プロセッサに1個ずつ配置される。図4の
例で、プロセッサ数がN個ならば、処理負荷計算手段8
−1、処理負荷計算手段8−2、・・・、処理負荷計算
手段8−Nのように、各プロセッサに1個ずつ、合計N
個の処理負荷計算手段8と画像処理実行手段9がある。
実施の形態1では、プラットホーム10のH/W構成と
して、共有メモリ型のSMP(Symmetric M
ultiprocessor)を考えている。ここで
は、プロセッサ間で共通の部分として実現される手段
と、各プロセッサに分割して実現される手段がある。こ
の実施の形態1では、画像領域割当手段2や処理制限量
計算手段7や画像処理プログラム11等は、プロセッサ
間で共通の部分として実現されており、処理負荷計算手
段8と画像処理実行手段9は、各プロセッサに分割して
実現される手段として実装されたとして、説明を行って
いく。
When the parallel image processing apparatus 1 executes in parallel, as shown in FIG. 4, the processing load calculating means 8 and the image processing executing means 9 are arranged one for each processor. In the example of FIG. 4, if the number of processors is N, the processing load calculation means 8
-1, processing load calculation means 8-2, ..., Processing load calculation means 8-N, one for each processor, total N.
There are individual processing load calculation means 8 and image processing execution means 9.
In the first embodiment, the shared memory type SMP (Symmetric M) is used as the H / W configuration of the platform 10.
ultiprocessor). Here, there are means implemented as a common part among the processors and means implemented by being divided into each processor. In the first embodiment, the image area allocating means 2, the processing limit amount calculating means 7, the image processing program 11 and the like are realized as common parts among the processors, and the processing load calculating means 8 and the image processing executing means 9 are implemented. Will be described as being implemented as a means realized by being divided into each processor.

【0063】画像領域割当手段2の動作について図2を
用いて説明する。画像領域割当手段2では、まず、単位
領域当たりの最大処理量設定手段3、使用プロセッサ数
設定手段4、領域分割法設定手段6から初期化で必要な
情報を入手する。使用プロセッサ数設定手段4からは、
使用するプロセッサ数を、単位領域当たりの最大処理量
設定手段3からは、単位領域当たりの最大処理数を入手
する。MUSICを用いたSAR画像の超解像処理の例
では、単位領域は行、最大処理数は各行で推定する散乱
点数の最大値となる。領域分割法設定手段6からは、画
像処理領域全体のサイズと処理領域の割当法を入手す
る。領域分割法設定手段6は、処理画像情報設定手段5
から画像処理領域の情報(画像サイズや画素のサイズ、
データ型等)、使用プロセッサ数設定手段4からは、使
用するプロセッサ数を入手する。領域分割法設定手段6
では、処理画像情報設定手段5から画像のサイズ、使用
プロセッサ数設定手段4から使用するプロセッサ数を入
手し、処理領域の割当法を決定する。この算出方法は、
任意に設定できることとする。この例では、各行での処
理負荷を一様と仮定して、一般的な並列処理の動的な領
域分割法に基づく処理領域の割当法とする。但し、本装
置では再割当要求が行われ、途中で処理を行う画像領域
が増えることがある。このため、領域分割法設定手段6
では、再割当要求により画像領域が増えることを前提と
した割当法を選択する。次に、画像領域割当手段2で
は、入手した情報を利用して、内部情報の初期化を行
う。ここでは、「残処理領域数」を「画像処理領域全体
のサイズ」から計算して処理単位の個数(この例では、
行数)に設定し、全プロセッサの実行中フラグを「O
N」に設定する。さらに、「画像処理領域全体のサイ
ズ」から、処理単位別の実行管理テーブルを作成し、全
ての処理単位での管理フラグを「未」に、「画像割当ポ
インタ」の先頭を画像領域の先頭に設定する(図6参
照)。また、全プロセッサの処理負荷計算手段8に実行
開始を指示する(ステップST1)。ここまでの初期化
を完了した後で、画像領域割当手段2は、各プロセッサ
の処理負荷計算手段8からの「要求待ち」状態となる
(ステップST2)。
The operation of the image area allocating means 2 will be described with reference to FIG. The image area allocation unit 2 first obtains information necessary for initialization from the maximum processing amount setting unit 3 per unit area, the used processor number setting unit 4, and the region division method setting unit 6. From the used processor number setting means 4,
The maximum number of processors to be used is obtained from the maximum processing amount setting unit 3 per unit area. In the example of the super-resolution processing of the SAR image using MUSIC, the unit area is a row, and the maximum processing number is the maximum value of the number of scattering points estimated in each row. From the area division method setting means 6, the size of the entire image processing area and the allocation method of the processing areas are obtained. The area division method setting means 6 is the processing image information setting means 5
To image processing area information (image size, pixel size,
The number of processors to be used is acquired from the data type, etc.) and the number of processors to be used setting unit 4. Area division method setting means 6
Then, the size of the image is obtained from the processed image information setting means 5 and the number of processors to be used is obtained from the used processor number setting means 4, and the allocation method of the processing area is determined. This calculation method is
It can be set arbitrarily. In this example, the processing load is assumed to be uniform in each row, and the processing area allocation method is based on the general dynamic area partitioning method of parallel processing. However, in this apparatus, a reallocation request is made, and an image area to be processed may increase in the middle. Therefore, the area division method setting means 6
Then, the allocation method is selected on the assumption that the image area is increased by the reallocation request. Next, the image area allocating means 2 initializes internal information using the obtained information. Here, the "number of remaining processing areas" is calculated from the "size of the entire image processing area" and the number of processing units (in this example,
Number of lines) and set the running flags of all processors to "O"
Set to N ". Furthermore, an execution management table for each processing unit is created from the "size of the entire image processing area", the management flags for all processing units are set to "not", and the head of the "image allocation pointer" is set to the head of the image area. Set (see FIG. 6). Further, the processing load calculation means 8 of all the processors are instructed to start the execution (step ST1). After completing the initialization up to this point, the image area allocating means 2 is in a “waiting for request” state from the processing load calculating means 8 of each processor (step ST2).

【0064】「要求待ち」状態において、処理負荷計算
手段8から「次処理」が要求された場合の動作を説明す
る。まず、「残処理領域数」をチェックする(ステップ
ST3)。ここで、「残処理領域数」が0より大きけれ
ば、次の処理領域割当操作を行う。処理領域割当操作で
は、まず、要求元の処理負荷計算手段8へ割り当てる
「次処理領域」を決定する(ステップST4)。ここで
割り当てる「次処理領域」のサイズは、領域分割法設定
手段6が指定した処理領域の割当法(この例では「次処
理領域」のサイズの算出法)に従う。「画像割当ポイン
タ」が示す位置から、「次処理領域のサイズ」分だけ管
理フラグが「未」となっている領域を順次選択して、
「次処理領域」として選択する。なお、選択中に処理領
域の最後に到達した場合には、先頭に戻って管理フラグ
が「未」となっている領域を順次選択する。「次処理領
域」が決定すると、その領域に対応する処理単位別の実
行管理テーブルの管理フラグを「計」(計算中)にす
る。また、「画像割当ポインタ」を管理フラグが「未」
となる要素まで進める。処理領域の最後に到達した場合
には、先頭に戻って検索し、最初に「未」となる要素ま
で進める。また、「未」となる要素がない場合には、画
像割当ポインタを「空」に設定する。また、「残処理領
域数」を更新する(「残処理領域数」−「次処理領域の
サイズ」にする)(ステップST5)。次に、処理領域
割当操作では、選択した「次処理領域」に対する「処理
制限量」の計算を処理制限量計算手段7に指示する(ス
テップST6)。処理制限量計算手段7では、単位領域
当たりの最大処理量設定手段3から単位領域当たりの最
大処理数を入手し、画像領域割当手段2から指示された
「次処理領域」から、対象領域での「処理制限量」を算
出する。処理領域割当操作では、処理制限量計算手段7
から「処理制限量」の計算結果を受け取った後で、「次
処理領域」と「処理制限量」の情報を、要求元の処理負
荷計算手段8へ通知する(ステップST7)。この通知
をもって、一連の処理領域割当操作を完了し、「要求待
ち」状態へ復帰する。
The operation when the "next processing" is requested from the processing load calculating means 8 in the "waiting for request" state will be described. First, the "number of remaining processing areas" is checked (step ST3). If the "number of remaining processing areas" is greater than 0, the next processing area allocation operation is performed. In the processing area allocation operation, first, the "next processing area" to be allocated to the processing load calculation means 8 of the request source is determined (step ST4). The size of the “next processing area” to be assigned here follows the allocation method of the processing area designated by the area division method setting means 6 (in this example, the method of calculating the size of the “next processing area”). From the position indicated by the "image allocation pointer", sequentially select the areas for which the management flag is "not" for "the size of the next processing area",
Select it as the "next processing area". When the end of the processing area is reached during selection, the area is returned to the beginning and the areas having the management flag of "not yet" are sequentially selected. When the "next processing area" is determined, the management flag of the execution management table for each processing unit corresponding to the area is set to "total" (calculating). In addition, the management flag for the "image allocation pointer" is "not yet".
To the element that becomes. When the end of the processing area is reached, the processing is returned to the beginning and the search is performed, and the element which is first "not yet" is advanced. If there is no element that is "not yet", the image allocation pointer is set to "empty". Also, the "number of remaining processing areas" is updated ("number of remaining processing areas"-"size of next processing area") (step ST5). Next, in the processing area allocation operation, the processing restriction amount calculation means 7 is instructed to calculate the “processing restriction amount” for the selected “next processing area” (step ST6). The processing limit amount calculating means 7 obtains the maximum number of processings per unit area from the maximum processing amount setting means 3 per unit area, and from the “next processing area” instructed by the image area allocating means 2, in the target area. "Processing limit" is calculated. In the processing area allocation operation, the processing limit calculation means 7
After receiving the calculation result of the "processing restriction amount" from the above, the processing load calculation means 8 of the request source is notified of the information of the "next processing area" and the "processing restriction amount" (step ST7). With this notification, a series of processing area allocation operations are completed, and the state returns to the "waiting for request" state.

【0065】「残処理領域数」をチェック時に、「残処
理領域数」が0のケースについて説明する。この場合、
まず、要求元の処理負荷計算手段8へ実行の「一次停
止」を指示する。また、要求元の処理負荷計算手段8に
対応するプロセッサの実行中フラグを「OFF」に設定
する(ステップST8)。次に、プロセッサの実行中フ
ラグが全て「OFF」になっているかを調べる(ステッ
プST9)。ここで、1個でも実行中フラグが「ON」
になっているプロセッサがあれば、「要求待ち」状態へ
復帰する。一方、全ての実行中フラグが「OFF」の場
合には、全プロセッサの処理負荷計算手段8に、「実行
完了」を通知する(ステップST10)。
A case in which the "number of remaining processing areas" is 0 when the "number of remaining processing areas" is checked will be described. in this case,
First, the requesting processing load calculating means 8 is instructed to execute the "primary stop". Further, the in-execution flag of the processor corresponding to the request source processing load calculating means 8 is set to "OFF" (step ST8). Next, it is checked whether all the execution flags of the processor are "OFF" (step ST9). Here, the running flag is "ON" for even one
If there is any processor that is in the state, it returns to the "waiting for request" state. On the other hand, when all the running flags are “OFF”, the processing load calculating means 8 of all the processors are notified of “execution completed” (step ST10).

【0066】「要求待ち」状態において、処理負荷計算
手段8から「再割当」が要求された場合の動作を説明す
る。この場合は、まず、「残処理領域数」を更新する
(「残処理領域数」+「再割当領域のサイズ」にする)
(ステップST11)。また、「再割当」を要求された
領域に対応する、処理単位別の実行管理テーブルの管理
フラグを「未」(計から未)にする(ステップST1
2)。ここで、画像割当ポインタが「空」の場合には、
管理フラグを「未」に更新した領域の先頭に、画像割当
ポインタを設定する(ステップST13)。次に、各プ
ロセッサの実行中フラグをチェックし、「OFF」にな
っているプロセッサがあれば、これに対応する処理負荷
計算手段8へ「実行再開」を通知する(ステップST1
4)。また、実行再開を通知したプロセッサに対応する
実行中フラグを「ON」に設定する(ステップST1
5)。この後で、「要求待ち」状態へ復帰する。
The operation in the case where the processing load calculating means 8 requests "reassignment" in the "request waiting" state will be described. In this case, first update the "number of remaining processing areas" (set to "number of remaining processing areas" + "size of reallocation area")
(Step ST11). Further, the management flag of the execution management table for each processing unit corresponding to the area for which "reallocation" is requested is set to "not yet" (from the total) (step ST1).
2). Here, if the image allocation pointer is "empty",
The image allocation pointer is set at the beginning of the area in which the management flag is updated to "not yet" (step ST13). Next, the in-execution flag of each processor is checked, and if there is a processor that is "OFF", "restart execution" is notified to the corresponding processing load calculation means 8 (step ST1).
4). Also, the in-execution flag corresponding to the processor that has notified the resumption of execution is set to "ON" (step ST1).
5). After this, the state returns to the "waiting for request" state.

【0067】処理負荷計算手段8の動作について図3を
用いて説明する。処理負荷計算手段8では、まず、画像
領域割当手段2からの実行開始の指示を受けて(ステッ
プST21)、次処理の要求を行い(ステップST2
2)、その回答を待つ(ステップST23)。ここで、
回答が「次処理領域」と「処理制限量」の情報の通知の
場合、一連の処理実行操作を開始する。処理実行操作で
は、まず、「次処理領域」で指定された処理領域内で、
各行毎に散乱点数の推定計算を実行する(推定散乱点数
を算出する)(ステップST24)。この推定散乱点数
の算出では、画像処理プログラム11の処理負荷を決定
する処理部分12を利用する。なお、この算出では、単
位領域当たりの最大処理量設定手段3の行当たりの最大
散乱点数を参照して、各行での推定散乱点数の最大値
が、この最大散乱点数以下になるようにする。次に、
「次処理領域」の先頭の行から順番に、各行の推定散乱
点数を1行づつ足していき、この和と「処理制限量」を
比較する(ステップST25〜ステップST29)。こ
こで、和が「処理制限量」を超えた行を「境界行」とす
る(ステップST30)。「次処理領域」の先頭から
「境界行」まで(「境界行」を含む)の領域を「超解像
実行領域」に設定する(ステップST31)。「超解像
実行領域」を設定後、「境界行」の次の行から、「次処
理領域」の最後の行までの領域を「未処理領域」に設定
する(図8参照)(ステップST33)。ここで、「境
界行」が「次処理領域」の最後の行(「再割当領域」が
空)の場合には、次の超解像処理実行に進む(ステップ
ST32)。一方で、「境界行」が「次処理領域」の最
後の行でない(「再割当領域」が存在)の場合には、画
像領域割当手段2へ「未処理領域」の再割当を要求する
(ステップST34)。この要求を通知した後で、次の
超解像処理実行に進む。超解像処理の実行では、「超解
像実行領域」に対する超解像処理の実行を画像処理実行
手段9に指示する(ステップST35)。画像処理実行
手段9では、画像処理プログラム11の動的に負荷が変
化する処理部分13を利用して、超解像処理を実行す
る。その後、画像処理実行手段9での超解像処理の実行
完了を待って、処理実行操作を終了し、再度「次処理の
要求」へ戻って処理を開始する(ステップST36)。
The operation of the processing load calculation means 8 will be described with reference to FIG. The processing load calculating means 8 first receives an instruction to start execution from the image area allocating means 2 (step ST21), and requests the next processing (step ST2).
2) Wait for the answer (step ST23). here,
When the answer is the notification of the information of the "next processing area" and the "processing limit amount", a series of processing execution operations are started. In the process execution operation, first, within the processing area specified in "Next processing area",
The estimation calculation of the scattered point number is executed for each row (the estimated scattered point number is calculated) (step ST24). In the calculation of the estimated number of scattered points, the processing portion 12 that determines the processing load of the image processing program 11 is used. In this calculation, the maximum number of scattered points per line of the maximum processing amount setting means 3 per unit area is referred to so that the maximum value of the estimated scattered points in each line is equal to or less than this maximum scattered point. next,
The estimated number of scattering points in each row is added one by one in order from the first row of the "next processing area", and this sum is compared with the "processing limit amount" (steps ST25 to ST29). Here, a line whose sum exceeds the "processing limit amount" is defined as a "boundary line" (step ST30). The area from the beginning of the "next processing area" to the "boundary row" (including the "boundary row") is set as the "super-resolution execution area" (step ST31). After setting the "super-resolution execution region", the region from the line next to the "boundary line" to the last line of the "next processing region" is set to the "unprocessed region" (see FIG. 8) (step ST33). ). If the "boundary row" is the last row of the "next processing area" (the "reallocation area" is empty), the process proceeds to the next super-resolution processing execution (step ST32). On the other hand, when the “boundary line” is not the last line of the “next processing region” (the “reallocation region” exists), the image region allocation unit 2 is requested to reallocate the “unprocessed region” ( Step ST34). After notifying this request, the process proceeds to the next execution of super-resolution processing. In the execution of the super-resolution processing, the image processing execution means 9 is instructed to execute the super-resolution processing for the "super-resolution execution area" (step ST35). The image processing execution means 9 uses the processing portion 13 of the image processing program 11 whose load changes dynamically to execute the super-resolution processing. After that, after the completion of execution of the super-resolution processing in the image processing execution means 9, the processing execution operation is ended, the process returns to "request for next processing" and the processing is started (step ST36).

【0068】次処理の要求に対する回答が、実行の「一
次停止」の場合、「指示待ち」状態となる(ステップS
T37)。「指示待ち」状態で、画像領域割当手段2か
ら「実行再開」を指示された場合には、再度「次処理の
要求」へ戻って処理を再開する。一方、「指示待ち」状
態で、画像領域割当手段2から「実行完了」を指示され
た場合には、処理を終了する(ステップST38)。
When the reply to the request for the next processing is "primary stop" of execution, the state is "waiting for instruction" (step S).
T37). When the "restart execution" is instructed from the image area allocating means 2 in the "waiting instruction" state, the process returns to the "request for next process" again to restart the process. On the other hand, in the "waiting for instruction" state, when the "execution completed" is instructed by the image area allocating means 2, the processing is ended (step ST38).

【0069】この実施の形態1の装置で、図9に示すサ
ンプル画像を、4プロセッサ構成の計算機で処理したケ
ースについて説明する。図9では、処理が1,3,5,
7行目で推定散乱点数が100と処理が集中しており、
他の行では全て推定散乱点数1と小さな処理になってい
る。ここでは、推定散乱点数の計算時間が1、散乱点1
個当たりに掛かる超解像処理の時間が1になっている。
以下、ここでの処理時間の単位を「T」とする。図9の
処理を逐次実行した場合には、600Tの時間が掛かる
ことになる。なお、図9では、各行の推定散乱点数と処
理負荷(処理時間)を明示してあるが、これは、散乱点
数の推定計算結果後に分かる値であり、計算の実行開始
前には分からない値である。比較のため、まず、単純に
データ領域のサイズから各プロセッサに処理を割り当て
たケースを説明する。ここでは、Guided−Sel
fスケジューリング(最初の処理領域の割当を変更しな
いまま実行したケース。図7参照)の例で説明する。こ
の場合、最初に割当を要求したプロセッサが、1行目か
ら25行目までの領域を割当られる。この場合、このプ
ロセッサは、処理全体の約75%を集中して実行するこ
とになり、約450Tだけ時間が掛かる。一方、他のプ
ロセッサは、残りの領域を順次割り当てられていく。こ
こでは、負荷が一定のため、他の3個のプロセッサは、
それぞれ処理全体の約8%ずつを実行することになり、
48Tだけ時間が掛かる。このように、一般的な並列処
理での領域の割当を採用し、最初の割当を変更しない場
合には、並列計算実行時に、各プロセッサへの割り当て
る処理量を均等に保てないことがある。この時の全体で
の実行時間は、最も時間が掛かったプロセッサの処理時
間となるため、4プロセッサで実行したのに、約450
Tも時間が掛かってしまう(1.3倍しか高速化できな
い)。処理量を均等に保てないと、このように実行効率
が低下する。
A case where the sample image shown in FIG. 9 is processed by a computer having a four-processor configuration in the apparatus of the first embodiment will be described. In FIG. 9, the processing is 1, 3, 5,
In the 7th line, the number of estimated scattering points is 100 and the processing is concentrated,
In all the other rows, the processing is small with an estimated number of scattered points being 1. Here, the calculation time for the estimated number of scattering points is 1, and the number of scattering points is 1.
The time required for super-resolution processing per piece is one.
Hereinafter, the unit of the processing time here is set to "T". When the process of FIG. 9 is sequentially executed, it takes 600T. Note that, in FIG. 9, the estimated scatter points and the processing load (processing time) of each line are clearly shown, but this is a value found after the estimation calculation result of the scatter points, and a value that cannot be known before the start of the calculation. Is. For comparison, first, a case will be described in which processing is simply assigned to each processor based on the size of the data area. Here, Guided-Sel
An example of f-scheduling (case executed without changing the allocation of the first processing area; see FIG. 7) will be described. In this case, the processor that first requested the allocation allocates the area from the first row to the 25th row. In this case, this processor intensively executes about 75% of the entire processing, and takes about 450T. On the other hand, the other processors are sequentially assigned the remaining areas. Here, since the load is constant, the other three processors are
Each of them will perform about 8% of the whole process,
It takes only 48T. As described above, when the area allocation in the general parallel processing is adopted and the initial allocation is not changed, the amount of processing allocated to each processor may not be maintained evenly during parallel calculation execution. At this time, the total execution time is the processing time of the processor that took the longest time.
T also takes time (only 1.3 times faster). If the processing amount cannot be kept uniform, the execution efficiency is reduced in this way.

【0070】一方で、実施の形態1の装置では、次のよ
うに処理される。各種設定を行う手段では、使用プロセ
ッサ数設定手段4の使用プロセッサ数を「4」、処理画
像情報設定手段5は画像処理領域の大きさを「100」
行に設定する。また、単位領域当たりの最大処理量設定
手段3では、行当たりの最大の推定散乱点数を「10
0」に設定されているとする。また、実装イメージは、
図10のようになる。画像領域割当手段2では、上述の
図2のフローチャートに沿って処理が進められる。まず
は、各手段に設定されたデータを基に初期化が行われ
る。プロセッサ1〜4の実行中フラグを「ON」に、
「残処理領域数」を100に、実行管理テーブルの1行
から100行の管理フラグを「未」に、「画像割当ポイ
ンタ」を1行目に設定する。領域分割法設定手段6は、
「次処理領域」のサイズを決定法として、“(「残処理
領域数」+「使用プロセッサ数」−1)/「使用プロセ
ッサ数」”を通知したとする。また、処理負荷計算手段
8−1〜8−4へ実行開始を指示する。処理負荷計算手
段8−1〜8−4では、図3のフローチャートに従って
処理を進めていく。ここでは、画像領域割当手段2から
の実行開始の指示を受け、順次画像領域割当手段2へ
「次処理要求」を行う。ここでは、説明を簡単にするた
め、まず、処理負荷計算手段8−1が1番最初に画像領
域割当手段2へ「次処理要求」を行い、続いてほぼ同時
に、処理負荷計算手段8−2、処理負荷計算手段8−
3、処理負荷計算手段8−4の順で「次処理要求」を行
ったとして説明する。また、処理負荷計算手段8−1〜
8−4は、時刻「0T」で一斉に処理を「次処理要求」
を行ったとする。まず、時刻「0T」で画像領域割当手
段2は、処理負荷計算手段8−1からの「次処理要求」
を受け取る。最初は、「残処理領域数」は100であ
り、領域分割法設定手段6の領域分割法に従って、先頭
から25行分、1行から25行までを「次処理領域」に
選択する。次に、「残処理領域数」を75に、1行から
25行までの管理フラグを「計」に、「画像割当ポイン
タ」を26行目に更新する。その後、処理制限量計算手
段7に「処理制限量」を算出させる。この例では、
“「次処理領域のサイズ」*4−1”を「処理制限量」
として算出することにする。「次処理領域のサイズ」が
25のため、ここでは、「処理制限量」が99となる。
「処理制限量」の算出後、処理負荷計算手段8−1へ、
「次処理領域」(1行〜25行)と「処理制限量」99
を通知し、「要求待ち」状態へ復帰する。画像領域割当
手段2では、時刻「0T」でさらに処理負荷計算手段8
−2、処理負荷計算手段8−3、処理負荷計算手段8−
4からの「次処理要求」を受け取る。ここでは、処理負
荷計算手段8−1からの要求時と同じ手順で、「次処理
領域」の割当を行っていく。処理負荷計算手段8−2に
は、「次処理領域」(26行〜44行)と「処理制限
量」75を、処理負荷計算手段8−3には、「次処理領
域」(45行〜58行)と「処理制限量」55を、処理
負荷計算手段8−4には、「次処理領域」(59行〜6
9行)と「処理制限量」43を、通知し、「要求待ち」
状態へ復帰する。なお、ここでの処理の結果、「残処理
領域数」は31に、26行から69行までの管理フラグ
が「計」に、「画像割当ポインタ」は70行目に更新さ
れている。
On the other hand, in the apparatus of the first embodiment, the following processing is performed. As means for making various settings, the number of used processors of the used processor number setting means 4 is “4”, and the size of the image processing area of the processed image information setting means 5 is “100”.
Set to line. In the maximum throughput setting unit 3 per unit area, the maximum estimated number of scattering points per line is set to "10".
It is assumed that it is set to "0". Also, the mounting image is
It becomes like FIG. In the image area allocating means 2, the process proceeds according to the above-mentioned flowchart of FIG. First, initialization is performed based on the data set in each means. Set the running flags of processors 1 to 4 to "ON",
The "remaining processing area number" is set to 100, the management flags of lines 1 to 100 of the execution management table are set to "not", and the "image allocation pointer" is set to the first line. The area division method setting means 6
It is assumed that "(" remaining processing area number "+" used processor number "-1) /" used processor number "" is notified as the determination method of the size of the "next processing area". 1 to 8-4 are instructed to start execution, and the processing load calculation means 8-1 to 8-4 proceed with the processing in accordance with the flowchart of Fig. 3. Here, an instruction to start execution is given from the image area allocation means 2. In response, the "next processing request" is sequentially issued to the image area allocating means 2. Here, in order to simplify the explanation, first, the processing load calculation unit 8-1 first makes a “next processing request” to the image area allocation unit 2, and subsequently, at substantially the same time, the processing load calculation unit 8-2. , Processing load calculation means 8-
It is assumed that the "next processing request" is made in the order of 3, the processing load calculating means 8-4. Further, the processing load calculation means 8-1 to 8-1
8-4, at the time “0T”, performs the processing all at once “request for next processing”
I went. First, at time “0T”, the image area allocating means 2 sends the “next processing request” from the processing load calculating means 8-1.
To receive. Initially, the "remaining processing area number" is 100, and 25 rows from the beginning and 1 to 25 rows are selected as the "next processing area" according to the area dividing method of the area dividing method setting means 6. Next, the "remaining processing area number" is updated to 75, the management flags from the 1st row to the 25th row are updated to "total", and the "image allocation pointer" is updated to the 26th row. After that, the processing limit amount calculation means 7 is caused to calculate the “processing limit amount”. In this example,
"The size of the next processing area" * 4-1 "is the processing limit amount"
Will be calculated as Since the “size of the next processing area” is 25, the “processing restriction amount” is 99 here.
After calculating the “processing limit amount”, the processing load calculating means 8-1
"Next processing area" (1 to 25 lines) and "processing limit amount" 99
Is notified and the state returns to the "waiting for request" state. In the image area allocating means 2, the processing load calculating means 8 is further added at time “0T”.
-2, processing load calculating means 8-3, processing load calculating means 8-
4 receives the "next processing request". Here, the "next processing area" is allocated by the same procedure as when the processing load calculation means 8-1 makes a request. The processing load calculation unit 8-2 has the "next processing region" (lines 26 to 44) and the "processing limit amount" 75, and the processing load calculation unit 8-3 has the "next processing region" (lines 45 to 45). 58) and the "processing limit amount" 55, and the processing load calculation means 8-4 stores the "next processing area" (lines 59 to 6).
(Line 9) and "process limit amount" 43, and "wait for request"
Return to the state. As a result of the processing here, the "remaining processing area number" is updated to 31, the management flag from the 26th line to the 69th line is updated to "total", and the "image allocation pointer" is updated to the 70th line.

【0071】処理負荷計算手段8−1では、時刻「0
T」で、画像領域割当手段2から「次処理要求」への回
答として、「次処理領域」(1行〜25行)と「処理制
限量」99を受け取る。まず、「次処理領域」の各行で
の推定散乱点数を計算する。ここでは、25行分の推定
散乱点数の計算に、「25T」掛かる。次に、各行の推
定散乱点数の和を求めて、「処理制限量」99と比較し
ていく。ここでは、1行目で推定散乱点数が100とな
り、1行目が「境界行」となる。「超解像実行領域」は
1行目だけになる。当然、「境界行」は最終行ではない
ので、2行〜25行を「未処理領域」に設定し、画像領
域割当手段2へ再割当を要求する。ここでは、推定散乱
点数の計算の終了した時刻「25T」で、画像領域割当
手段2への再割当要求が行われる。再割当要求後、処理
負荷計算手段8−1は、画像処理実行手段9−1へ、
「超解像実行領域」(1行目)の超解像処理の実行を指
示する。処理負荷計算手段8−1では、この処理の終了
を時刻「125T」まで待つことになる。処理負荷計算
手段8−2では、時刻「0T」で「次処理領域」(26
行〜44行)と「処理制限量」75を受け取る。上記処
理負荷計算手段8−1と同様の手順で処理を進めていく
が、ここでは、各行の推定散乱点数の和は、最後の行ま
で計算しても19までしか増加しない。このため、再割
当要求は行わず、「次処理領域」である26行〜44行
の全てを「超解像実行領域」に設定する。「超解像実行
領域」の設定後、画像処理実行手段9−2へ、26行〜
44行の超解像処理の実行を指示する。ここでは、この
処理の終了を時刻「38T」まで待つことになる。処理
負荷計算手段8−3では、時刻「0T」で「次処理領
域」(45行〜58行)と「処理制限量」55を受け取
る。ここでは、処理負荷計算手段8−2と同様に、推定
散乱点数の累計が14と処理制限量より小さい値までし
か増加しないため、45行〜58行を「超解像実行領
域」に設定して、画像処理実行手段9−3に超解像処理
の実行を指示する。この処理の終了を時刻「28T」ま
で待つことになる。処理負荷計算手段8−4では、時刻
「0T」で「次処理領域」(59行〜69行)と「処理
制限量」43を受け取る。ここでも、推定散乱点数の累
計が11と処理制限量より小さい値までしか増加しない
ため、59行〜69行を「超解像実行領域」に設定し
て、画像処理実行手段9−4に超解像処理の実行を指示
する。この処理の終了を時刻「22T」まで待つことに
なる。
In the processing load calculation means 8-1, the time "0"
At “T”, the “next processing area” (lines 1 to 25) and the “processing limit amount” 99 are received from the image area allocating means 2 as a reply to the “next processing request”. First, the estimated number of scattering points in each line of the "next processing region" is calculated. Here, it takes "25T" to calculate the estimated number of scattered points for 25 lines. Next, the sum of the estimated number of scattered points in each row is calculated and compared with the “processing limit amount” 99. Here, the estimated number of scattering points is 100 in the first line, and the first line is the “boundary line”. The "super-resolution execution area" is only the first row. Naturally, since the "boundary line" is not the last line, lines 2 to 25 are set as "unprocessed regions" and the image region allocating means 2 is requested to reallocate. Here, a request for reallocation to the image area allocating means 2 is made at time “25T” when the calculation of the estimated scattered points is completed. After the reallocation request, the processing load calculation means 8-1 sends the image processing execution means 9-1 to the image processing execution means 9-1.
Instruct execution of the super-resolution processing of the "super-resolution execution area" (first line). The processing load calculation means 8-1 waits for the end of this processing until time "125T". In the processing load calculation means 8-2, the "next processing area" (26
(Line to line 44) and the "processing limit amount" 75 are received. The processing proceeds in the same procedure as the processing load calculating means 8-1, but here, the sum of the estimated scattering points of each row increases to 19 even if the calculation is performed up to the last row. Therefore, the reallocation request is not issued, and all of the 26th to 44th rows which are the "next processing area" are set to the "super-resolution execution area". After setting the "super-resolution execution area", the 26th line to the image processing execution means 9-2.
Instruct execution of super-resolution processing of 44 lines. Here, the end of this processing is waited until time "38T". The processing load calculation means 8-3 receives the "next processing area" (lines 45 to 58) and the "processing limit amount" 55 at time "0T". Here, as in the processing load calculation means 8-2, the cumulative total of the number of estimated scattering points increases to only 14 and a value smaller than the processing limit amount. Therefore, lines 45 to 58 are set as the “super-resolution execution region”. Then, the image processing execution means 9-3 is instructed to execute the super-resolution processing. The end of this processing is waited until time "28T". The processing load calculation means 8-4 receives the “next processing area” (lines 59 to 69) and the “processing limit amount” 43 at time “0T”. In this case as well, since the cumulative total of the estimated number of scattered points increases only to a value smaller than the processing limit amount of 11, the 59th to 69th lines are set in the "super-resolution execution region" and the image processing execution means 9-4 is operated. Instruct execution of resolution processing. The end of this process will be waited until time “22T”.

【0072】時刻「22T」で超解像処理の実行が終了
するため、処理負荷計算手段8−4は、「次処理要求」
を行う。ここで画像領域割当手段2では、時刻「0T」
の時と同様の手順で、処理負荷計算手段8−4へ「次処
理領域」(70行〜77行)と「処理制限量」31を通
知し、「要求待ち」状態へ復帰する。なお、「残処理領
域数」は23に、70行から77行までの管理フラグが
「計」に、「画像割当ポインタ」は78行目に更新され
る。また、これを受けた処理負荷計算手段8−4でも、
前回と同じ手順で処理を進める。ここでも、推定散乱点
数の累計が8と処理制限量より小さい値までしか増加し
ないため、70行〜77行を「超解像実行領域」に設定
して、画像処理実行手段9−4に超解像処理の実行を指
示する。処理負荷計算手段8−4は、この処理の終了を
時刻「38T」まで待つことになる。
Since the execution of the super-resolution processing is completed at the time "22T", the processing load calculating means 8-4 gives the "next processing request".
I do. Here, in the image area allocating means 2, the time "0T"
In the same procedure as in the above case, the processing load calculation means 8-4 is notified of the "next processing area" (lines 70 to 77) and the "processing limit amount" 31, and the state returns to the "request waiting" state. The "remaining processing area number" is updated to 23, the management flag from the 70th line to the 77th line is updated to "total", and the "image allocation pointer" is updated to the 78th line. Further, the processing load calculation means 8-4 which receives this also
Proceed with the same procedure as last time. In this case as well, since the cumulative total of the estimated number of scattered points increases only to a value smaller than the processing limit amount of 8, the 70th to 77th lines are set in the "super-resolution execution region", and the image processing execution means 9-4 is operated. Instruct execution of resolution processing. The processing load calculation means 8-4 waits for the end of this processing until time "38T".

【0073】時刻「25T」で、処理負荷計算手段8−
1は、2行〜25行(24行分)の再割当要求を行う。
ここで画像領域割当手段2は、「残処理領域数」を23
から47へ更新(24行追加)し、2行〜25行の管理
フラグを「未」に設定する。ここでは、プロセッサ1〜
4の実行中フラグは全て「ON」のため、実行再開に関
する処理は行わずに、「要求待ち」状態へ復帰する。
At time "25T", the processing load calculation means 8-
1 requests re-allocation of 2 to 25 lines (24 lines).
Here, the image area allocating means 2 sets the “number of remaining processing areas” to 23.
To 47 (24 lines are added), and the management flags of lines 2 to 25 are set to "not yet". Here, processor 1
Since all of the in-execution flags of 4 are "ON", the process related to resumption of execution is not performed and the state returns to the "waiting for request" state.

【0074】時刻「28T」で超解像処理の実行が終了
するため、処理負荷計算手段8−3は、「次処理要求」
を行う。ここで画像領域割当手段2では、基本的に時刻
「0T」の時と同様の手順で処理を進める。但し、再割
当要求を受け取っているため、「残処理領域数」は時刻
「25T」での23から時刻「25T」での47へ更新
されている。このため、「次処理領域のサイズ」は12
となる(なお、「残処理領域数」23では「次処理領域
のサイズ」のサイズは4となっていた)。この結果、画
像領域割当手段2は、処理負荷計算手段8−3へ「次処
理領域」(78行〜89行)と「処理制限量」47を通
知し、「要求待ち」状態へ復帰する。なお、「残処理領
域数」は35に、78行から89行までの管理フラグが
「計」に、「画像割当ポインタ」は90行目に更新され
る。これを受けた処理負荷計算手段8−3側では、前回
と同じ手順で処理を進める。ここでも、推定散乱点数の
累計が12と処理制限量より小さい値までしか増加しな
いため、78行〜89行を「超解像実行領域」に設定し
て、画像処理実行手段9−3に超解像処理の実行を指示
する。処理負荷計算手段8−3は、この処理の終了を時
刻「52T」まで待つことになる。
Since the execution of the super-resolution processing is completed at time "28T", the processing load calculation means 8-3 gives "the next processing request".
I do. Here, the image area allocating means 2 basically advances the processing in the same procedure as at the time “0T”. However, since the reallocation request is received, the "remaining processing area number" is updated from 23 at the time "25T" to 47 at the time "25T". Therefore, the "size of next processing area" is 12
(Note that in the “number of remaining processing areas” 23, the size of “the size of the next processing area” was 4.) As a result, the image area allocating means 2 notifies the processing load calculating means 8-3 of the "next processing area" (lines 78 to 89) and the "processing limit amount" 47, and returns to the "request waiting" state. The "remaining processing area number" is updated to 35, the management flags from the 78th line to the 89th line are updated to "total", and the "image allocation pointer" is updated to the 90th line. On the side of the processing load calculation means 8-3 which receives this, the processing proceeds in the same procedure as the previous time. In this case as well, the cumulative total of the estimated number of scattered points increases to 12 which is smaller than the processing limit amount. Therefore, lines 78 to 89 are set in the "super-resolution execution region" and the image processing execution means 9-3 is operated. Instruct execution of resolution processing. The processing load calculation means 8-3 waits for the end of this processing until time "52T".

【0075】時刻「38T」で超解像処理の実行が終了
するため、処理負荷計算手段8−2は、「次処理要求」
を行う。画像領域割当手段2では、「次処理領域」(9
0行〜98行)と「処理制限量」35を処理負荷計算手
段8−2へ通知し、「要求待ち」状態へ復帰する。「残
処理領域数」は26に、90行から98行までの管理フ
ラグが「計」に、「画像割当ポインタ」は99行目に更
新される。これを受けた処理負荷計算手段8−2側で
は、前回と同じ手順で処理を進める。推定散乱点数の累
計が8と処理制限量より小さい値までしか増加しないた
め、90行〜98行を「超解像実行領域」に設定して、
画像処理実行手段9−2に超解像処理の実行を指示す
る。処理負荷計算手段8−2は、この処理の終了を時刻
「56T」まで待つことになる。
Since the execution of the super-resolution processing is completed at the time "38T", the processing load calculation means 8-2 gives the "next processing request".
I do. In the image area allocating means 2, the "next processing area" (9
Lines 0 to 98) and the "processing limit amount" 35 are notified to the processing load calculation means 8-2, and the state is returned to the "request waiting" state. The "remaining processing area number" is updated to 26, the management flag from the 90th line to the 98th line is updated to "total", and the "image allocation pointer" is updated to the 99th line. On the side of the processing load calculation means 8-2 that receives this, the processing proceeds in the same procedure as the previous time. Since the cumulative total of the estimated number of scattered points increases only to a value smaller than the processing limit amount of 8, the 90th to 98th lines are set to the "super-resolution execution region",
The image processing execution means 9-2 is instructed to execute the super-resolution processing. The processing load calculation means 8-2 waits until the time "56T" until the end of this processing.

【0076】処理負荷計算手段8−4でも、時刻「38
T」で超解像処理の実行が終了するため、「次処理要
求」を行う。ここでは、処理負荷計算手段8−2の要求
に対する処理の完了直後に受け取ったとする。ここで画
像領域割当手段2では、基本的に先ほどの処理負荷計算
手段8−2の要求の時と同様に処理を進める。この結
果、「次処理領域のサイズ」は8となる。この時点で、
「画像割当ポインタ」は99行目のため、99,100
行を選択後、2〜7行を「次処理領域」として選択す
る。このため、「次処理領域」(99〜100行と2〜
7行)と「処理制限量」31を処理負荷計算手段8−4
へ通知し、「要求待ち」状態へ復帰する。「残処理領域
数」は18に、99〜100行と2〜7行までの管理フ
ラグが「計」に、「画像割当ポインタ」は1周して8行
目に更新される。これを受けた処理負荷計算手段8−4
側では、前回と同じ手順で処理を進める。ここでは、9
9,100,2,3の順で推定散乱点数の累計を求めて
行くと、3行までの累計で推定散乱点数が103とな
り、処理制限量を超える。ここでは、3行目が「境界
行」となる。このため、上記の処理負荷計算手段8−1
と同様に、4行〜7行を「未処理領域」に設定し、画像
領域割当手段2へ再割当を要求する。ここでは、推定散
乱点数の計算が終了する時刻「46T」で、画像領域割
当手段2への再割当要求が行われる。また、99,10
0,2,3行を「超解像実行領域」に設定して、画像処
理実行手段9−4に超解像処理の実行を指示する。処理
負荷計算手段8−4は、この処理の終了を時刻「149
T」まで待つことになる。
The processing load calculation means 8-4 also receives the time "38".
Since the execution of the super-resolution processing ends at "T", a "next processing request" is issued. Here, it is assumed that it is received immediately after the completion of the processing for the request of the processing load calculation means 8-2. Here, the image area allocating means 2 basically advances the processing in the same manner as when the request from the processing load calculating means 8-2 was made. As a result, the "size of the next processing area" is 8. at this point,
Since the "image allocation pointer" is the 99th line, 99,100
After selecting a row, rows 2 to 7 are selected as the "next processing area". Therefore, the "next processing area" (lines 99 to 100 and 2 to
7)) and the "processing limit amount" 31 to the processing load calculation means 8-4.
To the "request waiting" state. The "remaining processing area number" is updated to 18, the management flags of 99 to 100 lines and 2 to 7 lines are set to "total", and the "image allocation pointer" is updated to the 8th line by making one round. Receiving this, the processing load calculation means 8-4
On the side, the process proceeds in the same procedure as the previous time. Here, 9
When the cumulative total of the estimated scattered points is calculated in the order of 9,100,2,3, the estimated scattered points becomes 103 in the cumulative total of up to three lines, which exceeds the processing limit amount. Here, the third line is the “boundary line”. Therefore, the processing load calculation means 8-1 described above is used.
Similarly, the 4th to 7th lines are set to the "unprocessed area" and the image area allocating means 2 is requested to reallocate. Here, a reassignment request to the image area allocating means 2 is made at time “46T” when the calculation of the estimated scattered points is completed. Also, 99,10
Lines 0, 2, and 3 are set in the "super-resolution execution area", and the image processing execution means 9-4 is instructed to execute the super-resolution processing. The processing load calculation means 8-4 indicates the end of this processing at time “149”.
You will have to wait until "T".

【0077】時刻「46T」で、処理負荷計算手段8−
4は、4行〜7行(4行分)の再割当要求を行う。ここ
で画像領域割当手段2は、時刻「25T」の時と同様の
処理を行い、「残処理領域数」を18から22へ更新
(4行追加)し、4行〜7行の管理フラグを「未」に設
定後、「要求待ち」状態へ復帰する。
At time "46T", the processing load calculating means 8-
4 requests re-allocation of lines 4 to 7 (for 4 lines). Here, the image area allocating means 2 performs the same processing as at the time “25T”, updates the “remaining processing area number” from 18 to 22 (adds 4 rows), and sets the management flags of 4 rows to 7 rows. After setting it to "not yet", it returns to the "request waiting" state.

【0078】時刻「52T」で超解像処理が終了し、処
理負荷計算手段8−3は、「次処理要求」を行う。ここ
では、画像領域割当手段2と処理負荷計算手段8−3の
双方で前回の時刻「52T」と同様に処理が進む。画像
領域割当手段2では、「残処理領域数」は16に、8〜
13行の管理フラグが「計」に、「画像割当ポインタ」
が14行目に更新される。「次処理領域」(8〜13
行)と「処理制限量」23を受けた処理負荷計算手段8
−3では、推定散乱点数の累計が6までしか増加しない
ため、8〜13行を「超解像実行領域」に設定して、画
像処理実行手段9−3に実行を指示する。この処理の終
了を時刻「64T」まで待つことになる。
At time "52T", the super-resolution processing ends, and the processing load calculation means 8-3 makes a "next processing request". Here, both the image area allocating means 2 and the processing load calculating means 8-3 proceed as in the previous time “52T”. In the image area allocating means 2, the "remaining processing area number" is 16 and 8 to
The management flag of line 13 is "total" and "image allocation pointer"
Is updated on the 14th line. "Next processing area" (8 to 13
Line) and the “processing limit amount” 23, the processing load calculation means 8
In -3, since the cumulative total of the estimated number of scattered points increases to 6, lines 8 to 13 are set as the "super-resolution execution area" and the image processing execution means 9-3 is instructed to execute the processing. The end of this process is waited until time "64T".

【0079】この後、時刻「52T」の同様の手順で、
時刻「56T」で処理負荷計算手段8−2が14〜17
行を、時刻「64T」で処理負荷計算手段8−2が18
〜20行を、同じく時刻「64T」で処理負荷計算手段
8−3が21〜22行を、時刻「70T」で処理負荷計
算手段8−2が23〜24行を、割り当られて実行する
ことになる。この結果、画像領域割当手段2では、「残
処理領域数」は4に、14〜24行の管理フラグが
「計」に、「画像割当ポインタ」が再び1周して4行目
に更新される。また、処理負荷計算手段8−2では、時
刻「74T」まで、処理負荷計算手段8−3は、時刻
「70T」まで、超解像処理の実行完了を待つことにな
る。
Thereafter, in the same procedure at time "52T",
At time “56T”, the processing load calculation means 8-2 is 14-17.
At the time "64T", the processing load calculation unit 8-2 makes 18
~ 20 rows, the processing load calculating means 8-3 is assigned 21 to 22 rows at the time "64T", and the processing load calculating means 8-2 is assigned 23 to 24 rows at the time "70T". It will be. As a result, in the image area allocating means 2, the "remaining processing area number" is updated to 4, the management flags of lines 14 to 24 are updated to "total", and the "image allocation pointer" is updated once again to the 4th row. It Further, the processing load calculation means 8-2 waits until the time "74T", and the processing load calculation means 8-3 waits until the time "70T" to complete the super-resolution processing.

【0080】時刻「70T」では、処理負荷計算手段8
−3が4行(1行だけ)を割り当られて実行することに
なる。この結果、画像領域割当手段2では、「残処理領
域数」は3に、4行の管理フラグが「計」に、「画像割
当ポインタ」が5行目に更新される。また、処理負荷計
算手段8−3は、時刻「72T」まで、超解像処理の実
行完了を待つことになる。
At time "70T", the processing load calculation means 8
-3 is executed by assigning 4 lines (only 1 line). As a result, in the image area allocating means 2, the "remaining processing area number" is updated to 3, the management flag of the 4th row is updated to "total", and the "image allocation pointer" is updated to the 5th row. In addition, the processing load calculation unit 8-3 waits for the completion of execution of the super-resolution processing until the time “72T”.

【0081】時刻「72T」では、処理負荷計算手段8
−3が5行を割り当られて実行することになる。この結
果、画像領域割当手段2では、「残処理領域数」は2
に、5行の管理フラグが「計」に、「画像割当ポイン
タ」が6行目に更新される。また、処理負荷計算手段8
−3は、時刻「173T」まで、超解像処理の実行完了
を待つことになる。
At time "72T", the processing load calculation means 8
-3 will be executed by assigning 5 lines. As a result, in the image area allocating means 2, the “number of remaining processing areas” is 2
In addition, the management flags of the 5th row are updated to “total”, and the “image allocation pointer” is updated to the 6th row. Further, the processing load calculation means 8
-3 waits for the completion of execution of the super-resolution processing until time “173T”.

【0082】この後、処理負荷計算手段8−2では、時
刻「74T」で、6行を、時刻「76T」で7行を割り
当られて実行することになる。この結果、画像領域割当
手段2では、「残処理領域数」は0に、6行と7行の管
理フラグが「計」になる。全ての管理フラグが「計」に
なるため、「画像割当ポインタ」は指す行がなくなる
(次に、再割当要求があった時に、再度設定される)。
また、処理負荷計算手段8−2は、時刻「177T」ま
で、超解像処理の実行完了を待つことになる。
Thereafter, the processing load calculating means 8-2 allocates and executes 6 lines at time "74T" and 7 lines at time "76T". As a result, in the image area allocating means 2, the "remaining processing area number" is 0, and the management flags of the 6th and 7th rows are "total". Since all the management flags are “total”, there is no line to be pointed to by the “image allocation pointer” (the next time when a reallocation request is made, it is set again).
In addition, the processing load calculation unit 8-2 waits for the completion of execution of the super-resolution processing until time “177T”.

【0083】時刻「125T」で、処理負荷計算手段8
−1が「次処理要求」を行う。画像領域割当手段2で
は、「残処理領域数」が0のため、処理負荷計算手段8
−1に一時停止を指示し、プロセッサ1の実行中フラグ
を「OFF」にする。この時点では、プロセッサ2〜4
の実行中フラグが「ON」のため、「要求待ち状態」へ
戻る。「次処理要求」に対して、一時停止を指示された
処理負荷計算手段8−1は、「指示待ち状態」で待つこ
とになる。
At time "125T", the processing load calculation means 8
-1 makes a "next processing request". In the image area allocating means 2, since the “remaining processing area number” is 0, the processing load calculating means 8
-1 is instructed to pause, and the in-execution flag of the processor 1 is set to "OFF". At this point, processors 2-4
Since the in-execution flag of is ON, the process returns to the request waiting state. In response to the "next processing request", the processing load calculation means 8-1 instructed to pause will wait in the "instruction waiting state".

【0084】時刻「149T」では処理負荷計算手段8
−4が、時刻「173T」では処理負荷計算手段8−3
が「次処理要求」を行う。画像領域割当手段2では、時
刻「125T」の処理負荷計算手段8−1に対するのと
同様の処理が行われ、処理負荷計算手段8−4と処理負
荷計算手段8−3へ一時停止を指示し、プロセッサ4と
プロセッサ3の実行中フラグを「OFF」にする。この
時点では、まだ全ての実行中フラグが「OFF」になら
ないため、「要求待ち状態」へ戻る。また、「次処理要
求」に対して、一時停止を指示された処理負荷計算手段
8−4と処理負荷計算手段8−3は、「指示待ち状態」
で待つことになる。
At time "149T", the processing load calculation means 8
-4, at time “173T”, processing load calculation means 8-3
Makes the "next processing request". The image area allocating means 2 performs the same processing as that for the processing load calculating means 8-1 at time “125T”, and instructs the processing load calculating means 8-4 and the processing load calculating means 8-3 to temporarily stop. , The in-execution flags of the processor 4 and the processor 3 are turned off. At this point, all the execution flags are not yet set to "OFF", and the process returns to the "request waiting state". Further, in response to the "next processing request", the processing load calculation means 8-4 and the processing load calculation means 8-3, which have been instructed to pause, are in the "instruction waiting state".
You will have to wait.

【0085】時刻「177T」で、処理負荷計算手段8
−2が「次処理要求」を行う。ここで、画像領域割当手
段2は、処理負荷計算手段8−2に対して一時停止を指
示し、プロセッサ2の実行中フラグを「OFF」にす
る。ここでは、全ての実行中フラグが「OFF」になる
ため、全プロセッサへ「実行完了」を通知し、画像領域
割当手段2は処理を終了する。処理負荷計算手段8−2
では、「次処理要求」に対して、一時停止を指示される
ため、「指示待ち状態」で待つことになる。その後で、
画像領域割当手段2からの「実行完了」を通知を受け取
り、処理負荷計算手段8−2は、処理を終了する。「指
示待ち状態」で待っていた処理負荷計算手段8−1、処
理負荷計算手段8−3、処理負荷計算手段8−4も「実
行完了」を通知を受け取り、それぞれ処理を終了する。
At time "177T", the processing load calculation means 8
-2 makes a "next processing request". Here, the image area allocating means 2 instructs the processing load calculating means 8-2 to temporarily stop, and sets the execution flag of the processor 2 to “OFF”. Here, since all the execution flags are “OFF”, “execution completed” is notified to all the processors, and the image area allocation unit 2 ends the processing. Processing load calculation means 8-2
Then, since the temporary stop is instructed in response to the "next processing request", the process waits in the "instruction waiting state". after,
Upon receiving the notification of "execution completed" from the image area allocating means 2, the processing load calculating means 8-2 ends the processing. The processing load calculation unit 8-1, the processing load calculation unit 8-3, and the processing load calculation unit 8-4, which have been waiting in the “instruction waiting state”, also receive the notification of “execution completed”, and terminate the respective processes.

【0086】このように、今回の図9の画像の例で、実
施の形態1の装置では、177Tだけの時間で処理を完
了できる(約3.4倍高速化できている)。
As described above, in the example of the image of FIG. 9 this time, in the apparatus of the first embodiment, the processing can be completed in only 177T (the speed can be increased by about 3.4 times).

【0087】以上のように、この実施の形態1によれ
ば、負荷の基準となる散乱点の個数を基準に各プロセッ
サに割り当てた処理負荷を監視し、あるプロセッサでの
処理が制限量を超えた場合には、制限量を超えたプロセ
ッサに割り当てた処理領域を再度割り当てることで、入
力画像によって処理負荷が変化する画像処理用のアルゴ
リズムを効率良く実行できる並列画像処理装置を得られ
る効果がある。また、処理領域の再度割当の要求に応じ
て、割り当てる領域の大きさを調整することで、各プロ
セッサへの処理領域の割り当てをより均等にすることが
でき、画像処理用のアルゴリズムを効率良く実行できる
画像処理装置を得られる効果がある。これにより、Gu
ided−Selfスケジューリング等、単純な動的領
域分割では十分な負荷分散を行えなかったケースでも、
画像処理用のアルゴリズムをより効率良く実行できる利
点がある。各プロセッサでは、各行での処理負荷を判断
するための計算を先に行い、制限量を超える場合には、
画像領域の再度割当要求を行った後で、自分が担当する
ことになった領域での本体部分(ここでは推定散乱点数
に基づく超解象処理)を実行する。これにより、他のプ
ロセッサへの再度割当を効率良く行うことができる利点
がある。
As described above, according to the first embodiment, the processing load assigned to each processor is monitored on the basis of the number of scattering points serving as the load reference, and the processing by a certain processor exceeds the limit amount. In this case, by reallocating the processing area allocated to the processor that exceeds the limit amount, it is possible to obtain the parallel image processing apparatus capable of efficiently executing the algorithm for image processing in which the processing load changes depending on the input image. . Also, by adjusting the size of the area to be allocated according to the request for reallocation of the processing area, the allocation of the processing area to each processor can be made more uniform, and the algorithm for image processing can be executed efficiently. There is an effect that an image processing device capable of being obtained can be obtained. This allows Gu
Even in the case where sufficient load distribution cannot be performed by simple dynamic area division such as ided-Self scheduling,
There is an advantage that the algorithm for image processing can be executed more efficiently. In each processor, the calculation to judge the processing load in each row is performed first, and if the limit is exceeded,
After requesting the allocation of the image area again, the main part (here, super-resolution processing based on the estimated number of scattered points) in the area that the user is in charge of is executed. As a result, there is an advantage that reallocation to another processor can be performed efficiently.

【0088】上記実施の形態1では、MUSICを用い
たSAR画像の超解像処理の例で説明を行ったが、この
画像処理以外でも、次の条件を満たす画像処理であれ
ば、上記実施の形態1と同様の効果を奏することができ
る。入力画像によって処理負荷が変化する画像処理用の
アルゴリズムであり、単位領域毎に処理負荷を判断する
ための要素を算出する部分(前半負荷算出部)と、前半
負荷算出部の結果に基づいて計算を行う部分(後半処理
実行部)に分けることができること。さらに、単位領域
の計算では、前半負荷算出部は一定の処理時間内で処理
負荷を判断するための要素を算出でき、後半処理実行部
は算出した要素に比例した時間で処理を完了できるこ
と。
In the above-described first embodiment, the example of the super-resolution processing of the SAR image using MUSIC has been described. However, other than this image processing, as long as the image processing satisfies the following condition, The same effect as that of the first embodiment can be obtained. An algorithm for image processing in which the processing load changes depending on the input image, and is calculated based on the result of the first half load calculation unit and the part that calculates the element for determining the processing load for each unit area (first half load calculation unit) It can be divided into the part that performs (second half process execution part). Further, in the calculation of the unit area, the first half load calculation unit can calculate an element for determining the processing load within a certain processing time, and the second half process execution unit can complete the processing in a time proportional to the calculated element.

【0089】上記実施の形態1では、並列画像処理装置
1の実装法として、並列化支援ライブラリとして独立し
て提供する方法で説明したが、プラットホームであるO
Sや並列化ライブラリへ組み込む方法、画像処理プログ
ラム中へ組み込む方法等で実装しても上記実施の形態1
と同様の効果を奏することができる。プラットホーム1
0のH/W構成として、共有メモリ型のSMPの例で説
明したが、この実施の形態1は、特定の計算機構成に依
存するものでなく、任意の並列計算機(H/W構成)に
おいて、上記実施の形態1と同様の効果を奏することが
できる。また、共有メモリ型のSMPであっても、プロ
セッサ間で共通の部分として実現される手段を、各プロ
セッサに分割して動作するようにしても実現可能であ
り、上記実施の形態1と同様の効果を奏することができ
る。
In the first embodiment, the parallel image processing apparatus 1 is mounted independently as the parallelization support library as the mounting method, but it is a platform O.
Even if it is implemented by a method of incorporating into S or a parallelized library, a method of incorporating into an image processing program, etc.
The same effect as can be obtained. Platform 1
Although the shared memory type SMP has been described as an example of the H / W configuration of 0, the first embodiment does not depend on a specific computer configuration, and in an arbitrary parallel computer (H / W configuration), The same effect as that of the first embodiment can be obtained. Further, even in the shared memory type SMP, it can be realized by dividing the means realized as a common part among the processors into the respective processors and operating the same, as in the first embodiment. It is possible to exert an effect.

【0090】上記実施の形態1では、「次処理領域」の
サイズの算出法として、“(「残処理領域数」+「使用
プロセッサ数」−1)/「使用プロセッサ数」”を用い
た例で説明したが、これ以外の算出方法であっても、再
割当要求が行われ、途中で処理を行う画像領域が増える
毎に対応できる算出方法であれば、任意の算出法を採用
することができ、上記実施の形態1と同様の効果を奏す
ることができる。また、「次処理領域」の選択方法とし
て、画像領域の先頭から順次選択する方法で説明した
が、未処理の領域を残すことなく割り当てられる方法で
あれば、任意の領域選択方法を採用することができ、上
記実施の形態1と同様の効果を奏することができる。こ
れは、実行管理テーブルでの全ての処理単位での管理フ
ラグについても同様であり、未処理の領域を残すことな
く割り当てられる方法であれば、任意の管理法を採用す
ることができ、上記実施の形態1と同様の効果を奏する
ことができる。
In the first embodiment, an example in which "(" remaining processing area number "+" used processor number "-1) /" used processor number "" is used as a method of calculating the size of the "next processing area" However, any calculation method other than this may be adopted as long as the calculation method can cope with a reallocation request and an increase in the number of image areas to be processed in the middle. Therefore, it is possible to achieve the same effect as in Embodiment 1. Further, as the method of selecting the “next processing area”, the method of sequentially selecting from the beginning of the image area has been described, but the unprocessed area remains. Any area selection method can be adopted as long as it is a method that can be allocated without any effect, and the same effect as that of the first embodiment can be obtained. This is the same for the management flags in all processing units in the execution management table, and any management method can be adopted as long as it is a method that can be allocated without leaving an unprocessed area. The same effect as that of the first embodiment can be obtained.

【0091】上記実施の形態1では、残処理領域数とプ
ロセッサの実行状況フラグにより、終了判定法および、
先に処理が一旦終了したプロセッサの再実行をコントロ
ールしていた。これらは説明のための1例であり、全て
の処理が終了した判定と、先に処理が一旦終了したプロ
セッサが再度処理領域を割り当てられて実行が可能な仕
組であれば、任意の方法を採用することができ、上記実
施の形態1と同様の効果を奏することができる。例え
ば、画像領域割当手段2では、処理負荷計算手段8から
「次処理領域」を受け取った時に、そのプロセッサへ直
前に渡した「次処理領域」に対応する実行管理テーブル
の管理フラグを「済」にする。また、「再割当要求」受
け取った時に、そのプロセッサへ直前に渡した「次処理
領域」の内再割当されなかった範囲は「済」にする。さ
らに、残処理領域が0で次処理要求を受け取った時に、
全ての管理フラグが「済」ならば終了を、1個でも管理
フラグが「済」でないならば、空(大きさ0)の「次処
理領域」を、処理負荷計算手段8に渡す。処理負荷計算
手段8では、空の「次処理領域」を受け取った場合に
は、一定時間待って再度「次処理領域」を出す。終了を
指示された場合に、各プロセッサでの処理を終了する。
このような実装法でも上記実施の形態1と同様の効果を
奏することができる。
In the above-described first embodiment, the end determination method and
It controlled the re-execution of the processor whose processing was once completed. These are only examples for explanation, and any method can be adopted as long as it is determined that all the processing is completed and the processor that has once completed the processing is allocated a processing area again and can be executed. Therefore, the same effect as that of the first embodiment can be obtained. For example, in the image area allocating means 2, when the “next processing area” is received from the processing load calculating means 8, the management flag of the execution management table corresponding to the “next processing area” passed immediately to the processor is set to “complete”. To In addition, when the "reallocation request" is received, the range of the "next processing area" that was immediately passed to the processor that has not been reallocated is set to "completed". Furthermore, when the remaining processing area is 0 and the next processing request is received,
If all the management flags are “complete”, the end is passed, and if even one management flag is not “complete”, an empty (size 0) “next processing area” is passed to the processing load calculating means 8. When the processing load calculation means 8 receives an empty "next processing area", it waits for a certain period of time and outputs the "next processing area" again. When the termination is instructed, the processing in each processor is terminated.
Even with such a mounting method, the same effect as that of the first embodiment can be obtained.

【0092】上記実施の形態1では、処理負荷計算手段
8において、まず、割り当てられた「次処理領域」全て
の推定散乱点を計算した後で「境界行」を求める例で説
明した。これは、各行毎に、推定散乱点の計算とその行
までの累計推定散乱点数を求める計算を行い、求めた累
計推定散乱点数と処理制限量を比較して、「境界行」を
決定する方法で実現しても、上記実施の形態1と同様の
効果を奏することができる。この場合には、累計推定散
乱点数が処理制限量を超えて再割当要求を行う範囲の推
定散乱点を計算しなくても良い。また、「境界行」の判
定を、処理制限量を超えた行とする例で説明したが、こ
れを処理制限量を超える前の行としても、上記実施の形
態1と同様の効果を奏することができる。この場合に
は、割り当てられた「次処理領域」の先頭から一定の範
囲(例えば、先頭の1行だけ)は、必ず実行するような
制約を課すことや、処理制限量に設定する値を調整する
と良い。
In the above-described first embodiment, the processing load calculation means 8 first calculates the estimated scattering points of all the assigned "next processing areas" and then calculates the "boundary line". This is a method of determining the "boundary line" by calculating the estimated scattered points for each row and calculating the cumulative estimated scattered points up to that row, and comparing the obtained cumulative estimated scattered points with the processing limit amount. Even if it is realized by, it is possible to obtain the same effect as that of the first embodiment. In this case, it is not necessary to calculate the estimated scattered points in the range where the cumulative estimated scattered points exceed the processing limit amount and the reallocation request is made. In addition, although the determination of the “boundary line” is described as an example in which the line exceeds the processing limit amount, the same effect as that of the first embodiment can be obtained even when the line before the processing limit amount is exceeded. You can In this case, a certain range (for example, only the first line) from the beginning of the allocated "next processing area" is subject to restrictions such that it is always executed, or the value set for the processing limit amount is adjusted. Good to do.

【0093】上記実施の形態1では、図9の画像と図1
0の計算機構成で説明したが、これらは説明のための1
例であり、任意の画像データ、および任意の構成(任意
のプロセッサ数等)においても、上記実施の形態1と同
様の効果を奏することができる。
In the first embodiment, the image of FIG. 9 and the image of FIG.
Although the computer configuration of 0 has been described, these are 1 for explanation.
This is an example, and the same effect as that of the first embodiment can be obtained with any image data and any configuration (any number of processors, etc.).

【0094】実施の形態2.図11はこの発明の実施の
形態2による並列画像処理装置を示す構成図であり、図
において、14は図1における領域分割法設定手段6の
機能を拡張した負荷計算型領域分割法設定手段である。
その他の構成は、図1と同一である。
Embodiment 2. FIG. 11 is a block diagram showing a parallel image processing apparatus according to the second embodiment of the present invention. In the figure, 14 is a load calculation type area division method setting means which extends the function of the area division method setting means 6 in FIG. is there.
Other configurations are the same as those in FIG.

【0095】次に動作について説明する。この実施の形
態2では、負荷計算型領域分割法設定手段14が、領域
分割法設定手段6に代わって、単位領域当たりの最大処
理量設定手段3の単位領域当たりの最大処理負荷量を参
照して、画像領域の分割法を決定することが実施の形態
1と異なる。単位領域当たりの最大処理量設定手段3が
指定した画像領域の分割法を基準に、「次処理領域」が
決定されること以外(他の手段の動作手順等)は、実施
の形態1と同じである。
Next, the operation will be described. In the second embodiment, the load calculation type area division method setting unit 14 refers to the maximum processing load amount per unit area of the maximum processing amount setting unit 3 instead of the area division method setting unit 6. The method of dividing the image area is different from that of the first embodiment. Same as the first embodiment except that the “next processing area” is determined based on the division method of the image area designated by the maximum processing amount setting unit 3 per unit area (operation procedure of other means). Is.

【0096】実施の形態1では、Guided−Sel
fスケジューリングを参考に、“(「残処理領域数」+
「使用プロセッサ数」−1)/「使用プロセッサ数」”
で「次処理領域」のサイズを決定する方法を選択してい
た。ここでは、単位領域での最大処理負荷量がどの程度
かは、考慮していない。この実施の形態2では、単位領
域当たりの最大処理量設定手段3で指定された最大処理
負荷量を参照して、負荷計算型領域分割法設定手段14
が「次処理領域」サイズの算出する方法を決定する。負
荷計算型領域分割法設定手段14では、1行当たりで、
最大算出可能な推定散乱点数を基準に、任意の「次処理
領域」サイズの算出方法が指定可能である。ここでは、
算出式の選択条件や、算出式そのものに、最大処理量を
利用することが可能である。例えば、単位領域での最大
処理量として、1行当たりの最大で算出可能な推定散乱
点数が数個程度(例えば2,3個)の場合を考える。こ
の場合には、各行での算出された推定散乱点数の違いに
よる処理負荷の差は、比較的小さいと推測できる。この
時には、例えば単純なスケジューリングを参考に、
“(「残処理領域数」+「使用プロセッサ数」−1)/
「使用プロセッサ数」”で「次処理領域」のサイズを決
定する方法を選択する。一方で、例えば、単位領域での
最大処理負荷量として、1行当たりの最大で算出可能な
推定散乱点数が数百個程度(例えば2,3百個)の場合
を考える。この場合には、各行での、算出された推定散
乱点数の違いによる処理負荷の差は、比較的大きいと推
測できる。この時には、致命的な処理負荷の発生がある
か否かをなるべく早めに検出したい。また、再割当によ
る処理負荷の均衡を計るために、ある程度以上の大きさ
の行を、各プロセッサに割り当てることが大切になる。
このため、例えば次のような方法で、「次処理領域」の
サイズを決定する。まず、“(「残処理領域数」+「使
用プロセッサ数」−1)/「使用プロセッサ数」”で
「暫定処理数」を決定する。「暫定処理数」が5行より
大きい時には、「次処理領域」のサイズを“「暫定処理
数」の値”にする。ここで、「暫定処理数」が5行以下
で「残処理領域数」が10行より大きい時には、「次処
理領域」のサイズを“5行”にする。「暫定処理数」が
5行以下で「残処理領域数」が5行より大きく10行以
下の時には、「次処理領域」のサイズを“「残処理領域
数」/2”にする。「暫定処理数」が5行以下で「残処
理領域数」が5行以下の時には、「次処理領域」のサイ
ズを“「残処理領域数」の値”にする。
In the first embodiment, the Guided-Sel is used.
f Refer to the scheduling, “(“ Number of remaining processing areas ”+
"Number of used processors" -1) / "Number of used processors""
Has selected the method for determining the size of the "next processing area". Here, how much the maximum processing load in the unit area is is not considered. In the second embodiment, the load calculation type area division method setting unit 14 is referred to with reference to the maximum processing load amount specified by the maximum processing amount setting unit 3 per unit area.
Determines the method of calculating the "next processing area" size. In the load calculation type area division method setting means 14, per line,
An arbitrary "next processing area" size calculation method can be designated based on the maximum calculable estimated scattering points. here,
The maximum processing amount can be used for the selection condition of the calculation formula and the calculation formula itself. For example, consider a case where the maximum number of estimated scattering points per line that can be calculated is about several (for example, a few) as the maximum amount of processing in a unit area. In this case, it can be inferred that the difference in processing load due to the difference in the calculated estimated scattering points in each row is relatively small. At this time, for example, referring to simple scheduling,
"(" Number of remaining processing areas "+" Number of used processors "-1) /
Select the method to determine the size of the "next processing area" in "Number of processors used". On the other hand, let us consider, for example, a case where the maximum number of estimated scattering points per line that can be calculated is several hundreds (for example, a few hundreds) as the maximum processing load amount in a unit area. In this case, it can be inferred that the difference in processing load due to the difference in the calculated estimated scattering points in each row is relatively large. At this time, it is desired to detect as early as possible whether a fatal processing load has occurred. Also, in order to balance the processing load due to reallocation, it is important to allocate rows of a certain size or more to each processor.
Therefore, the size of the "next processing area" is determined by the following method, for example. First, the “temporary processing number” is determined by “(“ remaining processing area number ”+“ used processor number ”−1) /“ used processor number ””. When the "temporary processing number" is larger than 5 lines, the size of the "next processing area" is set to "the value of the" temporary processing number "" where the "temporary processing number" is 5 lines or less and the "remaining processing area number" Is larger than 10 lines, the size of the “next processing area” is set to “5 lines”. When the “temporary processing number” is 5 lines or less and the “remaining processing region number” is more than 5 lines and 10 lines or less, the size of the “next processing region” is set to “the number of remaining processing regions” / 2. When the "number of processes" is 5 lines or less and the "number of remaining processing regions" is 5 lines or less, the size of the "next processing region" is set to "the value of the" number of remaining processing regions "".

【0097】以上のように、この実施の形態2によれ
ば、単位領域での最大処理負荷量を基準に、各プロセッ
サに割り当てる処理領域の大きさを算出する方法を決定
することができる。ここでは、各プロセッサへ割り当る
サイズを決定する時に、単位領域での最大処理負荷量を
基準に、算出式の選択条件を選択できる利点がある。ま
た、算出式そのものに、単位領域での最大処理負荷量を
利用できる利点がある。これにより、単位領域での最大
処理負荷量に応じて、適切な大きさの処理領域を各プロ
セッサへ割り当てることが可能な、並列画像処理装置を
得られる効果がある。
As described above, according to the second embodiment, the method of calculating the size of the processing area to be assigned to each processor can be determined based on the maximum processing load amount in the unit area. Here, there is an advantage that the selection condition of the calculation formula can be selected on the basis of the maximum processing load amount in the unit area when the size assigned to each processor is determined. Further, the calculation formula itself has an advantage that the maximum processing load amount in the unit area can be used. As a result, there is an effect that it is possible to obtain a parallel image processing device capable of allocating a processing region of an appropriate size to each processor according to the maximum processing load amount in the unit region.

【0098】上記実施の形態2では、単純なスケジュー
リングをベースに「暫定処理数」等を利用する算出法で
説明を行ったが、これ以外の算出方法であっても、単位
領域での最大処理負荷量を考慮した任意の算出法を採用
することができ、上記実施の形態2と同様の効果を奏す
ることができる。算出法選択の判断基準として「暫定処
理数」が5行以上等で説明を行ったが、これ以外の判断
基準であっても、単位領域での最大処理負荷量を考慮し
た任意の判断基準を採用することができ、上記実施の形
態2と同様の効果を奏することができる。また、5行や
10行等の値も、任意の値を設定することが可能であ
り、上記実施の形態2と同様の効果を奏することができ
る。
In the second embodiment described above, the calculation method using the "temporary processing number" and the like is described based on the simple scheduling. However, even with the calculation method other than this, the maximum processing in the unit area is performed. An arbitrary calculation method considering the load amount can be adopted, and the same effect as that of the second embodiment can be obtained. Although the "provisional number of processes" is 5 lines or more as the criterion for selecting the calculation method, any criterion other than this may be used as an arbitrary criterion considering the maximum processing load amount in the unit area. This can be adopted, and the same effect as that of the second embodiment can be obtained. Further, the values of the 5th row, the 10th row, and the like can be set to arbitrary values, and the same effect as that of the second embodiment can be obtained.

【0099】実施の形態3.図12はこの発明の実施の
形態3による並列画像処理装置を示す構成図であり、図
において、15は処理負荷実測手段、16は図1におけ
る領域分割法設定手段6の機能を拡張した実測対応型領
域分割法設定手段、17は図1における処理制限量計算
手段7の機能を拡張した実測対応型処理制限量計算手段
である。その他の構成は、図1と同一である。
Embodiment 3. FIG. 12 is a block diagram showing a parallel image processing apparatus according to Embodiment 3 of the present invention. In the figure, 15 is a processing load measuring means, and 16 is an actual measurement correspondence in which the function of the area division method setting means 6 in FIG. 1 is expanded. The pattern area division method setting means 17 is an actually-measured processing restriction amount calculation means in which the function of the processing restriction amount calculation means 7 in FIG. Other configurations are the same as those in FIG.

【0100】次に動作について説明する。この実施の形
態3では、処理負荷実測手段15が単位領域当たりの計
算に掛かる処理負荷が最大の場合の実行時間と、最小の
場合の実行時間とを実測することと、領域分割法設定手
段6に代わって、実測対応型領域分割法設定手段16が
処理負荷実測手段15の実測時間を参照して、画像領域
の分割法を決定することと、処理制限量計算手段7に代
わって、実測対応型処理制限量計算手段17が処理負荷
実測手段15の実測時間を参照して、処理制限量を算出
することが実施の形態1と異なる。
Next, the operation will be described. In the third embodiment, the processing load measuring means 15 measures the execution time when the processing load required for the calculation per unit area is the maximum and the execution time when the processing load is the minimum, and the area division method setting means 6 is used. Instead of, the actual measurement correspondence area division method setting means 16 refers to the actual measurement time of the processing load actual measurement means 15 to determine the image area division method, and instead of the processing limit amount calculation means 7, actual measurement correspondence It differs from the first embodiment in that the mold processing restriction amount calculating means 17 calculates the processing restriction amount with reference to the measured time of the processing load measuring means 15.

【0101】この実施の形態3では、処理負荷実測手段
15が、単位領域当たりの最大処理量設定手段3で指定
された最大処理負荷量(この例では、推定散乱点数の最
大値)を基準に、単位領域(1行)当たりの計算に掛か
る、最大の実行時間(推定散乱点数が最大の時の実行時
間)と、最小の実行時間(推定散乱点数が0の時の実行
時間)を実測して記録している。
In the third embodiment, the processing load measuring means 15 uses the maximum processing load amount (in this example, the maximum value of the estimated scattering points) designated by the maximum processing amount setting means 3 per unit area as a reference. , The maximum execution time (execution time when the estimated scatter score is maximum) and the minimum execution time (execution time when the estimated scatter score is 0) required for calculation per unit area (1 line) are measured. Is recorded.

【0102】実施の形態1では、Guided−Sel
fスケジューリングを参考に、“(「残処理領域数」+
「使用プロセッサ数」−1)/「使用プロセッサ数」”
で「次処理領域」のサイズを決定する方法を選択してい
た。また、実施の形態2では、単位領域当たりの最大処
理量設定手段3で指定された最大処理負荷量を参照し
て、負荷計算型領域分割法設定手段14が「次処理領
域」サイズの算出する方法を決定していた。この実施の
形態3では、実測対応型領域分割法設定手段16が、処
理負荷実測手段15が記録している実行時間を参考に
「次処理領域」サイズを算出する。実測対応型領域分割
法設定手段16では、単位領域(1行)当たりで変化す
る最大と最小の実行時間を基準に、任意の「次処理領
域」サイズの算出方法が指定可能である。ここでは、算
出式の選択条件や、算出式を、最大と最小の実行時間を
基準に決定することが可能である。
In the first embodiment, the Guided-Sel is used.
f Refer to the scheduling, “(“ Number of remaining processing areas ”+
"Number of used processors" -1) / "Number of used processors""
Has selected the method for determining the size of the "next processing area". Further, in the second embodiment, the load calculation type area division method setting means 14 calculates the “next processing area” size with reference to the maximum processing load amount specified by the maximum processing amount setting means 3 per unit area. I had decided on a method. In the third embodiment, the actual measurement correspondence area division method setting unit 16 calculates the “next processing area” size with reference to the execution time recorded by the processing load actual measurement unit 15. The measurement-corresponding area division method setting means 16 can specify an arbitrary “next processing area” size calculation method based on the maximum and minimum execution times that change per unit area (one row). Here, the selection condition of the calculation formula and the calculation formula can be determined based on the maximum and minimum execution times.

【0103】この実施の形態3では、実測対応型処理制
限量計算手段17が、処理負荷実測手段15が記録して
いる実行時間を参考に、処理制限量を算出する。実施の
形態1と実施の形態2の処理制限量計算手段7では、
“「次処理領域のサイズ」*4−1”で処理制限量を算
出していた。ここでは、与えられた処理領域の大きさ
と、単位領域当たりの最大処理量設定手段3で指定され
た最大処理量から、適当な式が指定されていることを仮
定していた。一方で、この実施の形態3では、処理負荷
実測手段15が記録している実行時間を参考に、1行当
たりの最大と最小の実行時間を基準に、任意の処理制限
量の算出式を指定することが可能である。
In the third embodiment, the actually-measured processing limitation amount calculation means 17 calculates the processing limitation amount with reference to the execution time recorded by the processing load measurement means 15. In the processing limit amount calculation means 7 of the first and second embodiments,
The processing limit amount was calculated by "the size of the next processing area" * 4-1. Here, the size of the given processing area and the maximum value specified by the maximum processing amount setting means 3 per unit area are calculated. It has been assumed that an appropriate expression is specified from the processing amount.On the other hand, in the third embodiment, the maximum per line is set with reference to the execution time recorded by the processing load measuring unit 15. It is possible to specify an arbitrary formula for calculating the processing limit amount based on the minimum execution time.

【0104】なお、他の手段の動作手順等は、実施の形
態1または実施の形態2と同じである。
The operation procedure of the other means is the same as that of the first or second embodiment.

【0105】以上のように、この実施の形態3によれ
ば、単位領域での最大と最小の計算時間を実測し、その
実測値を基準に、各プロセッサに割り当てる処理領域の
大きさを算出する方法を決定することができる。ここで
は、各プロセッサへ割り当てるサイズを決定する時に、
単位領域での最大と最小の計算時間を基準に、算出式の
選択条件や算出式そのものを決定できる利点がある。こ
れにより、実測した単位領域での最大と最小の計算時間
を基準に、適切な大きさの処理領域を各プロセッサへ割
り当てることが可能な、並列画像処理装置を得られる効
果がある。また、本装置では、「処理制限量」を求める
算出式を、単位領域での最大と最小の計算時間を実測結
果を基に決定することができる。これにより、単位領域
での最大と最小の計算時間を基準に、各プロセッサに割
り当てた「次処理領域」に対応する「処理制限量」を計
算することが可能な、並列画像処理装置を得られる効果
がある。
As described above, according to the third embodiment, the maximum and minimum calculation times in the unit area are measured, and the size of the processing area assigned to each processor is calculated based on the measured value. The method can be determined. Here, when deciding the size to allocate to each processor,
There is an advantage that the selection condition of the calculation formula and the calculation formula itself can be determined based on the maximum and minimum calculation times in the unit area. As a result, there is an effect that it is possible to obtain a parallel image processing apparatus capable of allocating a processing region of an appropriate size to each processor based on the maximum and minimum calculation times in the actually measured unit region. Further, in the present device, the calculation formula for obtaining the “processing restriction amount” can be determined based on the actual measurement result of the maximum and minimum calculation times in the unit area. Thus, it is possible to obtain a parallel image processing device capable of calculating the “processing limit amount” corresponding to the “next processing region” assigned to each processor on the basis of the maximum and minimum calculation times in the unit region. effective.

【0106】実施の形態4.図13はこの発明の実施の
形態4による並列画像処理装置を示す構成図であり、図
において、18は処理ブロック設定手段、19は図1に
おける処理負荷計算手段8の機能を拡張した処理ブロッ
ク対応型処理負荷計算手段、20は図1における画像処
理実行手段9の機能を拡張した処理ブロック対応型画像
処理実行手段である。その他の構成は、図1と同一であ
る。
Fourth Embodiment 13 is a block diagram showing a parallel image processing apparatus according to Embodiment 4 of the present invention. In the figure, 18 is a processing block setting means, and 19 is a processing block corresponding to an extended function of the processing load calculating means 8 in FIG. A type processing load calculating means, 20 is a processing block corresponding type image processing executing means which is obtained by expanding the function of the image processing executing means 9 in FIG. Other configurations are the same as those in FIG.

【0107】次に動作について説明する。この実施の形
態4では、処理ブロック対応型処理負荷計算手段19と
処理ブロック対応型画像処理実行手段20が、処理ブロ
ック設定手段18で指定された領域の処理を優先して行
うことが実施の形態1と異なる。他の手段の動作手順等
は、実施の形態1と同じである。
Next, the operation will be described. In the fourth embodiment, the processing block corresponding processing load calculating means 19 and the processing block corresponding image processing executing means 20 preferentially perform the processing of the area designated by the processing block setting means 18. Different from 1. The operation procedure of other means is the same as that of the first embodiment.

【0108】処理ブロック対応型処理負荷計算手段19
では、任意の大きさと形状の画像処理領域を「ブロッ
ク」として指定することができる。また、この「ブロッ
ク」単位で優先する計算を指定することができる。処理
ブロック対応型処理負荷計算手段19と処理ブロック対
応型画像処理実行手段20は、処理ブロック設定手段1
8で指定された「ブロック」の範囲内では、同じく処理
ブロック設定手段18で指定された計算を優先して実行
する。
Processing block corresponding processing load calculating means 19
In, an image processing area of arbitrary size and shape can be designated as a “block”. In addition, priority calculation can be specified in units of this “block”. The processing block corresponding processing load calculating means 19 and the processing block corresponding image processing executing means 20 are processing block setting means 1
Within the range of the “block” designated by 8, the calculation designated by the processing block setting means 18 is preferentially executed.

【0109】まず、「ブロック」が単位領域(行)より
大きい例について説明する。例えば、「ブロック」とし
て「次処理領域」の先頭から2行、優先する計算とし
て、“固有値を基に散乱点数を推定する処理を行う部分
と、推定した散乱点数を基準にSAR画像の解像度向上
処理を実施する部分との連続した計算”が指定されたケ
ースを示す。ここでは、「次処理領域」の大きさが2行
以上の場合で、かつ、ここまでの処理量が画像領域割当
手段2から通知された「制限処理量」を超えない場合に
は、処理ブロック対応型処理負荷計算手段19は、ま
ず、先頭の2行分について、処理ブロック対応型画像処
理実行手段20に計算の実行を指示する。その後で、処
理ブロック対応型処理負荷計算手段19は、「境界行」
の検出から、再割当要求(「制限処理量」を超えた場
合)や、先頭から3行目以後を対象に「超解像実行領
域」の算出を行い、「超解像実行領域」の計算実行を処
理ブロック対応型画像処理実行手段20に指示する。こ
の他、例えば、「ブロック」として「超解像実行領域」
の4行分の領域、優先する計算として、“推定した散乱
点数を基準にSAR画像の解像度向上処理を実施する部
分”が指定されたケースを示す。このケースで、処理ブ
ロック対応型処理負荷計算手段19は、「超解像実行領
域」の算出後に、「超解像実行領域」が4行より大きい
サイズだった場合に、「超解像実行領域」から4行づつ
選択して、計算実行の指示を処理ブロック対応型画像処
理実行手段20に行う。例えば、「超解像実行領域」が
12行あった場合には、4行づつ選択して、3回に分け
て計算を実行するように処理ブロック対応型画像処理実
行手段20に指示する。
First, an example in which a "block" is larger than a unit area (row) will be described. For example, two lines from the beginning of the "next processing area" as a "block", and as a priority calculation, "the part that performs the process of estimating the scatter point based on the eigenvalue, and the resolution improvement of the SAR image based on the estimated scatter point" The following shows the case in which "continuous calculation with the part for performing processing" is specified. Here, if the size of the “next processing area” is two lines or more, and if the processing amount up to this point does not exceed the “limit processing amount” notified from the image area allocation unit 2, the processing block The corresponding processing load calculating means 19 first instructs the processing block corresponding image processing executing means 20 to execute calculation for the first two lines. After that, the processing load corresponding to the processing block 19 is "boundary line".
Detection, the reallocation request (when the “limit processing amount” is exceeded) and the “super-resolution execution area” are calculated for the third and subsequent rows from the beginning, and the “super-resolution execution area” is calculated. The execution is instructed to the processing block corresponding image processing executing means 20. In addition, for example, as a “block”, a “super-resolution execution area”
In this case, the case where "the part for performing the resolution improvement processing of the SAR image on the basis of the estimated number of scattering points" is designated as the priority calculation for the area for four rows of. In this case, the processing load corresponding to the processing block 19 calculates the “super-resolution execution area”, and then calculates the “super-resolution execution area”. 4 lines are selected every four lines, and a calculation execution instruction is given to the processing block corresponding image processing execution means 20. For example, when there are 12 lines of "super-resolution execution regions", the processing block corresponding image processing execution means 20 is instructed to select every four lines and execute the calculation in three times.

【0110】次に、「ブロック」が単位領域(行)より
小さい例について説明する。例えば、「ブロック」とし
てキャッシュのラインサイズに納まる範囲(ここでは、
「8画素」と仮定する)、優先する計算として、“推定
した散乱点数を基準にSAR画像の解像度向上処理を実
施する部分”が指定されたケースを示す。このケース
で、処理ブロック対応型画像処理実行手段20は、「超
解像実行領域」で指定された各行に対する“推定した散
乱点数を基準にSAR画像の解像度向上処理を実施する
部分”の計算を行う場合に、「8画素」毎の計算を繰り
返す形式で実行する。
Next, an example in which the “block” is smaller than the unit area (row) will be described. For example, the range that can be stored in the cache line size as "block" (here,
"Assuming 8 pixels"), the case where "a portion for performing the resolution improvement processing of the SAR image based on the estimated number of scattering points" is designated as the priority calculation is shown. In this case, the image processing execution unit 20 corresponding to the processing block performs the calculation of “a portion for executing the resolution improvement processing of the SAR image based on the estimated number of scattering points” for each row designated in the “super-resolution execution area”. When performing, the calculation is repeated for each “8 pixels”.

【0111】以上のように、この実施の形態4によれ
ば、任意の大きさと形状の画像処理領域を「ブロック」
として指定し、「ブロック」単位で優先する計算を指定
することができる。この「ブロック」と優先する計算の
指定を適切に行うことで、実行効率の良い並列画像処理
装置を得られる効果がある。
As described above, according to the fourth embodiment, an image processing area having an arbitrary size and shape is “blocked”.
, And the calculation to be prioritized can be specified in “block” units. By appropriately designating this “block” and the calculation to be prioritized, it is possible to obtain a parallel image processing apparatus with high execution efficiency.

【0112】上記実施の形態4では、「ブロック」およ
び優先する計算について、先頭から2行や、“推定した
散乱点数を基準にSAR画像の解像度向上処理を実施す
る部分”を指定した例で説明したが、任意の大きさと形
状の「ブロック」に対して、任意の優先する計算の指定
を行うことができ、また、上記実施の形態4と同様の効
果を奏することができる。上記実施の形態4では、実施
の形態1への拡張で説明を行ったが、実施の形態2また
は実施の形態3の装置に対して、処理ブロック設定手段
18、処理ブロック対応型処理負荷計算手段19、処理
ブロック対応型画像処理実行手段20を加えて並列画像
処理装置を構成しても、上記実施の形態4と同様の効果
を奏する。
In the above-mentioned fourth embodiment, the “block” and the prioritized calculation are explained with an example in which two lines from the beginning and “a part for carrying out the resolution improving process of the SAR image based on the estimated number of scattering points” are designated. However, arbitrary priority calculation can be designated for a “block” having an arbitrary size and shape, and the same effect as that of the fourth embodiment can be obtained. In the above-described fourth embodiment, the description has been given as an extension to the first embodiment. However, the processing block setting means 18 and the processing block corresponding processing load calculating means in the apparatus of the second or third embodiment are added. 19. Even if the parallel image processing apparatus is configured by adding the image processing execution unit 20 corresponding to the processing block 19, the same effect as that of the fourth embodiment can be obtained.

【0113】実施の形態5.図14はこの発明の実施の
形態5による並列画像処理装置を示す構成図であり、図
において、21はキャッシュ情報設定手段、22は処理
ブロック計算手段である。その他の構成は、図13と同
一である。
Embodiment 5. FIG. 14 is a block diagram showing a parallel image processing apparatus according to Embodiment 5 of the present invention. In the figure, 21 is a cache information setting means and 22 is a processing block calculating means. Other configurations are the same as those in FIG.

【0114】次に動作について説明する。この実施の形
態5では、処理ブロック計算手段22が、キャッシュ情
報設定手段21のキャッシュ情報を利用して、「ブロッ
ク」の大きさと形状および「ブロック」単位で優先する
計算を決定することが実施の形態4と異なる。その他
は、実施の形態4と同じである。
Next, the operation will be described. In the fifth embodiment, the processing block calculation means 22 uses the cache information of the cache information setting means 21 to determine the size and shape of the “block” and the priority calculation in “block” units. Different from the form 4. Others are the same as those in the fourth embodiment.

【0115】例えば、実施の形態4では、「ブロック」
として「超解像実行領域」の4行分の領域と、優先する
計算として、“推定した散乱点数を基準にSAR画像の
解像度向上処理を実施する部分”が指定されていた。こ
の実施の形態5では、処理ブロック計算手段22がキャ
ッシュ情報設定手段21のキャッシュ情報(キャッシュ
ラインのサイズや制御法、キャッシュの総容量等)と、
処理画像情報設定手段5で設定された画像サイズと画素
のサイズの情報等から、キャッシュアクセスで有利とな
る領域(行数)を算出し、「ブロック」として定義す
る。キャッシュアクセスが有利となる範囲は、キャッシ
ュの構成と処理対象の画像サイズ(特に行のサイズ)の
組合せによって変わる。処理ブロック計算手段22で
は、処理対象の画像サイズ別に、キャッシュアクセスが
有利となる「ブロック」として算出することができる
(キャッシュの構成は、同じ計算機では固定のため、こ
こでは画像サイズが変わる例で説明)。
For example, in the fourth embodiment, "block"
The area for four lines of the “super-resolution execution area” and the portion for performing the resolution improvement processing of the SAR image on the basis of the estimated number of scattering points are designated as the priority calculation. In the fifth embodiment, the processing block calculation means 22 stores the cache information of the cache information setting means 21 (size of cache line, control method, total capacity of cache, etc.).
An area (the number of rows) that is advantageous in cache access is calculated from the image size and pixel size information set by the processed image information setting unit 5 and defined as a “block”. The range in which the cache access is advantageous depends on the combination of the cache configuration and the image size (particularly, the line size) to be processed. The processing block calculation unit 22 can calculate the “block” for which the cache access is advantageous for each image size of the processing target (since the cache configuration is fixed on the same computer, the image size is changed here. Explanation).

【0116】また、実施の形態4では、「ブロック」と
してキャッシュのラインサイズに納まる範囲(ここで
は、「8画素」と仮定する)、優先する計算として、
“推定した散乱点数を基準にSAR画像の解像度向上処
理を実施する部分”が指定されていた。この実施の形態
5では、このキャッシュのラインサイズに納まる範囲
を、キャッシュ情報設定手段21のキャッシュ情報と、
処理画像情報設定手段5で設定された画素のサイズの情
報から自動的に算出して、設定することが可能になる。
Further, in the fourth embodiment, the range which can be accommodated in the cache line size as “block” (here, “8 pixels” is assumed), and the priority calculation is as follows:
The "portion where the resolution improvement processing of the SAR image is performed based on the estimated number of scattering points" was designated. In the fifth embodiment, the range within the line size of the cache is set to the cache information of the cache information setting means 21,
It is possible to automatically calculate and set the pixel size information set by the processed image information setting means 5.

【0117】以上のように、この実施の形態5によれ
ば、「ブロック」の大きさと範囲を、キャッシュの情報
と処理対象画像の情報から設定できる。これにより、
「ブロック」の指定範囲をより適切に設定できる利点が
ある。
As described above, according to the fifth embodiment, the size and range of the "block" can be set from the cache information and the processing target image information. This allows
There is an advantage that the specified range of "block" can be set more appropriately.

【0118】実施の形態6.図15はこの発明の実施の
形態6による並列画像処理装置を示す構成図であり、図
において、23は動的処理ブロック計算手段である。そ
の他の構成は、図13と同一である。
Sixth Embodiment FIG. 15 is a block diagram showing a parallel image processing apparatus according to Embodiment 6 of the present invention, in which 23 is a dynamic processing block calculating means. Other configurations are the same as those in FIG.

【0119】次に動作について説明する。この実施の形
態6では、動的処理ブロック計算手段23が、処理ブロ
ック対応型処理負荷計算手段19に指定された処理対象
領域のサイズ情報から、処理ブロック設定手段18での
「ブロック」のサイズと形状および「ブロック」単位で
優先する計算を、動的に変化させて決定することが実施
の形態4と異なる。その他は、実施の形態4と同じであ
る。
Next, the operation will be described. In the sixth embodiment, the dynamic processing block calculating unit 23 determines the size of the “block” in the processing block setting unit 18 from the size information of the processing target area designated by the processing block corresponding processing load calculating unit 19. The fourth embodiment differs from the fourth embodiment in that the calculation that gives priority to the shape and the “block” unit is dynamically changed and determined. Others are the same as those in the fourth embodiment.

【0120】例えば、実施の形態4では、「ブロック」
として「超解像実行領域」の4行分の領域と、優先する
計算として、“推定した散乱点数を基準にSAR画像の
解像度向上処理を実施する部分”が指定されていた。こ
の時、処理ブロック対応型処理負荷計算手段19が指定
された領域のサイズに関わりなく、「ブロック」は4行
のままである。一方で、この実施の形態6では、「ブロ
ック」のサイズを、処理ブロック対応型処理負荷計算手
段19に指定されたサイズにより、変更することもでき
る。例えば、「超解像実行領域」が4の倍数の時には
「ブロック」サイズを4行分のまま、4で割って1余る
時には可能な範囲はサイズは4行分で最後に「ブロッ
ク」サイズを1行分に、4で割って2余る時には可能な
範囲はサイズは4行分で最後に「ブロック」サイズを2
行分に、4で割って3余る時には可能な範囲はサイズは
4行分で最後に「ブロック」サイズを2行分と1行分に
して実行することもできる。また、「ブロック」のサイ
ズを、画像領域割当手段2が保持する残処理領域の情報
から、「ブロック」のサイズを変更することもできる。
For example, in the fourth embodiment, "block"
The area for four lines of the “super-resolution execution area” and the portion for performing the resolution improvement processing of the SAR image on the basis of the estimated number of scattering points are designated as the priority calculation. At this time, the “block” remains four lines regardless of the size of the area designated by the processing block corresponding processing load calculation means 19. On the other hand, in the sixth embodiment, the size of the “block” can be changed according to the size designated by the processing block corresponding processing load calculating means 19. For example, when the “super-resolution execution region” is a multiple of 4, the “block” size remains 4 lines, and when it is divided by 4 and 1 is left, the possible range is 4 lines and the last “block” size is set. When dividing into 1 line by 4 and leaving 2 remainders, the possible range is 4 lines and the last "block" size is 2.
If a line is divided by 4 and there is a remainder of 3, then the possible range is 4 lines, and finally, the "block" size can be set to 2 lines and 1 line. Further, the size of the “block” can be changed from the information of the remaining processing area held by the image area allocating means 2.

【0121】以上のように、この実施の形態6によれ
ば、「ブロック」の大きさと範囲を、割り当てられた
「次処理領域」のサイズを基準に、動的に設定できる。
また、残処理領域の情報からも、「ブロック」の大きさ
と範囲を動的に設定できる。これにより、「ブロック」
の指定範囲をより適切に設定できる利点がある。
As described above, according to the sixth embodiment, the size and range of the “block” can be dynamically set based on the size of the assigned “next processing area”.
Further, the size and range of the “block” can be dynamically set also from the information of the remaining processing area. This allows you to "block"
There is an advantage that the specified range of can be set more appropriately.

【0122】実施の形態7.図16はこの発明の実施の
形態7による並列画像処理装置を示す構成図であり、図
において、24は図13における領域分割法設定手段6
の機能を拡張した処理ブロック対応型領域分割法設定手
段である。その他の構成は、図13と同一である。
Seventh Embodiment 16 is a block diagram showing a parallel image processing apparatus according to a seventh embodiment of the present invention. In the figure, 24 is the area division method setting means 6 in FIG.
It is a processing block corresponding type area division method setting means that extends the function of. Other configurations are the same as those in FIG.

【0123】次に動作について説明する。この実施の形
態7では、処理ブロック対応型領域分割法設定手段24
が、処理ブロック設定手段18で指定された「ブロッ
ク」のサイズと優先される処理を考慮して、領域の割当
方法を決定することが、実施の形態4と異なる。その他
は、実施の形態4と同じである。
Next, the operation will be described. In the seventh embodiment, processing block corresponding area division method setting means 24 is provided.
However, unlike the fourth embodiment, the area allocation method is determined in consideration of the size of the “block” designated by the processing block setting unit 18 and the priority processing. Others are the same as those in the fourth embodiment.

【0124】例えば、実施の形態4では、「ブロック」
として「次処理領域」の先頭から2行、優先する計算と
して、“固有値を基に散乱点数を推定する処理を行う部
分と、推定した散乱点数を基準にSAR画像の解像度向
上処理を実施する部分との連続した計算”が指定されて
いた。但し、実施の形態4では、処理ブロック対応型処
理負荷計算手段19へ割り当てられる処理領域のサイズ
は、この「ブロック」を考慮せずに決められていた。一
方で、この実施の形態7では、処理ブロック対応型領域
分割法設定手段24が、処理ブロック設定手段18で指
定された「ブロック」のサイズと優先される処理を考慮
して、領域の割当方法を決定することができる。このた
め、例えば、処理ブロック対応型処理負荷計算手段19
へ割り当てる処理領域を、可能な限り連続した2行分よ
り大きな領域として選択する、領域の割当方法を選択す
ることが可能になる。
For example, in the fourth embodiment, "block"
2 lines from the beginning of the “next processing region”, as a priority calculation, “a part that performs the process of estimating the number of scattering points based on the eigenvalue, and a part that performs the resolution improvement process of the SAR image based on the estimated number of scattering points. "Continuous calculation with" was specified. However, in the fourth embodiment, the size of the processing area assigned to the processing block corresponding processing load calculating means 19 is determined without considering this “block”. On the other hand, in the seventh embodiment, the processing block corresponding area division method setting means 24 considers the size of the “block” designated by the processing block setting means 18 and the priority processing, and allocates the area. Can be determined. Therefore, for example, processing block corresponding processing load calculating means 19
It becomes possible to select an area allocation method in which the processing area to be allocated to is selected as an area larger than two consecutive rows as much as possible.

【0125】以上のように、この実施の形態7によれ
ば、指定された「ブロック」の大きさと範囲および優先
する計算を基準に、各プロセッサへ割り当てる処理領域
の決定方法を指定することが可能であり、これにより、
「ブロック」で指定された範囲の計算を、より適切に実
行できる並列画像処理装置を得られる効果がある。
As described above, according to the seventh embodiment, it is possible to specify the method of determining the processing area to be assigned to each processor based on the size and range of the specified "block" and the priority calculation. And this gives
There is an effect that it is possible to obtain a parallel image processing device that can more appropriately execute the calculation of the range specified by the “block”.

【0126】実施の形態8.図17はこの発明の実施の
形態8による並列画像処理装置を示す構成図であり、図
において、25は図13における処理制限量計算手段7
の機能を拡張した処理ブロック対応型処理制限量計算手
段である。その他の構成は、図13と同一である。
Eighth Embodiment FIG. 17 is a block diagram showing a parallel image processing apparatus according to Embodiment 8 of the present invention. In FIG.
It is a processing block corresponding processing limit amount calculating means that extends the function of. Other configurations are the same as those in FIG.

【0127】次に動作について説明する。この実施の形
態8では、処理ブロック対応型処理制限量計算手段25
が、処理ブロック設定手段18で指定された「ブロッ
ク」のサイズと優先される処理を考慮して、割当領域に
対する最大処理負荷量を計算することが、実施の形態4
と異なる。その他は、実施の形態4と同じである。
Next, the operation will be described. In the eighth embodiment, processing block corresponding processing limit amount calculating means 25
However, in consideration of the size of the “block” designated by the processing block setting unit 18 and the process to be prioritized, the maximum processing load amount for the allocation area can be calculated according to the fourth embodiment.
Different from Others are the same as those in the fourth embodiment.

【0128】例えば、実施の形態4では、「ブロック」
として「次処理領域」の先頭から2行、優先する計算と
して、“固有値を基に散乱点数を推定する処理を行う部
分と、推定した散乱点数を基準にSAR画像の解像度向
上処理を実施する部分との連続した計算”が指定されて
いた。但し、実施の形態4では、処理ブロック対応型処
理負荷計算手段19へ通知される処理制限量は、この
「ブロック」を考慮せずに決められていた。一方で、こ
の実施の形態8では、処理ブロック対応型処理制限量計
算手段25が処理ブロック設定手段18で指定された
「ブロック」のサイズと優先される処理を考慮して、割
当領域に対する最大処理負荷量を計算することができ
る。このため、ある「次処理領域」への処理制限量を決
める時に、最初2行までの処理制限量と、3行目以後に
対する処理制限量を異なる値とし、最初の2行での連続
実行をより優先して行えるようなことも可能になる。
For example, in the fourth embodiment, "block"
2 lines from the beginning of the “next processing region”, as a priority calculation, “a part that performs the process of estimating the number of scattering points based on the eigenvalue, and a part that performs the resolution improvement process of the SAR image based on the estimated number of scattering points. "Continuous calculation with" was specified. However, in the fourth embodiment, the processing limit amount notified to the processing block corresponding processing load calculation means 19 is determined without considering this “block”. On the other hand, in the eighth embodiment, the processing block corresponding processing limit amount calculating means 25 takes into consideration the size of the “block” designated by the processing block setting means 18 and the priority processing, and the maximum processing for the allocation area. The load can be calculated. For this reason, when determining the processing limit amount for a certain "next processing area", the processing limit amount for the first two lines and the processing limit amount for the third and subsequent lines are set to different values, and continuous execution in the first two lines is performed. It is possible to do something that can be prioritized.

【0129】以上のように、この実施の形態8によれ
ば、指定された「ブロック」の大きさと範囲および優先
する計算を基準に、各プロセッサへ割り当てる処理領域
に対する処理制限量を任意に指定することが可能であ
り、これにより、「ブロック」で指定された範囲の計算
を、より適切に実行できる並列画像処理装置を得られる
効果がある。
As described above, according to the eighth embodiment, the processing limit amount for the processing area assigned to each processor is arbitrarily specified based on the size and range of the specified "block" and the priority calculation. This makes it possible to obtain a parallel image processing device capable of more appropriately executing the calculation of the range designated by the “block”.

【0130】実施の形態9.図18はこの発明の実施の
形態9による並列画像処理装置を示す構成図であり、図
では、図13に示した構成に、キャッシュ情報設定手段
21と、処理ブロック計算手段22と、動的処理ブロッ
ク計算手段23と、処理ブロック対応型領域分割法設定
手段24と、処理ブロック対応型処理制限量計算手段2
5とを加えて並列画像処理装置を構成したものである。
Ninth Embodiment FIG. 18 is a block diagram showing a parallel image processing apparatus according to Embodiment 9 of the present invention. In the figure, the cache information setting means 21, processing block calculating means 22, and dynamic processing are added to the configuration shown in FIG. Block calculation means 23, processing block correspondence area division method setting means 24, processing block correspondence processing limit amount calculation means 2
5 is added to form a parallel image processing device.

【0131】以上のように、この実施の形態9によれ
ば、実施の形態4の装置に、実施の形態5から実施の形
態8の機能拡張を組み合わせて実現されている。このた
め、実施の形態5から実施の形態8の機能拡張から任意
の機能拡張手段を選択し、それぞれの利点を組み合わせ
て利用できる効果がある。
As described above, according to the ninth embodiment, the device of the fourth embodiment is realized by combining the function expansions of the fifth to eighth embodiments. Therefore, there is an effect that any function expanding means can be selected from the function expansions of the fifth to eighth embodiments and the respective advantages can be used in combination.

【0132】実施の形態10.図19はこの発明の実施
の形態10による並列画像処理装置を示す構成図であ
り、図において、26は図1における画像領域割当手段
2の機能を拡張した単位領域分割対応型画像領域割当手
段、27は図1における領域分割法設定手段6の機能を
拡張した単位領域分割対応型領域分割設定手段、28は
図1における処理制限量計算手段7の機能を拡張した単
位領域分割対応型処理制限量計算手段、29は図1にお
ける処理負荷計算手段8の機能を拡張した単位領域分割
対応型処理負荷計算手段、30は図1における画像処理
実行手段9の機能を拡張した単位領域分割対応型画像処
理実行手段である。その他の構成は、図1と同一であ
る。図20は単位領域分割対応型画像領域割当手段の処
理を示すフローチャート、図21は単位領域分割対応型
処理負荷計算手段の処理を示すフローチャート、図22
は行単位の処理の分割のイメージを示す説明図である。
[Embodiment 10] 19 is a block diagram showing a parallel image processing apparatus according to Embodiment 10 of the present invention. In FIG. 19, reference numeral 26 is a unit area division correspondence type image area allocating means which is an extension of the function of the image area allocating means 2 in FIG. Reference numeral 27 is a unit area division corresponding type area division setting means in which the function of the area division method setting means 6 in FIG. 1 is expanded, and 28 is a unit area division corresponding type processing limit amount in which the function of the processing limit amount calculating means 7 in FIG. 1 is a unit area division correspondence type processing load calculation means in which the function of the processing load calculation means 8 in FIG. 1 is expanded, and 30 is a unit area division correspondence type image processing in which the function of the image processing execution means 9 in FIG. 1 is expanded. It is an execution means. Other configurations are the same as those in FIG. 20 is a flow chart showing the processing of the unit area division corresponding image area allocating means, FIG. 21 is a flow chart showing the processing of the unit area division corresponding processing load calculating means, FIG.
FIG. 7 is an explanatory diagram showing an image of division of processing in units of rows.

【0133】次に動作について説明する。この実施の形
態10では、単位領域での処理を分割して再割当するた
めに、単位領域分割対応型画像領域割当手段26、単位
領域分割対応型領域分割設定手段27、単位領域分割対
応型処理制限量計算手段28、単位領域分割対応型処理
負荷計算手段29、単位領域分割対応型画像処理実行手
段30での動作が実施の形態1の画像領域割当手段2、
領域分割法設定手段6、処理制限量計算手段7、処理負
荷計算手段8、画像処理実行手段9と異なる。但し、単
位領域当たりの最大処理量設定手段3、使用プロセッサ
数設定手段4、処理画像情報設定手段5については、実
施の形態1と同様の動作をする。
Next, the operation will be described. In the tenth embodiment, in order to divide and re-allocate the processing in the unit area, the unit area division corresponding image area allocating means 26, the unit area division corresponding area division setting means 27, the unit area division corresponding processing. The operations of the limit amount calculating means 28, the unit area division corresponding processing load calculating means 29, and the unit area division corresponding image processing executing means 30 are the image area allocating means 2 of the first embodiment,
It is different from the area division method setting means 6, the processing limit amount calculating means 7, the processing load calculating means 8, and the image processing executing means 9. However, the maximum processing amount per unit area setting unit 3, the used processor number setting unit 4, and the processed image information setting unit 5 operate in the same manner as in the first embodiment.

【0134】単位領域分割対応型画像領域割当手段26
の動作について図20を用いて説明する。まず、初期化
については、基本的に実施の形態1の画像領域割当手段
2と同じである(ステップST41)。但し、単位領域
分割対応型領域分割設定手段27から指示される処理領
域の割当法が、行分割を考慮した方法であることが、実
施の形態1と異なる。この例では、説明を簡潔にするた
め、行分割されて再割当された行については、未処理の
行として扱う例で説明する。ここでは、行分割されて再
割当された行があった場合に、この行分だけ「残処理領
域」を1増加させることにする。
Image area allocating means 26 corresponding to unit area division
The operation will be described with reference to FIG. First, the initialization is basically the same as the image area allocation unit 2 of the first embodiment (step ST41). However, it differs from the first embodiment in that the method of allocating a processing area instructed by the unit area division-compatible area division setting means 27 is a method that takes line division into consideration. In this example, for the sake of brevity, the line-divided and reallocated lines will be treated as unprocessed lines. Here, if there is a line that has been line-divided and reallocated, the "remaining processing area" is incremented by 1 for this line.

【0135】初期化後、単位領域分割対応型画像領域割
当手段26は、「要求待ち」状態になる(ステップST
42)。この「要求待ち」状態において、単位領域分割
対応型処理負荷計算手段29から「次処理」が要求され
た場合の動作を説明する。ここでは、まず、「残処理領
域数」をチェックする(ステップST43)。「残処理
領域数」が0より大きい場合、処理領域割当操作を行
う。この手順は、基本的に実施の形態1の画像領域割当
手段2と同じであるが、次の2点が異なる。1点目とし
て、「次処理領域」の決定法がある。ここでは、単位領
域分割対応型領域分割設定手段27から指示される処理
領域の割当法が、行分割を考慮した方法であることが、
実施の形態1と異なる。例えば、実施の形態1では、
「次処理領域」のサイズを決定した後で、「画像割当ポ
インタ」が示す位置から、「次処理領域のサイズ」分だ
け管理フラグが「未」となっている領域を順番に選択し
た。一方で、この例では、まず、管理フラグが「分」と
なっている領域がないかをチェックする(ステップST
44)。ここで、管理フラグが「分」となっている領域
があれば、その1行だけからなる画像領域を「次処理領
域」として決定する。この時には、「次処理領域」情報
として、再割当後の計算を開始する散乱点の数(例え
ば、もともと1行で100個の散乱点が見つかって、そ
のうち70個が処理され、残りの30個を再割当した場
合には、再割当後の計算を開始する散乱点の数として、
71が指定される)の情報も付加される(ステップST
45)。また、「残処理領域」を1減少させる。管理フ
ラグが「分」となっている領域がない場合には、実施の
形態1と同様の方法で、「次処理領域」を決定する(ス
テップST46,ステップST47)。なお、管理フラ
グが「分」となっているのは、行が分割されて再割当を
要求された領域である。2点目として、「処理制限量」
の算出と指示がある。実施の形態1では、処理制限量計
算手段7で単位領域を最小単位とした割当を前提に「処
理制限量」を算出し、この「処理制限量」を処理負荷計
算手段8を通知していた。一方でこの例では、単位領域
分割対応型処理負荷計算手段29は、単位領域を最小単
位とした割当(行単位の割当)を前提にした「処理制限
量」(以下、実行制約)に加えて、単位領域を分割した
(行の処理も分割した)割当の判断基準となる「処理制
限量」(以下、分割制約)を算出する。単位領域分割対
応型画像領域割当手段26は、実行制約と分割制約の2
種類の「処理制限量」を単位領域分割対応型処理負荷計
算手段29へ通知することが、実施の形態1と異なる。
After the initialization, the unit area division correspondence type image area allocating means 26 enters the "request waiting" state (step ST
42). In the "waiting for request" state, the operation when the "next processing" is requested from the unit area division corresponding processing load calculating means 29 will be described. Here, first, the "number of remaining processing areas" is checked (step ST43). When the "remaining processing area number" is larger than 0, the processing area allocation operation is performed. This procedure is basically the same as the image area allocating means 2 of the first embodiment, but the following two points are different. The first point is a method of determining the "next processing area". Here, the processing area allocation method instructed by the unit area division-compatible area division setting unit 27 is a method that considers line division.
Different from the first embodiment. For example, in the first embodiment,
After determining the size of the “next processing area”, areas having the management flag “not yet” corresponding to the “size of the next processing area” are sequentially selected from the position indicated by the “image allocation pointer”. On the other hand, in this example, first, it is checked whether there is an area in which the management flag is "minute" (step ST
44). If there is an area in which the management flag is "minute", the image area consisting of only one line is determined as the "next processing area". At this time, as the “next processing area” information, the number of scattered points at which the calculation after the reallocation is started (for example, 100 scattered points are originally found in one line, 70 of them are processed, and the remaining 30 are processed). When is reassigned, as the number of scattered points to start the calculation after reassignment,
71 is designated) is also added (step ST
45). Further, the "remaining processing area" is decreased by one. When there is no area in which the management flag is "minute", the "next processing area" is determined by the same method as in the first embodiment (steps ST46 and ST47). It should be noted that the management flag of "minute" is an area in which a line is divided and reassignment is requested. The second point is "process limit amount"
There is calculation and instructions. In the first embodiment, the processing limit calculation means 7 calculates the “processing restriction amount” on the assumption that the unit area is the minimum unit, and notifies the processing load calculation means 8 of this “processing restriction amount”. . On the other hand, in this example, the unit area division-compatible processing load calculating unit 29 adds to the “processing limit amount” (hereinafter, execution restriction) based on the assumption that the unit area is the minimum unit (row unit allocation). , A "processing restriction amount" (hereinafter, division constraint) serving as a determination criterion for allocation in which the unit area is divided (row processing is also divided) is calculated. The unit area division correspondence type image area allocating means 26 divides the execution constraint and the division constraint into two.
It is different from the first embodiment that the processing load calculation unit 29 corresponding to the unit area division is notified of the type of “processing limit amount”.

【0136】次に、単位領域分割対応型画像領域割当手
段26で、単位領域分割対応型処理負荷計算手段29か
ら「次処理」が要求され時に、「残処理領域数」が0の
場合の動作を示す。ここでは、実施の形態1の画像領域
割当手段2と同じ手順で動作する(ステップST51〜
ステップST53)。
Next, in the unit area division correspondence type image area allocation means 26, when the "next processing" is requested from the unit area division correspondence type processing load calculation means 29, the operation when the "remaining processing area number" is 0 Indicates. Here, it operates in the same procedure as the image area allocating means 2 of the first embodiment (steps ST51 to ST51).
Step ST53).

【0137】単位領域分割対応型画像領域割当手段26
が「要求待ち」状態において、単位領域分割対応型処理
負荷計算手段29から「再割当」が要求された場合の動
作を説明する。この場合は、まず、「残処理領域数」を
更新する(ステップST54)。ここでは、「再割当」
を要求された(行単位の)領域に加えて、処理を分割さ
れて「再割当」を要求された行についても、その数を
「残処理領域数」として加える。このため、行分割によ
る「再割当」があった場合には、“「残処理領域数」+
「再割当領域のサイズ(行単位:境界行の次の行から
「次処理領域」の最終行まで)」+1行”が、新しい
「残処理領域数」になる。次に、「再割当」を要求され
た領域について、処理単位別の実行管理テーブルの管理
フラグを更新する。ここで、行分割による「再割当」を
要求された行は管理フラグを「分」に、その他の行につ
いては管理フラグを「未」に更新する(ステップST5
5)。また、管理フラグを「分」にした行については、
再割当を開始する位置(推定散乱点数)も同時に記録す
る。この後の手順、画像割当ポインタが「空」の場合の
設定や、各プロセッサの実行中フラグの確認と「実行再
開」通知等は、実施の形態1の画像領域割当手段2と同
じである(ステップST56〜ステップST58)。
Image region allocating means 26 corresponding to unit region division
In the "waiting for request" state, the operation in the case where "reallocation" is requested from the unit area division-compatible processing load calculating means 29 will be described. In this case, first, the "number of remaining processing areas" is updated (step ST54). Here, "reallocation"
In addition to the requested area (in units of rows), the number of rows for which processing is divided and “reassignment” is requested is added as the “remaining processing area number”. Therefore, if there is a "reallocation" due to line division, "the number of remaining processing areas" +
"Size of reallocation area (row unit: from the row next to the boundary row to the last row of the" next processing area ")" + 1 row "becomes the new" number of remaining processing areas ". Next, the management flag of the execution management table for each processing unit is updated for the area for which “reallocation” is requested. Here, the management flag is updated to "minutes" for the rows requested to be "reassigned" by dividing the rows, and the management flags for the other rows are updated to "not yet" (step ST5
5). In addition, regarding the line where the management flag is set to "minute",
The position at which the reallocation is started (estimated number of scattered points) is also recorded. The subsequent procedure, the setting when the image allocation pointer is "empty", the confirmation of the in-execution flag of each processor, the "restart of execution" notification, and the like are the same as those of the image area allocation unit 2 of the first embodiment ( Step ST56 to step ST58).

【0138】単位領域分割対応型処理負荷計算手段29
の動作について図21を用いて説明する。単位領域分割
対応型処理負荷計算手段29では、単位領域分割対応型
画像領域割当手段26から実行開始の指示を受けて、次
処理の要求を行い、その回答を待つ(ステップST61
〜ステップST69)。ここで、回答が「一時停止」で
あった場合、および、その後の処理手順については、実
施の形態1の処理負荷計算手段8と同様である(ステッ
プST84,ステップST85)。
Processing load calculation means 29 corresponding to unit area division
The operation will be described with reference to FIG. The unit area division-compatible processing load calculation unit 29 receives an instruction to start execution from the unit area division-compatible image area allocation unit 26, requests the next process, and waits for the reply (step ST61).
~ Step ST69). Here, when the answer is “temporary stop” and the subsequent processing procedure, it is the same as that of the processing load calculating means 8 of the first embodiment (step ST84, step ST85).

【0139】次処理の要求に対する回答が、「次処理領
域」と「処理制限量」の情報の通知の場合、「次処理領
域」が行分割された範囲の再割当か否かをチェックする
(ステップST64)。ここで、行分割された範囲の再
割当の場合には、「次処理領域」情報として、再割当後
の計算を開始する位置の情報が付加されているので、こ
れを基準に判断する。「次処理領域」が行分割された範
囲の再割当でない場合、まず、実施の形態1の処理負荷
計算手段8と同様の手順で、「境界行」を求める。但
し、ここでは、単位領域分割対応型画像領域割当手段2
6からの「処理制限量」として、実行制約と分割制約の
2種類の制約条件が設定されていることが実施の形態1
と異なる。ここでは、実行制約を使って、実施の形態1
と同様の手順で「境界行」を求める(ステップST65
〜ステップST70)。「境界行」が確定後、「処理制
限量」の分割制約を用いて、行単位の処理を分割するか
否かを決定する(ステップST71)。この制約条件と
しては、「境界行」での推定散乱点数が一定の数以上に
なる場合や、今回の割り当てられた「次処理領域」です
る推定散乱点数の総数が一定の数以上になる場合等の条
件を任意に設定することができる。ここで、「境界行」
で行単位の処理分割が必要と判断された場合には、「境
界行」を「超解像実行領域」と「未処理領域」に分割す
る。この分割では、先頭から分割制約で指定された個数
の推定散乱点を「超解像実行領域」に、「超解像実行領
域」に含まれなかった推定散乱点を「未処理領域」に設
定する(ステップST72,ステップST73)。ま
た、「未処理領域」の先頭の推定散乱点が、先頭から何
番目かという情報も記録する。一方で、「境界行」で行
単位の処理を分割の必要がないと判断された場合には、
「境界行」全体を「超解像実行領域」に設定する(ステ
ップST74)。次に、単位領域分割対応型処理負荷計
算手段29では、「次処理領域」の先頭から「境界行」
の前の行までを「超解像実行領域」に追加設定する(ス
テップST75)。さらに、「境界行」が最終行でない
場合には、「境界行」の次の行から「次処理領域」の最
後の行までの領域を「未処理領域」に追加設定する(ス
テップST73)。
When the response to the request for the next processing is the notification of the information of the "next processing area" and the "processing limit amount", it is checked whether or not the "next processing area" is the reallocation of the line-divided range ( Step ST64). Here, in the case of reallocation of the line-divided range, since the information of the position to start the calculation after the reallocation is added as the "next processing area" information, the judgment is made based on this. When the "next processing area" is not the reallocation of the line-divided range, first, the "boundary row" is obtained by the same procedure as the processing load calculation means 8 of the first embodiment. However, here, the unit area division correspondence type image area allocating means 2
The first embodiment is that two types of constraint conditions, that is, an execution constraint and a division constraint, are set as the "processing limit amount" from 6 above.
Different from Here, using execution constraints, the first embodiment
The "boundary line" is obtained by the same procedure as in step ST65.
-Step ST70). After the "boundary line" is determined, it is determined whether or not to divide the line-by-line process using the division constraint of the "processing limit amount" (step ST71). This constraint condition is that the estimated number of scattered points in the "boundary line" is a certain number or more, or the total number of estimated scattered points in the "next processing area" assigned this time is a certain number or more. Conditions such as can be set arbitrarily. Where "boundary line"
If it is determined that the process division for each line is necessary, the "boundary line" is divided into the "super-resolution execution region" and the "unprocessed region". In this division, the number of estimated scattering points specified by the division constraint from the beginning is set in the "super-resolution execution area", and the estimated scattering points not included in the "super-resolution execution area" are set in the "unprocessed area". (Step ST72, step ST73). In addition, information is also recorded that the estimated scattering point at the beginning of the “unprocessed area” is the number from the beginning. On the other hand, if it is determined that it is not necessary to divide the line-by-line processing in "boundary line",
The entire "boundary line" is set to the "super-resolution execution area" (step ST74). Next, in the unit area division-compatible processing load calculating means 29, from the head of the "next processing area" to "boundary line"
Up to the line before is additionally set in the "super-resolution execution area" (step ST75). Further, when the "boundary line" is not the final line, the region from the line next to the "boundary line" to the last line of the "next processing region" is additionally set to the "unprocessed region" (step ST73).

【0140】上記の「超解像実行領域」と「未処理領
域」の設定を終了した後、単位領域分割対応型処理負荷
計算手段29が「未処理領域」を単位領域分割対応型画
像領域割当手段26への再割当要求する手順や(ステッ
プST81)、「超解像実行領域」の超解像処理の実行
を単位領域分割対応型画像処理実行手段30へ指示を行
い(ステップST82)、次処理要求へ復帰する手順
は、基本的に実施の形態1の処理負荷計算手段8と同様
である。但し、次の2点が実施の形態1と異なる。ま
ず、1点目として、単位領域分割対応型画像領域割当手
段26への再割当要求で付加する情報がある。この実施
の形態10では、単位領域分割対応型画像領域割当手段
26への再割当要求時には、“行単位での再割当部分”
と“行を分割する再割当部分”を区別した形式で情報を
伝える。また、“行を分割する再割当部分”について
は、「未処理領域」の先頭の推定散乱点が、先頭から何
番目かという情報も付加して通知する。なお、“行を分
割する再割当部分”がない場合には、“行単位での再割
当部分”の情報だけが通知される。この場合には、実施
の形態1と同じ情報になる。次に、2点目として、単位
領域分割対応型画像処理実行手段30へ「超解像実行領
域」の超解像処理の実行を指示する範囲がある。この実
施の形態10では、「超解像実行領域」として、行全体
を実行する行と、行分割して実行する行とその範囲(開
始散乱点と終了散乱点)を指定して、単位領域分割対応
型画像処理実行手段30へ「超解像実行領域」の超解像
処理の実行を指示する。単位領域分割対応型画像処理実
行手段30では、行全体を実行するように指示された行
については、実施の形態1の画像処理実行手段9と同様
に実行する。一方で、行分割して実行する行について
は、対象の行の開始散乱点から終了散乱点だけを対象
に、「超解像実行領域」の超解像処理の実行を実行す
る。
After the setting of the "super-resolution execution area" and the "unprocessed area" is completed, the unit area division corresponding processing load calculation means 29 allocates the "unprocessed area" to the unit area division corresponding image area allocation. A procedure for requesting reallocation to the means 26 (step ST81) and execution of super-resolution processing of the "super-resolution execution area" are instructed to the unit area division correspondence type image processing execution means 30 (step ST82), and next. The procedure for returning to the processing request is basically the same as that of the processing load calculation means 8 of the first embodiment. However, the following two points are different from the first embodiment. First, there is information added in the re-allocation request to the unit area division compatible image area allocating means 26 as a first point. In the tenth embodiment, when a reallocation request is made to the unit area division correspondence type image area allocating means 26, “a reallocation part in a row unit” is executed.
And information is transmitted in a format that distinguishes between the "reassigned part that divides the line". In addition, regarding the "reassigned portion that divides the line", information indicating how many estimated scattered points at the beginning of the "unprocessed area" are added is also notified. If there is no "reallocation part for dividing the line", only the information of the "reallocation part for each row" is notified. In this case, the same information as in the first embodiment is used. Next, as a second point, there is a range for instructing the image processing executing means 30 corresponding to unit area division to execute the super-resolution processing of the “super-resolution execution area”. In the tenth embodiment, as the “super-resolution execution region”, a line for executing the entire line, a line to be divided into lines and a range thereof (start scatter point and end scatter point) are designated, and a unit region is specified. The division-compatible image processing execution means 30 is instructed to execute the super-resolution processing of the “super-resolution execution area”. The unit area division correspondence type image processing executing means 30 executes the same processing as the image processing executing means 9 of the first embodiment for a row instructed to execute the entire row. On the other hand, for a line to be divided into lines and executed, the super-resolution processing of the “super-resolution execution region” is executed only for the start scattering points and the end scattering points of the target row.

【0141】一方で、「次処理領域」が行分割された範
囲の再割当の場合、単位領域分割対応型処理負荷計算手
段29は次のように動作する。この場合には、「次処理
領域」情報として、再割当後の計算を開始する位置(何
番目の散乱点から処理対象とするか)の情報が付加され
ている。ここでは、まず、実施の形態1の処理負荷計算
手段8と同様の方法で、「次処理領域」で指定された行
の推定散乱点を全て算出する。その後で、求めた推定散
乱点数のうち、計算を開始する位置よりも後ろの推定散
乱点を「行分割再処理対象推定散乱点」とする(ステッ
プST77)。次に、「行分割再処理対象推定散乱点」
の数を、「処理制限量」の分割制約を用いて、再度行単
位の処理を分割するか否かを決定する(ステップST7
8)。ここで、分割の必要がない場合には、「行分割再
処理対象推定散乱点」全てを「超解像実行領域」に指定
する(ステップST79)。逆に、分割の必要がある場
合には、上記の「境界行」の分割と同様に、「処理制限
量」の分割制約を用いて、「超解像実行領域」と「未処
理領域」に分割する(ステップST80)。但し、ここ
での「超解像実行領域」の先頭は、再割当後の計算を開
始する位置となり、この位置から指定の個数が選択され
る。また、「未処理領域」の先頭を示す推定散乱点につ
いては、「境界行」の分割と同様に、行の先頭から何番
目かという情報が設定される(こちらは、再割当後の計
算を開始する位置から数えない)。「超解像実行領域」
と「未処理領域」の設定後は、上記の「次処理領域」が
行分割された範囲の再割当でない場合と同様である。但
し、単位領域分割対応型画像処理実行手段30に指示さ
れる「超解像実行領域」で、行分割して実行する行の開
始点は、行の先頭ではなく、単位領域分割対応型画像領
域割当手段26から指示された“再割当後の計算を開始
する位置”になっている。
On the other hand, in the case of reallocation of a range in which the "next processing area" is line-divided, the unit area division-compatible processing load calculating means 29 operates as follows. In this case, as the "next processing area" information, information on the position to start the calculation after the reallocation (from which scattering point the processing target starts) is added. Here, first, all the estimated scattering points of the row designated by the “next processing area” are calculated by the same method as the processing load calculation means 8 of the first embodiment. After that, among the obtained estimated scattering points, the estimated scattering points after the position where the calculation is started are set as “line division reprocessing target estimated scattering points” (step ST77). Next, "Estimated scattered points for line-break reprocessing"
Is determined by using the division constraint of the "processing limit amount" for whether or not the line-by-line processing is divided again (step ST7).
8). Here, if the division is not necessary, all the "line division reprocessing target estimated scattering points" are designated as the "super-resolution execution area" (step ST79). On the other hand, when it is necessary to perform division, the "super-resolution execution area" and "unprocessed area" can be divided into "super-resolution execution areas" using the "processing restriction amount" division restriction, as in the case of the above "boundary line" division. Divide (step ST80). However, the head of the "super-resolution execution area" here is the position where the calculation after the reallocation is started, and the specified number is selected from this position. In addition, for the estimated scatter point indicating the beginning of the “unprocessed area”, information about the number of rows from the beginning of the row is set as in the case of dividing the “boundary row” (here, the calculation after reassignment is performed). Not counting from the starting position). "Super-resolution execution area"
After the setting of the "unprocessed area" and the "unprocessed area", it is the same as the case where the "next processing area" is not the reallocation of the line-divided range. However, in the “super-resolution execution area” instructed to the unit area division-compatible image processing execution means 30, the start point of the line to be divided into lines and executed is not the head of the line but the unit area division-compatible image region. It is at the "position to start the calculation after the reallocation" instructed by the allocating means 26.

【0142】以上のように、この実施の形態10によれ
ば、あるプロセッサでの処理負荷が増大した時に、単位
領域をも分割して他のプロセッサへ処理を再割当するこ
とが可能である。これにより、入力画像によって処理負
荷が変化する画像処理用のアルゴリズムで、ある単位領
域への負荷が著しく増加するケースでも、並列実行する
プロセッサに処理を効率良く負荷を分散し、実行効率が
良い並列画像処理装置を得られる効果がある。
As described above, according to the tenth embodiment, when the processing load on a certain processor increases, it is possible to divide the unit area and reallocate the processing to another processor. As a result, with an image processing algorithm whose processing load changes depending on the input image, even if the load on a certain unit area increases significantly, the processing can be efficiently distributed to the processors that execute in parallel, and parallel processing with high execution efficiency can be performed. The image processing device can be obtained.

【0143】上記の実施の形態10では、簡潔な方法で
説明するため、単位領域での分割基準を簡単な方法で示
したが、この制約条件は、単位領域の処理負荷を決定す
る要素(この例では推定散乱点数)を基準としたもので
あれば、任意の選択法を採用可能であり、上記実施の形
態10と同様の効果を奏する。また、他の条件(画像処
理のサイズ等)を組み合わせた制約条件とすることも当
然可能であり、上記実施の形態10と同様の効果を奏す
る。「次処理領域」の算出法および実行管理テーブルで
の管理フラグを用いた制御についても同様であり、単位
領域での分割に対応して、未処理の領域を残すことなく
割り当てられる方法であれば、任意の「次処理領域」の
算出法または領域の管理法を採用することができ、上記
実施の形態10と同様の効果を奏することができる。
In the tenth embodiment described above, the division criterion in the unit area is shown by a simple method for the sake of simple explanation. However, this constraint condition is an element that determines the processing load of the unit area. In the example, an arbitrary selection method can be adopted as long as it is based on the estimated number of scattering points), and the same effect as that of the tenth embodiment can be obtained. Further, it is of course possible to set a constraint condition in which other conditions (size of image processing, etc.) are combined, and the same effect as that of the tenth embodiment is achieved. The same applies to the calculation method of the "next processing area" and the control using the management flag in the execution management table, as long as it is a method that can be assigned without leaving an unprocessed area corresponding to division in a unit area. An arbitrary “next processing area” calculation method or area management method can be adopted, and the same effect as that of the tenth embodiment can be obtained.

【0144】上記の実施の形態10では、簡潔な方法で
説明するため、行分割された範囲の再割当を、1行だけ
選択して優先して実行する例で説明したが、これを他の
未処理行(1度も計算を実行していない行)と混在させ
て割り当てることも可能であり、上記実施の形態10と
同様の効果を奏することができる。
In the tenth embodiment described above, in order to explain the method in a concise manner, an example in which reassignment of a line-divided range is selected and executed preferentially has been described. It is also possible to mix and assign unprocessed rows (rows for which calculation has not been executed even once), and the same effect as in the tenth embodiment can be obtained.

【0145】実施の形態11.図23はこの発明の実施
の形態11による並列画像処理装置を示す構成図であ
り、図において、31は単位領域分割可否条件設定手段
である。その他の構成は、図20と同一である。
Eleventh Embodiment FIG. 23 is a block diagram showing a parallel image processing apparatus according to Embodiment 11 of the present invention. In the figure, 31 is a unit area division availability condition setting means. Other configurations are the same as those in FIG.

【0146】次に動作について説明する。この実施の形
態11では、単位領域分割対応型処理制限量計算手段2
8が処理制限量の分割制限の判断基準として、画像処理
全体での残りの処理量と実行待ちで一時停止しているプ
ロセッサの個数を組み合わせた条件を設定していると仮
定する。この場合、単位領域分割対応型処理負荷計算手
段29は、単位領域分割対応型画像領域割当手段26か
ら、単位領域分割対応型処理制限量計算手段28が算出
したこの組合せ条件を、処理制限量の分割制限の判断基
準として指定されることになる。単位領域分割対応型処
理負荷計算手段29では、組合せ条件に指定された情報
を採取するため、単位領域分割可否条件設定手段31
に、情報の収集を指示する。単位領域分割可否条件設定
手段31では、指示をうけた時に単位領域分割対応型領
域分割設定手段27を参照し、画像処理全体での残りの
処理量(「残処理量」を参照)や、実行待ちで一時停止
しているプロセッサの個数(実行フラグが「OFF」に
なっているプロセッサの個数を参照)等の情報を収集し
て、単位領域分割対応型処理負荷計算手段29に伝え
る。単位領域分割対応型処理負荷計算手段29では、行
分割の可否を判定する際に、この単位領域分割可否条件
設定手段31からの情報を参照して、組合せ条件を判定
する。なお、本装置では、上記の行分割の可否を判定す
る際の、組合せ条件の指定およびその採取の手順以外の
部分については、実施の形態10の装置と同様に動作す
る。
Next, the operation will be described. In the eleventh embodiment, the unit area division-compatible processing limit amount calculation means 2
It is assumed that 8 is set as a criterion for the division restriction of the processing restriction amount, which is a condition in which the remaining processing amount of the entire image processing and the number of processors suspended for execution are combined. In this case, the unit area division corresponding processing load calculation unit 29 sets the combination condition calculated by the unit area division corresponding image area allocation unit 26 by the unit area division corresponding image processing amount calculation unit 28 as the processing limit amount. It will be specified as a criterion for division restriction. The unit area division compatible processing load calculation unit 29 collects the information specified in the combination condition, and therefore the unit area division permission / inhibition condition setting unit 31.
To collect information. The unit area division permission / inhibition condition setting means 31 refers to the unit area division correspondence type area division setting means 27 when receiving an instruction, and determines the remaining processing amount (see "remaining processing amount") in the entire image processing and execution. Information such as the number of processors suspended for waiting (see the number of processors whose execution flag is "OFF") is collected and transmitted to the unit area division-compatible processing load calculation means 29. When determining whether or not line division is possible, the unit area division-compatible processing load calculation unit 29 refers to the information from the unit area division availability condition setting unit 31 and determines a combination condition. It should be noted that the present apparatus operates in the same manner as the apparatus of the tenth embodiment, except for the procedure for designating the combination condition and collecting the combination condition when determining the possibility of line division.

【0147】以上のように、この実施の形態11によれ
ば、単位領域の分割の可否を判断する条件として、画像
処理全体での残りの処理量と実行待ちで一時停止してい
るプロセッサの個数等の実行状況を利用することができ
る。これにより、現在の実行状況に適した負荷分散を選
択することができ、実行効率が良い並列画像処理装置を
得られる効果がある。
As described above, according to the eleventh embodiment, as the conditions for judging whether or not the unit area can be divided, the remaining processing amount of the entire image processing and the number of processors suspended for execution wait. You can use the execution status such as. As a result, it is possible to select a load distribution suitable for the current execution status, and it is possible to obtain a parallel image processing device with high execution efficiency.

【0148】上記実施の形態11では、単位領域分割可
否条件設定手段31が参照する情報として、画像処理全
体での残りの処理量と実行待ちで一時停止しているプロ
セッサの個数を指定したが、単位領域分割対応型領域分
割設定手段27が管理している情報ならば、任意の情報
を採取することが可能であり、上記実施の形態11と同
様の効果を奏する。また、処理画像情報設定手段5が保
持する処理対象画像の情報等、単位領域分割対応型領域
分割設定手段27が入手して利用している情報について
も、同様に任意の情報を採取することが可能であり、上
記実施の形態11と同様の効果を奏する。
In the eleventh embodiment, as the information to be referred to by the unit area division permission / inhibition condition setting means 31, the remaining processing amount of the entire image processing and the number of processors suspended for execution are designated. Any information can be collected as long as it is the information managed by the unit area division correspondence type area division setting means 27, and the same effect as that of the above-described eleventh embodiment can be obtained. Further, with respect to the information acquired and used by the unit area division correspondence type area division setting means 27 such as the information of the processing target image held by the processing image information setting means 5, any information can be similarly collected. This is possible, and the same effect as the eleventh embodiment can be obtained.

【0149】実施の形態12.図24はこの発明の実施
の形態12による並列画像処理装置を示す構成図であ
り、図において、32は事前計算結果保持手段である。
その他の構成は、図20と同一である。
Twelfth Embodiment 24 is a configuration diagram showing a parallel image processing device according to a twelfth embodiment of the present invention, in which reference numeral 32 is a pre-calculation result holding means.
Other configurations are the same as those in FIG.

【0150】次に動作について説明する。単位領域分割
対応型処理負荷計算手段29は、任意の行に対する推定
散乱点に関する計算結果を保持させることができる手段
である。また、保存済みの計算結果の中から、指定され
た行に対する推定散乱点に関する計算結果を取り出すこ
ともできる手段である。この実施の形態12の単位領域
分割対応型処理負荷計算手段29では、ある行に対し
て、最初に行分割の必要があると判断した時に、推定散
乱点に関する算出結果を事前計算結果保持手段32に保
存する。また、単位領域分割対応型画像領域割当手段2
6から「次処理領域」が行分割された範囲の再割当の場
合には、推定散乱点を求める計算を再実行することな
く、事前計算結果保持手段32が保持している情報を利
用する。なお、事前計算結果保持手段32は、基本的に
プロセッサ間で共通の部分に実装する。例えば、SMP
計算機であれば、共有メモリ部分に事前計算結果を保持
するように、実装することが考えられる。
Next, the operation will be described. The unit-area-division processing load calculation means 29 is a means that can hold the calculation result regarding the estimated scattering point for any row. It is also a means that can extract the calculation result regarding the estimated scattering point for the specified row from the saved calculation results. In the unit area division-compatible processing load calculation means 29 of the twelfth embodiment, when it is judged that a certain row needs to be divided for the first time, the calculation result regarding the estimated scattering point is held in the pre-calculation result holding means 32. Save to. Also, the unit area division-compatible image area allocation means 2
In the case of reassignment of the range in which the "next processing region" is divided into rows from No. 6, the information held by the pre-calculation result holding means 32 is used without re-executing the calculation for obtaining the estimated scattering points. The pre-calculation result holding means 32 is basically mounted in a common part between the processors. For example, SMP
If it is a computer, it is possible to implement it so that the pre-calculation result is held in the shared memory part.

【0151】以上のように、この実施の形態12によれ
ば、単位領域を分割して実行する時に、最初に分割対象
の単位領域を計算したプロセッサが、その領域に対する
前処理の計算結果を記録しておく。後から分割された単
位領域の他の部分の実行を指示されたプロセッサでは、
この記録済みの計算結果を利用することで、前処理の計
算を再度行う必要がない。このため、前処理の計算を時
間を節約することができ、実行効率が良い並列画像処理
装置を得られる効果がある。
As described above, according to the twelfth embodiment, when the unit area is divided and executed, the processor which first calculates the unit area to be divided records the calculation result of the preprocessing for the area. I'll do it. In the processor instructed to execute the other part of the unit area that was divided later,
By using this recorded calculation result, it is not necessary to calculate the pre-process again. Therefore, the calculation of the preprocessing can be saved in time, and there is an effect that a parallel image processing device with high execution efficiency can be obtained.

【0152】実施の形態13.図25はこの発明の実施
の形態13による並列画像処理装置を示す構成図であ
り、図において、21はキャッシュ情報設定手段、33
は単位領域分割コスト計算手段である。その他の構成
は、図20と同一である。
Thirteenth Embodiment FIG. 25 is a block diagram showing a parallel image processing device according to a thirteenth embodiment of the present invention. In the figure, 21 is cache information setting means, 33.
Is a unit area division cost calculation means. Other configurations are the same as those in FIG.

【0153】次に動作について説明する。この実施の形
態13では、単位領域分割対応型処理制限量計算手段2
8が処理制限量の分割制限の判断基準として、選択可能
な最大と最小の推定散乱点の個数を設定していると仮定
する。この場合、単位領域分割対応型処理負荷計算手段
29は、選択可能な最大と最小の推定散乱点の範囲での
実行コストの計算を単位領域分割コスト計算手段33に
指示する。単位領域分割コスト計算手段33では、実行
対象の計算でのキャッシュアクセスによる処理コストを
算出するための基準条件が設定されている。単位領域分
割コスト計算手段33は、キャッシュ情報設定手段21
のキャッシュ情報からキャッシュのヒット率のキャッシ
ュミスのペナルティを得、処理画像情報設定手段5から
処理対象画像のサイズや画素のサイズ等の情報を得て、
対象画像でのキャッシュアクセスが有利または不利にな
る範囲と、その程度を概算する。単位領域分割コスト計
算手段33では、単位領域分割対応型処理負荷計算手段
29から実行コストの計算指示があった時に、推定散乱
点が処理される画像上の位置から、そのコストを算出す
る。例えば、推定散乱点が密集している箇所には、同じ
キャッシュのデータを繰り返して利用できるためにコス
トは低くなり、逆に広く分散している箇所では違うキャ
ッシュを使うことになるためにコストが高くなる。単位
領域分割コスト計算手段33では、単位領域分割対応型
処理負荷計算手段29が指定された最大と最小の推定散
乱点の数の範囲で、設定された処理コストの基準条件に
従って、最適となる数の推定散乱点の数を選択し、単位
領域分割対応型処理負荷計算手段29に通知する。単位
領域分割対応型処理負荷計算手段29では、単位領域分
割コスト計算手段33から通知された推定散乱点の数
で、対象の行の処理を分割することを決定する。なお、
本装置では、上記の行分割の可否を判定する際の、組合
せ条件の指定およびその採取の手順以外の部分について
は、実施の形態10の装置と同様に動作する。
Next, the operation will be described. In the thirteenth embodiment, the unit area division-compatible processing limit amount calculation means 2
It is assumed that 8 sets the maximum and minimum estimated number of estimated scattering points that can be selected as a criterion for the division restriction of the processing restriction amount. In this case, the unit area division-compatible processing load calculation unit 29 instructs the unit area division cost calculation unit 33 to calculate the execution cost within the selectable maximum and minimum estimated scattering point ranges. In the unit area division cost calculation means 33, reference conditions for calculating the processing cost due to cache access in the calculation of the execution target are set. The unit area division cost calculation means 33 is the cache information setting means 21.
The cache miss penalty of the cache hit rate is obtained from the cache information of 1, and information such as the size of the image to be processed and the pixel size is obtained from the processed image information setting means 5.
The extent to which the cache access in the target image is advantageous or disadvantageous and its extent are roughly estimated. The unit area division cost calculation unit 33 calculates the cost from the position on the image where the estimated scattered points are processed when the execution cost calculation instruction is given from the unit area division corresponding processing load calculation unit 29. For example, where the estimated scattering points are dense, the cost is low because the data in the same cache can be used repeatedly. Get higher In the unit area division cost calculation means 33, the unit area division correspondence processing load calculation means 29 has an optimum number within the range of the designated maximum and minimum number of estimated scattering points according to the set processing cost reference conditions. The number of estimated scattering points is selected, and the unit area division correspondence processing load calculation means 29 is notified. The unit area division corresponding processing load calculation unit 29 determines to divide the processing of the target row by the number of estimated scattering points notified from the unit area division cost calculation unit 33. In addition,
The present apparatus operates in the same manner as the apparatus of the tenth embodiment, except for the procedure for designating the combination condition and collecting the same when determining whether or not line division is possible.

【0154】以上のように、この実施の形態13によれ
ば、キャッシュアクセスの効率を考慮して、単位領域の
分割する位置を決定することができる。これにより、効
率良い範囲で、分割された後の領域での計算を実行する
ことができ、実行効率が良い並列画像処理装置を得られ
る効果がある。
As described above, according to the thirteenth embodiment, the position where the unit area is divided can be determined in consideration of the cache access efficiency. As a result, there is an effect that the calculation in the area after the division can be executed in an efficient range, and a parallel image processing apparatus with high execution efficiency can be obtained.

【0155】実施の形態14.図26はこの発明の実施
の形態14による並列画像処理装置を示す構成図であ
り、図では、図20に示した構成に、キャッシュ情報設
定手段21と、単位領域分割可否条件設定手段31と、
事前計算結果保持手段32と、単位領域分割コスト計算
手段33とを加えて並列画像処理装置を構成したもので
ある。
Fourteenth Embodiment FIG. 26 is a block diagram showing a parallel image processing device according to the fourteenth embodiment of the present invention. In the figure, the configuration shown in FIG.
The pre-calculation result holding means 32 and the unit area division cost calculation means 33 are added to constitute a parallel image processing device.

【0156】以上のように、この実施の形態14によれ
ば、実施の形態10の装置に、実施の形態11から実施
の形態13の機能拡張を組み合わせて実現されている。
このため、実施の形態11から実施の形態13の機能拡
張から任意の機能拡張手段を選択し、それぞれの利点を
組み合わせて利用できる効果がある。
As described above, according to the fourteenth embodiment, the device of the tenth embodiment is realized by combining the function expansions of the eleventh to thirteenth embodiments.
Therefore, there is an effect that any function expanding means can be selected from the function expandings of the eleventh to thirteenth embodiments and the respective advantages can be used in combination.

【0157】実施の形態15.図27はこの発明の実施
の形態15による並列画像処理装置を示す構成図であ
り、図において、34は負荷予測設定手段、35は図1
における領域分割法設定手段6の機能を拡張した負荷予
測型領域分割法手段である。その他の構成は、図1と同
一である。
Fifteenth Embodiment 27 is a configuration diagram showing a parallel image processing device according to a fifteenth embodiment of the present invention. In the figure, 34 is load prediction setting means, and 35 is FIG.
It is a load prediction type area division method means in which the function of the area division method setting means 6 in FIG. Other configurations are the same as those in FIG.

【0158】次に動作について説明する。動的なスケジ
ューリングで処理を分散して実行する時には、処理の後
半(特に終了直前)で負荷が高い部分が現れると、各プ
ロセッサでの処理の終了を均等にすることが難しく、並
列実行で不利になる。これは、Guided−Self
スケジューリングやSelfスケジューリングといった
一般的な処理の動的な分割方法だけでなく、実施の形態
1から実施の形態14の処理でも同じ傾向となる。
Next, the operation will be described. When processes are distributed and executed by dynamic scheduling, if a heavy load appears in the latter half of the process (especially immediately before the end), it is difficult to evenly finish the processes in each processor, which is disadvantageous in parallel execution. become. This is a Guided-Self
The same tendency applies not only to the dynamic division method of general processing such as scheduling and Self scheduling, but also to the processing of the first to fourteenth embodiments.

【0159】この実施の形態15の負荷予測設定手段3
4では、処理対象画像に対する負荷の予測を設定するこ
とができる。例えば、MUSICでの超解像処理を実行
するユーザが、処理対象の画像を目で見て、画像の局所
的な領域で処理負荷が高くなると予測した場合には、そ
の領域での処理負荷が高く、他の部分の処理負荷が低い
といった予測情報を設定することができる。この設定方
法としては、グラフィカルユーザインタフェースを利用
して、画像処理領域を表示した画面上で指定すること等
が考えられる。負荷予測型領域分割法手段35では、負
荷予測設定手段34に指定された予測値を基準に、負荷
が高いと予測される処理領域(行)から、各プロセッサ
への割当を優先して行うような領域分割法を選択でき
る。
Load prediction setting means 3 of the fifteenth embodiment
In 4, it is possible to set the load prediction for the image to be processed. For example, when a user who performs super-resolution processing in MUSIC visually sees an image to be processed and predicts that the processing load will be high in a local area of the image, the processing load in that area will increase. It is possible to set prediction information that is high and the processing load of other parts is low. As this setting method, it is possible to use a graphical user interface to specify on the screen displaying the image processing area. The load prediction type area division method unit 35 preferentially allocates to each processor from the processing area (row) predicted to have a high load, based on the prediction value designated by the load prediction setting unit 34. It is possible to select a different area division method.

【0160】本装置では、上記のような手順で選択され
た、負荷が高いと予測される処理領域から優先して処理
するような領域分割法を用いて、対象の画像処理を並列
実行する。なお、ここでの画像処理の並列実行方法は、
処理領域の選択方法が異なる以外は、実施の形態1の装
置と同じである。
In the present apparatus, the target image processing is executed in parallel by using the area division method which preferentially processes the processing area selected in the above procedure and predicted to have a high load. In addition, the parallel execution method of image processing here is
The apparatus is the same as the apparatus of the first embodiment except that the method of selecting the processing area is different.

【0161】以上のように、この実施の形態15によれ
ば、入力された予測値に基づいて、負荷が高いと予測さ
れる画像領域を優先して各プロセッサに割り当ることが
可能になる。このため、処理の後半(特に終了直前)で
負荷が高い部分が現れる可能性を抑えることができ、各
プロセッサでの処理の終了をより均等化できる(負荷を
均等に分散できる)確率が高くなる利点がある。また、
処理負荷の予測値を利用することで、より適切な画像処
理対象領域の割当方法を選択できる確率が高くなる利点
もある。
As described above, according to the fifteenth embodiment, it is possible to give priority to an image region predicted to have a high load and allocate it to each processor based on the input predicted value. Therefore, it is possible to suppress the possibility that a high-load portion appears in the second half of the processing (especially immediately before the end), and the processing ends in each processor can be more evenly distributed (the load can be evenly distributed). There are advantages. Also,
By using the predicted value of the processing load, there is an advantage that the probability that a more appropriate image processing target area allocation method can be selected becomes high.

【0162】上記実施の形態15では、予測値の指定方
法としてユーザが指定する方法で説明したが、この指定
方法は任意であり、他の方法や手段を用いて指定を行っ
ても、上記実施の形態15と同様の効果を奏することが
できる。上記実施の形態15では、画像処理領域全体で
負荷に不均衡があり、この中の負荷が大きい領域が画像
処理実行の後半に現れて、負荷分散が難しくなるのを防
ぐ例で説明した。本装置では、これとは逆に、ほとんど
一様な負荷が予測される場合には、単純でオーバーヘッ
ドの少ない処理の割当方法を選択することもできる。こ
のように、本装置では、負荷の大きい部分に対応するケ
ースだけでなく、入力された予測情報に基づいて様々な
タイプの当方法を選択することが可能であり、この場合
にも上記実施の形態15と同様の効果を奏することがで
きる。
In the above-mentioned fifteenth embodiment, the method of designating the predicted value by the user has been described, but this designating method is arbitrary, and even if the designation is made by using another method or means, the above-mentioned embodiment is carried out. The same effect as that of the fifteenth aspect can be obtained. In the fifteenth embodiment, the load is unbalanced in the entire image processing area, and an area in which the load is large appears in the latter half of the image processing execution, and the load distribution is prevented from becoming difficult. On the contrary, in the present apparatus, when almost uniform load is predicted, a simple and low overhead processing allocation method can be selected. As described above, in the present apparatus, not only the case corresponding to the heavy load part, but also various types of this method can be selected based on the input prediction information. The same effect as that of the fifteenth aspect can be obtained.

【0163】実施の形態16.図28はこの発明の実施
の形態16による並列画像処理装置を示す構成図であ
り、図において、36は輝度値計算式設定手段、37は
輝度値計算実行手段、38は画素基準負荷予測計算手段
である。その他の構成は、図27と同一である。
Sixteenth Embodiment 28 is a block diagram showing a parallel image processing apparatus according to Embodiment 16 of the present invention. In the figure, 36 is a brightness value calculation formula setting means, 37 is a brightness value calculation execution means, and 38 is a pixel reference load prediction calculation means. Is. Other configurations are the same as those in FIG.

【0164】次に動作について説明する。輝度値計算式
設定手段36は、処理対象の画像処理領域の各画素に対
する輝度値を計算する計算式を設定する。例えば、処理
対象の複素画像領域に対する輝度値の計算式として「√
((実数部の2乗)+(虚数部の2乗))」が指定され
たとする。輝度値計算実行手段37では、輝度値計算式
設定手段36で指定された計算式に従って、処理対象の
画像処理領域の各画素に対する輝度値を計算する。画素
基準負荷予測計算手段38は、輝度値計算実行手段37
が算出した結果に基づいて、単位領域毎の処理負荷の予
測値を算出する。例えば、画素基準負荷予測計算手段3
8では、単位領域での輝度値の総和の大きさに比例して
処理負荷の予測値を算出する(この例では、各行での輝
度値の総和を求め、その総和の大きさによって推定散乱
点数の個数を予測する)。また、画素基準負荷予測計算
手段38は、算出した予測値を負荷予測設定手段34に
設定する。負荷予測型領域分割法手段35は、実施の形
態15と同様に、負荷予測設定手段34へ設定された予
測値を基に領域分割法を決定する。
Next, the operation will be described. The brightness value calculation formula setting means 36 sets a calculation formula for calculating the brightness value for each pixel in the image processing area to be processed. For example, the calculation formula of the brightness value for the complex image area to be processed is “√
((Square of real part) + (square of imaginary part)) ”is designated. The brightness value calculation executing means 37 calculates the brightness value for each pixel in the image processing area to be processed according to the calculation formula specified by the brightness value calculation formula setting means 36. The pixel reference load prediction calculation means 38 is the brightness value calculation execution means 37.
The predicted value of the processing load for each unit area is calculated based on the calculation result of. For example, the pixel reference load prediction calculation means 3
In 8, the predicted value of the processing load is calculated in proportion to the sum of the brightness values in the unit area (in this example, the sum of the brightness values in each row is obtained, and the estimated number of scattering points is calculated according to the size of the sum. Predict the number of). Further, the pixel reference load prediction calculation means 38 sets the calculated prediction value in the load prediction setting means 34. The load prediction type area division method unit 35 determines the area division method based on the prediction value set in the load prediction setting unit 34, as in the fifteenth embodiment.

【0165】以上のように、この実施の形態16によれ
ば、処理対象の画像の各画素の情報から処理負荷の予測
を行うことができる。これにより、各画素の情報からの
負荷予測の精度が高いケースで、負荷の予測精度を上げ
られる利点がある。予測の精度を向上させることは、よ
り適切な画像処理対象領域の割当方法を選択できる利点
がある。
As described above, according to the sixteenth embodiment, the processing load can be predicted from the information of each pixel of the image to be processed. Thereby, there is an advantage that the load prediction accuracy can be increased in a case where the load prediction accuracy from the information of each pixel is high. Improving the accuracy of prediction has the advantage of being able to select a more appropriate image processing target area allocation method.

【0166】上記実施の形態16では、輝度値の計算式
として「√((実数部の2乗)+(虚数部の2乗))」
を用いる例で説明したが、輝度値計算式設定手段36に
は、任意の計算式を設定することが可能であり、また、
輝度値計算実行手段37は、指定された計算式に対応し
た輝度値を算出可能であり、上記実施の形態16と同様
の効果を奏することができる。
In the sixteenth embodiment, “√ ((square of real part) + (square of imaginary part))” is used as the formula for calculating the brightness value.
However, it is possible to set an arbitrary calculation formula in the brightness value calculation formula setting means 36.
The brightness value calculation executing means 37 can calculate the brightness value corresponding to the specified calculation formula, and can achieve the same effect as that of the above-described sixteenth embodiment.

【0167】実施の形態17.図29はこの発明の実施
の形態17による並列画像処理装置を示す構成図であ
り、図において、39は画素基準負荷予測条件設定手
段、40は図28における画素基準負荷予測計算手段3
8の機能を拡張した計測条件対応型画素基準負荷予測計
算手段である。その他の構成は、図28と同一である。
Seventeenth Embodiment 29 is a block diagram showing a parallel image processing device according to a seventeenth embodiment of the present invention. In FIG. 29, 39 is a pixel reference load prediction condition setting means, and 40 is a pixel reference load prediction calculation means 3 in FIG.
The pixel reference load prediction calculation means corresponding to the measurement condition, which is obtained by expanding the function of 8. Other configurations are the same as those in FIG. 28.

【0168】次に動作について説明する。この実施の形
態17では、画素基準負荷予測条件設定手段39は、画
素毎の輝度値に対する予測負荷の計算方法を設定でき
る。また、計測条件対応型画素基準負荷予測計算手段4
0は、画素基準負荷予測条件設定手段39で指定された
予測負荷の計算方法に従って、単位領域毎の予測負荷を
計算できる。
Next, the operation will be described. In the seventeenth embodiment, the pixel reference load prediction condition setting means 39 can set the calculation method of the prediction load for the brightness value of each pixel. Further, the measurement condition corresponding pixel reference load prediction calculation means 4
With 0, the predicted load for each unit area can be calculated in accordance with the predicted load calculation method designated by the pixel reference load prediction condition setting means 39.

【0169】例えば、画素基準負荷予測条件設定手段3
9に、予測負荷の計算方法として“単位領域毎に、ある
「しきい値」を超えた輝度値を持つ画素の個数”を指定
したとする。この時、計測条件対応型画素基準負荷予測
計算手段40は、まず、輝度値計算実行手段37に各画
素での輝度値の計算を指示する。ここでは、実施の形態
16と同様に、この負荷予測に対応した輝度値の計算式
が輝度値計算式設定手段36に設定されており、輝度値
計算実行手段37は、その設定に従って各画素での輝度
値を算出する。計測条件対応型画素基準負荷予測計算手
段40では、輝度値計算実行手段37での輝度値算出が
終了後に、単位領域毎(この例では、各行毎)に、画素
基準負荷予測条件設定手段39で指定された「しきい
値」を超えた輝度値を持つ画素の個数をカウントし、こ
れを負荷の予測値とする。計測条件対応型画素基準負荷
予測計算手段40は、ここで算出した予測値を負荷予測
設定手段34に設定する。この後で、実施の形態15と
同様の手順で、負荷予測設定手段34へ設定された予測
値を基に、負荷予測型領域分割法手段35が領域分割法
を決定する。
For example, the pixel reference load prediction condition setting means 3
It is assumed that “the number of pixels having a brightness value exceeding a certain“ threshold value ”for each unit area is specified as the calculation method of the predicted load in 9. At this time, the measurement condition-corresponding pixel standard load prediction calculation is performed. The means 40 first instructs the brightness value calculation executing means 37 to calculate the brightness value at each pixel, where the brightness value calculation formula corresponding to this load prediction is the brightness value as in the sixteenth embodiment. The brightness value calculation executing means 37 is set in the calculation formula setting means 36, and the brightness value of each pixel is calculated according to the setting. After the brightness value calculation in 37 is completed, the number of pixels having a brightness value exceeding the “threshold value” specified by the pixel reference load prediction condition setting unit 39 for each unit area (each row in this example). And load this as the predicted load That. The measurement condition corresponding pixel reference load prediction calculation means 40 sets the prediction value calculated here in the load prediction setting means 34. Thereafter, the load prediction type area division method means 35 determines the area division method based on the predicted value set in the load prediction setting means 34 in the same procedure as in the fifteenth embodiment.

【0170】以上のように、この実施の形態17によれ
ば、処理対象の画像の各画素の情報を基準とした、処理
負荷の予測を行う計算式を設定し、その計算式を使って
単位領域毎の予測負荷を算出できる。これにより、各画
素の情報からの負荷予測の算出方法を柔軟に設定するこ
とができる利点がある。また、処理対象画像に対する知
識や前提条件から、予測負荷の算出方法を選択すること
などにより、負荷の予測精度を向上することが期待でき
る。
As described above, according to the seventeenth embodiment, the calculation formula for predicting the processing load is set based on the information of each pixel of the image to be processed, and the unit is calculated using the calculation formula. The predicted load for each area can be calculated. Thereby, there is an advantage that the calculation method of the load prediction from the information of each pixel can be flexibly set. Further, it is expected that the load prediction accuracy can be improved by selecting a prediction load calculation method from the knowledge of the processing target image and the preconditions.

【0171】上記実施の形態17では、予測負荷の算出
方法として、輝度値に対する「しきい値」を上回る画素
数を基準とした方法で説明したが、ここでは、任意の予
測負荷の計算方法を設定可能であり、上記実施の形態1
7と同様の効果を奏することができる。例えば、単位領
域毎に最大(ピーク)値となる画素の輝度値を基準とす
る算出法、ある輝度値の範囲に含まれる画素の個数を基
準とする算出法、これらの条件を組み合わせた算出法等
を設定可能であり、上記実施の形態17と同様の効果を
奏することができる。
In the above-mentioned seventeenth embodiment, the method of calculating the predicted load is described by using the number of pixels exceeding the "threshold" for the luminance value as a reference, but here, a method of calculating an arbitrary predicted load is used. It can be set, and the first embodiment
The same effect as that of No. 7 can be obtained. For example, a calculation method based on the brightness value of the pixel having the maximum (peak) value for each unit area, a calculation method based on the number of pixels included in a certain brightness value range, and a calculation method combining these conditions. Etc. can be set, and the same effect as that of the above-mentioned seventeenth embodiment can be obtained.

【0172】実施の形態18.図30はこの発明の実施
の形態18による並列画像処理装置を示す構成図であ
り、図において、41は特徴域抽出設定手段、42は特
徴域抽出手段、43は図28における画素基準負荷予測
計算手段38の機能を拡張した特徴域負荷予測計算手段
である。その他の構成は、図28と同一である。
Eighteenth Embodiment 30 is a block diagram showing a parallel image processing apparatus according to Embodiment 18 of the present invention. In the figure, 41 is a characteristic region extraction setting unit, 42 is a characteristic region extraction unit, and 43 is a pixel reference load prediction calculation in FIG. It is a characteristic region load prediction calculation means that extends the function of the means 38. Other configurations are the same as those in FIG. 28.

【0173】次に動作について説明する。この実施の形
態18で、特徴域抽出設定手段41は、画素の輝度値か
ら負荷予測の基準となる特徴域の算出方法を設定でき
る。特徴域抽出手段42は、特徴域抽出設定手段41の
設定に従って特徴域を抽出できる。特徴域負荷予測計算
手段43は、特徴域抽出手段42が抽出した特徴域から
単位領域毎の予測負荷を計算できる。
Next, the operation will be described. In the eighteenth embodiment, the characteristic region extraction setting unit 41 can set the method of calculating the characteristic region serving as the reference of load prediction from the luminance value of the pixel. The characteristic region extraction means 42 can extract the characteristic region according to the setting of the characteristic region extraction setting means 41. The characteristic region load prediction calculation unit 43 can calculate the predicted load for each unit region from the characteristic region extracted by the characteristic region extraction unit 42.

【0174】例えば、特徴域抽出設定手段41に、特徴
域の算出方法として、“単位領域内で、輝度値が「しき
い値」を超えた画素の連続領域”が設定されたとする。
特徴域抽出手段42は、特徴域抽出設定手段41の設定
に従って、単位領域毎(この例では、各行毎)に、輝度
値が「しきい値」を超えた画素の連続領域を特徴域とし
て抽出する。ここでは、実施の形態16と同様に、この
負荷予測に対応した輝度値の計算式が輝度値計算式設定
手段36に設定されており、輝度値計算実行手段37
は、その設定に従って各画素での輝度値を算出する。特
徴域抽出手段42は、輝度値計算実行手段37が算出し
た輝度値を基に、特徴域を抽出する。この例の特徴域負
荷予測計算手段43では、最大の特徴域のサイズを基準
に、単位領域毎の予測負荷を計算するような設定がなさ
れていたとする。特徴域負荷予測計算手段43では、特
徴域抽出手段42が抽出した特徴域から、単位領域毎
に、サイズが最大となる特徴域を選択し、そのサイズを
基準に、予測負荷を決定する。特徴域負荷予測計算手段
43では、ここで算出した予測値を負荷予測設定手段3
4に設定する。この後で、実施の形態15と同様の手順
で、負荷予測設定手段34へ設定された予測値を基に、
負荷予測型領域分割法手段35が領域分割法を決定す
る。
For example, it is assumed that "a continuous region of pixels whose luminance value exceeds the" threshold value "within the unit region" is set in the characteristic region extraction setting means 41 as the characteristic region calculating method.
The characteristic region extracting unit 42 extracts, as the characteristic region, a continuous region of pixels whose luminance value exceeds the “threshold value” for each unit region (for each row in this example) according to the setting of the characteristic region extraction setting unit 41. To do. Here, as in the sixteenth embodiment, the brightness value calculation formula corresponding to this load prediction is set in the brightness value calculation formula setting means 36, and the brightness value calculation executing means 37.
Calculates the brightness value at each pixel according to the setting. The characteristic region extracting means 42 extracts a characteristic region based on the brightness value calculated by the brightness value calculation executing means 37. It is assumed that the characteristic region load prediction / calculation unit 43 in this example is set to calculate the predicted load for each unit region based on the maximum size of the characteristic region. The characteristic region load prediction calculation unit 43 selects the characteristic region having the maximum size for each unit region from the characteristic regions extracted by the characteristic region extraction unit 42, and determines the predicted load based on the size. In the characteristic region load prediction calculation means 43, the prediction value calculated here is used as the load prediction setting means 3
Set to 4. After this, in the same procedure as in the fifteenth embodiment, based on the predicted value set in the load prediction setting means 34,
The load prediction type area division method means 35 determines the area division method.

【0175】以上のように、この実施の形態18によれ
ば、画素の輝度値から負荷予測の基準となる特徴域を設
定し、この特徴域の情報から処理負荷の予測を行うこと
ができる。画素単位だけでなく、画素の輝度値を基に算
出した局所的な集合である特徴域を基準に、処理負荷の
予測を可能とすることで、負荷の予測精度を向上させる
確率が高くなる利点がある。予測の精度を向上させるこ
とは、より適切な画像処理対象領域の割当方法を選択で
きる利点がある。
As described above, according to the eighteenth embodiment, it is possible to set a characteristic region as a reference of load prediction from the brightness value of a pixel and predict the processing load from the information of this characteristic region. The advantage of increasing the probability of improving the load prediction accuracy by making it possible to predict the processing load not only on a pixel-by-pixel basis but also on the basis of a characteristic region that is a local set calculated based on the brightness value of pixels There is. Improving the accuracy of prediction has the advantage of being able to select a more appropriate image processing target area allocation method.

【0176】上記実施の形態18では、特徴域の算出方
法として、“単位領域内で、輝度値が「しきい値」を超
えた画素の連続領域”とする例で説明したが、ここでは
任意の特徴域の算出方法を設定可能であり、上記実施の
形態18と同様の効果を奏することができる。
In the eighteenth embodiment, the method of calculating the characteristic region has been described by taking an example of "a continuous region of pixels whose luminance value exceeds the" threshold value "in the unit region", but here it is arbitrary. The method of calculating the characteristic region can be set, and the same effect as that of the above-described eighteenth embodiment can be obtained.

【0177】実施の形態19.図31はこの発明の実施
の形態19による並列画像処理装置を示す構成図であ
り、図において、44は特徴域負荷予測条件設定手段、
45は図30における特徴域負荷予測計算手段43の機
能を拡張した計測条件対応型特徴域負荷予測計算手段で
ある。その他の構成は、図30と同一である。
Nineteenth Embodiment 31 is a block diagram showing a parallel image processing device according to a nineteenth embodiment of the present invention, in which reference numeral 44 denotes a characteristic region load prediction condition setting means,
Reference numeral 45 denotes a characteristic condition load predictive calculation means corresponding to the measurement condition, which is obtained by expanding the function of the characteristic area load predictive calculation means 43 in FIG. Other configurations are the same as those in FIG.

【0178】次に動作について説明する。この実施の形
態19では、特徴域負荷予測条件設定手段44は、特徴
域に対する予測負荷の計算方法を設定できる。計測条件
対応型特徴域負荷予測計算手段45では、特徴域負荷予
測条件設定手段44の設定に従って、単位領域毎の予測
負荷を計算できる。
Next, the operation will be described. In the nineteenth embodiment, the characteristic region load prediction condition setting means 44 can set the calculation method of the predicted load for the characteristic region. The measurement condition corresponding characteristic region load prediction calculation means 45 can calculate the predicted load for each unit area according to the setting of the characteristic region load prediction condition setting means 44.

【0179】例えば、特徴域負荷予測条件設定手段44
に、予測負荷の計算方法として、“単位領域内で一定の
サイズよりも大きい特徴域の個数”が設定されたとす
る。この時、計測条件対応型特徴域負荷予測計算手段4
5は、まず、特徴域抽出手段42に、特徴域の抽出を指
示する。この特徴域抽出手段42での特徴域の抽出方法
は、実施の形態18と同じである。次に、計測条件対応
型特徴域負荷予測計算手段45は、単位領域毎に、特徴
域抽出手段42が抽出した特徴域で、特徴域負荷予測条
件設定手段44で設定されたサイズよりも大きいものの
数をカウントし、予測値として算出する。計測条件対応
型特徴域負荷予測計算手段45が算出した予測値は、負
荷予測設定手段34へ設定され、この予測値を基に、実
施の形態15と同様の手順で負荷予測型領域分割法手段
35が領域分割法を決定する。
For example, the characteristic region load prediction condition setting means 44
In addition, it is assumed that “the number of feature areas larger than a certain size in the unit area” is set as the calculation method of the predicted load. At this time, the characteristic condition load prediction calculation means 4 corresponding to the measurement condition
5 first instructs the characteristic region extracting means 42 to extract a characteristic region. The method of extracting the characteristic region by the characteristic region extracting means 42 is the same as in the eighteenth embodiment. Next, the measurement condition corresponding characteristic region load prediction calculation means 45 is the characteristic region extracted by the characteristic region extraction means 42 for each unit region, and is larger than the size set by the characteristic region load prediction condition setting means 44. The number is counted and calculated as a predicted value. The predicted value calculated by the characteristic condition load prediction calculation means 45 corresponding to the measurement condition is set in the load prediction setting means 34, and based on this predicted value, the load prediction type area division method means in the same procedure as in the fifteenth embodiment. 35 determines the area division method.

【0180】以上のように、この実施の形態19によれ
ば、画素の輝度値から負荷予測の基準となる特徴域を設
定し、この特徴域の情報に対して処理負荷の予測を行う
計算式を設定し、その計算式を使って単位領域毎の予測
負荷を算出できる。これにより、画素単位だけでなく、
画素の輝度値を基に算出した局所的な集合である特徴域
の情報を基準とした負荷予測の算出方法を柔軟に設定す
ることができる利点がある。また、処理対象画像に対す
る知識や前提条件から、予測負荷の算出方法を選択する
こと等により、負荷の予測精度を向上することが期待で
きる。
As described above, according to the nineteenth embodiment, a calculation region for setting a characteristic region serving as a reference for load prediction from the brightness value of a pixel and predicting the processing load for the information of this characteristic region. Can be set, and the predicted load for each unit area can be calculated using the calculation formula. As a result, not only in pixel units,
There is an advantage that the calculation method of the load prediction based on the information of the characteristic region, which is a local set calculated based on the brightness value of the pixel, can be flexibly set. Further, it is expected that the load prediction accuracy is improved by selecting a method for calculating the predicted load from the knowledge of the image to be processed and the preconditions.

【0181】上記実施の形態19では、予測負荷の算出
方法として、“単位領域内で一定のサイズよりも大きい
特徴域の個数”とした方法で説明したが、ここでは、任
意の予測負荷の計算方法を設定可能であり、上記実施の
形態19と同様の効果を奏することができる。例えば、
“特徴域内の輝度値の最大(ピーク)値が「しきい値」
を超えるものの個数”、“特徴域内の輝度値の総和”、
“特徴域内の輝度値の平均値”、“一定の大きさを超え
る特徴域の個数”や、これらを組み合わせた条件等も設
定可能であり、上記実施の形態19と同様の効果を奏す
ることができる。
In the nineteenth embodiment, the method of calculating the predicted load is described as "the number of feature areas larger than a certain size in a unit area", but here, the calculation of an arbitrary predicted load is performed. The method can be set, and the same effect as that of the nineteenth embodiment can be obtained. For example,
“The maximum (peak) value of the brightness values in the feature area is the“ threshold ”
The number of objects exceeding ",""sum of brightness values in the feature area",
“Average value of brightness values in feature area”, “number of feature areas exceeding a certain size”, conditions combining these, and the like can be set, and the same effect as in the nineteenth embodiment can be obtained. it can.

【0182】実施の形態20.図32はこの発明の実施
の形態20による並列画像処理装置を示す構成図であ
り、図において、46は基準領域設定手段、47は図2
8における画素基準負荷予測計算手段38の機能を拡張
した基準領域負荷予測計算手段である。その他の構成
は、図28と同一である。図33は基準領域を示す説明
図である。
Embodiment 20. 32 is a block diagram showing a parallel image processing device according to a twentieth embodiment of the present invention. In the figure, reference numeral 46 is a reference area setting means, and 47 is FIG.
8 is a reference area load prediction calculation means in which the function of the pixel reference load prediction calculation means 38 in FIG. Other configurations are the same as those in FIG. 28. FIG. 33 is an explanatory diagram showing the reference area.

【0183】次に動作について説明する。この実施の形
態20で、基準領域設定手段46は、一定範囲の画像領
域を基準領域として設定する。基準領域負荷予測計算手
段47は、基準領域設定手段46が設定した基準領域内
の輝度値から予測負荷を計算する。
Next, the operation will be described. In the twentieth embodiment, the reference area setting means 46 sets an image area within a certain range as the reference area. The reference area load prediction calculation means 47 calculates the predicted load from the brightness value in the reference area set by the reference area setting means 46.

【0184】例えば、基準領域設定手段46が、図33
に示すような、ある画素およびその画素に隣接する8画
素を基準領域に設定したとする。また、基準領域負荷予
測計算手段47では、次のように予測負荷を計算する設
定であったとする。まず、各画素毎に基準領域に対する
輝度値の平均を求める。次に、単位領域内での各画素毎
に平均した輝度値の総和を求める。最後に、この総和か
ら単位領域での予測負荷を決定する。この時、基準領域
負荷予測計算手段47では、まず、基準領域設定手段4
6が設定した基準領域に従って、各画素に対する基準領
域での輝度値の平均を求める。なお、輝度値の算出方法
は、実施の形態16と同じである。次に、単位領域毎
に、各画素毎に平均した輝度値の総和を求め、その単位
領域での予測負荷とする。最後に、基準領域負荷予測計
算手段47は、算出した予測負荷を、負荷予測設定手段
34へ設定する。負荷予測設定手段34へ設定された予
測負荷を基に、実施の形態15と同様の手順で負荷予測
型領域分割法手段35が領域分割法を決定する。
For example, the reference area setting means 46 is shown in FIG.
It is assumed that a certain pixel and 8 pixels adjacent to the certain pixel are set as the reference area as shown in FIG. Further, it is assumed that the reference area load prediction calculation means 47 is set to calculate the predicted load as follows. First, the average of the brightness values with respect to the reference region is obtained for each pixel. Next, the sum of the brightness values averaged for each pixel in the unit area is obtained. Finally, the predicted load in the unit area is determined from this total. At this time, in the reference area load prediction calculation means 47, first, the reference area setting means 4
According to the reference area set by 6, the average of the brightness values in the reference area for each pixel is obtained. The method of calculating the brightness value is the same as that in the sixteenth embodiment. Next, for each unit area, the total sum of the brightness values averaged for each pixel is calculated and used as the predicted load in that unit area. Finally, the reference area load prediction calculation unit 47 sets the calculated predicted load in the load prediction setting unit 34. Based on the predicted load set in the load prediction setting means 34, the load prediction type area division method means 35 determines the area division method in the same procedure as in the fifteenth embodiment.

【0185】以上のように、この実施の形態20によれ
ば、一定範囲の画像領域を基準領域として設定し、この
範囲での輝度値の情報から処理負荷の予測を行うことが
できる。固定された一定範囲の画像領域からの輝度値を
基に算出した情報を基に負荷を予測することで、負荷の
予測精度を向上させる確率が高くなる利点がある。予測
の精度を向上させることは、より適切な画像処理対象領
域の割当方法を選択できる利点がある。
As described above, according to the twentieth embodiment, it is possible to set an image area in a fixed range as a reference area and predict the processing load from the information of the brightness value in this range. By predicting the load based on the information calculated based on the brightness value from the image area of the fixed fixed range, there is an advantage that the probability of improving the load prediction accuracy increases. Improving the accuracy of prediction has the advantage of being able to select a more appropriate image processing target area allocation method.

【0186】上記実施の形態20では、基準領域とし
て、図33に示すような領域とする例で説明したが、こ
こでは形状および範囲の基準領域を設定可能であり、上
記実施の形態20と同様の効果を奏することができる。
In the twentieth embodiment, an example in which the reference region is a region as shown in FIG. 33 has been described. However, a reference region of a shape and a range can be set here, and the same as in the twentieth embodiment. The effect of can be produced.

【0187】実施の形態21.図34はこの発明の実施
の形態21による並列画像処理装置を示す構成図であ
り、図において、48は基準領域負荷予測条件設定手
段、49は図32における基準領域負荷予測計算手段4
7の機能を拡張した計測条件対応型基準領域負荷予測計
算手段である。その他の構成は、図32と同一である。
Embodiment 21. 34 is a block diagram showing a parallel image processing apparatus according to Embodiment 21 of the present invention. In the figure, 48 is a reference area load prediction condition setting means, and 49 is a reference area load prediction calculation means 4 in FIG.
It is a reference condition load prediction calculation means corresponding to the measurement condition, which is an expanded function of 7. Other configurations are the same as those in FIG.

【0188】次に動作について説明する。この実施の形
態21で、基準領域負荷予測条件設定手段48は、基準
領域内での輝度値を基に予測負荷の計算方法を設定でき
る。また、計測条件対応型基準領域負荷予測計算手段4
9は、基準領域負荷予測条件設定手段48が設定した予
測負荷の計算方法から、単位領域毎の予測負荷を計算で
きる。
Next, the operation will be described. In the twenty-first embodiment, the reference area load prediction condition setting means 48 can set the calculation method of the prediction load based on the brightness value in the reference area. In addition, the measurement condition compatible reference area load prediction calculation means 4
9 can calculate the predicted load for each unit area from the predicted load calculation method set by the reference area load prediction condition setting means 48.

【0189】例えば、基準領域負荷予測条件設定手段4
8に、実施の形態20と同じ基準領域に対して、次の予
測負荷の計算方法が指定されていたとする。まず、基準
領域内での輝度値の総和が「しきい値1」より大きい画
素を抽出し、この集合を「画素群1」とする。次に「画
素群1」で、対象画素の輝度値と基準領域内の他の画素
との輝度値の差の総和を求める。この総和が「しきい値
2」より小さいものを抽出し、「画素群2」とする。最
後に、単位領域毎に、「画素群2」に属する画素数をカ
ウントし、これを予測負荷の値とする。計測条件対応型
基準領域負荷予測計算手段49は、基準領域負荷予測条
件設定手段48が設定した予測負荷の計算方法に従っ
て、処理を進める。この例では、まず、基準領域設定手
段46が設定した基準領域に従って、基準領域内での輝
度値の総和が「しきい値1」より大きい画素を抽出し、
この集合を「画素群1」とする。なお、基準領域設定手
段46での基準領域の設定方法は、実施の形態20と同
じである。次に、計測条件対応型基準領域負荷予測計算
手段49では、「画素群1」に含まれる画素に対して、
対象画素の輝度値と基準領域内の他の画素との輝度値の
差の総和を求める。その後で、この総和が「しきい値
2」より小さいものを抽出し、「画素群2」とする。
「画素群2」を抽出後、計測条件対応型基準領域負荷予
測計算手段49では、単位領域毎に、「画素群2」に属
する画素数をカウントし、これを予測負荷の値とする。
計測条件対応型基準領域負荷予測計算手段49では、上
記の手順で算出した予測負荷の値を、負荷予測設定手段
34へ設定する。負荷予測設定手段34へ設定された予
測負荷を基に、実施の形態15と同様の手順で負荷予測
型領域分割法手段35が領域分割法を決定する。
For example, the reference area load prediction condition setting means 4
It is assumed that the following method of calculating the predicted load is designated for the same reference region as in the twentieth embodiment. First, pixels in which the total sum of brightness values in the reference region is larger than "threshold value 1" are extracted, and this set is referred to as "pixel group 1". Next, in "pixel group 1", the sum of the differences between the brightness value of the target pixel and the brightness values of the other pixels in the reference area is calculated. A pixel whose total sum is smaller than "threshold value 2" is extracted and set as "pixel group 2". Finally, the number of pixels belonging to the “pixel group 2” is counted for each unit area, and this is set as the predicted load value. The measurement condition corresponding reference area load prediction calculation means 49 advances the processing according to the method of calculating the predicted load set by the reference area load prediction condition setting means 48. In this example, first, in accordance with the reference area set by the reference area setting means 46, pixels whose sum of brightness values in the reference area is larger than “threshold value 1” are extracted,
This set is called “pixel group 1”. The method of setting the reference area by the reference area setting means 46 is the same as in the twentieth embodiment. Next, in the measurement condition corresponding reference area load prediction calculation means 49, for the pixels included in the “pixel group 1”,
The sum of the differences between the brightness value of the target pixel and the brightness values of the other pixels in the reference area is calculated. After that, a pixel whose total sum is smaller than "threshold value 2" is extracted and set as "pixel group 2".
After extracting the “pixel group 2”, the measurement condition corresponding reference area load prediction calculation unit 49 counts the number of pixels belonging to the “pixel group 2” for each unit area, and sets this as the value of the predicted load.
The measurement condition-corresponding reference area load prediction calculation means 49 sets the value of the predicted load calculated in the above procedure in the load prediction setting means 34. Based on the predicted load set in the load prediction setting means 34, the load prediction type area division method means 35 determines the area division method in the same procedure as in the fifteenth embodiment.

【0190】以上のように、この実施の形態21によれ
ば、一定範囲の画像領域を基準領域として設定し、その
基準領域内の情報に対して処理負荷の予測を行う計算式
を設定し、その計算式を使って単位領域毎の予測負荷を
算出できる。これにより、固定された形状の基準領域内
の局所情報を使って、負荷予測の算出方法を柔軟に設定
することができる利点がある。また、処理対象画像に対
する知識や前提条件から、予測負荷の算出方法を選択す
ること等により、負荷の予測精度を向上することも期待
できる。この実施の形態21の説明で使っている超解像
処理は、埋没している散乱点を抽出する処理である。こ
こでの処理負荷は、埋没した散乱点の候補の個数で決定
する。このような処理の負荷を予測する場合に、本実施
の形態21の装置のように、一定の画像領域内での変化
を基準に様々な予測計算式を決定することが、予測精度
を上げる可能性が高い利点がある。
As described above, according to the twenty-first embodiment, an image area in a certain range is set as a reference area, and a calculation formula for predicting a processing load is set for information in the reference area. The predicted load for each unit area can be calculated using the calculation formula. Thereby, there is an advantage that the calculation method of the load prediction can be flexibly set by using the local information in the reference region having the fixed shape. It is also expected that the load prediction accuracy can be improved by, for example, selecting a predictive load calculation method from the knowledge of the image to be processed and the preconditions. The super-resolution processing used in the description of this twenty-first embodiment is processing for extracting buried scattering points. The processing load here is determined by the number of buried scattering point candidates. When predicting the load of such processing, it is possible to improve the prediction accuracy by determining various prediction calculation formulas on the basis of a change in a certain image area as in the device of the twenty-first embodiment. There is a high advantage.

【0191】上記実施の形態21では、予測負荷の算出
方法として、基準領域内に対する一連の計算により求め
る方法で説明したが、ここでは、任意の予測負荷の計算
方法を設定可能であり、上記実施の形態21と同様の効
果を奏することができる。例えば、“各画素で基準領域
に対する輝度値のピーク値を計算し、単位領域内での、
この各画素毎のピーク値の総和を予測負荷とする”とい
った設定も可能であり、上記実施の形態21と同様の効
果を奏することができる。
In the twenty-first embodiment, as the method of calculating the predicted load, the method of obtaining the predicted load by a series of calculations has been described, but any calculation method of the predicted load can be set here. The same effect as that of the embodiment 21 can be obtained. For example, “The peak value of the luminance value for each pixel is calculated for each pixel, and in the unit area,
It is also possible to make a setting such that “the sum of the peak values for each pixel is used as the prediction load”, and the same effect as that of the twenty-first embodiment can be obtained.

【0192】実施の形態22.図35はこの発明の実施
の形態22による並列画像処理装置を示す構成図であ
り、図において、50は傾き基準設定手段、51は図2
8における画素基準負荷予測計算手段38の機能を拡張
した傾き負荷予測計算手段である。その他の構成は、図
28と同一である。
Twenty-second Embodiment. 35 is a block diagram showing a parallel image processing apparatus according to Embodiment 22 of the present invention. In FIG. 35, reference numeral 50 is an inclination reference setting means, and 51 is FIG.
8 is a tilt load prediction calculation means that extends the function of the pixel reference load prediction calculation means 38 in FIG. Other configurations are the same as those in FIG. 28.

【0193】次に動作について説明する。この実施の形
態22で、傾き基準設定手段50は、基準となる傾きを
設定できる。傾き負荷予測計算手段51は、傾き基準設
定手段50が設定した基準となる傾きから予測負荷を計
算する。
Next, the operation will be described. In the twenty-second embodiment, the tilt reference setting means 50 can set the reference tilt. The gradient load prediction calculation means 51 calculates the predicted load from the reference gradient set by the gradient reference setting means 50.

【0194】例えば、傾き基準設定手段50に、基準と
なる傾きとして、両隣の画素との変化量が「しきい値」
を超えたもの(増加・減少の両方)が設定されていたと
する。また、傾き負荷予測計算手段51には、「しきい
値」を超える傾きの個数を予測値とするような設定され
ていたとする。この時、傾き負荷予測計算手段51で
は、単位領域内の各画素で、その両隣の画素との間での
輝度値の変化量を算出する。なお、輝度値の算出方法
は、実施の形態16と同じである。次に、傾き負荷予測
計算手段51では、その変化量が「しきい値」を超えた
もの(増加・減少の両方)をカウントし、その個数を単
位領域に対する予測負荷として算出する。最後に、傾き
負荷予測計算手段51は、算出した予測負荷を、負荷予
測設定手段34へ設定する。負荷予測設定手段34へ設
定された予測負荷を基に、実施の形態15と同様の手順
で負荷予測型領域分割法手段35が領域分割法を決定す
る。
For example, the inclination reference setting means 50 sets the reference inclination to the amount of change between adjacent pixels on the "threshold value".
It is assumed that those that exceed (both increase and decrease) have been set. In addition, it is assumed that the slope load prediction calculation means 51 is set so that the number of slopes exceeding the “threshold” is used as the predicted value. At this time, the inclination load prediction calculation means 51 calculates the amount of change in the brightness value between each pixel in the unit area and its neighboring pixels. The method of calculating the brightness value is the same as that in the sixteenth embodiment. Next, the slope load predictive calculation means 51 counts those whose change amount exceeds the “threshold value” (both increase and decrease), and calculates the number as the predictive load for the unit area. Finally, the gradient load prediction calculation means 51 sets the calculated prediction load in the load prediction setting means 34. Based on the predicted load set in the load prediction setting means 34, the load prediction type area division method means 35 determines the area division method in the same procedure as in the fifteenth embodiment.

【0195】以上のように、この実施の形態22によれ
ば、画素の輝度値の変化量を傾きとして設定し、この変
化量の情報から処理負荷の予測を行うことができる。変
化量を基に負荷を予測することで、負荷の予測精度を向
上させる確率が高くなる利点がある。予測の精度を向上
させることは、より適切な画像処理対象領域の割当方法
を選択できる利点がある。
As described above, according to the twenty-second embodiment, it is possible to set the amount of change in the luminance value of a pixel as the slope and predict the processing load from the information of this amount of change. Predicting the load based on the amount of change has the advantage of increasing the probability of improving the load prediction accuracy. Improving the accuracy of prediction has the advantage of being able to select a more appropriate image processing target area allocation method.

【0196】上記実施の形態22では、基準となる傾き
として、両隣の画素との変化量が「しきい値」を超えた
ものとする例で説明したが、ここでは、変化量を算出範
囲(両隣の画素だけでなく、両方の隣接する3個の画素
とすることも可能)や、変化量の判断基準を任意に設定
可能であり、上記実施の形態22と同様の効果を奏する
ことができる。
In the twenty-second embodiment, an example in which the amount of change between adjacent pixels exceeds the "threshold value" has been described as the reference inclination, but here, the amount of change is calculated in the calculation range ( (Not only the pixels on both sides, but it is also possible to use three adjacent pixels on both sides) and the criterion for determining the amount of change can be set arbitrarily, and the same effect as in the above-described twenty-second embodiment can be obtained. .

【0197】実施の形態23.図36はこの発明の実施
の形態23による並列画像処理装置を示す構成図であ
り、図において、52は傾き負荷予測条件設定手段、5
3は図35における傾き負荷予測計算手段51の機能を
拡張した計測条件対応型傾き負荷予測計算手段である。
その他の構成は、図35と同一である。
Twenty-third Embodiment. 36 is a block diagram showing a parallel image processing device according to a twenty-third embodiment of the present invention. In FIG. 36, reference numeral 52 denotes inclination load prediction condition setting means, 5
Reference numeral 3 denotes a measurement condition-compatible tilt load prediction calculation means that extends the function of the tilt load prediction calculation means 51 in FIG.
Other configurations are the same as those in FIG.

【0198】次に動作について説明する。この実施の形
態23で、傾き負荷予測条件設定手段52は、傾きに対
する予測負荷の計算方法を設定できる。また、計測条件
対応型傾き負荷予測計算手段53は、傾き負荷予測条件
設定手段52が設定した計算方法で、単位領域毎の予測
負荷を計算できる。
Next, the operation will be described. In the twenty-third embodiment, the slope load prediction condition setting means 52 can set the calculation method of the prediction load for the slope. Further, the measurement condition corresponding tilt load prediction calculation means 53 can calculate the predicted load for each unit area by the calculation method set by the tilt load prediction condition setting means 52.

【0199】例えば、傾き負荷予測条件設定手段52
に、実施の形態22と同じ傾き設定において、単位領域
内で、“傾き条件を満たす画素が3個以上続いた範囲の
画素の個数”を予測負荷にする計算方法が指定されてい
たとする。この例で、計測条件対応型傾き負荷予測計算
手段53は、傾き負荷予測条件設定手段52の設定に従
って次の手順で予測負荷を計算する。計測条件対応型傾
き負荷予測計算手段53は、まず、傾き基準設定手段5
0の傾き条件に適合する画素を抽出する(集合1とす
る)。ここで、傾き基準設定手段50の設定方法は、実
施の形態22と同様である。次に、計測条件対応型傾き
負荷予測計算手段53は、集合1に含まれる画素で、両
隣の画素も集合1に含まれるものを抽出する(集合2と
する)。集合2を抽出後、計測条件対応型傾き負荷予測
計算手段53は、単位領域毎に、集合2に属する画素数
をカウントし、これを予測負荷の値とする。計測条件対
応型傾き負荷予測計算手段53では、上記の手順で算出
した予測負荷の値を、負荷予測設定手段34へ設定す
る。負荷予測設定手段34へ設定された予測負荷を基
に、実施の形態15と同様の手順で負荷予測型領域分割
法手段35が領域分割法を決定する。
For example, the inclination load prediction condition setting means 52
In addition, it is assumed that, in the same gradient setting as in the twenty-second embodiment, a calculation method is specified in which the prediction load is "the number of pixels in a range in which three or more pixels satisfy the gradient condition continue" in the unit area. In this example, the measurement condition corresponding tilt load prediction calculation unit 53 calculates the predicted load in the following procedure according to the setting of the tilt load prediction condition setting unit 52. The measurement condition compatible tilt load prediction calculation means 53 firstly, the tilt reference setting means 5
Pixels that match the inclination condition of 0 are extracted (set 1). Here, the setting method of the inclination reference setting means 50 is the same as that of the twenty-second embodiment. Next, the measurement condition corresponding gradient load prediction calculation means 53 extracts the pixels included in the set 1 and the pixels on both sides thereof also included in the set 1 (referred to as a set 2). After extracting the set 2, the measurement condition corresponding gradient load prediction calculation means 53 counts the number of pixels belonging to the set 2 for each unit area and sets this as the value of the predicted load. The measurement condition-compatible tilt load prediction calculation means 53 sets the value of the predicted load calculated in the above procedure in the load prediction setting means 34. Based on the predicted load set in the load prediction setting means 34, the load prediction type area division method means 35 determines the area division method in the same procedure as in the fifteenth embodiment.

【0200】以上のように、この実施の形態23によれ
ば、画素の輝度値の変化量を傾きとして設定し、この変
化量の情報から処理負荷の予測を行う計算式を設定し、
その計算式を使って単位領域毎の予測負荷を算出でき
る。これにより、画素の輝度値の変化量を使って、負荷
予測の算出方法を柔軟に設定することができる利点があ
る。また、処理対象画像に対する知識や前提条件から、
予測負荷の算出方法を選択すること等により、負荷の予
測精度を向上することも期待できる。
As described above, according to the twenty-third embodiment, the amount of change in the brightness value of a pixel is set as a slope, and a calculation formula for predicting the processing load from the information on the amount of change is set.
The predicted load for each unit area can be calculated using the calculation formula. Thereby, there is an advantage that the calculation method of the load prediction can be flexibly set by using the change amount of the brightness value of the pixel. Also, from the knowledge and prerequisites for the image to be processed,
It can also be expected to improve the load prediction accuracy by selecting a method for calculating the predicted load.

【0201】上記実施の形態23では、予測負荷の算出
方法として、“傾き条件を満たす画素が3個以上続いた
範囲の画素の個数”とする例で説明したが、ここでは、
任意の予測負荷の計算方法を設定可能であり、上記実施
の形態23と同様の効果を奏することができる。
In the twenty-third embodiment, an example in which "the number of pixels in the range in which three or more pixels satisfy the slope condition are continued" has been described as the method for calculating the prediction load.
An arbitrary predictive load calculation method can be set, and the same effects as those of the above-described Embodiment 23 can be obtained.

【0202】実施の形態24.図37はこの発明の実施
の形態24による並列画像処理装置を示す構成図であ
り、図において、54は撮影地域負荷予測計算手段であ
る。その他の構成は、図27と同一である。
Twenty-fourth Embodiment 37 is a block diagram showing a parallel image processing apparatus according to Embodiment 24 of the present invention. In the figure, 54 is a photographing area load prediction calculation means. Other configurations are the same as those in FIG.

【0203】次に動作について説明する。今回の実施の
形態24で、処理の対象となるSAR画像は、衛星や航
空機で撮像されるケースが多い。この時、撮影される地
域が同じであれば、過去の画像情報等からも、負荷の予
測を行うことが可能である。撮影地域負荷予測計算手段
54では、撮影される地域と、その地域の画像に対する
処理負荷の予測を記録することができる。撮影地域負荷
予測計算手段54では、処理対象の画像が撮影される地
域を入力された時に、その地域の画像に対する処理負荷
の予測を取り出し、負荷予測設定手段34へ設定する。
負荷予測設定手段34へ設定された予測負荷を基に、実
施の形態15と同様の手順で負荷予測型領域分割法手段
35が領域分割法を決定する。
Next, the operation will be described. In the twenty-fourth embodiment, the SAR image to be processed is often captured by a satellite or an aircraft. At this time, if the areas to be photographed are the same, the load can be predicted from the past image information and the like. The shooting area load prediction calculation unit 54 can record a shooting area and a processing load prediction for an image of the area. When the area in which the image to be processed is photographed is input, the photographing area load prediction calculation unit 54 extracts the prediction of the processing load for the image of the region and sets it in the load prediction setting unit 34.
Based on the predicted load set in the load prediction setting means 34, the load prediction type area division method means 35 determines the area division method in the same procedure as in the fifteenth embodiment.

【0204】以上のように、この実施の形態24によれ
ば、画像を撮影した地域に関する情報から処理負荷の予
測を行うことができる。画像を撮影した地域に関する情
報を基に負荷を予測することで、負荷の予測精度を向上
させる確率が高くなる利点がある。予測の精度を向上さ
せることは、より適切な画像処理対象領域の割当方法を
選択できる利点がある。
As described above, according to the twenty-fourth embodiment, the processing load can be predicted from the information on the area where the image was taken. By predicting the load based on the information about the area where the image was captured, there is an advantage that the probability of improving the load prediction accuracy increases. Improving the accuracy of prediction has the advantage of being able to select a more appropriate image processing target area allocation method.

【0205】実施の形態25.図38はこの発明の実施
の形態25による並列画像処理装置を示す構成図であ
り、図では図27の構成に、輝度値計算式設定手段3
6、輝度値計算実行手段37、画素基準負荷予測条件設
定手段39、計測条件対応型画素基準負荷予測計算手段
40、特徴域抽出設定手段41、特徴域抽出手段42、
特徴域負荷予測条件設定手段44、計測条件対応型特徴
域負荷予測計算手段45、基準領域設定手段46、基準
領域負荷予測条件設定手段48、計測条件対応型基準領
域負荷予測計算手段49、傾き基準設定手段50、傾き
負荷予測条件設定手段52、計測条件対応型傾き負荷予
測計算手段53、撮影地域負荷予測計算手段54を加え
て構成したものである。55は予測計算重み付け設定手
段である。その他の構成は、図27と同一である。
Twenty-fifth Embodiment 38 is a block diagram showing a parallel image processing device according to a twenty-fifth embodiment of the present invention. In the figure, the luminance value calculation formula setting means 3 is added to the configuration of FIG.
6, luminance value calculation executing means 37, pixel reference load prediction condition setting means 39, measurement condition corresponding pixel reference load prediction calculation means 40, characteristic area extraction setting means 41, characteristic area extraction means 42,
Characteristic area load prediction condition setting means 44, measurement condition corresponding characteristic area load prediction calculation means 45, reference area setting means 46, reference area load prediction condition setting means 48, measurement condition corresponding reference area load prediction calculation means 49, inclination reference The configuration includes a setting unit 50, a tilt load prediction condition setting unit 52, a measurement condition corresponding tilt load prediction calculation unit 53, and a photographing area load prediction calculation unit 54. 55 is a prediction calculation weight setting means. Other configurations are the same as those in FIG.

【0206】次に動作について説明する。この実施の形
態25は、実施の形態16の装置に、実施の形態17か
ら実施の形態24の機能拡張を組み合わせて実現されて
いる。また、実施の形態17から実施の形態24により
機能拡張された予測手段に対して、予測計算重み付け設
定手段55を使って、それぞれの間の予測値間で重み付
けを行うことができる。
Next, the operation will be described. The twenty-fifth embodiment is realized by combining the apparatus of the sixteenth embodiment with the functional expansion of the seventeenth to twenty-fourth embodiments. Further, the prediction calculation weighting setting means 55 can be used for weighting the prediction values between the prediction means whose functions have been expanded according to the seventeenth to twenty-fourth embodiments.

【0207】以上のように、この実施の形態25によれ
ば、実施の形態17から実施の形態24により機能拡張
された予測手段を組み合わせて、柔軟に利用することが
でき、予測計算の精度を向上できる効果がある。
As described above, according to the twenty-fifth embodiment, the predicting means whose functions are expanded according to the seventeenth to twenty-fourth embodiments can be combined and used flexibly, and the accuracy of prediction calculation can be improved. There is an effect that can be improved.

【0208】実施の形態26.図39はこの発明の実施
の形態26による並列画像処理装置を示す構成図であ
り、図において、56は予測値記録手段、57は処理結
果記録手段、58は予測パラメータ補正手段である。そ
の他の構成は、図37と同一である。
Twenty-sixth Embodiment 39 is a block diagram showing a parallel image processing apparatus according to Embodiment 26 of the present invention. In the figure, 56 is a predicted value recording means, 57 is a processing result recording means, and 58 is a prediction parameter correction means. Other configurations are the same as those in FIG. 37.

【0209】次に動作について説明する。ここで、予測
値記録手段56は、過去に算出した予測値と入力条件を
記録する。処理結果記録手段57では、過去の予測値に
対して実際の実行で算出された処理負荷を記録する。予
測パラメータ補正手段58では、予測値記録手段56の
予測値と、処理結果記録手段57の実際の処理時間の結
果から、輝度値のしきい値等、予測パラメータを補正す
る。
Next, the operation will be described. Here, the predicted value recording means 56 records the predicted value calculated in the past and the input condition. The processing result recording means 57 records the processing load calculated by the actual execution with respect to the past predicted value. The prediction parameter correction unit 58 corrects the prediction parameter such as the threshold value of the brightness value based on the prediction value of the prediction value recording unit 56 and the result of the actual processing time of the processing result recording unit 57.

【0210】例えば、実施の形態21の装置に対して予
測値記録手段56と、処理結果記録手段57、予測パラ
メータ補正手段58とを加えた例で説明する。ここで
は、過去に基準領域負荷予測計算手段47が算出し、負
荷予測設定手段34へ設定した予測値を予測値記録手段
56が記録する。また、この予測値を元に実行された画
像処理に対する、実際の実行時間を処理結果記録手段5
7が記録する。予測パラメータ補正手段58では、予測
値記録手段56が記録した予測値と、処理結果記録手段
57が記録した実際の処理負荷から、「しきい値1」や
「しきい値2」の値に対する補整値を算出し、基準領域
負荷予測条件設定手段48に、予測負荷の計算方法の修
正を指示する。基準領域負荷予測条件設定手段48で
は、予測パラメータ補正手段58の指示に従って、予測
負荷の計算方法を修正する。これ以後は、基準領域負荷
予測条件設定手段48では、修正されたしきい値を使っ
た、予測負荷の計算方法を利用するようになる。
For example, an example will be described in which a prediction value recording means 56, a processing result recording means 57, and a prediction parameter correction means 58 are added to the apparatus of the twenty-first embodiment. Here, the predicted value recording unit 56 records the predicted value calculated in the past by the reference area load prediction calculation unit 47 and set in the load prediction setting unit 34. Further, the actual execution time for the image processing executed based on this predicted value is the processing result recording means 5
7 records. The prediction parameter correction means 58 adjusts the values of “threshold value 1” and “threshold value 2” from the predicted value recorded by the predicted value recording means 56 and the actual processing load recorded by the processing result recording means 57. A value is calculated and the reference area load prediction condition setting means 48 is instructed to modify the calculation method of the predicted load. The reference area load prediction condition setting means 48 corrects the calculation method of the predicted load according to the instruction of the prediction parameter correction means 58. After that, the reference area load prediction condition setting means 48 uses the method of calculating the predicted load using the corrected threshold value.

【0211】以上のように、この実施の形態26によれ
ば、過去の処理負荷の予測とそれに対する実際の処理負
荷から、処理負荷の予測計算方法を補正することができ
る。過去の予測結果と実際の処理負荷から、処理負荷の
予測計算方法を補正して改善することで、負荷の予測精
度を向上できる利点がある。予測の精度を向上させるこ
とで、より適切な画像処理対象領域の割当方法を選択で
きる利点もある。
As described above, according to the twenty-sixth embodiment, it is possible to correct the processing load prediction calculation method from the past processing load prediction and the actual processing load corresponding thereto. There is an advantage that the load prediction accuracy can be improved by correcting and improving the process load prediction calculation method from the past prediction result and the actual process load. There is also an advantage that a more appropriate image processing target area allocation method can be selected by improving the accuracy of prediction.

【0212】上記実施の形態26では、実施の形態21
に対して予測値記録手段56と、処理結果記録手段57
と、予測パラメータ補正手段58とを加えた例で説明し
たが、実施の形態16から実施の形態25のいずれの装
置に対しても前記の3手段を加えた構成が可能であり、
上記実施の形態26と同様の効果を奏することができ
る。
In the twenty-sixth embodiment, the twenty-first embodiment is described.
For the predicted value recording means 56 and the processing result recording means 57
, And an example in which the prediction parameter correction means 58 is added, but the configuration in which the above-described three means are added to any of the devices of the sixteenth to twenty-fifth embodiments is possible.
The same effect as that of the twenty-sixth embodiment can be obtained.

【0213】実施の形態27.図40はこの発明の実施
の形態27による並列画像処理装置を示す構成図であ
り、図において、59は撮影条件負荷予測補正手段であ
る。その他の構成は、図37と同一である。
Twenty-seventh Embodiment 40 is a block diagram showing a parallel image processing device according to a twenty-seventh embodiment of the present invention. In FIG. Other configurations are the same as those in FIG. 37.

【0214】次に動作について説明する。撮影条件負荷
予測補正手段59では、過去の予測計算実行時の天候や
撮影日時、季節、撮影角度等の画像を撮像した条件を記
録すると共に、新たな予測計算を行う対象の画像への撮
像条件から、最適の予測計算の補正を選択する。
Next, the operation will be described. The image capturing condition load prediction correcting unit 59 records the image capturing conditions such as the weather, the image capturing date and time, the season, and the image capturing angle at the time of executing the previous predictive calculation, and the image capturing condition for the target image for which the new predictive calculation is performed. From, select the optimal prediction calculation correction.

【0215】例えば、実施の形態26の装置に対して、
撮影条件負荷予測補正手段59を加えて並列画像処理装
置を構成する。ここで、撮影条件負荷予測補正手段59
は、予測値記録手段56と処理結果記録手段57が、そ
れぞれ予測値や実際の処理負荷を記録する時に、それに
対応する、天候や撮影日時、季節、撮影角度等の画像を
撮像した条件を記録する。次に、撮影条件負荷予測補正
手段59は、新たに予測を行う時に、記録した過去の撮
影条件から、新たな予測で利用するに適した条件を選択
し、この条件に対する予測値記録手段56と処理結果記
録手段57が記録する、予測値と実際の処理負荷から、
予測値算出計算の修正方法を算出するように、予測パラ
メータ補正手段58に指示する。ここからは、実施の形
態26と同様の手順で、基準領域負荷予測条件設定手段
48の予測負荷の計算方法が修正される。このため、新
たな予測値の算出では、撮影条件を考慮した修正を行っ
た予測負荷の計算方法が採用される。
For example, for the device of the twenty-sixth embodiment,
A parallel image processing apparatus is configured by adding the photographing condition load prediction correction means 59. Here, the photographing condition load prediction correction means 59
When the predicted value recording means 56 and the processing result recording means 57 respectively record the predicted value and the actual processing load, the corresponding conditions for shooting the image such as weather, shooting date, season, shooting angle, etc. are recorded. To do. Next, the photographing condition load prediction correction unit 59 selects a condition suitable for use in the new prediction from the recorded past photographing conditions when newly making a prediction, and a predicted value recording unit 56 for this condition is selected. From the predicted value and the actual processing load recorded by the processing result recording means 57,
The prediction parameter correction means 58 is instructed to calculate the correction method for the prediction value calculation. From here, the calculation method of the predicted load of the reference region load predicted condition setting means 48 is modified by the same procedure as in the twenty-sixth embodiment. Therefore, in the calculation of the new predicted value, the method of calculating the predicted load, which is modified in consideration of the shooting conditions, is adopted.

【0216】以上のように、この実施の形態27によれ
ば、過去の撮影時の条件から、新たに予測を行う際に、
その処理負荷の予測計算方法を補正することができる。
これにより、負荷の予測精度を向上できる利点がある。
今回の実施の形態27で、処理の対象となるSAR画像
は、衛星や航空機で撮像されるケースが多い。この時、
撮像時の天候や撮影日時、季節、撮影角度等の画像を撮
像した条件から、結果として得られるSAR画像は影響
を受ける(同じ場所を撮影したケースでも変化する)。
この処理元画像への影響により、MUSICによる超解
像処理での負荷も変化する。このため、予測計算におい
ても、撮像条件を考慮することが望ましい。本装置で
は、撮影時の条件に基づいて、過去に行った予測計算と
それに対する実際の処理量を比較し、処理負荷の予測計
算方法を補正することができる。これは、今回の実施の
形態27のように、撮像条件により、処理対象画像が影
響を受けるケースの予測計算で、その予測精度をより向
上できる利点がある。
As described above, according to the twenty-seventh embodiment, when a new prediction is made from the conditions of the past photographing,
It is possible to correct the prediction calculation method of the processing load.
This has the advantage that the load prediction accuracy can be improved.
In the twenty-seventh embodiment, the SAR image to be processed is often captured by a satellite or an aircraft. At this time,
The SAR image obtained as a result is affected by the image capturing conditions such as the weather, the image capturing date and time, the season, the image capturing angle, and the like (varies even in the case of capturing the same place).
Due to the influence on the processing source image, the load in the super-resolution processing by MUSIC also changes. Therefore, it is desirable to consider the imaging condition also in the prediction calculation. The present apparatus can correct the prediction calculation method of the processing load by comparing the prediction calculation performed in the past with the actual processing amount based on the condition at the time of shooting. This is a predictive calculation in the case where the image to be processed is affected by the imaging conditions as in the twenty-seventh embodiment, and has the advantage that the prediction accuracy can be further improved.

【0217】上記実施の形態27では、記録した過去の
撮影条件から、新たな予測で利用するに適した条件に対
応する予測値と処理負荷の実測値を選択する例で説明し
たが、撮影条件から、複数の予測値と処理負荷の実測値
を選択し、選択した値に重み付けを行うようにしても、
上記実施の形態27と同様の効果を奏することができ
る。
In the twenty-seventh embodiment, an example has been described in which the predicted value and the actual measured processing load value corresponding to the condition suitable for new prediction are selected from the recorded past shooting conditions. From the above, even if a plurality of predicted values and actual measurement values of the processing load are selected and the selected values are weighted,
The same effect as that of the twenty-seventh embodiment can be obtained.

【0218】実施の形態28.図41はこの発明の実施
の形態28による並列画像処理装置を示す構成図であ
り、図において、60は最適予測条件計算手段である。
その他の構成は、図37と同一である。
Embodiment 28. 41 is a block diagram showing a parallel image processing apparatus according to Embodiment 28 of the present invention. In the figure, 60 is an optimum prediction condition calculation means.
Other configurations are the same as those in FIG. 37.

【0219】次に動作について説明する。最適予測条件
計算手段60は、新たに予測値算出を指示された時に、
予測値記録手段56が記録している予測値算出の入力条
件の中で類似の条件を検索し、これに適した予測値算出
の条件を選択する。また、選択した予測値算出の条件に
対する予測値と、処理結果記録手段57が保持する予測
結果に対応する実際の処理量から、選択した予測値算出
の条件に対するパラメータの補正を行う。
Next, the operation will be described. The optimum prediction condition calculation means 60, when newly instructed to calculate the prediction value,
A similar condition is searched in the predicted value calculation input conditions recorded by the predicted value recording means 56, and the predicted value calculation condition suitable for this is selected. In addition, the parameter for the selected prediction value calculation condition is corrected from the prediction value for the selected prediction value calculation condition and the actual processing amount corresponding to the prediction result stored in the processing result recording unit 57.

【0220】例えば、実施の形態26の装置に対して、
最適予測条件計算手段60を加えて並列画像処理装置を
構成する。この例で、最適予測条件計算手段60は、新
たに予測値算出を指示された時に、予測値記録手段56
が記録している予測値算出の入力条件の中から、新たな
予測値算出で指定された条件と近いものを検索し、1個
を選択する。次に、最適予測条件計算手段60は、選択
した条件に対する予測値記録手段56に記録している算
出した予測値の結果と、処理結果記録手段57が保持す
る予測結果に対応する実際の処理量を入手し、予測パラ
メータ補正手段58に選択した予測計算の補正を指示す
る。ここで、予測パラメータ補正手段58は、実施の形
態26と同様の手順で補正を行う。この補正終了後に、
選択した補正済みの予測計算を用いて、新たな予測値の
算出を行う。
For example, for the device of the twenty-sixth embodiment,
A parallel image processing apparatus is configured by adding the optimum prediction condition calculation means 60. In this example, the optimum prediction condition calculation means 60, when newly instructed to calculate the prediction value, the prediction value recording means 56.
From among the input conditions for the calculation of the predicted value recorded by, those that are close to the conditions specified by the new predicted value calculation are searched and one is selected. Next, the optimum prediction condition calculation means 60, the actual processing amount corresponding to the result of the calculated prediction value recorded in the prediction value recording means 56 for the selected condition and the prediction result held by the processing result recording means 57. And instruct the prediction parameter correction means 58 to correct the selected prediction calculation. Here, the prediction parameter correction means 58 performs the correction in the same procedure as in the twenty-sixth embodiment. After this correction,
A new predicted value is calculated using the selected corrected prediction calculation.

【0221】以上のように、この実施の形態28によれ
ば、新たに予測を行う際に、過去の予測計算の入力条件
から、類似の条件で実行された予測計算を選択できる。
さらに、選択した予測条件に対する、予測結果と実際の
処理負荷量から、この予測条件に対する予測値の算出式
を補正することができる。これにより、負荷の予測精度
を向上できる利点がある。
As described above, according to the twenty-eighth embodiment, when new prediction is performed, the prediction calculation executed under similar conditions can be selected from the input conditions of the past prediction calculations.
Furthermore, the calculation formula of the predicted value for this prediction condition can be corrected from the prediction result and the actual processing load amount for the selected prediction condition. This has the advantage that the load prediction accuracy can be improved.

【0222】上記実施の形態28では、過去の入力条件
から、類似した1個の条件を選択する例で説明したが、
複数の条件を選択し、選択した値に重み付けを行うよう
にしても、上記実施の形態28と同様の効果を奏するこ
とができる。
In the above-mentioned twenty-eighth embodiment, an example of selecting one similar condition from past input conditions has been described.
Even when a plurality of conditions are selected and the selected values are weighted, the same effect as in the above-described twenty-eighth embodiment can be obtained.

【0223】実施の形態29.図42はこの発明の実施
の形態29による並列画像処理装置を示す構成図であ
り、図において、61は事前計算選択設定手段、62は
事前計算判定手段、63は事前処理負荷量計算手段、6
4は事前処理対応型画像領域割当手段である。その他の
構成は、図1と同一である。
Twenty-ninth Embodiment. 42 is a block diagram showing a parallel image processing apparatus according to Embodiment 29 of the present invention. In the figure, 61 is a pre-calculation selection setting means, 62 is a pre-calculation determining means, 63 is a pre-processing load amount calculating means, 6
Reference numeral 4 is a pre-processing compatible image area allocating means. Other configurations are the same as those in FIG.

【0224】次に動作について説明する。事前計算選択
設定手段61は、事前計算による処理を行うか否かの判
断条件を設定する。事前計算判定手段62は、事前計算
選択設定手段61の設定から事前計算による処理の有無
を判定する。事前処理負荷量計算手段63は、事前計算
判定手段62から事前計算による処理を指示された時
に、画像領域全体を対象に、単位領域毎の処理負荷量を
事前に計算する。また、この処理負荷量を求める計算の
結果を保持する。事前処理対応型画像領域割当手段64
は、事前処理負荷量計算手段63が事前に計算した単位
領域毎の処理負荷量を基準に、各プロセッサの処理負荷
が均等になるように処理領域の割当を行う。
Next, the operation will be described. The pre-calculation selection setting means 61 sets a judgment condition as to whether or not to perform the process by the pre-calculation. The pre-calculation determining unit 62 determines whether or not the process by the pre-calculation is performed based on the setting of the pre-calculation selection setting unit 61. The pre-processing load amount calculation unit 63, when instructed by the pre-calculation determination unit 62 to perform the process by the pre-calculation, calculates the processing load amount for each unit region in advance for the entire image region. Also, the result of the calculation for obtaining the processing load is held. Pre-processing compatible image area allocation means 64
Assigns processing areas such that the processing loads of the respective processors are equal based on the processing load amount calculated in advance by the preprocessing load amount calculating means 63 for each unit area.

【0225】例えば、実施の形態1の装置に対して、事
前計算選択設定手段61と、事前計算判定手段62と、
事前処理負荷量計算手段63と、事前処理対応型画像領
域割当手段64とを加えて並列画像処理装置を構成す
る。この例で、事前計算選択設定手段61は、単位領域
毎の最大処理負荷量が500以上の場合に、事前計算に
よる処理を選択するように設定されている。事前計算判
定手段62は、事前計算選択設定手段61の設定と、単
位領域当たりの最大処理量設定手段3で指定された単位
領域当たりの最大処理負荷量から、事前計算による処理
の有無を判定する。
For example, with respect to the apparatus of the first embodiment, a pre-calculation selection setting means 61, a pre-calculation judging means 62,
The pre-processing load amount calculation means 63 and the pre-processing compatible image area allocation means 64 are added to form a parallel image processing device. In this example, the pre-calculation selection setting means 61 is set to select the process by the pre-calculation when the maximum processing load amount for each unit area is 500 or more. The pre-calculation determination means 62 determines whether or not there is processing by pre-calculation based on the setting of the pre-calculation selection setting means 61 and the maximum processing load amount per unit area designated by the maximum processing amount per unit area setting means 3. .

【0226】ここでは、まず、事前計算判定手段62で
の判定時に、最大処理負荷量が1000で、事前計算が
選択された場合の処理手順を示す。この場合、事前計算
判定手段62は、事前処理負荷量計算手段63に事前計
算の開始を指示する。事前計算の開始を指示された事前
処理負荷量計算手段63では、画像領域全体を対象に、
単位領域毎の処理負荷量を事前に計算する。この例で
は、単位領域毎(各行毎)に推定散乱点を求める計算を
実行する。この算出では、実施の形態1と同様に、画像
処理プログラム11の処理負荷を決定する処理部分12
を利用する。また、事前処理負荷量計算手段63は、算
出した推定散乱点の情報を記録しておく。なお、事前処
理負荷量計算手段63での計算を並列に実行するように
実現しても良い。ここでの計算は、各単位領域毎に処理
負荷が一定のため、一般的な並列処理の領域分割方法を
利用して実装しても、十分な並列化の効果を得やすい。
事前処理負荷量計算手段63での事前計算終了後、事前
処理対応型画像領域割当手段64では、事前処理負荷量
計算手段63で算出された各行毎の推定散乱点数情報
と、使用プロセッサ数設定手段4からの使用するプロセ
ッサ数情報から、各プロセッサに割り当てる処理領域を
決定する。事前処理対応型画像領域割当手段64は、各
プロセッサが処理する推定散乱点数の総計が、均等にな
るように、各プロセッサに割り当てる処理領域を決定す
る。ここでは、事前に分かっている処理の大きさに対す
る割り当てのため、一般的な並列処理の領域分割方法を
利用して実装しても、均等に割当を行える可能性が高
い。各プロセッサの画像処理実行手段9へ割り当てられ
る推定散乱点の数は均等になるように調整済みのため、
一般的な並列処理の領域分割方法を利用して実装して
も、十分な並列化の効果を得やすい。各プロセッサに割
り当てる処理領域が決定した後、事前処理対応型画像領
域割当手段64では、各プロセッサの画像処理実行手段
9に対して、割り当てる処理領域に対する超解像処理の
実行を指示する。この時、事前処理対応型画像領域割当
手段64では、事前処理負荷量計算手段63が保持する
推定散乱点の情報から、各プロセッサの画像処理実行手
段9へ、割り当てられた範囲に対応する推定散乱点の計
算結果を引き渡す。ここで、各プロセッサの画像処理実
行手段9は、実施の形態1と同じように、超解像処理を
並列に実行する。
Here, first, the processing procedure in the case where the maximum processing load is 1000 and the pre-calculation is selected at the time of the judgment by the pre-calculation judging means 62 will be shown. In this case, the pre-calculation determining unit 62 instructs the pre-processing load amount calculating unit 63 to start the pre-calculation. In the pre-processing load amount calculation means 63 instructed to start the pre-calculation, the entire image area is targeted,
The processing load amount for each unit area is calculated in advance. In this example, a calculation for obtaining an estimated scattering point is performed for each unit area (each row). In this calculation, the processing portion 12 that determines the processing load of the image processing program 11 as in the first embodiment.
To use. Further, the preprocessing load amount calculation means 63 records information on the calculated estimated scattering points. The calculation by the preprocessing load amount calculation means 63 may be realized in parallel. Since the calculation load here is constant for each unit area, it is easy to obtain a sufficient parallelization effect even if the calculation is implemented using a general parallel processing area division method.
After completion of the pre-calculation by the pre-processing load amount calculating means 63, the pre-processing corresponding image area allocating means 64 calculates the estimated scattered point number information for each row calculated by the pre-processing load amount calculating means 63 and the used processor number setting means. From the information on the number of processors to be used from 4, the processing area to be assigned to each processor is determined. The pre-processing compatible image area allocation unit 64 determines the processing area to be allocated to each processor so that the total number of estimated scattering points processed by each processor becomes equal. Here, since the allocation is based on the size of the processing that is known in advance, it is highly possible that the allocation can be evenly performed even if the method is implemented by using a general parallel processing area dividing method. Since the number of estimated scattering points assigned to the image processing executing means 9 of each processor has been adjusted to be equal,
Even if it is implemented by using a general area division method for parallel processing, it is easy to obtain a sufficient parallelization effect. After the processing area to be allocated to each processor is determined, the pre-processing compatible image area allocation means 64 instructs the image processing execution means 9 of each processor to execute the super-resolution processing for the processing area to be allocated. At this time, in the pre-processing compatible image area allocating means 64, the estimated scatter point corresponding to the allocated range is given to the image processing executing means 9 of each processor from the information of the estimated scatter point held by the pre-processing load amount calculating means 63. Pass the point calculation result. Here, the image processing execution means 9 of each processor executes the super-resolution processing in parallel, as in the first embodiment.

【0227】次に、事前計算判定手段62での判定時
に、最大処理量が10で、事前計算が選択されない場合
の処理手順を示す。この場合には、事前計算判定手段6
2が画像領域割当手段2に通常の計算方法での処理の開
始を指示する。処理開始の指示を受けた画像領域割当手
段2は、実施の形態1と同様の手順で、画像処理アルゴ
リズムの計算を開始する。
Next, at the time of the judgment by the pre-calculation judging means 62, the processing procedure when the maximum processing amount is 10 and the pre-calculation is not selected will be shown. In this case, the pre-calculation determination means 6
2 instructs the image area allocating means 2 to start processing by a normal calculation method. The image area allocating means 2 that has received the processing start instruction starts the calculation of the image processing algorithm in the same procedure as in the first embodiment.

【0228】以上のように、この実施の形態29によれ
ば、事前計算による処理方法の可否を選択して実行する
ことができる。単位領域毎に動的に決定する処理負荷量
の差が特に大きい場合、これを実行時に処理範囲の割当
を決定する動的なスケジューリングで対応するには、困
難なことがある。本実施の形態29では、このような可
能性がある条件下では、処理負荷の計算を事前に行い、
この計算結果から並列に実行する領域を決定することが
できる。逆に、動的なスケジューリングで対応可能な条
件下では、単位領域毎の処理で有利になる動的スケジュ
ーリングを採用して、並列に実行する。このように、本
装置では、処理が行われる条件に従って、適切な処理方
法を選択できる利点がある。
As described above, according to the twenty-ninth embodiment, it is possible to select whether or not to use the processing method based on the pre-calculation and execute it. When the difference in the processing load dynamically determined for each unit area is particularly large, it may be difficult to cope with this by the dynamic scheduling that determines the allocation of the processing range at the time of execution. In the twenty-ninth embodiment, under such a possibility condition, the processing load is calculated in advance,
From this calculation result, the areas to be executed in parallel can be determined. On the contrary, under the condition that can be handled by the dynamic scheduling, the dynamic scheduling that is advantageous in the processing for each unit area is adopted and executed in parallel. As described above, the present apparatus has an advantage that an appropriate processing method can be selected according to the conditions under which the processing is performed.

【0229】上記実施の形態29では、事前計算の判断
条件として、単位領域毎の最大処理量が500以上とし
た例で説明したが、この判断条件としては、画像処理ア
ルゴリズムでの単位領域毎での最大負荷と最小負荷の処
理量の差(処理時間の差)がどの程度かを見積もって事
前計算の可否を判定できる条件であれば、任意の条件を
設定可能であり、上記実施の形態29と同様の効果を奏
することができる。
In the twenty-ninth embodiment, the example in which the maximum processing amount for each unit area is 500 or more has been described as the determination condition for the pre-calculation. However, the determination condition is set for each unit area in the image processing algorithm. Any condition can be set as long as it is a condition that can determine whether or not the precalculation can be performed by estimating how much the difference between the maximum load and the minimum load (the difference in the processing time) is. The same effect as can be obtained.

【0230】上記実施の形態29では、実施の形態1に
対して事前計算選択設定手段61と、事前計算判定手段
62と、事前処理負荷量計算手段63と、事前処理対応
型画像領域割当手段64とを加えた例で説明したが、実
施の形態2から実施の形態28のいずれの装置に対して
も、上記の4手段を加えた構成が可能であり、上記実施
の形態29と同様の効果を奏することができる。例え
ば、実施の形態3に加えた場合には、実測した単位領域
毎の最大処理時間と最小処理時間を基準に、事前計算の
判断を行うといったことが可能であり、実際の実行時間
に基づいたより正確な判断を行うことが可能となる効果
がある。また、実施の形態10に加えた場合には、事前
計算の結果を基に、単位領域の分割も行うような並列画
像処理装置を得られる効果がある。
In the twenty-ninth embodiment, compared with the first embodiment, the pre-calculation selection setting means 61, the pre-calculation judging means 62, the pre-processing load amount calculating means 63, and the pre-processing compatible image area allocating means 64. However, the configuration including the above-described four means can be added to any of the devices of the second to the twenty-eighth embodiments, and the same effect as that of the twenty-ninth embodiment can be obtained. Can be played. For example, in the case of adding to the third embodiment, it is possible to make a pre-computation determination based on the actually measured maximum processing time and minimum processing time for each unit area. There is an effect that it is possible to make an accurate judgment. In addition, in addition to the tenth embodiment, there is an effect that a parallel image processing device that also divides the unit area based on the result of the pre-calculation can be obtained.

【0231】実施の形態30.図43はこの発明の実施
の形態30による並列画像処理装置を示す構成図であ
り、図において、65は図1における画像領域割当手段
2の機能を拡張した画像情報参照型画像領域割当手段、
66は図1における処理負荷計算手段8の機能を拡張し
た画像情報参照型処理負荷計算手段、67は図1におけ
る領域分割法設定手段6の機能を拡張した画像情報参照
型領域分割法設定手段である。その他の構成は、図1と
同一である。図44は画像情報参照型画像領域割当手段
の処理を示すフローチャート、図45は画像情報参照型
処理負荷計算手段の処理を示すフローチャート、図46
は並列実行時の並列画像処理装置の実装イメージを示す
構成図、図47は実行管理テーブルの操作の概念を示す
説明図、図48は画像情報参照型処理負荷計算手段に割
り当てられた「次処理領域」に対する「超解像実行領
域」と「超解像未処理領域」の例を示す説明図、図49
は4プロセッサ構成で処理する時の実装イメージを示す
説明図、図50は画像情報参照型領域分割法設定手段が
再割当を行う際の割当方法の概念を示す説明図である。
Embodiment 30. 43 is a block diagram showing a parallel image processing apparatus according to Embodiment 30 of the present invention. In FIG. 43, reference numeral 65 denotes an image information reference type image area allocating means which is an extension of the function of the image area allocating means 2 in FIG.
Reference numeral 66 is an image information reference type processing load calculation means which is an extension of the function of the processing load calculation means 8 in FIG. 1, and 67 is an image information reference type area division method setting means which is an extension of the function of the area division method setting means 6 in FIG. is there. Other configurations are the same as those in FIG. FIG. 44 is a flowchart showing the processing of the image information reference type image area allocating means, FIG. 45 is a flowchart showing the processing of the image information reference type processing load calculating means, and FIG.
47 is a configuration diagram showing an implementation image of the parallel image processing device at the time of parallel execution, FIG. 47 is an explanatory diagram showing the concept of the operation of the execution management table, FIG. 48 is the “next process” assigned to the image information reference type processing load calculation means. 49 is an explanatory diagram showing an example of “super-resolution execution area” and “super-resolution unprocessed area” for “area”; FIG.
Is an explanatory diagram showing an implementation image when processing is performed with a four-processor configuration, and FIG. 50 is an explanatory diagram showing a concept of an allocation method when the image information reference type area division method setting means performs reallocation.

【0232】次に動作について説明する。画像情報参照
型画像領域割当手段65の動作について図44を用いて
説明する。画像情報参照型画像領域割当手段65では、
まず、単位領域当たりの最大処理量設定手段3、使用プ
ロセッサ数設定手段4、画像情報参照型領域分割法設定
手段67から初期化で必要な情報を入手する。使用プロ
セッサ数設定手段4からは、使用するプロセッサ数を、
単位領域当たりの最大処理量設定手段3からは、単位領
域当たりの最大処理数を入手する。MUSICを用いた
SAR画像の超解像処理の例では、単位領域は行、最大
処理数は各行で推定する散乱点数の最大値となる。画像
情報参照型領域分割法設定手段67からは、画像処理領
域全体のサイズと処理領域の割当法を入手する。画像情
報参照型領域分割法設定手段67は、処理画像情報設定
手段5から画像処理領域の情報(画像サイズや画素のサ
イズ、データ型等)、使用プロセッサ数設定手段4から
は、使用するプロセッサ数を入手する。画像情報参照型
領域分割法設定手段67では、処理画像情報設定手段5
から画像のサイズ、使用プロセッサ数設定手段4からは
使用するプロセッサ数を入手し、処理領域の割当法を決
定する。この算出方法は、任意に設定できることとす
る。この例では、各行での処理負荷を一様と仮定して、
一般的な並列処理の動的な領域分割法に基づく処理領域
の割当法とする。但し、本装置では再割当要求が行わ
れ、途中で処理を行う画像領域が増えることがある。こ
のため、画像情報参照型領域分割法設定手段67では、
再割当要求により画像領域が増えることを前提とした割
当法を選択する。次に、画像情報参照型画像領域割当手
段65では、入手した情報を利用して、内部情報の初期
化を行う。ここでは、「残処理領域数」を「画像処理領
域全体のサイズ」から計算して処理単位の個数(この例
では、行数)に設定し、全プロセッサの実行中フラグを
「ON」に設定する。さらに、「画像処理領域全体のサ
イズ」から、処理単位別の実行管理テーブルを作成し、
全ての処理単位での管理パラメータを「未」に、「画像
割当ポインタ」の先頭を画像領域の先頭に設定する(図
47参照)。また、全プロセッサの画像情報参照型処理
負荷計算手段66に実行開始を指示する(ステップST
101)。ここまでの初期化を完了した後で、画像情報
参照型画像領域割当手段65は、各プロセッサの画像情
報参照型処理負荷計算手段66からの「要求待ち」状態
となる(ステップST102)。
Next, the operation will be described. The operation of the image information reference type image area allocating means 65 will be described with reference to FIG. In the image information reference type image area allocating means 65,
First, necessary information for initialization is obtained from the maximum processing amount setting unit 3 per unit area, the used processor number setting unit 4, and the image information reference type area division method setting unit 67. From the used processor number setting means 4,
The maximum processing number per unit area is obtained from the maximum processing amount setting unit 3 per unit area. In the example of the super-resolution processing of the SAR image using MUSIC, the unit area is a row, and the maximum processing number is the maximum value of the number of scattering points estimated in each row. From the image information reference type area division method setting means 67, the size of the entire image processing area and the allocation method of the processing areas are obtained. The image information reference type area division method setting means 67 includes information on the image processing area (image size, pixel size, data type, etc.) from the processed image information setting means 5, and the number of processors to be used from the number of used processors setting means 4. To get. In the image information reference type area division method setting means 67, the processed image information setting means 5
The image size and the number of processors to be used are obtained from the number-of-processors setting unit 4 to determine the method of allocating the processing areas. This calculation method can be arbitrarily set. In this example, assuming the processing load on each row is uniform,
This is a processing area allocation method based on a general dynamic area partitioning method. However, in this apparatus, a reallocation request is made, and an image area to be processed may increase in the middle. Therefore, in the image information reference type area division method setting means 67,
The allocation method is selected on the assumption that the image area is increased by the reallocation request. Next, the image information reference type image area allocating means 65 initializes the internal information using the obtained information. Here, the "number of remaining processing areas" is calculated from the "size of the entire image processing area" and set to the number of processing units (the number of rows in this example), and the execution flags of all processors are set to "ON". To do. Furthermore, from the "size of the entire image processing area", create an execution management table for each processing unit,
The management parameter for all processing units is set to "not yet", and the head of the "image allocation pointer" is set to the head of the image area (see FIG. 47). Further, it instructs the image information reference type processing load calculation means 66 of all the processors to start the execution (step ST
101). After the initialization up to this point is completed, the image information reference type image area allocating means 65 is in the “request waiting” state from the image information reference type processing load calculating means 66 of each processor (step ST102).

【0233】「要求待ち」状態において、画像情報参照
型処理負荷計算手段66から「次処理」が要求された場
合の動作を説明する。 まず、「残処理領域数」をチェ
ックする(ステップST103)。ここで、「残処理領
域数」が0より大きければ、次の処理領域割当操作を行
う。 処理領域割当操作では、まず、要求元の画像情報
参照型処理負荷計算手段66へ割り当てる「次処理領
域」を決定する(ステップST104)。ここで割り当
てる「次処理領域」のサイズは、画像情報参照型領域分
割法設定手段67が指定した処理領域の割当法に従う。
初期割当時には、「画像割当ポインタ」が示す位置(画
像領域の先頭)から、「次処理領域のサイズ」分だけ管
理パラメータが「未」となっている領域を順次選択し
て、「次処理領域」として選択する。なお、選択中に処
理領域の最後に到達した場合には、先頭に戻って管理パ
ラメータが「未」となっている領域を順次選択する。再
割当時には、再割当領域に対応する処理単位別の実行管
理テーブルの管理パラメータに記録された、画像情報
(MUSICを用いたSAR画像の超解像処理の例で
は、推定散乱点数の計算結果)を基に、画像情報参照型
領域分割法設定手段67が与える領域分割法を用いて
「次処理領域」を決定する。「次処理領域」が決定する
と、その領域に対応する処理単位別の実行管理テーブル
の管理パラメータを「計」(計算中)にする。また、
「画像割当ポインタ」を管理パラメータが「未」となる
要素まで進める。処理領域の最後に到達した場合には、
先頭に戻って検索し、最初に「未」となる要素まで進め
る。また、「未」となる要素がない場合には、画像割当
ポインタを「空」に設定する。また、「残処理領域数」
を更新する(「残処理領域数」−「次処理領域のサイ
ズ」にする)(ステップST105)。次に、処理領域
割当操作では、選択した「次処理領域」に対する「処理
制限量」の計算を処理制限量計算手段7に指示する(ス
テップST106)。処理制限量計算手段7では、単位
領域当たりの最大処理量設定手段3から単位領域当たり
の最大処理数を入手し、画像情報参照型画像領域割当手
段65から指示された「次処理領域」から、対象領域で
の「処理制限量」を算出する。処理領域割当操作では、
処理制限量計算手段7から「処理制限量」の計算結果を
受け取った後で、「次処理領域」と「処理制限量」の情
報を、要求元の画像情報参照型処理負荷計算手段66へ
通知する(ステップST107)。
The operation when the "next process" is requested from the image information reference type processing load calculating means 66 in the "request waiting" state will be described. First, the "number of remaining processing areas" is checked (step ST103). If the "number of remaining processing areas" is greater than 0, the next processing area allocation operation is performed. In the processing area allocation operation, first, the “next processing area” to be allocated to the image information reference type processing load calculation means 66 of the request source is determined (step ST104). The size of the "next processing area" to be assigned here follows the method of allocating the processing area designated by the image information reference type area division method setting means 67.
At the time of initial allocation, from the position indicated by the “image allocation pointer” (the beginning of the image area), select the areas for which the management parameter is “not yet” for the “size of the next processing area”, and select the “next processing area”. As ". When the end of the processing area is reached during selection, the area is returned to the beginning and areas having the management parameter of "not yet" are sequentially selected. At the time of reallocation, the image information recorded in the management parameter of the execution management table for each processing unit corresponding to the reallocation area (in the example of the super-resolution processing of the SAR image using MUSIC, the calculation result of the estimated scattering points) Based on, the "subsequent processing area" is determined using the area division method provided by the image information reference type area division method setting means 67. When the "next processing area" is determined, the management parameter of the execution management table for each processing unit corresponding to the area is set to "total" (calculating). Also,
The "image allocation pointer" is advanced to the element for which the management parameter is "not yet". If the end of the processing area is reached,
Return to the beginning and search, and proceed to the first element that is "not yet". If there is no element that is "not yet", the image allocation pointer is set to "empty". Also, "number of remaining processing areas"
Is updated ("number of remaining processing areas"-"size of next processing area") (step ST105). Next, in the processing area allocation operation, the processing restriction amount calculation means 7 is instructed to calculate the “processing restriction amount” for the selected “next processing area” (step ST106). The processing limit amount calculating means 7 obtains the maximum number of processings per unit area from the maximum processing amount setting means 3 per unit area, and from the “next processing area” instructed by the image information reference type image area allocating means 65, The "processing limit amount" in the target area is calculated. In the processing area allocation operation,
After receiving the calculation result of the “processing restriction amount” from the processing restriction amount calculating means 7, the information of the “next processing area” and the “processing restriction amount” is notified to the requesting image information reference type processing load calculating means 66. Yes (step ST107).

【0234】「残処理領域数」をチェック時に、「残処
理領域数」が0の場合について説明する。 この場合、
まず、要求元の画像情報参照型処理負荷計算手段66へ
実行の「一時停止」を指示する。また、要求元の画像情
報参照型処理負荷計算手段66に対応するプロセッサの
実行中フラグを「OFF」に設定する(ステップST1
08)。 次に、プロセッサの実行中フラグが全て「O
FF」になっているかを調べる(ステップST10
9)。ここで、1個でも実行中フラグが「ON」になっ
ているプロセッサがあれば、「要求待ち」状態へ復帰す
る。一方、全ての実行中フラグが「OFF」の場合に
は、全プロセッサの画像情報参照型処理負荷計算手段6
6に、「実行完了」を通知する(ステップST11
0)。
The case where the "remaining processing area number" is 0 when the "remaining processing area number" is checked will be described. in this case,
First, the requesting image information reference type processing load calculating means 66 is instructed to "pause" the execution. Further, the in-execution flag of the processor corresponding to the request source image information reference type processing load calculation means 66 is set to "OFF" (step ST1).
08). Next, all of the in-execution flags of the processor are “O”.
It is checked whether it is "FF" (step ST10).
9). Here, if there is even one processor whose running flag is "ON", it returns to the "request waiting" state. On the other hand, when all the execution flags are “OFF”, the image information reference type processing load calculation means 6 of all the processors
6 is notified of "execution completed" (step ST11)
0).

【0235】「要求待ち」状態において、画像情報参照
型処理負荷計算手段66から「再割当」が要求された場
合の動作を説明する。 この場合は、まず、「残処理領
域数」を更新する(「残処理領域数」+「再割当領域の
サイズ」にする)(ステップST111)。ここで、画
像割当ポインタが「空」の場合には、管理パラメータが
画像情報の数値(MUSICを用いたSAR画像の超解
像処理の例では、推定散乱点数の計算結果)となってい
る領域の先頭に、画像割当ポインタを設定する(ステッ
プST112)。次に、各プロセッサの実行中フラグを
チェックし、「OFF」になっているプロセッサがあれ
ば、これに対応する画像情報参照型処理負荷計算手段6
6へ「実行再開」を通知する(ステップST113)。
また、実行再開を通知したプロセッサに対応する実行中
フラグを「ON」に設定する(ステップST114)。
この後で、「要求待ち」状態へ復帰する。
The operation when "reallocation" is requested from the image information reference type processing load calculating means 66 in the "request waiting" state will be described. In this case, first, the “number of remaining processing areas” is updated (“number of remaining processing areas” + “size of reallocation area”) (step ST111). Here, when the image allocation pointer is “empty”, the management parameter is the numerical value of the image information (in the example of the super-resolution processing of the SAR image using MUSIC, the calculation result of the estimated scattering point). An image allocation pointer is set at the beginning of the (step ST112). Next, the in-execution flag of each processor is checked, and if there is a processor that is "OFF", the image information reference type processing load calculation means 6 corresponding to this
6 is notified of "restart execution" (step ST113).
In addition, the in-execution flag corresponding to the processor that has notified the resumption of execution is set to "ON" (step ST114).
After this, the state returns to the "waiting for request" state.

【0236】画像情報参照型処理負荷計算手段66の動
作について図45を用いて説明する。 画像情報参照型
処理負荷計算手段66では、まず、画像情報参照型画像
領域割当手段65からの実行開始の指示を受けて(ステ
ップST121)、次処理の要求を行い(ステップST
122)、その回答を待つ(ステップST123)。こ
こで、回答が「次処理領域」と「処理制限量」の情報の
通知の場合、一連の処理実行操作を開始する。初期割当
の場合(ステップST124)、処理実行操作では、ま
ず、「次処理領域」で指定された処理領域内で、各行毎
に散乱点数の推定計算を実行する(ステップST12
5)。この推定散乱点数の算出では、画像処理プログラ
ム11の処理負荷を決定する処理部分12を利用する。
なお、この算出では、単位領域当たりの最大処理量設定
手段3の行当たりの最大散乱点数を参照して、各行での
推定散乱点数の最大値が、この最大散乱点数以下になる
ようにする。また、この推定散乱点数の算出結果を、対
応する処理単位別の実行管理テーブルの管理パラメータ
に記録する。次に、「次処理領域」の先頭の行から順番
に、各行の推定散乱点数を1行ずつ足していき、この和
と「処理制限量」を比較する(ステップST126〜ス
テップST130)。ここで、和が「処理制限量」を超
えた行を「境界行」とする(ステップST131)。
「次処理領域」の先頭から「境界行」まで(「境界行」
を含む)の領域を「超解像実行領域」に設定する(ステ
ップST132)。「超解像実行領域」を設定後、「境
界行」の次の行から、「次処理領域」の最後の行までの
領域を「超解像未処理領域」に設定する(図48参照)
(ステップST134)。ここで、「境界行」が「次処
理領域」の最後の行(「再割当領域」が空)の場合に
は、次の超解像処理実行に進む(ステップST13
3)。一方で、「境界行」が「次処理領域」の最後の行
でない(「再割当領域」が存在)場合には、画像情報参
照型画像領域割当手段65へ「超解像未処理領域」の再
割当を要求する(ステップST135)。この要求を通
知した後で、次の超解像処理実行に進む。一方、再割当
の場合(ステップST124)、既に散乱点数の推定計
算を実行済みであるので、「次処理領域」の全領域を
「超解像実行領域」に設定した後で、次の超解像処理実
行に進む(ステップST136)。超解像処理の実行で
は、「超解像実行領域」に対する超解像処理の実行を画
像処理実行手段9に指示する(ステップST137)。
画像処理実行手段9では、画像処理プログラム11の動
的に負荷が変化する処理部分13を利用して、超解像処
理を実行する。その後、画像処理実行手段9での超解像
処理の実行完了を待って、処理実行操作を終了し、再度
「次処理要求」へ戻って処理を開始する(ステップST
138)。
The operation of the image information reference type processing load calculating means 66 will be described with reference to FIG. The image information reference type processing load calculating means 66 first receives an instruction to start execution from the image information reference type image area allocating means 65 (step ST121), and requests the next processing (step ST).
122) and waits for the answer (step ST123). Here, when the answer is the notification of the information of the "next processing area" and the "processing limit amount", a series of processing execution operations are started. In the case of initial allocation (step ST124), in the process execution operation, first, within the processing region designated by the "next processing region", estimation calculation of the scattered point number is executed for each row (step ST12).
5). In the calculation of the estimated number of scattered points, the processing portion 12 that determines the processing load of the image processing program 11 is used.
In this calculation, the maximum number of scattered points per line of the maximum processing amount setting means 3 per unit area is referred to so that the maximum value of the estimated scattered points in each line is equal to or less than this maximum scattered point. Further, the calculation result of the estimated number of scattered points is recorded in the management parameter of the corresponding execution management table for each processing unit. Next, the estimated scattering points in each row are added one by one in order from the first row of the "next processing area", and this sum is compared with the "processing limit amount" (steps ST126 to ST130). Here, a line whose sum exceeds the "processing limit amount" is set as a "boundary line" (step ST131).
From the beginning of the "next processing area" to the "boundary line"("boundaryline"
Area (including) is set as a "super-resolution execution area" (step ST132). After setting the "super-resolution execution region", set the region from the line next to the "boundary line" to the last line of the "next processing region" to the "super-resolution unprocessed region" (see FIG. 48).
(Step ST134). Here, when the "boundary row" is the last row of the "next processing area" (the "reallocation area" is empty), the process proceeds to the next super-resolution processing execution (step ST13).
3). On the other hand, if the “boundary row” is not the last row of the “next processing area” (the “reallocation area” exists), the image information reference type image area allocating means 65 is notified of the “super-resolution unprocessed area”. Request reallocation (step ST135). After notifying this request, the process proceeds to the next execution of super-resolution processing. On the other hand, in the case of reallocation (step ST124), since the estimation calculation of the scattered point number has already been executed, the next super solution is set after the entire area of the “next processing area” is set to the “super resolution execution area”. Proceed to image processing execution (step ST136). In the execution of the super-resolution processing, the image processing execution means 9 is instructed to execute the super-resolution processing for the "super-resolution execution area" (step ST137).
The image processing execution means 9 uses the processing portion 13 of the image processing program 11 whose load changes dynamically to execute the super-resolution processing. After that, after the completion of execution of the super-resolution processing in the image processing execution means 9, the processing execution operation is ended, the process returns to the "next processing request" and the processing is started (step ST
138).

【0237】次処理の要求に対する回答が、実行の「一
時停止」の場合、「指示待ち」状態となる(ステップS
T139)。「指示待ち」状態で、画像情報参照型画像
領域割当手段65から「実行再開」を指示された場合に
は、再度「次処理要求」へ戻って処理を再開する。一
方、「指示待ち」状態で、画像情報参照型画像領域割当
手段65から「実行完了」を指示された場合には、処理
を終了する(ステップST140)。
If the reply to the request for the next process is "temporary stop" of execution, the state becomes "waiting for instruction" (step S).
T139). In the “waiting for instruction” state, when the “restart execution” is instructed by the image information reference type image area allocating means 65, the process returns to the “next processing request” and restarts the processing. On the other hand, in the “waiting for instruction” state, when the “execution completion” is instructed from the image information reference type image area allocating means 65, the processing is ended (step ST140).

【0238】画像情報参照型領域分割法設定手段67の
動作について説明する。 「次処理領域」の各行で計算
された推定散乱点数を累積して得られる累積推定散乱点
数が、「処理制限量」を超えた場合、「境界行」の次の
行から「次処理領域」の最後の行までの領域を「超解像
未処理領域」として、画像情報参照型処理負荷計算手段
66から画像情報参照型画像領域割当手段65に対し
て、再割当が要求される。その後、画像情報参照型画像
領域割当手段65は、実行管理テーブルの管理パラメー
タに記録された推定散乱点数を基に、画像情報参照型領
域分割法設定手段67が与える領域分割法を用いて「次
処理領域」を決定する。画像情報参照型領域分割法設定
手段67が与える領域分割法について説明する。まず、
実行管理テーブルの管理パラメータに記録された散乱点
数の累積値および使用プロセッサ数設定手段4に設定さ
れた使用プロセッサ数を基に、「割当散乱点数」を算出
する。その後、画像割当ポインタの先頭から、各行の推
定散乱点数の和を算出していき、「割当散乱点数」を超
える行までの領域を「次処理領域」とする。
The operation of the image information reference type area division method setting means 67 will be described. If the cumulative estimated scatter points obtained by accumulating the estimated scatter points calculated in each row of the "next processing area" exceeds the "processing limit amount", the next row of the "boundary row" to the "next processing area" The image information reference type processing load calculation means 66 requests the image information reference type image area allocation means 65 to perform reallocation, with the area up to the last row as the “super-resolution unprocessed area”. Then, the image information reference type image area allocation means 65 uses the area division method given by the image information reference type area division method setting means 67 based on the estimated number of scattering points recorded in the management parameter of the execution management table, Processing area ". The area division method provided by the image information reference type area division method setting means 67 will be described. First,
The "assigned scattered score" is calculated based on the cumulative value of the scattered score recorded in the management parameter of the execution management table and the used processor number set in the used processor number setting means 4. Then, the sum of the estimated scattering points of each row is calculated from the head of the image allocation pointer, and the area up to the row exceeding the “assigned scattering points” is set as the “next processing area”.

【0239】この実施の形態30の装置で、図9に示す
サンプル画像を、4プロセッサ構成の計算機で処理した
ケースについて説明する。 図9では、処理が1,3,
5,7行目で推定散乱点数が100と処理が集中してお
り、他の行では全て推定散乱点数が1と小さな処理にな
っている。ここでは、推定散乱点数の計算時間が1、散
乱点1個当たりにかかる超解像処理の時間が1になって
いる。以下、ここではの処理時間の単位を「T」とす
る。図9の処理を逐次実行した場合には、「600T」
の時間が掛ることになる。なお、図9では、各行の推定
散乱点数と処理負荷(処理時間)を明示してあるが、こ
れは、散乱点数の推定計算結果後に分かる値であり、計
算の実行開始前には分からない値である。Guided
−Selfスケジューリング(最初の処理領域の割当を
変更しないまま実行したケース。図7参照)の例では、
全体の実行時間は約「450T」も時間が掛かってしま
う(1.3倍しか高速化できない)。これに対して、上
記実施の形態1に示した例では、全体の実行時間は約
「177T」だけの時間で処理を完了できる(約3.4
倍高速化できている)。
A case where the sample image shown in FIG. 9 is processed by a computer having a four-processor configuration in the apparatus according to the thirtieth embodiment will be described. In FIG. 9, the processes are 1, 3,
In the 5th and 7th lines, the processing is concentrated, with the estimated number of scattered points being 100, and in the other rows, the estimated number of scattered points is 1, which is a small process. Here, the calculation time for the estimated number of scattering points is 1, and the time for the super-resolution processing per scattering point is 1. Hereinafter, the unit of the processing time here is “T”. When the processing of FIG. 9 is sequentially executed, “600T”
It will take time. Note that, in FIG. 9, the estimated scatter points and the processing load (processing time) of each line are clearly shown, but this is a value found after the estimation calculation result of the scatter points, and a value that cannot be known before the start of the calculation. Is. Guided
In the example of -Self scheduling (the case of executing without changing the allocation of the first processing area, see FIG. 7),
The total execution time is about "450T" (only 1.3 times faster). On the other hand, in the example shown in the first embodiment, the processing can be completed in a total execution time of only about "177T" (about 3.4).
It has been doubled in speed).

【0240】一方で、実施の形態30の装置では、次の
ように処理される。 各種設定を行う手段では、使用プ
ロセッサ数設定手段4の使用プロセッサ数を「4」、処
理画像情報設定手段5の画像処理領域の大きさを「10
0」行に設定する。また、単位領域当たりの最大処理量
設定手段3では、行当たりの最大の推定散乱点数を「1
00」に設定されているとする。また、実装イメージ
は、図49のようになる。画像情報参照型画像領域割当
手段65では、上述の図44のフローチャートに沿って
処理が進められる。まずは、各手段に設定されたデータ
を基に初期化が行われる。プロセッサ1〜4の実行中フ
ラグを「ON」に、「残処理領域数」を100に、実行
管理テーブルの1行から100行の管理パラメータを
「未」に、「画像割当ポインタ」を1行目に設定する。
画像情報参照型領域分割法設定手段67は、初期割当時
の「次処理領域」サイズの決定法として、“「画像処理
領域全体のサイズ」/「使用プロセッサ数」”を通知し
たとする。また、画像情報参照型処理負荷計算手段66
−1〜66−4へ実行開始を指示する。画像情報参照型
処理負荷計算手段66−1〜66−4では、図45のフ
ローチャートに従って処理を進めていく。ここでは、画
像情報参照型画像領域割当手段65からの実行開始の指
示を受け、順次画像情報参照型画像領域割当手段65へ
「次処理要求」を行う。ここでは、説明を簡単にするた
め、まず、画像情報参照型処理負荷計算手段66−1が
1番最初に画像情報参照型画像領域割当手段65へ「次
処理要求」を行い、続いてほぼ同時に、画像情報参照型
処理負荷計算手段66−2、画像情報参照型処理負荷計
算手段66−3、画像情報参照型処理負荷計算手段66
−4の順で「次処理要求」を行ったとして説明する。ま
た、画像情報参照型処理負荷計算手段66−1〜66−
4は、時刻「0T」で一斉に「次処理要求」を行ったと
する。まず、時刻「0T」で画像情報参照型画像領域割
当手段65は、画像情報参照型処理負荷計算手段66−
1からの「次処理要求」を受け取る。最初は、画像情報
参照型領域分割法設定手段67の領域分割法に従って、
先頭から25行分、1行から25行までを「次処理領
域」に選択する。次に、「残処理領域数」を75に、実
行管理テーブルの1行から25行までの管理パラメータ
を「計」に、「画像割当ポインタ」を26行目に更新す
る。その後、処理制限量計算手段7に「処理制限量」を
算出させる。この例では、“「次処理領域のサイズ」*
4−1”を「処理制限量」として算出することにする。
「次処理領域のサイズ」が25のため、ここでは、「処
理制限量」が99となる。「処理制限量」の算出後、画
像情報参照型処理負荷計算手段66−1へ、「次処理領
域」(1行〜25行)と「処理制限量」99を通知し、
「要求待ち」状態へ復帰する。画像情報参照型画像領域
割当手段65では、時刻「0T」でさらに画像情報参照
型処理負荷計算手段66−2、画像情報参照型処理負荷
計算手段66−3、画像情報参照型処理負荷計算手段6
6−4からの「次処理要求」を受け取る。ここでは、画
像情報参照型処理負荷計算手段66−1からの要求時と
同じ手順で、「次処理領域」の割当を行っていく。画像
情報参照型処理負荷計算手段66−2には、「次処理領
域」(26行〜50行)と「処理制限量」99を、画像
情報参照型処理負荷計算手段66−3には、「次処理領
域」(51行〜75行)と「処理制限量」99を、画像
情報参照型処理負荷計算手段66−4には、「次処理領
域」(76行〜100行)と「処理制限量」99を、通
知し、「要求待ち」状態へ復帰する。なお、ここでの処
理の結果、「残処理領域数」は0に、26行から100
行までの管理パラメータが「計」に、「画像割当ポイン
タ」は指す行がなくなる(次に、再割当要求があったと
きに、再度設定される)。
On the other hand, in the device of the thirtieth embodiment, the following processing is performed. As means for performing various settings, the number of used processors of the used processor number setting means 4 is “4”, and the size of the image processing area of the processed image information setting means 5 is “10”.
Set to line "0". In the maximum throughput setting unit 3 per unit area, the maximum estimated number of scattering points per line is set to "1.
00 "is set. The mounting image is as shown in FIG. In the image information reference type image area allocating means 65, the processing proceeds according to the flowchart of FIG. First, initialization is performed based on the data set in each means. The execution flags of the processors 1 to 4 are set to “ON”, the “remaining processing area number” is set to 100, the management parameters of 1 to 100 rows of the execution management table are set to “not yet”, and the “image allocation pointer” is set to 1 row. Set on the eyes.
It is assumed that the image information reference type area division method setting means 67 has notified ““ the size of the entire image processing area ”/“ the number of used processors ”” as a method of determining the “next processing area” size at the time of initial allocation. , Image information reference type processing load calculation means 66
Instruct execution start to -1 to 66-4. The image information reference type processing load calculation means 66-1 to 66-4 proceed with the processing according to the flowchart of FIG. Here, in response to an instruction to start execution from the image information reference type image area allocating means 65, the “next processing request” is sequentially issued to the image information reference type image area allocating means 65. Here, in order to simplify the explanation, first, the image information reference type processing load calculation means 66-1 first makes a “next processing request” to the image information reference type image area allocation means 65, and subsequently at almost the same time. , Image information reference type processing load calculation means 66-2, image information reference type processing load calculation means 66-3, image information reference type processing load calculation means 66
It is assumed that the "next processing request" is made in the order of -4. Further, the image information reference type processing load calculation means 66-1 to 66-
It is assumed that No. 4 simultaneously makes "next processing request" at time "0T". First, at the time “0T”, the image information reference type image area allocation unit 65 causes the image information reference type processing load calculation unit 66-
The "next processing request" from 1 is received. First, according to the area division method of the image information reference type area division method setting means 67,
The first 25 rows and the first 25 rows are selected as the "next processing area". Next, the "remaining processing area number" is updated to 75, the management parameters of the first to 25th lines of the execution management table are updated to "total", and the "image allocation pointer" is updated to the 26th line. After that, the processing limit amount calculation means 7 is caused to calculate the “processing limit amount”. In this example, "the size of the next processing area" *
4-1 "is calculated as the" processing limit amount ".
Since the “size of the next processing area” is 25, the “processing restriction amount” is 99 here. After the calculation of the “processing limit amount”, the “next processing region” (1 to 25 lines) and the “processing limit amount” 99 are notified to the image information reference type processing load calculating means 66-1.
Return to the "waiting for request" state. In the image information reference type image area allocating means 65, the image information reference type processing load calculating means 66-2, the image information reference type processing load calculating means 66-3, and the image information reference type processing load calculating means 6 at time “0T”.
The "next processing request" from 6-4 is received. Here, the "next processing area" is allocated in the same procedure as when the image information reference type processing load calculation means 66-1 requests. The “next processing area” (lines 26 to 50) and the “processing limit amount” 99 are input to the image information reference type processing load calculating means 66-2, and the “next processing area” 99 is input to the image information reference type processing load calculating means 66-3. The “next processing area” (lines 51 to 75) and the “processing restriction amount” 99, and the image information reference type processing load calculating means 66-4 stores the “next processing area” (lines 76 to 100) and the processing restriction. The amount "99" is notified, and the state returns to the "waiting for request" state. As a result of the processing here, the "number of remaining processing areas" is set to 0, and from the 26th row to the 100th row.
The management parameter up to the line becomes "total" and the line pointed by the "image allocation pointer" disappears (there is set again when there is a reallocation request next time).

【0241】画像情報参照型処理負荷計算手段66−1
では、時刻「0T」で、画像情報参照型画像領域割当手
段65から「次処理要求」への回答として、「次処理領
域」(1行〜25行)と「処理制限量」99を受け取
る。 まず、「次処理領域」の各行で、推定散乱点数を
計算し、実行管理テーブルの1行〜25行までの管理パ
ラメータに、推定散乱点数の計算結果を記録する。ここ
では、25行分の推定散乱点数の計算に、「25T」掛
かる。 次に、各行の推定散乱点数の和を求めて、「処
理制限量」99と比較していく。ここでは、1行目で推
定散乱点数が100となり、1行目が「境界行」とな
る。したがって、「超解像実行領域」は1行目だけにな
る。当然、「境界行」は最終行ではないので、2行〜2
5行の再割当を画像情報参照型画像領域割当手段65に
要求する。ここでは、推定散乱点数の計算の終了した時
刻「25T」で、画像情報参照型画像領域割当手段65
への再割当要求が行われる。再割当要求後、画像情報参
照型処理負荷計算手段66−1は、画像処理実行手段9
−1へ、「超解像実行領域」(1行目)の超解像処理の
実行を指示し、「超解像実行領域」(1行目)の管理パ
ラメータを「計」にする。画像情報参照型処理負荷計算
手段66−1では、この処理の終了を時刻「125T」
まで待つことになる。画像情報参照型処理負荷計算手段
66−2では、時刻「0T」で「次処理領域」(26行
〜50行)と「処理制限量」99を受け取る。上記画像
情報参照型処理負荷計算手段66−1と同様の手順で処
理を進めていくが、ここでは、各行の推定散乱点数の和
は、最後の行まで計算しても25までしか増加しない。
このため、再割当要求は行わず、「次処理領域」である
26行〜50行の全てを「超解像実行領域」に設定す
る。「超解像実行領域」の設定後、画像処理実行手段9
−2へ、26行〜50行の超解像処理の実行を指示す
る。ここでは、この処理の終了を時刻「50T」まで待
つことになる。画像情報参照型処理負荷計算手段66−
3では、時刻「0T」で「次処理領域」(51行〜75
行)と「処理制限量」99を受け取る。ここでは、画像
情報参照型処理負荷計算手段66−2と同様に、推定散
乱点数の累積が25と「処理制限量」より小さい値まで
しか増加しないため、51行〜75行を「超解像実行領
域」に設定して、画像処理実行手段9−3に超解像処理
の実行を指示する。この処理の終了を時刻「50T」ま
で待つことになる。画像情報参照型処理負荷計算手段6
6−4では、時刻「0T」で「次処理領域」(76行〜
100行)と「処理制限量」99を受け取る。ここで
も、画像情報参照型処理負荷計算手段66−2と同様
に、推定散乱点数の累積が25と「処理制限量」より小
さい値までしか増加しないため、76行〜100行を
「超解像実行領域」に設定して、画像処理実行手段9−
4に超解像処理の実行を指示する。この処理の終了を時
刻「50T」まで待つことになる。
Image information reference type processing load calculation means 66-1
Then, at time “0T”, the “next processing area” (lines 1 to 25) and the “processing limit amount” 99 are received from the image information reference type image area allocating means 65 as a response to the “next processing request”. First, the estimated scatter points are calculated in each line of the "next processing area", and the calculation result of the estimated scatter points is recorded in the management parameters of lines 1 to 25 of the execution management table. Here, it takes "25T" to calculate the estimated number of scattered points for 25 lines. Next, the sum of the estimated number of scattered points in each row is calculated and compared with the “processing limit amount” 99. Here, the estimated number of scattering points is 100 in the first line, and the first line is the “boundary line”. Therefore, the "super-resolution execution area" is only the first row. Naturally, the "boundary line" is not the last line, so 2 to 2
The reallocation of five lines is requested to the image information reference type image area allocating means 65. Here, at the time “25T” when the calculation of the estimated number of scattered points is finished, the image information reference type image area allocating means 65.
A request for reassignment to After the reallocation request, the image information reference type processing load calculating means 66-1 is operated by the image processing executing means 9
-1 is instructed to execute the super-resolution processing of the "super-resolution execution area" (first row), and the management parameter of the "super-resolution execution area" (first row) is set to "total". In the image information reference type processing load calculation means 66-1, the end of this processing is time “125T”.
Will wait until. The image information reference type processing load calculation means 66-2 receives the “next processing area” (lines 26 to 50) and the “processing limit amount” 99 at time “0T”. The processing proceeds in the same procedure as the image information reference type processing load calculating means 66-1, but here, the sum of the estimated scattering points of each row increases only to 25 even if the calculation is performed up to the last row.
Therefore, the reallocation request is not issued, and all of the 26th to 50th rows which are the "next processing area" are set to the "super-resolution execution area". After setting the “super-resolution execution area”, the image processing execution means 9
-2 is instructed to execute the super-resolution processing of lines 26 to 50. Here, the end of this processing is waited until time "50T". Image information reference type processing load calculation means 66-
3, the "next processing area" (lines 51 to 75) at time "0T"
Line) and the “processing limit amount” 99. Here, as in the case of the image information reference type processing load calculation means 66-2, since the cumulative number of estimated scattering points increases only to a value smaller than 25, which is a “processing limit amount”, lines 51 to 75 are “super-resolution”. Then, the image processing execution means 9-3 is instructed to execute the super-resolution processing. The end of this process will be waited until time “50T”. Image information reference type processing load calculation means 6
In 6-4, at the time “0T”, the “next processing area” (from line 76 to
(100 lines) and "processing limit amount" 99. Here, as in the case of the image information reference type processing load calculation means 66-2, since the cumulative number of estimated scattering points increases only to a value smaller than 25, which is the “processing limit amount”, lines 76 to 100 are “super-resolution”. Image processing execution means 9-
4 is instructed to execute the super-resolution processing. The end of this process will be waited until time “50T”.

【0242】時刻「25T」で、画像情報参照型処理負
荷計算手段66−1は、2行〜25行(24行分)の再
割当要求を行う。 ここで画像情報参照型画像領域割当
手段65は、「残処理領域数」を0から24に更新(2
4行追加)する。ここでは、プロセッサ1〜4の実行中
フラグは全て「ON」であるため、実行再開に関する処
理は行わずに、「要求待ち」状態へ復帰する。 時刻
「50T」で超解像処理の実行が終了するため、画像情
報参照型処理負荷計算手段66−2〜画像情報参照型処
理負荷計算手段66−4は、「次処理要求」を行う。こ
こでは、説明を簡単にするため、画像情報参照型処理負
荷計算手段66−2〜画像情報参照型処理負荷計算手段
66−4の順で「次処理要求」を行ったとして説明す
る。画像情報参照型領域分割法設定手段67は、再割当
時における「次処理領域」の決定法として、“「割当散
乱点数」=「累積推定散乱点数」+「使用プロセッサ
数」−1/「使用プロセッサ数」”を通知したとする。
残処理領域である2行〜25行の「管理パラメータの累
積」は321である。ここで、「画像割当ポインタ」は
画像領域の先頭から、管理パラメータに推定散乱点数の
数値が記録されている行、すなわち2行目に移動してい
る。画像情報参照型処理負荷計算手段66−2の「割当
散乱点数」は81となる。2行目から記録された推定散
乱点数の和を算出していくと、3行目で101となり、
「割当散乱点数」の81以上となる。したがって、2行
〜3行を「次処理領域」とする。「処理制限量」は7で
あるが、推定散乱点数は既に計算済みであるため、使用
しない。「次処理領域」を受け取った画像情報参照型処
理負荷計算手段66−2は、「次処理領域」を「超解像
処理実行領域」に設定し、画像処理実行手段9−2へ、
2行〜3行の超解像処理の実行を指示する。ここでは、
この処理の終了を「151T」まで待つことになる。同
様に、画像情報参照型処理負荷計算手段66−3の「割
当散乱点数」は55となる。「画像割当ポインタ」の指
す4行目から記録された推定散乱点数の和を算出して行
くと、5行目で101となり、「割当散乱点数」の55
以上となる。したがって、4行〜5行を「次処理領域」
とする。「次処理領域」を受け取った画像情報参照型処
理負荷計算手段66−3は、「次処理領域」を「超解像
処理実行領域」に設定し、画像処理実行手段9−3へ、
4行〜5行の超解像処理の実行を指示する。ここでは、
この処理の終了を「151T」まで待つことになる。同
様に、画像情報参照型処理負荷計算手段66−4の「割
当散乱点数」は30となる。「画像割当ポインタ」の指
す6行目から記録された推定散乱点数の和を算出して行
くと、7行目で101となり、「割当散乱点数」の30
以上となる。したがって、6行〜7行を「次処理領域」
とする。「次処理領域」を受け取った画像情報参照型処
理負荷計算手段66−4は、「次処理領域」を「超解像
処理実行領域」に設定し、画像処理実行手段9−4へ、
6行〜7行の超解像処理の実行を指示する。ここでは、
この処理の終了を「151T」まで待つことになる。
At time "25T", the image information reference type processing load calculating means 66-1 makes a reassignment request for 2 to 25 lines (24 lines). Here, the image information reference type image area allocating means 65 updates the “number of remaining processing areas” from 0 to 24 (2
Add 4 lines). Here, since the in-execution flags of the processors 1 to 4 are all “ON”, the process related to the resumption of execution is not performed and the state returns to the “waiting for request” state. Since the execution of the super-resolution processing ends at time “50T”, the image information reference type processing load calculation means 66-2 to image information reference type processing load calculation means 66-4 make a “next processing request”. Here, for simplification of description, it is assumed that the “next processing request” is made in the order of the image information reference type processing load calculation means 66-2 to the image information reference type processing load calculation means 66-4. The image information reference type area division method setting means 67 determines, as a method of determining the “next processing area” at the time of reallocation, ““ assigned scattered point number ”=“ cumulative estimated scattered point number ”+“ number of used processors ”−1 /“ used ” It is assumed that the number of processors "" is notified.
The “cumulative management parameter” of lines 2 to 25, which is the remaining processing area, is 321. Here, the "image allocation pointer" has moved from the beginning of the image area to the line where the numerical value of the estimated scattering point is recorded in the management parameter, that is, the second line. The “assigned scattering score” of the image information reference type processing load calculation means 66-2 is 81. When the sum of the estimated scattering points recorded from the second line is calculated, it becomes 101 in the third line,
It is 81 or more of the "assigned scattered points". Therefore, the 2nd to 3rd rows are set as the "next processing area". The "processing limit amount" is 7, but the estimated scattering point number has already been calculated, so it is not used. The image information reference type processing load calculation means 66-2 which has received the "next processing area" sets the "next processing area" to the "super-resolution processing execution area", and advances the processing to the image processing execution means 9-2.
Instruct execution of the super-resolution processing of 2nd to 3rd rows. here,
The end of this process is waited until "151T". Similarly, the “assigned scattered point number” of the image information reference type processing load calculation means 66-3 is 55. When the sum of the estimated scattered points recorded from the 4th line indicated by the “image allocation pointer” is calculated, it becomes 101 on the 5th line, which is 55 of the “allocated scattered points”.
That is all. Therefore, the 4th to 5th rows are the "next processing area".
And The image information reference type processing load calculation means 66-3 which has received the "next processing area" sets the "next processing area" to the "super-resolution processing execution area", and then to the image processing execution means 9-3.
Instruct execution of super-resolution processing in lines 4 to 5. here,
The end of this process is waited until "151T". Similarly, the “assigned scattered point number” of the image information reference type processing load calculation means 66-4 is 30. When the sum of the estimated scattered points recorded from the 6th line indicated by the “image allocation pointer” is calculated, it becomes 101 on the 7th line, which is 30 of the “allocated scattered points”.
That is all. Therefore, the 6th to 7th lines are the "next processing area".
And The image information reference type processing load calculation means 66-4 which has received the "next processing area" sets the "next processing area" to the "super-resolution processing execution area", and then to the image processing execution means 9-4.
Instruct execution of super-resolution processing in lines 6 to 7. here,
The end of this process is waited until "151T".

【0243】時刻「125T」で超解像処理の実行が終
了するため、画像情報参照型処理負荷計算手段66−1
は、「次処理要求」を行う。 画像情報参照型処理負荷
計算手段66−1の「割当散乱点数」は5となる。「画
像割当ポインタ」の指す8行目から記録された推定散乱
点数の和を算出して行くと、12行目で5となり、「割
当散乱点数」の5以上となる。したがって、8行〜12
行を「次処理領域」とする。「次処理領域」を受け取っ
た画像情報参照型処理負荷計算手段66−1は、「次処
理領域」を「超解像処理実行領域」に設定し、画像処理
実行手段9−1へ、8行〜12行の超解像処理の実行を
指示する。ここでは、この処理の終了を「130T」ま
で待つことになる。時刻「130T」で超解像処理の実
行が終了するため、画像情報参照型処理負荷計算手段6
6−1は、「次処理要求」を行う。画像情報参照型処理
負荷計算手段66−1の「割当散乱点数」は4となる。
「画像割当ポインタ」の指す13行目から記録された推
定散乱点数の和を算出して行くと、16行目で4とな
り、「割当散乱点数」の4以上となる。したがって、1
3行〜16行を「次処理領域」とする。「次処理領域」
を受け取った画像情報参照型処理負荷計算手段66−1
は、「次処理領域」を「超解像処理実行領域」に設定
し、画像処理実行手段9−1へ、13行〜16行の超解
像処理の実行を指示する。ここでは、この処理の終了を
「134T」まで待つことになる。同様にして、「再割
当領域」の最後の行(25行)まで全て、画像情報参照
型処理負荷計算手段66−1が超解像処理を実行し、時
刻「143T」で「再割当領域」は空となる。画像情報
参照型処理負荷計算手段66−2〜画像情報参照型処理
負荷計算手段66−4の実行も全て「151T」で終了
する。
Since the super-resolution processing ends at time "125T", the image information reference type processing load calculation means 66-1.
Performs a "next processing request". The “assigned scattering score” of the image information reference type processing load calculation means 66-1 is 5. When the sum of the estimated scattered points recorded from the 8th line indicated by the “image allocation pointer” is calculated, it becomes 5 on the 12th line, which is 5 or more of the “allocated scattered points”. Therefore, 8 rows to 12
The line is the "next processing area". The image information reference type processing load calculation means 66-1 which has received the “next processing area” sets the “next processing area” to the “super-resolution processing execution area”, and sends it to the image processing execution means 9-1 in 8 lines. Instruct execution of super-resolution processing of 12 lines. Here, the end of this process is waited until "130T". Since the execution of the super-resolution processing ends at time “130T”, the image information reference type processing load calculation means 6
6-1 makes a "next processing request". The “assigned scattering score” of the image information reference type processing load calculation means 66-1 is 4.
When the sum of the estimated scattered points recorded from the 13th line indicated by the “image allocation pointer” is calculated, it becomes 4 on the 16th line, which is 4 or more of the “allocated scattered points”. Therefore, 1
Lines 3 to 16 are referred to as "next processing area". "Next processing area"
Image information reference type processing load calculation means 66-1
Sets the "next processing area" to the "super-resolution processing execution area" and instructs the image processing execution means 9-1 to execute the super-resolution processing of lines 13 to 16. Here, the end of this processing is waited until "134T". Similarly, the image information reference type processing load calculation means 66-1 executes the super-resolution processing up to the last line (25 lines) of the “reallocation area”, and at the time “143T”, the “reallocation area” is reached. Becomes empty. The execution of the image information reference type processing load calculation means 66-2 to the image information reference type processing load calculation means 66-4 is also completed at "151T".

【0244】このように、今回の図9の画像の例では、
実施の形態30の装置では、151Tだけでの時間で処
理を完了できる(約4.0倍高速化できている)。
Thus, in the example of the image of FIG. 9 this time,
In the device of the thirtieth embodiment, the processing can be completed in only 151T (the speed can be increased by about 4.0 times).

【0245】以上のように、この実施の形態30によれ
ば、入力画像から得られる画像情報に基づいて再割当を
行う際の処理領域を決定することにより、並列実行する
プロセッサに効率良く負荷を分散することができる並列
画像処理装置を得られる効果がある。
As described above, according to the thirtieth embodiment, the processing areas for reallocation are determined based on the image information obtained from the input image, so that the processors executing in parallel can be efficiently loaded. There is an effect that a parallel image processing device that can be dispersed can be obtained.

【0246】実施の形態31.この実施の形態31によ
る画像情報参照型画像領域割当手段65は、画像情報を
参照して処理領域の再割当を行う際に、単位領域数を優
先して再割当を行う処理領域を決定するように構成した
ものである。その他の構成については、上記実施の形態
30と同一である。
Embodiment 31. The image information reference type image area allocating means 65 according to the thirty-first embodiment, when reallocating the processing areas by referring to the image information, prioritizes the number of unit areas to determine the processing areas to be re-allocated. It is configured in. Other configurations are the same as those in the thirtieth embodiment.

【0247】次に動作について説明する。「再割当要
求」があった場合、画像情報参照型画像領域割当手段6
5は、実行管理テーブルの管理パラメータに記録された
推定散乱点数を基に、画像情報参照型領域分割法設定手
段67が与える領域分割法を用いて「次処理領域」を決
定する。その際、各行の推定散乱点数の和が「割当散乱
点数」以上となるように、行を採用していき、採用され
た行で構成される領域を「次処理領域」とする。上記実
施の形態30では、画像割当ポインタの先頭から、順次
行を採用していた。この実施の形態31では、順次採用
して行くのではなく、画像割当ポインタの先頭から開始
して、推定散乱点数を基に、採用する行および採用しな
い行とを選択し、「割当散乱点数」に可能な限り近い値
となるような行を選択し、この領域を「次処理領域」と
する。「割当散乱点数」は、Guided−Selfス
ケジューリングを基に算出しているが、各プロセッサへ
再割当する「次処理領域」を、可能な限り「割当散乱点
数」に近い値とすることで、効率良く残処理領域の負荷
を割り当てることが期待できる。
Next, the operation will be described. When there is a "reassignment request", the image information reference type image area allocating means 6
5 determines the "next processing area" by using the area division method provided by the image information reference type area division method setting means 67 based on the estimated number of scattering points recorded in the management parameter of the execution management table. At that time, the rows are adopted so that the sum of the estimated scattered points of each row is equal to or more than the “assigned scattered points”, and the area formed by the adopted rows is defined as the “next processing area”. In the thirtieth embodiment, sequential rows are adopted from the beginning of the image allocation pointer. In the thirty-first embodiment, instead of adopting sequentially, starting from the head of the image allocation pointer, the rows to be adopted and the rows not to be adopted are selected based on the estimated scattered points, and the “allocated scattered points” are selected. A row having a value as close as possible to is selected, and this area is set as the "next processing area". The "assigned scattered score" is calculated based on the Guided-Self scheduling, but the efficiency is improved by setting the "next processing area" to be reallocated to each processor as close to the "assigned scattered score" as possible. It can be expected that the load of the remaining processing area is well allocated.

【0248】以上のように、この実施の形態31によれ
ば、画像情報参照型画像領域割当手段65において、画
像情報を参照して処理領域の再割当を行う際に、単位領
域数を優先して再割当を行う処理領域を決定することに
より、効率良く残処理領域の負荷を割り当てることがで
きる並列画像処理装置を得られる効果がある。
As described above, according to the thirty-first embodiment, when the image information reference type image area allocating means 65 refers to image information to reallocate a processing area, the number of unit areas is prioritized. By deciding the processing area to be reallocated, the parallel image processing apparatus capable of efficiently allocating the load of the remaining processing area can be obtained.

【0249】実施の形態32.この実施の形態32によ
る画像情報参照型画像領域割当手段65は、画像情報を
参照して処理領域の再割当を行う際に、画像情報の大き
さを優先して再割当を行う処理領域を決定するように構
成したものである。その他の構成については、上記実施
の形態30と同一である。
Embodiment 32. The image information reference type image area allocating means 65 according to the thirty-second embodiment determines the processing area to be re-allocated by prioritizing the size of the image information when re-allocating the processing area by referring to the image information. It is configured to do. Other configurations are the same as those in the thirtieth embodiment.

【0250】次に動作について説明する。「再割当要
求」があった場合、画像情報参照型画像領域割当手段6
5は、実行管理テーブルの管理パラメータに記録された
推定散乱点数を基に、画像情報参照型領域分割法設定手
段67が与える領域分割法を用いて「次処理領域」を決
定する。その際、各行の推定散乱点数の和が「割当散乱
点数」以上となるように、行を採用していき、採用され
た行で構成される領域を「次処理領域」とする。上記実
施の形態30では、画像割当ポインタの先頭から、順次
行を採用していた。この実施の形態32では、順次採用
して行くのではなく、推定散乱点数が大きいものから順
次採用して行く。これにより、残処理領域において、画
像割当ポインタの先頭から遠い位置に、推定散乱点数が
大きい行がある場合などにも、効率良く残処理領域の負
荷を割り当てることが期待できる。
Next, the operation will be described. When there is a "reassignment request", the image information reference type image area allocating means 6
5 determines the "next processing area" by using the area division method provided by the image information reference type area division method setting means 67 based on the estimated number of scattering points recorded in the management parameter of the execution management table. At that time, the rows are adopted so that the sum of the estimated scattered points of each row is equal to or more than the “assigned scattered points”, and the area formed by the adopted rows is defined as the “next processing area”. In the thirtieth embodiment, sequential rows are adopted from the beginning of the image allocation pointer. In the thirty-second embodiment, instead of sequentially adopting, the one having the largest estimated scattering point number is sequentially adopted. As a result, even when there is a row having a large estimated scattering point at a position far from the beginning of the image allocation pointer in the remaining processing area, the load of the remaining processing area can be expected to be allocated efficiently.

【0251】以上のように、この実施の形態32によれ
ば、画像情報参照型画像領域割当手段65において、画
像情報を参照して処理領域の再割当を行う際に、画像情
報の大きさを優先して再割当を行う処理領域を決定する
ことにより、効率良く残処理領域の負荷を割り当てるこ
とができる並列画像処理装置を得られる効果がある。
As described above, according to the thirty-second embodiment, when the image information reference type image area allocating means 65 refers to the image information to reallocate the processing area, the size of the image information is changed. By deciding the processing area to be reallocated preferentially, there is an effect that a parallel image processing apparatus capable of efficiently allocating the load of the remaining processing area can be obtained.

【0252】実施の形態33.この実施の形態33によ
る画像情報参照型画像領域割当手段65は、画像情報を
参照して処理領域の再割当を行う際に、単純に画像情報
から再割当を行う処理領域を採用するのではなく、得ら
れた画像情報に基づいて、実行する画像処理の処理負荷
を算出し、その処理負荷に基づいて再割当を行う処理領
域を決定するように構成したものである。その他の構成
については、上記実施の形態30と同一である。
Embodiment 33. The image information reference type image area allocating means 65 according to the thirty-third embodiment does not simply adopt a processing area for performing reallocation from image information when the processing area is reallocated by referring to the image information. The processing load of the image processing to be executed is calculated based on the obtained image information, and the processing area to be reallocated is determined based on the processing load. Other configurations are the same as those in the thirtieth embodiment.

【0253】次に動作について説明する。「再割当要
求」があった場合、上記実施の形態30から32では、
画像情報参照型画像領域割当手段65は、実行管理テー
ブルの管理パラメータに記録された推定散乱点数を基
に、画像情報参照型領域分割法設定手段67が与える領
域分割法を用いて「次処理領域」を決定する。これは、
超解像処理の実行時間は、推定散乱点数に依存すること
が分かっているからである。しかし、「推定散乱点数の
計算→超解像処理」を一回実行後は、推定散乱点の個数
および超解像処理の実行時間の関係が明らかになってい
る。したがって、単純に推定散乱点数ではなく、推定散
乱点数を超解像処理の実行時間に変換した値を基に、再
割当時の「次処理領域」を決定することとする。これに
より、効率良く残処理領域の負荷を割り当てることが期
待できる。
Next, the operation will be described. When there is a “reassignment request”, in the above-mentioned Embodiments 30 to 32,
The image information reference type image area allocation means 65 uses the area division method given by the image information reference type area division method setting means 67 based on the estimated scattering points recorded in the management parameters of the execution management table to indicate “the next processing area”. Is determined. this is,
This is because it is known that the execution time of the super-resolution processing depends on the estimated number of scattering points. However, after performing the "calculation of the estimated number of scattering points → super-resolution processing" once, the relationship between the number of estimated scattering points and the execution time of the super-resolution processing has been clarified. Therefore, the "next processing region" at the time of reallocation is determined based on a value obtained by converting the estimated scattering point into the execution time of the super-resolution processing, not simply the estimated scattering point. As a result, it can be expected that the load of the remaining processing area can be efficiently allocated.

【0254】以上のように、この実施の形態33によれ
ば、画像情報参照型画像領域割当手段65において、画
像情報を参照して処理領域の再割当を行う際に、単純に
画像情報から再割当を行う処理領域を採用するのではな
く、得られた画像情報に基づいて、実行する画像処理の
処理負荷を算出し、その処理負荷に基づいて再割当を行
う処理領域を決定することにより、効率良く残処理領域
の負荷を割り当てることができる並列画像処理装置を得
られる効果がある。
As described above, according to the thirty-third embodiment, when the image information reference type image area allocating means 65 refers to the image information and reallocates the processing area, the image information is simply re-allocated from the image information. Rather than adopting the processing area to allocate, by calculating the processing load of the image processing to be executed based on the obtained image information, by determining the processing area to be reallocated based on the processing load, There is an effect that it is possible to obtain a parallel image processing apparatus that can efficiently allocate the load of the remaining processing area.

【0255】実施の形態34.この実施の形態34によ
る画像情報参照型処理負荷計算手段66は、初期割当時
に、画像情報の計算と、画像処理実行手段9への処理の
指示とを連続して実行するように構成したものである。
その他の構成については、上記実施の形態30と同一で
ある。
Embodiment 34. The image information reference type processing load calculation means 66 according to the thirty-fourth embodiment is configured to continuously execute the image information calculation and the processing instruction to the image processing execution means 9 at the time of initial allocation. is there.
Other configurations are the same as those in the thirtieth embodiment.

【0256】次に動作について説明する。上記実施の形
態30から32では、初期割当時に、割り当てられた
「次処理領域」の各行に対して、まず、推定散乱点数の
計算を全て行い、その後に、超解像処理を行っていた。
この実施の形態34では、初期割当時に関しては、割り
当てられた各行に関して、「推定散乱点数の計算→超解
像処理」を連続して実行することとする。これにより、
キャッシュ情報を効率良く利用し、実行時間が小さくな
ることが期待できる。
Next, the operation will be described. In the thirty-third embodiments described above, at the time of initial allocation, for each row of the allocated "next processing area", first, all the estimated scattering point numbers are calculated, and then the super-resolution processing is executed.
In the thirty-fourth embodiment, regarding the initial allocation, the “calculation of estimated scattered points → super-resolution processing” is continuously executed for each allocated row. This allows
It can be expected that the cache information will be used efficiently and the execution time will be reduced.

【0257】以上のように、この実施の形態34によれ
ば、画像情報参照型処理負荷計算手段66において、初
期割当時に、画像情報の計算と、画像処理実行手段への
処理の指示とを連続して実行することにより、キャッシ
ュ情報を効率良く利用し、実行時間を小さくすることが
できる並列画像処理装置を得られる効果がある。
As described above, according to the thirty-fourth embodiment, the image information reference type processing load calculating means 66 continuously calculates the image information and instructs the image processing executing means at the time of initial allocation. By executing the above, there is an effect that a parallel image processing apparatus capable of efficiently using cache information and reducing execution time can be obtained.

【0258】[0258]

【発明の効果】以上のように、この発明によれば、使用
プロセッサ数および画像処理領域サイズに応じて処理領
域の割当方法を設定する領域分割法設定手段と、単位領
域での最大処理負荷量および算出される処理領域に応じ
て処理制限量を設定する処理制限量計算手段と、領域分
割法設定手段によって設定された割当方法に基づいて処
理領域を算出し、その処理領域およびその処理領域に応
じて処理制限量計算手段によって設定された処理制限量
を各プロセッサに割り当てると共に、プロセッサから再
割当を要求された場合に、その再割当を要求された領域
を未処理領域として再度割り当てを行う画像領域割当手
段と、各プロセッサにおいて、画像領域割当手段によっ
て割り当てられた処理領域に対して、対象画像領域での
処理負荷を計算し、指定された処理制限量を超えない範
囲について対応する画像処理実行手段に処理を指示する
と共に、その処理制限量を超えた場合には、制限オーバ
ーの領域の再割当を画像領域割当手段に要求する処理負
荷計算手段とを備えるように構成したので、単位領域で
の最大処理負荷量に応じた処理制限量を基準に各プロセ
ッサに割り当てた処理負荷を監視し、あるプロセッサで
の処理が処理制限量を超えた場合には、処理制限量を超
えたプロセッサに割り当てた処理領域を再度割り当てる
ことで、入力画像によって処理負荷が変化する画像処理
用のアルゴリズムを効率良く実行できる効果がある。
As described above, according to the present invention, the area division method setting means for setting the processing area allocation method according to the number of used processors and the image processing area size, and the maximum processing load amount in the unit area And a processing limit amount calculating unit that sets a processing limit amount according to the calculated processing region and a processing region based on the allocation method set by the region division method setting unit, and the processing region and the processing region are calculated. An image in which the processing restriction amount set according to the processing restriction amount calculation means is allocated to each processor, and when the processor requests re-allocation, the area requested for re-allocation is re-allocated as an unprocessed area. In the area allocation means and each processor, the processing load in the target image area is calculated with respect to the processing area allocated by the image area allocation means. Instructing the corresponding image processing executing means to perform processing in a range that does not exceed the specified processing limit amount, and when the processing limit amount is exceeded, request the image area allocating means to reallocate the over-limit area. Since the processing load calculation means is provided, the processing load assigned to each processor is monitored on the basis of the processing limit amount according to the maximum processing load amount in the unit area, and the process at a certain processor is processed. If the number exceeds the processing limit, the processing area assigned to the processor that has exceeded the processing limit amount is reassigned, so that the algorithm for image processing in which the processing load changes depending on the input image can be efficiently executed.

【0259】この発明によれば、領域分割法設定手段
を、単位領域当たりの最大処理量設定手段に設定された
単位領域での最大処理負荷量に応じて処理領域の割当方
法を設定する負荷計算型領域分割法設定手段とするよう
に構成したので、単位領域での最大処理負荷量に応じ
て、適切な大きさの処理領域を各プロセッサへ割り当て
ることができる効果がある。
According to the present invention, the area division method setting means sets the processing area allocation method according to the maximum processing load amount in the unit area set in the maximum processing amount setting means per unit area. Since it is configured as the type area division method setting means, there is an effect that a processing area of an appropriate size can be assigned to each processor according to the maximum processing load amount in the unit area.

【0260】この発明によれば、領域分割法設定手段
を、画像処理アルゴリズムでの単位領域に対する最大負
荷に対する実行時間と最小負荷に対する実行時間とを実
測する処理負荷実測手段を備え、領域分割法設定手段
を、処理負荷実測手段によって実測された実測時間に応
じて処理領域の割当方法を設定する実測対応型領域分割
法設定手段とし、処理制限量計算手段を、処理負荷実測
手段によって実測された実測時間に応じて処理制限量を
設定する実測対応型処理制限量計算手段とするように構
成したので、実測した単位領域での最大と最小の実行時
間を基準に、適切な大きさの処理領域および処理制限量
を各プロセッサへ割り当てることができる効果がある。
According to the present invention, the area division method setting means is provided with processing load measuring means for actually measuring the execution time for the maximum load and the execution time for the minimum load for the unit area in the image processing algorithm, and the area division method setting means is set. The means is a measurement corresponding area division method setting means for setting the allocation method of the processing area according to the actual measurement time measured by the processing load measuring means, and the processing limit amount calculating means is the actual measurement measured by the processing load measuring means. Since it is configured to be a measurement-compatible process limit amount calculation unit that sets a process limit amount according to time, a processing region of an appropriate size is set based on the maximum and minimum execution times in the measured unit region. There is an effect that a processing limit amount can be assigned to each processor.

【0261】この発明によれば、任意のサイズの画像領
域をブロックとして設定する処理ブロック設定手段を備
え、処理負荷計算手段を、処理ブロック設定手段によっ
て設定されたブロックを優先処理する処理ブロック対応
型処理負荷計算手段とし、画像処理実行手段を、処理ブ
ロック対応型処理負荷計算手段によって指示された画像
領域の画像処理を実行する処理ブロック対応型画像処理
実行手段とするように構成したので、任意のサイズのブ
ロック内の画像領域を優先処理することにより、実行効
率を良くすることができる効果がある。
According to the present invention, the processing block setting means for setting an image area of an arbitrary size as a block is provided, and the processing load calculation means is adapted to the processing block corresponding to the block set by the processing block setting means. Since the image processing execution means is the processing load calculation means and the image processing execution means is the processing block correspondence image processing execution means for executing the image processing of the image region designated by the processing block correspondence processing load calculation means, The execution efficiency can be improved by preferentially processing the image area in the size block.

【0262】この発明によれば、対象計算機でのキャッ
シュ情報を設定するキャッシュ情報設定手段と、処理画
像情報設定手段によって設定された画像処理領域サイズ
およびキャッシュ情報設定手段によって設定されたキャ
ッシュ情報に応じて処理ブロック設定手段によって設定
されるブロックのサイズを設定する処理ブロック計算手
段とを備えるように構成したので、画像処理領域サイズ
およびキャッシュ情報に応じたブロックのサイズを設定
することができる効果がある。
According to the present invention, according to the cache information setting means for setting the cache information in the target computer, the image processing area size set by the processing image information setting means and the cache information set by the cache information setting means. Since the processing block setting means for setting the block size set by the processing block setting means is provided, it is possible to set the block size according to the image processing area size and the cache information. .

【0263】この発明によれば、画像領域割当手段によ
って算出された処理領域、および処理ブロック対応型処
理負荷計算手段に指定されたブロックのサイズに応じて
処理ブロック設定手段によって設定されるブロックのサ
イズを動的に変化させて設定する動的処理ブロック計算
手段を備えるように構成したので、ブロックのサイズを
より適切に設定することができる効果がある。
According to the present invention, the size of the block set by the processing block setting unit according to the processing region calculated by the image region allocating unit and the size of the block designated by the processing block corresponding processing load calculating unit. Since it is configured to include a dynamic processing block calculation means for dynamically changing and setting the block size, there is an effect that the block size can be set more appropriately.

【0264】この発明によれば、領域分割法設定手段
を、処理ブロック設定手段によって設定されたブロック
のサイズに応じて処理領域の割当方法を設定する処理ブ
ロック対応型領域分割法設定手段とするように構成した
ので、ブロックで指定された範囲の計算をより適切に実
行することができる効果がある。
According to the present invention, the area division method setting means is the processing block corresponding area division method setting means for setting the processing area allocation method according to the size of the block set by the processing block setting means. Since it is configured as described above, there is an effect that the calculation of the range specified by the block can be executed more appropriately.

【0265】この発明によれば、処理制限量計算手段
を、処理ブロック設定手段によって設定されたブロック
のサイズに応じて処理制限量を設定する処理ブロック対
応型処理制限量計算手段とするように構成したので、ブ
ロックで指定された範囲の計算をより適切に実行するこ
とができる効果がある。
According to the present invention, the processing limit amount calculating means is configured as the processing block corresponding processing limit amount calculating means for setting the processing limit amount according to the size of the block set by the processing block setting means. Therefore, there is an effect that the calculation of the range specified by the block can be executed more appropriately.

【0266】この発明によれば、領域分割設定手段を、
単位領域の分割を考慮した処理領域の割当方法を設定す
る単位領域分割対応型領域分割設定手段とし、処理制限
量計算手段を、単位領域を分割した場合の処理制限量を
設定する単位領域分割対応型処理制限量計算手段とし、
画像領域割当手段を、単位領域を分割して処理領域の割
当および再割当を行う単位領域分割対応型画像領域割当
手段とし、処理負荷計算手段を、単位領域の分割に対応
して処理負荷の計算と再割当の有無を判定する単位領域
分割対応型処理負荷計算手段とし、画像処理実行手段
を、単位領域の分割に対応して指定された画像領域の画
像処理を実行する単位領域分割対応型画像処理実行手段
とするように構成したので、あるプロセッサでの処理負
荷が増大した時に、単位領域をも分割して他のプロセッ
サへ処理を再割当することができ、入力画像によって処
理負荷が変化する画像処理用のアルゴリズムで、ある単
位領域での処理負荷が著しく増加するケースでも、並列
実行するプロセッサに効率良く負荷を分散することがで
きる効果がある。
According to the present invention, the area division setting means is
A unit area division correspondence type area division setting means for setting a processing area allocation method in consideration of division of a unit area, and a processing limit amount calculation means for setting a processing limitation amount when a unit area is divided. As a type processing limit calculation means,
The image area allocating means is a unit area division correspondence type image area allocating means for allocating and reallocating the processing areas by dividing the unit areas, and the processing load calculating means calculates the processing load corresponding to the division of the unit areas. And a unit area division-compatible processing load calculating means for determining presence / absence of reallocation, and an image processing executing means executes image processing of an image area designated corresponding to division of a unit area. Since the processing execution means is configured, when the processing load on a certain processor increases, the unit area can be divided and the processing can be reallocated to another processor, and the processing load changes depending on the input image. Even when the processing load in a certain unit area is significantly increased by the algorithm for image processing, there is an effect that the load can be efficiently distributed to the processors executing in parallel.

【0267】この発明によれば、単位領域分割対応型領
域分割設定手段の情報を参照して、単位領域の分割の可
否を判定し、単位領域分割対応型処理負荷計算手段に伝
達する単位領域分割可否条件設定手段を備えるように構
成したので、現在の実行状況に適した負荷分散を選択す
ることができ、実行効率を良くすることができる効果が
ある。
According to the present invention, the unit area division corresponding to the unit area division corresponding processing load calculation means is determined by referring to the information of the unit area division correspondence type area division setting means, and the possibility of division of the unit area is determined. Since it is configured to include the permission / prohibition condition setting means, it is possible to select the load distribution suitable for the current execution status, and it is possible to improve the execution efficiency.

【0268】この発明によれば、単位領域を分割して再
割当する際に、最初にその単位領域で処理負荷を計算し
た単位領域分割対応型処理負荷計算手段のその計算結果
を保持し、分割された単位領域を再割り当てされた別の
プロセッサの単位領域分割対応型処理負荷計算手段がそ
の計算結果を参照可能にする事前計算結果保持手段を備
えるように構成したので、処理負荷の計算時間を節約す
ることができ、実行効率を良くすることができる効果が
ある。
According to the present invention, when a unit area is divided and reallocated, the calculation result of the unit area division-compatible processing load calculating means that first calculates the processing load in the unit area is retained and divided. The processing load calculation time is reduced because the processing load calculation means for reallocating the allocated unit area to the unit area division-compatible processing load calculation means of another processor can refer to the calculation result. There is an effect that it can be saved and the execution efficiency can be improved.

【0269】この発明によれば、対象計算機でのキャッ
シュ情報を設定するキャッシュ情報設定手段と、キャッ
シュ情報設定手段に設定されたキャッシュ情報および処
理画像情報設定手段に設定された画像処理領域サイズに
応じて単位領域を分割した場合のコストを算出すると共
に、その算出されたコストから処理制限量を算出して単
位領域分割対応型処理負荷計算手段に伝達する単位領域
分割コスト計算手段とを備えるように構成したので、効
率の良い範囲で、分割された後の領域での計算を実行す
ることができ、実行効率を良くすることができる効果が
ある。
According to the present invention, according to the cache information setting means for setting the cache information in the target computer, the cache information set in the cache information setting means and the image processing area size set in the processed image information setting means. And a unit area division cost calculation means for calculating a cost when the unit area is divided and calculating a processing limit amount from the calculated cost and transmitting it to the unit area division correspondence processing load calculation means. Since it is configured, there is an effect that the calculation in the area after the division can be executed in an efficient range and the execution efficiency can be improved.

【0270】この発明によれば、画像処理アルゴリズム
での単位領域毎に、予測負荷を設定する負荷予測設定手
段を備え、領域分割法手段を、負荷予測設定手段によっ
て設定された予測負荷に応じて処理領域の割当方法を設
定する負荷予測型領域分割法手段とするように構成した
ので、処理負荷をより均等に分散することができ、実行
効率を良くすることができる効果がある。
According to the present invention, the load prediction setting means for setting the prediction load for each unit area in the image processing algorithm is provided, and the area division method means is used in accordance with the prediction load set by the load prediction setting means. Since the load prediction type area dividing method means for setting the processing area allocation method is configured, the processing load can be more evenly distributed and the execution efficiency can be improved.

【0271】この発明によれば、対象画像の輝度値の計
算式を設定する輝度値計算式設定手段と、輝度値計算式
設定手段によって設定された計算式に応じて対象画像の
画素毎の輝度値を計算する輝度値計算実行手段と、輝度
値計算実行手段によって計算された輝度値に応じて予測
負荷を計算し、負荷予測設定手段に伝達する画素基準負
荷予測計算手段とを備えるように構成したので、各画素
の輝度値からの予測負荷の精度が高い場合に、負荷の予
測精度を高めることができる効果がある。
According to the present invention, the brightness value calculation formula setting means for setting the calculation formula of the brightness value of the target image, and the brightness for each pixel of the target image according to the calculation formula set by the brightness value calculation formula setting means. A luminance value calculation executing means for calculating a value, and a pixel reference load prediction calculating means for calculating a predicted load according to the brightness value calculated by the luminance value calculation executing means and transmitting it to the load prediction setting means are configured. Therefore, when the accuracy of the prediction load from the brightness value of each pixel is high, there is an effect that the prediction accuracy of the load can be increased.

【0272】この発明によれば、画素毎の輝度値に対す
る予測負荷の計算方法を設定する画素基準負荷予測条件
設定手段を備え、画素基準負荷予測計算手段を、画素基
準負荷予測条件設定手段に設定された計算方法に応じて
単位領域毎の予測負荷を計算する計測条件対応型画素基
準負荷予測計算手段とするように構成したので、各画素
の輝度値から予測負荷の計算方法を柔軟に設定すること
ができる効果がある。
According to the present invention, the pixel reference load prediction condition setting means for setting the calculation method of the prediction load for the brightness value of each pixel is provided, and the pixel reference load prediction calculation means is set to the pixel reference load prediction condition setting means. Since it is configured to be the measurement condition corresponding pixel reference load prediction calculation means for calculating the prediction load for each unit area according to the calculated calculation method, the calculation method of the prediction load can be flexibly set from the brightness value of each pixel. There is an effect that can be.

【0273】この発明によれば、画素の輝度値から負荷
予測の基準となる特徴域の算出方法を設定する特徴域抽
出設定手段と、特徴域抽出設定手段によって設定された
算出方法に応じて輝度値計算実行手段によって計算され
た対象画像の画素毎の輝度値から特徴域を抽出する特徴
域抽出手段とを備え、画素基準負荷予測計算手段を、特
徴域抽出手段によって抽出された特徴域に応じて画像処
理アルゴリズムでの単位領域毎の予測負荷を計算し、負
荷予測設定手段に伝達する特徴域負荷予測計算手段とす
るように構成したので、特徴域により負荷予測すること
で、負荷の予測精度を高めることができる効果がある。
According to the present invention, the characteristic region extraction setting means for setting the calculation method of the characteristic region serving as the load prediction reference from the luminance value of the pixel, and the luminance according to the calculation method set by the characteristic region extraction setting means. A characteristic region extracting unit that extracts a characteristic region from the brightness value of each pixel of the target image calculated by the value calculation executing unit, and the pixel reference load prediction calculating unit is configured to operate in accordance with the characteristic region extracted by the characteristic region extracting unit. The image processing algorithm is configured to calculate the predicted load for each unit area and transmit it to the load prediction setting unit as the characteristic region load prediction calculation unit. There is an effect that can increase.

【0274】この発明によれば、特徴域に対する予測負
荷の計算方法を設定する特徴域負荷予測条件設定手段を
備え、特徴域負荷予測計算手段を、特徴域負荷予測条件
設定手段によって設定された計算方法に応じて単位領域
毎の予測負荷を計算する計測条件対応型特徴域負荷予測
計算手段とするように構成したので、予測負荷の計算方
法を柔軟に設定することができる効果がある。
According to the present invention, the characteristic region load prediction condition setting means for setting the calculation method of the predicted load for the characteristic region is provided, and the characteristic region load prediction calculation means is set to the calculation set by the characteristic region load prediction condition setting means. Since it is configured as the measurement condition corresponding characteristic region load prediction calculation unit that calculates the predicted load for each unit area according to the method, there is an effect that the calculation method of the predicted load can be flexibly set.

【0275】この発明によれば、一定範囲の画像領域を
基準領域として設定する基準領域設定手段を備え、画素
基準負荷予測計算手段を、基準領域設定手段によって設
定された基準領域内の輝度値計算実行手段によって計算
された輝度値に応じて画像処理アルゴリズムでの単位領
域毎の予測負荷を計算する基準領域負荷予測計算手段と
するように構成したので、一定範囲の画像領域の輝度値
から予測負荷をすることで、負荷の予測精度を高めるこ
とができる効果がある。
According to the present invention, the reference area setting means for setting an image area of a certain range as the reference area is provided, and the pixel reference load prediction calculation means is used to calculate the brightness value in the reference area set by the reference area setting means. Since the reference region load prediction calculation unit calculates the prediction load for each unit region in the image processing algorithm according to the brightness value calculated by the execution unit, the prediction load is calculated from the brightness value of the image region in a certain range. By doing so, there is an effect that the prediction accuracy of the load can be improved.

【0276】この発明によれば、基準領域内の輝度値に
応じて予測負荷の計算方法を設定する基準領域負荷予測
条件設定手段を備え、基準領域負荷予測計算手段を、基
準領域負荷予測条件設定手段によって設定された計算方
法に応じて単位領域毎の予測負荷を計算する計測条件対
応型基準領域負荷予測計算手段とするように構成したの
で、一定範囲の画像領域の輝度値から予測負荷の計算方
法を選択することにより、負荷の予測精度を高めること
ができる効果がある。
According to the present invention, the reference area load prediction condition setting means for setting the calculation method of the predicted load according to the brightness value in the reference area is provided, and the reference area load prediction calculation means sets the reference area load prediction condition setting. It is configured so that the reference area load prediction calculation means corresponding to the measurement condition calculates the predicted load for each unit area according to the calculation method set by the means, and thus the predicted load is calculated from the brightness value of the image area within a certain range. By selecting the method, there is an effect that the load prediction accuracy can be improved.

【0277】この発明によれば、基準となる輝度値の傾
きを設定する傾き基準設定手段と、画素基準負荷予測計
算手段を、傾き基準設定手段によって設定された輝度値
の傾きに応じて単位領域毎の予測負荷を計算する傾き負
荷予測計算手段とするように構成したので、輝度値の傾
きにより負荷を予測することで、負荷の予測精度を高め
ることができる効果がある。
According to the present invention, the inclination reference setting means for setting the inclination of the reference luminance value and the pixel reference load prediction calculation means are provided with the unit area according to the inclination of the luminance value set by the inclination reference setting means. Since the gradient load prediction calculation means for calculating the predicted load for each is configured, the load prediction accuracy can be improved by predicting the load based on the brightness value gradient.

【0278】この発明によれば、輝度値の傾きに対する
予測負荷の計算方法を設定する傾き負荷予測条件設定手
段を備え、傾き負荷予測計算手段を、傾き負荷予測条件
設定手段によって設定された計算方法に応じて単位領域
毎の予測負荷を計算する計測条件対応型傾き負荷予測計
算手段とするように構成したので、予測負荷の算出方法
を選択することにより、負荷の予測精度を高めることが
できる効果がある。
According to the present invention, the slope load prediction condition setting means for setting the calculation method of the prediction load for the slope of the luminance value is provided, and the slope load prediction calculation means is set to the calculation method set by the slope load prediction condition setting means. Since it is configured to be the measurement condition-compatible gradient load prediction calculation means that calculates the predicted load for each unit area according to the above, it is possible to improve the load prediction accuracy by selecting the predicted load calculation method. There is.

【0279】この発明によれば、画像を撮影した地域情
報から、画像処理アルゴリズムでの単位領域毎の予測負
荷を計算し、負荷予測設定手段に伝達する撮影地域負荷
予測計算手段を備えるように構成したので、画像を撮影
した地域情報から負荷を予測することにより、負荷の予
測精度を高めることができる効果がある。
According to the present invention, the photographing area load prediction calculation means for calculating the predicted load for each unit area in the image processing algorithm from the area information for photographing the image and transmitting it to the load prediction setting means is provided. Therefore, by predicting the load from the area information of the captured image, it is possible to increase the load prediction accuracy.

【0280】この発明によれば、輝度値計算式設定手段
および輝度値計算実行手段と、画素基準負荷予測条件設
定手段および計測条件対応型画素基準負荷予測計算手段
と、特徴域抽出設定手段および特徴域抽出手段と、特徴
域負荷予測条件設定手段および計測条件対応型特徴域負
荷予測計算手段と、基準領域設定手段と、基準領域負荷
予測条件設定手段および計測条件対応型基準領域負荷予
測計算手段と、傾き基準設定手段と、傾き負荷予測条件
設定手段および計測条件対応型傾き負荷予測計算手段
と、撮影地域負荷予測計算手段と、各予測条件間の重み
付けが可能な予測計算重み付け設定手段とを備えるよう
に構成したので、各種予測手段を組み合せて、柔軟に利
用することができ、負荷の予測精度を高めることができ
る効果がある。
According to the present invention, the brightness value calculation formula setting means, the brightness value calculation executing means, the pixel reference load prediction condition setting means and the measurement condition corresponding pixel reference load prediction calculation means, the characteristic region extraction setting means and the characteristics. Area extraction means, characteristic area load prediction condition setting means and measurement condition corresponding characteristic area load prediction calculation means, reference area setting means, reference area load prediction condition setting means, and measurement condition corresponding reference area load prediction calculation means A tilt reference setting means, a tilt load prediction condition setting means and a measurement condition compatible tilt load prediction calculation means, a shooting area load prediction calculation means, and a prediction calculation weight setting means capable of weighting the prediction conditions. Since it is configured as described above, there is an effect that various prediction means can be combined and used flexibly, and the load prediction accuracy can be improved.

【0281】この発明によれば、算出した予測値と入力
条件を記録する予測値記録手段と、予測値に対して実際
の実行で算出された処理負荷を記録する処理結果記録手
段と、予測値記録手段によって記録された予測値と処理
結果記録手段によって記録された処理負荷から予測負荷
の計算方法を補正する予測パラメータ補正手段とを備え
るように構成したので、過去の予測値と実際の処理負荷
から予測負荷の計算方法を補正して改善することで、負
荷の予測精度を高めることができる効果がある。
According to the present invention, the predicted value recording means for recording the calculated predicted value and the input condition, the processing result recording means for recording the processing load calculated by the actual execution for the predicted value, and the predicted value Since the prediction parameter recorded by the recording unit and the processing load recorded by the processing result recording unit are configured to include a prediction parameter correction unit that corrects the calculation method of the prediction load, the past prediction value and the actual processing load are included. By correcting and improving the calculation method of the predicted load from, there is an effect that the prediction accuracy of the load can be increased.

【0282】この発明によれば、過去の予測計算実行時
の画像を撮像した条件を記録すると共に、新たな予測計
算を行う対象の画像への撮像条件から、最適の予測計算
の補正を選択する撮影条件負荷予測補正手段を備えるよ
うに構成したので、過去の撮影時の条件から新たに予測
を行う際に、その処理負荷の予測計算方法を補正するこ
とができ、負荷の予測精度を高めることができる効果が
ある。
According to the present invention, the condition for picking up the image at the time of executing the past prediction calculation is recorded, and the optimum correction for the prediction calculation is selected from the image pickup condition for the image for which the new prediction calculation is performed. Since the imaging condition load prediction correction means is provided, the prediction calculation method of the processing load can be corrected when a new prediction is made from the conditions at the time of the past shooting, and the prediction accuracy of the load can be improved. There is an effect that can be.

【0283】この発明によれば、新たな予測値算出を指
示された時に、予測値記録手段に記録された予測値算出
の入力条件の中で類似の条件を検索して選択すると共
に、処理結果記録手段に記録された計算結果を参照し
て、選択した予測計算に対する補正を行う最適予測条件
計算手段を備えるように構成したので、予測計算に対す
る補正を行うことができ、負荷の予測精度を高めること
ができる効果がある。
According to the present invention, when a new predicted value calculation is instructed, a similar condition is searched and selected among the predicted value calculation input conditions recorded in the predicted value recording means, and the processing result is obtained. Since the optimum prediction condition calculation means for correcting the selected prediction calculation with reference to the calculation result recorded in the recording means is provided, the prediction calculation can be corrected and the load prediction accuracy is improved. There is an effect that can be.

【0284】この発明によれば、事前計算による処理を
行うか否かの条件を設定する事前計算選択設定手段と、
事前計算選択設定手段によって設定された条件から事前
計算による処理の有無を判定する事前計算判定手段と、
事前計算判定手段によって事前計算による処理を指示さ
れた時に、画像領域全体を対象に単位領域毎の処理負荷
量を求める計算を事前に実行する事前処理負荷量計算手
段と、事前処理負荷量計算手段によって事前に計算され
た単位領域毎の処理負荷量を基準に、各プロセッサの処
理負荷が均等になるように領域の割当を行う事前処理対
応型画像領域割当手段とを備えるように構成したので、
事前計算による処理方法の可否を選択して実行すること
ができる効果がある。
According to the present invention, the pre-calculation selection setting means for setting the condition as to whether or not the processing by the pre-calculation is performed,
Pre-calculation determination means for determining the presence or absence of processing by pre-calculation from the conditions set by the pre-calculation selection setting means
A pre-processing load amount calculating means for executing a calculation for obtaining a processing load amount for each unit area for the entire image area in advance when the pre-calculation determining means instructs the pre-calculating processing, and the pre-processing load amount calculating means. Based on the processing load amount for each unit area calculated in advance by the above, since it is configured to include a pre-processing compatible image area allocation means for allocating areas so that the processing load of each processor becomes equal,
There is an effect that it is possible to select and execute the processing method based on the pre-calculation.

【0285】この発明によれば、領域分割設定手段を、
画像情報を考慮した処理領域の割当方法を設定する画像
情報参照型領域分割設定手段とし、画像領域割当手段
を、プロセッサから再割当を要求された場合に、画像情
報を参照して処理領域の再割当を行う画像情報参照型画
像領域割当手段とし、処理負荷計算手段を、割り当てら
れた処理領域に対して処理単位毎の画像情報を計算する
画像情報参照型処理負荷計算手段とするように構成した
ので、入力画像から得られる画像情報に基づいて再割当
を行う際の処理領域を決定することにより、並列実行す
るプロセッサに効率良く負荷を分散することができる効
果がある。
According to the present invention, the area division setting means is
An image information reference type area division setting means for setting a method of allocating a processing area in consideration of image information, and the image area allocating means refers to the image information to reallocate the processing area when the processor requests the reallocation. The image information reference type image area allocating means for allocating, and the processing load calculating means is configured to be the image information reference type processing load calculating means for calculating the image information for each processing unit with respect to the allocated processing area. Therefore, by determining the processing area for reallocation based on the image information obtained from the input image, it is possible to efficiently distribute the load to the processors that execute in parallel.

【0286】この発明によれば、画像情報参照型画像領
域割当手段において、画像情報を参照して処理領域の再
割当を行う際に、単位領域数を優先して再割当を行う処
理領域を決定するように構成したので、効率良く残処理
領域の負荷を割り当てることができる効果がある。
According to the present invention, in the image information reference type image area allocating means, when the processing area is re-allocated by referring to the image information, the unit area number is prioritized to determine the processing area to be re-allocated. Since it is configured to do so, there is an effect that the load of the remaining processing area can be efficiently allocated.

【0287】この発明によれば、画像情報参照型画像領
域割当手段において、画像情報を参照して処理領域の再
割当を行う際に、画像情報の大きさを優先して再割当を
行う処理領域を決定するように構成したので、効率良く
残処理領域の負荷を割り当てることができる効果があ
る。
According to the present invention, in the image information reference type image area allocating means, when the processing area is re-allocated by referring to the image information, the processing area is re-allocated by giving priority to the size of the image information. Since it is configured to determine, the load of the remaining processing area can be efficiently allocated.

【0288】この発明によれば、画像情報参照型画像領
域割当手段において、画像情報を参照して処理領域の再
割当を行う際に、単純に画像情報から再割当を行う処理
領域を採用するのではなく、得られた画像情報に基づい
て、実行する画像処理の処理負荷を算出し、その処理負
荷に基づいて再割当を行う処理領域を決定するように構
成したので、効率良く残処理領域の負荷を割り当てるこ
とができる効果がある。
According to the present invention, in the image information reference type image area allocating means, when the processing area is reallocated by referring to the image information, the processing area to be reallocated from the image information is simply adopted. Instead, the processing load of image processing to be executed is calculated based on the obtained image information, and the processing area to be reallocated is determined based on the processing load. The effect is that the load can be assigned.

【0289】この発明によれば、画像情報参照型処理負
荷計算手段において、初期割当時に、画像情報の計算
と、画像処理実行手段への処理の指示とを連続して実行
するように構成したので、キャッシュ情報を効率良く利
用し、実行時間を小さくすることができる効果がある。
According to the present invention, the image information reference type processing load calculating means is configured to continuously execute the image information calculation and the processing instruction to the image processing executing means at the time of initial allocation. The cache information can be used efficiently and the execution time can be shortened.

【0290】この発明によれば、並列計算機で、入力画
像によって処理負荷が変化する画像処理アルゴリズムを
実行する時に、割当処理領域を動的に決定すると共に、
その割当処理領域に対する処理制限量を、単位領域での
最大処理負荷量から算出し、各プロセッサのアルゴリズ
ム実行手段へ割当処理領域と処理制限量の組として割り
当てると共に、各プロセッサのアルゴリズム実行手段か
ら処理制限量を超えた領域を受け取り、その領域を全体
の未処理領域に組み込んで、再度処理領域として各プロ
セッサのアルゴリズム実行手段に割り当て、各プロセッ
サにおいては、割り当てられた画像領域に対して、対象
画像領域での処理負荷を計算し、指定された処理制限量
を超えない範囲についての処理実行を指示すると共に、
処理制限量を超えた場合には、制限オーバーの領域の再
割当を要求するように構成したので、単位領域での最大
処理負荷量に応じた処理制限量を基準に各プロセッサに
割り当てた処理負荷を監視し、あるプロセッサでの処理
が処理制限量を超えた場合には、処理制限量を超えたプ
ロセッサに割り当てた処理領域を再度割り当てること
で、入力画像によって処理負荷が変化する画像処理用の
アルゴリズムを効率良く実行できる効果がある。
According to the present invention, when the parallel computer executes the image processing algorithm in which the processing load changes depending on the input image, the allocation processing area is dynamically determined, and
The processing restriction amount for the allocated processing area is calculated from the maximum processing load amount in the unit area, and is allocated to the algorithm execution means of each processor as a set of the allocation processing area and the processing restriction amount, and processed from the algorithm execution means of each processor. An area that exceeds the limit amount is received, the area is incorporated into the entire unprocessed area, and again assigned to the algorithm execution means of each processor as a processing area. In each processor, the target image is assigned to the assigned image area. Calculate the processing load in the area, instruct execution of processing in the range that does not exceed the specified processing limit, and
When the processing limit is exceeded, it is configured to request reallocation of the over-limit area, so the processing load assigned to each processor based on the processing limit according to the maximum processing load in the unit area If the processing by a certain processor exceeds the processing limit amount, the processing area assigned to the processor that has exceeded the processing limit amount is reallocated, and the processing load changes depending on the input image. The effect is that the algorithm can be executed efficiently.

【0291】この発明によれば、画像処理アルゴリズム
での単位領域での最大処理負荷量から、割当処理領域の
割当方法を決定するように構成したので、単位領域での
最大処理負荷量を基準に各プロセッサに割り当てる処理
領域の大きさを算出する方法を決定することができ、こ
れにより、単位領域での最大処理負荷量に応じて、適切
な大きさの処理領域を各プロセッサへ割り当てることが
できる効果がある。
According to the present invention, the allocation method of the allocation processing area is determined from the maximum processing load quantity in the unit area in the image processing algorithm. Therefore, the maximum processing load quantity in the unit area is used as a reference. It is possible to determine a method for calculating the size of the processing area to be allocated to each processor, and thus it is possible to allocate an appropriately sized processing area to each processor according to the maximum processing load amount in the unit area. effective.

【0292】この発明によれば、画像処理アルゴリズム
の単位領域での最大負荷に対する実行時間と最小負荷に
対する実行時間とを実測し、その実測時間から割当処理
領域の割当方法と処理制限量の算出方法を決定するよう
に構成したので、実測した単位領域での最大と最小の実
行時間を基準に、適切な大きさの割当処理領域および処
理制限量を各プロセッサへ割り当てることができる効果
がある。
According to the present invention, the execution time with respect to the maximum load and the execution time with respect to the minimum load in the unit area of the image processing algorithm are actually measured, and the allocation method of the allocation processing area and the calculation method of the processing limit amount are calculated from the measured time. Since it is configured to determine, the allocation processing area and the processing restriction amount of an appropriate size can be allocated to each processor on the basis of the maximum and minimum execution times in the actually measured unit area.

【0293】この発明によれば、任意のサイズの画像領
域をブロックとして指定し、そのブロック内では指定さ
れた処理を優先して行うように構成したので、任意のサ
イズのブロック内の画像領域を優先処理することによ
り、実行効率を良くすることができる効果がある。
According to the present invention, an image area of an arbitrary size is designated as a block, and the designated processing is preferentially performed within that block. Therefore, an image area of a block of an arbitrary size is designated. The priority processing has the effect of improving the execution efficiency.

【0294】この発明によれば、あるプロセッサで処理
負荷が著しく増加し、画像処理アルゴリズムでの単位領
域を基準とした再割当では十分対応できないときに、単
位領域を分割して再割当を行うと共に、各プロセッサに
おいても、単位領域の分割を考慮して、指定された処理
制限量の判定と、分割された単位領域で処理の実行を行
うように構成したので、あるプロセッサでの処理負荷が
増大した時に、単位領域をも分割して他のプロセッサへ
処理を再割当することができ、入力画像によって処理負
荷が変化する画像処理用のアルゴリズムで、ある単位領
域での処理負荷が著しく増加するケースでも、並列実行
するプロセッサに効率良く負荷を分散することができる
効果がある。
According to the present invention, when the processing load on a certain processor significantly increases and the reallocation based on the unit area in the image processing algorithm is not sufficient, the unit area is divided and the reallocation is performed. Also, each processor is configured to judge the specified processing limit amount and execute the processing in the divided unit area in consideration of the division of the unit area, so that the processing load on a certain processor is increased. When the processing is performed, the unit area can also be divided and the processing can be reassigned to other processors, and the processing load changes depending on the input image. However, there is an effect that the load can be efficiently distributed to the processors that execute in parallel.

【0295】この発明によれば、待機中のプロセッサ数
や残りの処理領域の量を基準に、単位領域の分割の可否
を判定するように構成したので、現在の実行状況に適し
た負荷分散を選択することができ、実行効率を良くする
ことができる効果がある。
According to the present invention, whether or not the unit area can be divided is determined based on the number of waiting processors and the amount of the remaining processing area. Therefore, load distribution suitable for the current execution status can be achieved. There is an effect that it can be selected and the execution efficiency can be improved.

【0296】この発明によれば、単位領域を分割して再
割当を要求する時に、その単位領域を最初に処理するプ
ロセッサが、処理負荷を求めるために実施する前半部分
の計算結果を記録しておき、分割された単位領域での残
りの処理を、後から指示されたプロセッサでは、その記
録された前半部分の計算結果を利用して、後半部分の処
理を行うように構成したので、前半部分の計算時間を節
約することができ、実行効率を良くすることができる効
果がある。
According to the present invention, when the unit area is divided and the reallocation is requested, the processor which processes the unit area first records the calculation result of the first half portion for carrying out the processing load. The remaining processing in the divided unit area is configured so that the processor instructed later uses the recorded calculation result of the first half to perform the latter half of the processing. There is an effect that the calculation time of can be saved and the execution efficiency can be improved.

【0297】この発明によれば、単位領域を分割する際
に、キャッシュと画像領域のサイズから、キャッシュア
クセスが有利となる分割位置を求めるように構成したの
で、効率の良い範囲で、分割された後の領域での計算を
実行することができ、実行効率を良くすることができる
効果がある。
According to the present invention, when the unit area is divided, the division position where the cache access is advantageous is obtained from the sizes of the cache and the image area. Therefore, the division is performed in an efficient range. There is an effect that the calculation can be executed in the latter area and the execution efficiency can be improved.

【0298】この発明によれば、画像処理アルゴリズム
での単位領域毎に予測負荷を設定し、その予測負荷を基
準に画像領域の割当方法を決定するように構成したの
で、処理負荷をより均等に分散することができ、実行効
率を良くすることができる効果がある。
According to the present invention, the prediction load is set for each unit area in the image processing algorithm, and the image area allocation method is determined based on the prediction load. Therefore, the processing load is more evenly distributed. There is an effect that it can be distributed and the execution efficiency can be improved.

【0299】この発明によれば、処理対象画像の各画素
の輝度値を基準に予測負荷を算出するように構成したの
で、各画素の輝度値からの予測負荷の精度が高い場合
に、負荷の予測精度を高めることができる効果がある。
According to the present invention, the prediction load is calculated on the basis of the brightness value of each pixel of the image to be processed. Therefore, when the accuracy of the prediction load from the brightness value of each pixel is high, the load of the load There is an effect that the prediction accuracy can be improved.

【0300】この発明によれば、処理対象画像の各画素
の輝度値から特徴域を決定し、その特徴域を基準に予測
負荷を算出するように構成したので、特徴域により負荷
予測することで、負荷の予測精度を高めることができる
効果がある。
According to the present invention, the characteristic region is determined from the luminance value of each pixel of the image to be processed, and the prediction load is calculated based on the characteristic region. Therefore, the load is predicted by the characteristic region. There is an effect that the load prediction accuracy can be increased.

【0301】この発明によれば、一定範囲の画像領域を
基準領域として設定し、その基準領域内の各画素の輝度
値を利用して予測負荷を算出するように構成したので、
一定範囲の画像領域の輝度値から予測負荷をすること
で、負荷の予測精度を高めることができる効果がある。
According to the present invention, the image area within a certain range is set as the reference area, and the prediction load is calculated by using the luminance value of each pixel in the reference area.
There is an effect that the prediction accuracy of the load can be improved by applying the prediction load from the brightness value of the image area in a certain range.

【0302】この発明によれば、算出した予測値とそれ
に対する入力条件を記録すると共に、予測値に対して実
際の実行で算出された処理負荷を記録し、これら記録し
た値を基準に予測負荷の算出方法を補正するように構成
したので、過去の予測値と実際の処理負荷から予測負荷
の算出方法を補正して改善することで、負荷の予測精度
を高めることができる効果がある。
According to the present invention, the calculated predicted value and the input condition for the predicted value are recorded, the processing load calculated in the actual execution is recorded for the predicted value, and the predicted load is based on these recorded values. Since the calculation method is corrected, the calculation method of the predicted load is corrected and improved from the past predicted value and the actual processing load, so that the prediction accuracy of the load can be improved.

【0303】この発明によれば、過去の予測計算実行時
の画像の撮像した条件や、予測値の算出基準となった入
力条件から、新たに予測値を算出する際の方法を選択す
ると共に、適切な補正を行うように構成したので、過去
の撮影時の条件から新たに予測を行う際に、その処理負
荷の予測計算方法を補正することができ、負荷の予測精
度を高めることができる効果がある。
According to the present invention, a method for newly calculating a predicted value is selected from the conditions for capturing an image at the time of executing the past prediction calculation and the input condition which is the reference for calculating the predicted value. Since it is configured to perform an appropriate correction, when a new prediction is made from the conditions at the time of shooting in the past, the prediction calculation method of the processing load can be corrected, and the load prediction accuracy can be improved. There is.

【0304】この発明によれば、事前に単位領域毎の処
理負荷を求めるか否かを判定して実行すると共に、事前
に単位領域毎の処理負荷を求める場合には、求めた負荷
を基準に画像領域の割当方法を決定するように構成した
ので、事前計算による処理方法の可否を選択して実行す
ることができる効果がある。
According to the present invention, it is determined whether or not the processing load for each unit area is obtained in advance, and when the processing load for each unit area is obtained in advance, the obtained load is used as a reference. Since the method for allocating the image area is determined, there is an effect that it is possible to select and execute the processing method by the pre-calculation.

【図面の簡単な説明】[Brief description of drawings]

【図1】 この発明の実施の形態1による並列画像処理
装置を示す構成図である。
FIG. 1 is a configuration diagram showing a parallel image processing device according to a first embodiment of the present invention.

【図2】 画像領域割当手段の処理を示すフローチャー
トである。
FIG. 2 is a flowchart showing a process of an image area allocating means.

【図3】 処理負荷計算手段の処理を示すフローチャー
トである。
FIG. 3 is a flowchart showing processing of processing load calculation means.

【図4】 並列実行時の並列画像処理装置の実装イメー
ジを示す構成図である。
FIG. 4 is a configuration diagram showing an implementation image of a parallel image processing device during parallel execution.

【図5】 MUSICを用いたSAR画像の超解像処理
を実行するプログラムの動作の概要を示す説明図であ
る。
FIG. 5 is an explanatory diagram showing an outline of an operation of a program that executes super-resolution processing of a SAR image using MUSIC.

【図6】 実行管理テーブルの操作の概念を示す説明図
である。
FIG. 6 is an explanatory diagram showing a concept of operation of an execution management table.

【図7】 Guided−Selfスケジューリングで
の処理領域の割当例を示す説明図である。
FIG. 7 is an explanatory diagram showing an example of allocation of processing areas in Guided-Self scheduling.

【図8】 処理負荷計算手段に割り当てられた「次処理
領域」に対する「超解像実行領域」と「未処理領域」の
例を示す説明図である。
FIG. 8 is an explanatory diagram showing an example of a “super-resolution execution area” and an “unprocessed area” for a “next processing area” assigned to the processing load calculation means.

【図9】 処理対象であるMUSICを用いたSAR画
像の超解像処理での、あるサンプル画像に対する推定散
乱点数と処理負荷(処理時間)を示す説明図である。
FIG. 9 is an explanatory diagram showing an estimated number of scattering points and a processing load (processing time) for a certain sample image in the super-resolution processing of the SAR image using MUSIC which is a processing target.

【図10】 4プロセッサ構成で処理する時の実装イメ
ージを示す説明図である。
FIG. 10 is an explanatory diagram showing an implementation image when processing is performed with a four-processor configuration.

【図11】 この発明の実施の形態2による並列画像処
理装置を示す構成図である。
FIG. 11 is a configuration diagram showing a parallel image processing device according to a second embodiment of the present invention.

【図12】 この発明の実施の形態3による並列画像処
理装置を示す構成図である。
FIG. 12 is a configuration diagram showing a parallel image processing device according to a third embodiment of the present invention.

【図13】 この発明の実施の形態4による並列画像処
理装置を示す構成図である。
FIG. 13 is a configuration diagram showing a parallel image processing device according to a fourth embodiment of the present invention.

【図14】 この発明の実施の形態5による並列画像処
理装置を示す構成図である。
FIG. 14 is a configuration diagram showing a parallel image processing device according to a fifth embodiment of the present invention.

【図15】 この発明の実施の形態6による並列画像処
理装置を示す構成図である。
FIG. 15 is a configuration diagram showing a parallel image processing device according to a sixth embodiment of the present invention.

【図16】 この発明の実施の形態7による並列画像処
理装置を示す構成図である。
FIG. 16 is a configuration diagram showing a parallel image processing device according to a seventh embodiment of the present invention.

【図17】 この発明の実施の形態8による並列画像処
理装置を示す構成図である。
FIG. 17 is a configuration diagram showing a parallel image processing device according to an eighth embodiment of the present invention.

【図18】 この発明の実施の形態9による並列画像処
理装置を示す構成図である。
FIG. 18 is a configuration diagram showing a parallel image processing device according to a ninth embodiment of the present invention.

【図19】 この発明の実施の形態10による並列画像
処理装置を示す構成図である。
FIG. 19 is a configuration diagram showing a parallel image processing device according to a tenth embodiment of the present invention.

【図20】 単位領域分割対応型画像領域割当手段の処
理を示すフローチャートである。
FIG. 20 is a flowchart showing a process of a unit region division correspondence type image region allocation means.

【図21】 単位領域分割対応型処理負荷計算手段の処
理を示すフローチャートである。
FIG. 21 is a flowchart showing the processing of a unit area division-compatible processing load calculation means.

【図22】 行単位の処理の分割のイメージを示す説明
図である。
FIG. 22 is an explanatory diagram showing an image of division of processing in units of rows.

【図23】 この発明の実施の形態11による並列画像
処理装置を示す構成図である。
FIG. 23 is a configuration diagram showing a parallel image processing device according to an eleventh embodiment of the present invention.

【図24】 この発明の実施の形態12による並列画像
処理装置を示す構成図である。
FIG. 24 is a configuration diagram showing a parallel image processing device according to a twelfth embodiment of the present invention.

【図25】 この発明の実施の形態13による並列画像
処理装置を示す構成図である。
FIG. 25 is a configuration diagram showing a parallel image processing device according to a thirteenth embodiment of the present invention.

【図26】 この発明の実施の形態14による並列画像
処理装置を示す構成図である。
FIG. 26 is a configuration diagram showing a parallel image processing device according to a fourteenth embodiment of the present invention.

【図27】 この発明の実施の形態15による並列画像
処理装置を示す構成図である。
FIG. 27 is a configuration diagram showing a parallel image processing device according to a fifteenth embodiment of the present invention.

【図28】 この発明の実施の形態16による並列画像
処理装置を示す構成図である。
FIG. 28 is a configuration diagram showing a parallel image processing device according to a sixteenth embodiment of the present invention.

【図29】 この発明の実施の形態17による並列画像
処理装置を示す構成図である。
FIG. 29 is a configuration diagram showing a parallel image processing device according to a seventeenth embodiment of the present invention.

【図30】 この発明の実施の形態18による並列画像
処理装置を示す構成図である。
FIG. 30 is a configuration diagram showing a parallel image processing device according to an eighteenth embodiment of the present invention.

【図31】 この発明の実施の形態19による並列画像
処理装置を示す構成図である。
FIG. 31 is a configuration diagram showing a parallel image processing device according to a nineteenth embodiment of the present invention.

【図32】 この発明の実施の形態20による並列画像
処理装置を示す構成図である。
FIG. 32 is a configuration diagram showing a parallel image processing device according to a twentieth embodiment of the present invention.

【図33】 基準領域を示す説明図である。FIG. 33 is an explanatory diagram showing a reference area.

【図34】 この発明の実施の形態21による並列画像
処理装置を示す構成図である。
FIG. 34 is a configuration diagram showing a parallel image processing device according to a twenty-first embodiment of the present invention.

【図35】 この発明の実施の形態22による並列画像
処理装置を示す構成図である。
FIG. 35 is a configuration diagram showing a parallel image processing device according to a twenty-second embodiment of the present invention.

【図36】 この発明の実施の形態23による並列画像
処理装置を示す構成図である。
FIG. 36 is a configuration diagram showing a parallel image processing device according to a twenty-third embodiment of the present invention.

【図37】 この発明の実施の形態24による並列画像
処理装置を示す構成図である。
FIG. 37 is a configuration diagram showing a parallel image processing device according to a twenty-fourth embodiment of the present invention.

【図38】 この発明の実施の形態25による並列画像
処理装置を示す構成図である。
FIG. 38 is a configuration diagram showing a parallel image processing device according to a twenty-fifth embodiment of the present invention.

【図39】 この発明の実施の形態26による並列画像
処理装置を示す構成図である。
FIG. 39 is a configuration diagram showing a parallel image processing device according to a twenty-sixth embodiment of the present invention.

【図40】 この発明の実施の形態27による並列画像
処理装置を示す構成図である。
FIG. 40 is a configuration diagram showing a parallel image processing device according to a twenty-seventh embodiment of the present invention.

【図41】 この発明の実施の形態28による並列画像
処理装置を示す構成図である。
FIG. 41 is a configuration diagram showing a parallel image processing device according to a twenty-eighth embodiment of the present invention.

【図42】 この発明の実施の形態29による並列画像
処理装置を示す構成図である。
FIG. 42 is a configuration diagram showing a parallel image processing device according to a twenty-ninth embodiment of the present invention.

【図43】 この発明の実施の形態30による並列画像
処理装置を示す構成図である。
FIG. 43 is a configuration diagram showing a parallel image processing device according to a thirtieth embodiment of the present invention.

【図44】 画像情報参照型画像領域割当手段の処理を
示すフローチャートである。
FIG. 44 is a flowchart showing the processing of the image information reference type image area allocating means.

【図45】 画像情報参照型処理負荷計算手段の処理を
示すフローチャートである。
FIG. 45 is a flowchart showing the processing of the image information reference type processing load calculation means.

【図46】 並列実行時の並列画像処理装置の実装イメ
ージを示す構成図である。
FIG. 46 is a configuration diagram showing an implementation image of a parallel image processing device at the time of parallel execution.

【図47】 実行管理テーブルの操作の概念を示す説明
図である。
FIG. 47 is an explanatory diagram showing the concept of operation of the execution management table.

【図48】 画像情報参照型処理負荷計算手段に割り当
てられた「次処理領域」に対する「超解像実行領域」と
「超解像未処理領域」の例を示す説明図である。
[Fig. 48] Fig. 48 is an explanatory diagram showing an example of "super-resolution execution region" and "super-resolution unprocessed region" for the "next processing region" assigned to the image information reference type processing load calculation means.

【図49】 4プロセッサ構成で処理する時の実装イメ
ージを示す説明図である。
FIG. 49 is an explanatory diagram showing an implementation image when processing is performed with a four-processor configuration.

【図50】 画像情報参照型領域分割法設定手段が再割
当を行う際の割当方法の概念を示す説明図である。
FIG. 50 is an explanatory diagram showing the concept of an allocation method when the image information reference type area division method setting means performs reallocation.

【符号の説明】[Explanation of symbols]

1 並列画像処理装置、2 画像領域割当手段、3 単
位領域当たりの最大処理量設定手段、4 使用プロセッ
サ数設定手段、5 処理画像情報設定手段、6領域分割
法設定手段、7 処理制限量計算手段、8 処理負荷計
算手段、9画像処理実行手段、10 プラットホーム、
11 画像処理プログラム、12処理負荷を決定する処
理部分、13 動的に負荷が変化する処理部分、14
負荷計算型領域分割法設定手段、15 処理負荷実測手
段、16 実測対応型領域分割法設定手段、17 実測
対応型処理制限量計算手段、18 処理ブロック設定手
段、19 処理ブロック対応型処理負荷計算手段、20
処理ブロック対応型画像処理実行手段、21 キャッ
シュ情報設定手段、22 処理ブロック計算手段、23
動的処理ブロック計算手段、24 処理ブロック対応
型領域分割法設定手段、25 処理ブロック対応型処理
制限量計算手段、26 単位領域分割対応型画像領域割
当手段、27 単位領域分割対応型領域分割設定手段、
28単位領域分割対応型処理制限量計算手段、29 単
位領域分割対応型処理負荷計算手段、30 単位領域分
割対応型画像処理実行手段、31 単位領域分割可否条
件設定手段、32 事前計算結果保持手段、33 単位
領域分割コスト計算手段、34 負荷予測設定手段、3
5 負荷予測型領域分割法手段、36 輝度値計算式設
定手段、37 輝度値計算実行手段、38 画素基準負
荷予測計算手段、39 画素基準負荷予測条件設定手
段、40 計測条件対応型画素基準負荷予測計算手段、
41 特徴域抽出設定手段、42 特徴域抽出手段、4
3 特徴域負荷予測計算手段、44 特徴域負荷予測条
件設定手段、45 計測条件対応型特徴域負荷予測計算
手段、46 基準領域設定手段、47 基準領域負荷予
測計算手段、48 基準領域負荷予測条件設定手段、4
9 計測条件対応型基準領域負荷予測計算手段、50
傾き基準設定手段、51 傾き負荷予測計算手段、52
傾き負荷予測条件設定手段、53 計測条件対応型傾
き負荷予測計算手段、54 撮影地域負荷予測計算手
段、55 予測計算重み付け設定手段、56 予測値記
録手段、57 処理結果記録手段、58 予測パラメー
タ補正手段、59撮影条件負荷予測補正手段、60 最
適予測条件計算手段、61 事前計算選択設定手段、6
2 事前計算判定手段、63 事前処理負荷量計算手
段、64事前処理対応型画像領域割当手段、65 画像
情報参照型画像領域割当手段、66 画像情報参照型処
理負荷計算手段、67 画像情報参照型領域分割法設定
手段。
1 parallel image processing device, 2 image area allocating means, 3 maximum processing amount setting means per unit area, 4 number of processors used setting means, 5 processed image information setting means, 6 area division method setting means, 7 processing limit amount calculating means , 8 processing load calculation means, 9 image processing execution means, 10 platform,
11 image processing program, 12 processing part for determining processing load, 13 processing part whose load changes dynamically, 14
Load calculation type area division method setting means, 15 processing load measuring means, 16 measurement corresponding area dividing method setting means, 17 measurement corresponding processing limit amount calculating means, 18 processing block setting means, 19 processing block corresponding processing load calculating means , 20
Image processing execution means for processing block, 21 cache information setting means, 22 processing block calculating means, 23
Dynamic processing block calculating means, 24 processing block corresponding area dividing method setting means, 25 processing block corresponding processing limit amount calculating means, 26 unit area dividing corresponding image area allocating means, 27 unit area dividing corresponding area dividing setting means ,
28 unit area division corresponding processing limit amount calculation means, 29 unit area division correspondence processing load calculation means, 30 unit area division correspondence image processing execution means, 31 unit area division permission / inhibition condition setting means, 32 pre-calculation result holding means, 33 unit area division cost calculation means, 34 load prediction setting means, 3
5 load prediction type area division method means, 36 brightness value calculation formula setting means, 37 brightness value calculation executing means, 38 pixel reference load prediction calculation means, 39 pixel reference load prediction condition setting means, 40 measurement condition compatible pixel reference load prediction Calculation means,
41 characteristic region extraction setting means, 42 characteristic region extraction means, 4
3 feature area load prediction calculation means, 44 feature area load prediction condition setting means, 45 measurement condition compatible feature area load prediction calculation means, 46 reference area setting means, 47 reference area load prediction calculation means, 48 reference area load prediction condition setting Means, 4
9 measurement condition compliant reference area load prediction calculation means, 50
Inclination reference setting means, 51 Inclination load prediction calculation means, 52
Tilt load prediction condition setting means, 53 Measurement condition compatible tilt load prediction calculation means, 54 shooting area load prediction calculation means, 55 prediction calculation weighting setting means, 56 predicted value recording means, 57 processing result recording means, 58 prediction parameter correction means , 59 shooting condition load prediction correction means, 60 optimum prediction condition calculation means, 61 pre-calculation selection setting means, 6
2 pre-calculation determination means, 63 pre-processing load amount calculation means, 64 pre-processing compatible image area allocation means, 65 image information reference type image area allocation means, 66 image information reference type processing load calculation means, 67 image information reference type areas Division method setting means.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06T 1/20 G06T 1/20 B Fターム(参考) 5B005 JJ11 LL15 MM01 UU44 5B045 AA01 GG02 GG14 5B057 CA08 CA12 CA16 CB08 CB12 CB16 CC02 CH02 CH04 CH11 CH18 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) G06T 1/20 G06T 1/20 BF term (reference) 5B005 JJ11 LL15 MM01 UU44 5B045 AA01 GG02 GG14 5B057 CA08 CA12 CA16 CB08 CB12 CB16 CC02 CH02 CH04 CH11 CH18

Claims (47)

【特許請求の範囲】[Claims] 【請求項1】 並列計算機で、入力画像によって処理負
荷が変化する画像処理アルゴリズムを実行する並列画像
処理装置において、単位領域での最大処理負荷量を設定
する単位領域当たりの最大処理量設定手段と、使用プロ
セッサ数を設定する使用プロセッサ数設定手段と、画像
処理領域サイズを設定する処理画像情報設定手段と、上
記使用プロセッサ数設定手段に設定された使用プロセッ
サ数および上記処理画像情報設定手段に設定された画像
処理領域サイズに応じて処理領域の割当方法を設定する
領域分割法設定手段と、上記単位領域当たりの最大処理
量設定手段に設定された単位領域での最大処理負荷量お
よび算出される処理領域に応じて処理制限量を設定する
処理制限量計算手段と、上記領域分割法設定手段によっ
て設定された割当方法に基づいて処理領域を算出し、そ
の処理領域およびその処理領域に応じて上記処理制限量
計算手段によって設定された処理制限量を各プロセッサ
に割り当てると共に、プロセッサから再割当を要求され
た場合に、その再割当を要求された領域を未処理領域と
して再度割り当てを行う画像領域割当手段と、各プロセ
ッサにおいて、上記画像領域割当手段によって割り当て
られた処理領域に対して、対象画像領域での処理負荷を
計算し、指定された処理制限量を超えない範囲について
対応する画像処理実行手段に処理を指示すると共に、そ
の処理制限量を超えた場合には、制限オーバーの領域の
再割当を上記画像領域割当手段に要求する処理負荷計算
手段とを備えたことを特徴とする並列画像処理装置。
1. A parallel image processing apparatus for executing an image processing algorithm in which a processing load changes depending on an input image in a parallel computer, and a maximum processing amount setting unit for setting a maximum processing load amount in a unit area, , The number of used processors setting means for setting the number of used processors, the processed image information setting means for setting the image processing area size, the number of used processors set in the used processor number setting means and the set processed image information setting means Area division method setting means for setting a processing area allocation method according to the image processing area size, and maximum processing load amount in the unit area set in the maximum processing amount per unit area setting means and calculated. A process limit amount calculating means for setting a process limit amount according to a processing area, and an allocation method set by the area dividing method setting means When a processing area is calculated based on the method and the processing area and the processing restriction amount set by the processing restriction amount calculation means according to the processing area are assigned to each processor, and the processor requests re-allocation, , An image area allocating unit that reallocates the area requested to be reallocated as an unprocessed area, and a processing load on the target image area with respect to the processing area allocated by the image area allocating unit in each processor. And instruct processing to the corresponding image processing execution means in a range that does not exceed the specified processing limit amount, and if the processing limit amount is exceeded, reallocate the over-limit area to the image area. A parallel image processing apparatus comprising: a processing load calculation unit that requests an allocation unit.
【請求項2】 領域分割法設定手段を、単位領域当たり
の最大処理量設定手段に設定された単位領域での最大処
理負荷量に応じて処理領域の割当方法を設定する負荷計
算型領域分割法設定手段としたことを特徴とする請求項
1記載の並列画像処理装置。
2. A load calculation type area division method, wherein the area division method setting means sets the allocation method of the processing area according to the maximum processing load amount in the unit area set in the maximum processing amount per unit area setting means. Claim as a setting means
The parallel image processing device described in 1.
【請求項3】 画像処理アルゴリズムでの単位領域に対
する最大負荷に対する実行時間と最小負荷に対する実行
時間とを実測する処理負荷実測手段を備え、領域分割法
設定手段を、上記処理負荷実測手段によって実測された
実測時間に応じて処理領域の割当方法を設定する実測対
応型領域分割法設定手段とし、処理制限量計算手段を、
上記処理負荷実測手段によって実測された実測時間に応
じて処理制限量を設定する実測対応型処理制限量計算手
段としたことを特徴とする請求項1記載の並列画像処理
装置。
3. A processing load measuring means for measuring an execution time for a maximum load and an execution time for a minimum load in the image processing algorithm, the area division method setting means being measured by the processing load measuring means. The measurement-restricted area division method setting means for setting the processing area allocation method according to the measured time, and the processing limit amount calculation means,
2. The parallel image processing apparatus according to claim 1, wherein the parallel image processing device is a measurement corresponding processing limit amount calculating unit that sets a processing limit amount according to an actual measurement time measured by the processing load measuring unit.
【請求項4】 任意のサイズの画像領域をブロックとし
て設定する処理ブロック設定手段を備え、処理負荷計算
手段を、上記処理ブロック設定手段によって設定された
ブロックを優先処理する処理ブロック対応型処理負荷計
算手段とし、画像処理実行手段を、上記処理ブロック対
応型処理負荷計算手段によって指示された画像領域の画
像処理を実行する処理ブロック対応型画像処理実行手段
としたことを特徴とする請求項1から請求項3のうちの
いずれか1項記載の並列画像処理装置。
4. A processing block corresponding processing load calculation comprising processing block setting means for setting an image area of an arbitrary size as a block, wherein the processing load calculation means preferentially processes the block set by the processing block setting means. The image processing execution means is a processing block correspondence image processing execution means for executing image processing of an image area designated by the processing block correspondence processing load calculation means. Item 5. The parallel image processing device according to any one of items 3.
【請求項5】 対象計算機でのキャッシュ情報を設定す
るキャッシュ情報設定手段と、処理画像情報設定手段に
よって設定された画像処理領域サイズおよび上記キャッ
シュ情報設定手段によって設定されたキャッシュ情報に
応じて処理ブロック設定手段によって設定されるブロッ
クのサイズを設定する処理ブロック計算手段とを備えた
ことを特徴とする請求項4記載の並列画像処理装置。
5. A cache information setting unit for setting cache information in the target computer, a processing block according to the image processing area size set by the processing image information setting unit and the cache information set by the cache information setting unit. 5. The parallel image processing apparatus according to claim 4, further comprising processing block calculation means for setting the size of the block set by the setting means.
【請求項6】 画像領域割当手段によって算出された処
理領域、および処理ブロック対応型処理負荷計算手段に
指定されたブロックのサイズに応じて処理ブロック設定
手段によって設定されるブロックのサイズを動的に変化
させて設定する動的処理ブロック計算手段を備えたこと
を特徴とする請求項4または請求項5記載の並列画像処
理装置。
6. The size of the block set by the processing block setting means is dynamically set according to the processing area calculated by the image area allocating means and the size of the block specified by the processing block corresponding processing load calculating means. The parallel image processing apparatus according to claim 4 or 5, further comprising a dynamic processing block calculation means for changing and setting.
【請求項7】 領域分割法設定手段を、処理ブロック設
定手段によって設定されたブロックのサイズに応じて処
理領域の割当方法を設定する処理ブロック対応型領域分
割法設定手段としたことを特徴とする請求項4から請求
項6のうちのいずれか1項記載の並列画像処理装置。
7. The area division method setting means is a processing block corresponding area division method setting means for setting a processing area allocation method according to a block size set by the processing block setting means. The parallel image processing device according to any one of claims 4 to 6.
【請求項8】 処理制限量計算手段を、処理ブロック設
定手段によって設定されたブロックのサイズに応じて処
理制限量を設定する処理ブロック対応型処理制限量計算
手段としたことを特徴とする請求項4から請求項7のう
ちのいずれか1項記載の並列画像処理装置。
8. The processing limit amount calculating means is a processing block corresponding processing limit amount calculating means for setting the processing limit amount according to the size of the block set by the processing block setting means. The parallel image processing device according to any one of claims 4 to 7.
【請求項9】 領域分割設定手段を、単位領域の分割を
考慮した処理領域の割当方法を設定する単位領域分割対
応型領域分割設定手段とし、処理制限量計算手段を、単
位領域を分割した場合の処理制限量を設定する単位領域
分割対応型処理制限量計算手段とし、画像領域割当手段
を、単位領域を分割して処理領域の割当および再割当を
行う単位領域分割対応型画像領域割当手段とし、処理負
荷計算手段を、単位領域の分割に対応して処理負荷の計
算と再割当の有無を判定する単位領域分割対応型処理負
荷計算手段とし、画像処理実行手段を、単位領域の分割
に対応して指定された画像領域の画像処理を実行する単
位領域分割対応型画像処理実行手段としたことを特徴と
する請求項1記載の並列画像処理装置。
9. A case where the area division setting means is a unit area division correspondence area division setting means for setting a processing area allocation method in consideration of division of a unit area, and the processing limit amount calculating means divides the unit area A unit area division-compatible processing limit amount calculating means for setting the processing restriction amount, and an image area allocating means as a unit area division-compatible image area allocating means for allocating and reallocating processing areas by dividing the unit area. , The processing load calculation means is a processing load calculation means for unit area division corresponding to the division of the unit area to determine the processing load calculation and the presence / absence of reallocation, and the image processing execution means corresponds to the division of the unit area. 2. The parallel image processing apparatus according to claim 1, wherein the parallel image processing apparatus is unit area division correspondence type image processing executing means for executing image processing of a designated image area.
【請求項10】 単位領域分割対応型領域分割設定手段
の情報を参照して、単位領域の分割の可否を判定し、単
位領域分割対応型処理負荷計算手段に伝達する単位領域
分割可否条件設定手段を備えたことを特徴とする請求項
9記載の並列画像処理装置。
10. A unit area division permission / inhibition condition setting means for determining whether or not a unit area can be divided by referring to the information of the unit area division correspondence type area division setting means and transmitting it to the unit area division correspondence type processing load calculation means. The parallel image processing device according to claim 9, further comprising:
【請求項11】 単位領域を分割して再割当する際に、
最初にその単位領域で処理負荷を計算した単位領域分割
対応型処理負荷計算手段のその計算結果を保持し、分割
された単位領域を再割り当てされた別のプロセッサの単
位領域分割対応型処理負荷計算手段がその計算結果を参
照可能にする事前計算結果保持手段を備えたことを特徴
とする請求項9または請求項10記載の並列画像処理装
置。
11. When dividing and reallocating a unit area,
First, the processing load is calculated in the unit area, and the calculation result of the unit area division compatible processing load calculation means is held, and the unit area division compatible processing load calculation of another processor to which the divided unit area is reallocated The parallel image processing device according to claim 9 or 10, characterized in that the means comprises a pre-calculation result holding means for making it possible to refer to the calculation result.
【請求項12】 対象計算機でのキャッシュ情報を設定
するキャッシュ情報設定手段と、上記キャッシュ情報設
定手段に設定されたキャッシュ情報および処理画像情報
設定手段に設定された画像処理領域サイズに応じて単位
領域を分割した場合のコストを算出すると共に、その算
出されたコストから処理制限量を算出して単位領域分割
対応型処理負荷計算手段に伝達する単位領域分割コスト
計算手段とを備えたことを特徴とする請求項9から請求
項11のうちのいずれか1項記載の並列画像処理装置。
12. A unit area according to cache information setting means for setting cache information in a target computer, cache information set in the cache information setting means and image processing area size set in the processed image information setting means. And a unit area division cost calculation means for calculating a cost when the division is performed and calculating a processing limit amount from the calculated cost and transmitting it to the unit area division correspondence processing load calculation means. The parallel image processing device according to any one of claims 9 to 11.
【請求項13】 画像処理アルゴリズムでの単位領域毎
に、予測負荷を設定する負荷予測設定手段を備え、領域
分割法手段を、上記負荷予測設定手段によって設定され
た予測負荷に応じて処理領域の割当方法を設定する負荷
予測型領域分割法手段としたことを特徴とする請求項1
記載の並列画像処理装置。
13. A load prediction setting means for setting a predicted load for each unit area in the image processing algorithm, and area dividing method means for setting a predicted load of the processing area according to the predicted load set by the load prediction setting means. 2. A load prediction type area division method means for setting an allocation method.
The parallel image processing device described.
【請求項14】 対象画像の輝度値の計算式を設定する
輝度値計算式設定手段と、上記輝度値計算式設定手段に
よって設定された計算式に応じて対象画像の画素毎の輝
度値を計算する輝度値計算実行手段と、上記輝度値計算
実行手段によって計算された輝度値に応じて予測負荷を
計算し、負荷予測設定手段に伝達する画素基準負荷予測
計算手段とを備えたことを特徴とする請求項13記載の
並列画像処理装置。
14. A brightness value calculation formula setting means for setting a calculation formula of a brightness value of a target image, and a brightness value for each pixel of the target image is calculated according to the calculation formula set by the brightness value calculation formula setting means. And a pixel reference load prediction calculation means for calculating a predicted load according to the brightness value calculated by the brightness value calculation execution means and transmitting the predicted load to the load prediction setting means. The parallel image processing device according to claim 13.
【請求項15】 画素毎の輝度値に対する予測負荷の計
算方法を設定する画素基準負荷予測条件設定手段を備
え、画素基準負荷予測計算手段を、上記画素基準負荷予
測条件設定手段に設定された計算方法に応じて単位領域
毎の予測負荷を計算する計測条件対応型画素基準負荷予
測計算手段としたことを特徴とする請求項14記載の並
列画像処理装置。
15. A pixel reference load prediction condition setting means for setting a calculation method of a prediction load for a luminance value of each pixel, wherein the pixel reference load prediction calculation means is set to the pixel reference load prediction condition setting means. 15. The parallel image processing device according to claim 14, wherein the pixel condition load type pixel reference load prediction calculation means calculates a predicted load for each unit area according to a method.
【請求項16】 画素の輝度値から負荷予測の基準とな
る特徴域の算出方法を設定する特徴域抽出設定手段と、
上記特徴域抽出設定手段によって設定された算出方法に
応じて輝度値計算実行手段によって計算された対象画像
の画素毎の輝度値から特徴域を抽出する特徴域抽出手段
とを備え、画素基準負荷予測計算手段を、上記特徴域抽
出手段によって抽出された特徴域に応じて画像処理アル
ゴリズムでの単位領域毎の予測負荷を計算し、負荷予測
設定手段に伝達する特徴域負荷予測計算手段としたこと
を特徴とする請求項14記載の並列画像処理装置。
16. A characteristic region extraction setting means for setting a method of calculating a characteristic region serving as a load prediction reference from the luminance value of a pixel,
And a characteristic region extracting unit that extracts a characteristic region from the luminance value of each pixel of the target image calculated by the luminance value calculation executing unit according to the calculation method set by the characteristic region extraction setting unit. The calculation means is a characteristic area load prediction calculation means for calculating a predicted load for each unit area in the image processing algorithm according to the characteristic area extracted by the characteristic area extraction means and transmitting it to the load prediction setting means. The parallel image processing device according to claim 14, which is characterized in that.
【請求項17】 特徴域に対する予測負荷の計算方法を
設定する特徴域負荷予測条件設定手段を備え、特徴域負
荷予測計算手段を、上記特徴域負荷予測条件設定手段に
よって設定された計算方法に応じて単位領域毎の予測負
荷を計算する計測条件対応型特徴域負荷予測計算手段と
したことを特徴とする請求項16記載の並列画像処理装
置。
17. A characteristic region load prediction condition setting means for setting a calculation method of a predicted load for a characteristic region, wherein the characteristic region load prediction calculation means is responsive to the calculation method set by the characteristic region load prediction condition setting means. 17. The parallel image processing device according to claim 16, wherein the parallel image processing device is a measurement condition corresponding feature region load prediction calculation unit that calculates a prediction load for each unit area.
【請求項18】 一定範囲の画像領域を基準領域として
設定する基準領域設定手段を備え、画素基準負荷予測計
算手段を、上記基準領域設定手段によって設定された基
準領域内の輝度値計算実行手段によって計算された輝度
値に応じて画像処理アルゴリズムでの単位領域毎の予測
負荷を計算する基準領域負荷予測計算手段としたことを
特徴とする請求項14記載の並列画像処理装置。
18. A reference area setting means for setting an image area in a fixed range as a reference area, wherein the pixel reference load prediction calculation means is a brightness value calculation execution means in the reference area set by the reference area setting means. 15. The parallel image processing device according to claim 14, wherein the reference region load prediction calculation unit calculates a prediction load for each unit region in the image processing algorithm according to the calculated brightness value.
【請求項19】 基準領域内の輝度値に応じて予測負荷
の計算方法を設定する基準領域負荷予測条件設定手段を
備え、基準領域負荷予測計算手段を、上記基準領域負荷
予測条件設定手段によって設定された計算方法に応じて
単位領域毎の予測負荷を計算する計測条件対応型基準領
域負荷予測計算手段としたことを特徴とする請求項18
記載の並列画像処理装置。
19. A reference area load prediction condition setting means for setting a calculation method of a predicted load according to a brightness value in the reference area, wherein the reference area load prediction calculation means is set by the reference area load prediction condition setting means. 19. The measurement condition-corresponding reference area load prediction calculation means for calculating a predicted load for each unit area according to the calculated calculation method.
The parallel image processing device described.
【請求項20】 基準となる輝度値の傾きを設定する傾
き基準設定手段と、画素基準負荷予測計算手段を、上記
傾き基準設定手段によって設定された輝度値の傾きに応
じて単位領域毎の予測負荷を計算する傾き負荷予測計算
手段としたことを特徴とする請求項14記載の並列画像
処理装置。
20. A tilt reference setting means for setting a reference brightness value inclination and a pixel reference load prediction calculation means for predicting each unit area according to the inclination of the brightness value set by the tilt reference setting means. The parallel image processing device according to claim 14, wherein the parallel image processing device is a slope load prediction calculation unit that calculates a load.
【請求項21】 輝度値の傾きに対する予測負荷の計算
方法を設定する傾き負荷予測条件設定手段を備え、傾き
負荷予測計算手段を、上記傾き負荷予測条件設定手段に
よって設定された計算方法に応じて単位領域毎の予測負
荷を計算する計測条件対応型傾き負荷予測計算手段とし
たことを特徴とする請求項20記載の並列画像処理装
置。
21. Slope load prediction condition setting means for setting a calculation method of a prediction load for a slope of a brightness value, wherein the slope load prediction calculation means is set in accordance with the calculation method set by the slope load prediction condition setting means. 21. The parallel image processing apparatus according to claim 20, wherein the parallel load image processing apparatus is a slope load prediction calculation means corresponding to a measurement condition for calculating a prediction load for each unit area.
【請求項22】 画像を撮影した地域情報から、画像処
理アルゴリズムでの単位領域毎の予測負荷を計算し、負
荷予測設定手段に伝達する撮影地域負荷予測計算手段を
備えたことを特徴とする請求項13記載の並列画像処理
装置。
22. A shooting area load prediction calculation means for calculating a predicted load for each unit area in the image processing algorithm from the area information of the captured image and transmitting the calculated load to the load prediction setting means. Item 14. The parallel image processing device according to item 13.
【請求項23】 請求項14記載の輝度値計算式設定手
段および輝度値計算実行手段と、請求項15記載の画素
基準負荷予測条件設定手段および計測条件対応型画素基
準負荷予測計算手段と、請求項16記載の特徴域抽出設
定手段および特徴域抽出手段と、請求項17記載の特徴
域負荷予測条件設定手段および計測条件対応型特徴域負
荷予測計算手段と、請求項18記載の基準領域設定手段
と、請求項19記載の基準領域負荷予測条件設定手段お
よび計測条件対応型基準領域負荷予測計算手段と、請求
項20記載の傾き基準設定手段と、請求項21記載の傾
き負荷予測条件設定手段および計測条件対応型傾き負荷
予測計算手段と、請求項22記載の撮影地域負荷予測計
算手段と、各予測条件間の重み付けが可能な予測計算重
み付け設定手段とを備えたことを特徴とする請求項13
記載の並列画像処理装置。
23. A brightness value calculation formula setting means and a brightness value calculation executing means according to claim 14, a pixel reference load prediction condition setting means and a measurement condition corresponding pixel reference load prediction calculation means according to claim 15, A characteristic region extraction setting unit and a characteristic region extraction unit according to Item 16, a characteristic region load prediction condition setting unit according to Claim 17, and a measurement condition corresponding characteristic region load prediction calculation unit, and a reference region setting unit according to Claim 18. A reference area load prediction condition setting means and a measurement condition corresponding reference area load prediction calculation means according to claim 19, a tilt reference setting means according to claim 20, and a tilt load prediction condition setting means according to claim 21. An inclination load prediction calculation means corresponding to measurement conditions, a shooting area load prediction calculation means according to claim 22, and a prediction calculation weight setting means capable of weighting each prediction condition. 14. The method according to claim 13, further comprising:
The parallel image processing device described.
【請求項24】 算出した予測値と入力条件を記録する
予測値記録手段と、予測値に対して実際の実行で算出さ
れた処理負荷を記録する処理結果記録手段と、上記予測
値記録手段によって記録された予測値と上記処理結果記
録手段によって記録された処理負荷から予測負荷の計算
方法を補正する予測パラメータ補正手段とを備えたこと
を特徴とする請求項14から請求項23のうちのいずれ
か1項記載の並列画像処理装置。
24. A predictive value recording means for recording the calculated predicted value and the input condition, a processing result recording means for recording a processing load calculated in actual execution for the predicted value, and the predicted value recording means. 24. Any one of claims 14 to 23, further comprising: a prediction parameter correction means for correcting the calculation method of the prediction load based on the recorded prediction value and the processing load recorded by the processing result recording means. Or the parallel image processing device according to item 1.
【請求項25】 過去の予測計算実行時の画像を撮像し
た条件を記録すると共に、新たな予測計算を行う対象の
画像への撮像条件から、最適の予測計算の補正を選択す
る撮影条件負荷予測補正手段を備えたことを特徴とする
請求項24記載の並列画像処理装置。
25. A shooting condition load prediction that records a condition of capturing an image at the time of executing a past prediction calculation and selects an optimum correction of the prediction calculation from a shooting condition for an image for which a new prediction calculation is performed. 25. The parallel image processing device according to claim 24, further comprising a correction unit.
【請求項26】 新たな予測値算出を指示された時に、
予測値記録手段に記録された予測値算出の入力条件の中
で類似の条件を検索して選択すると共に、処理結果記録
手段に記録された計算結果を参照して、選択した予測計
算に対する補正を行う最適予測条件計算手段を備えたこ
とを特徴とする請求項24記載の並列画像処理装置。
26. When instructed to calculate a new predicted value,
While searching for and selecting a similar condition from among the input conditions for calculating the predicted value recorded in the predicted value recording means, referring to the calculation result recorded in the processing result recording means, correction for the selected predicted calculation is made. 25. The parallel image processing apparatus according to claim 24, further comprising an optimum prediction condition calculation means for performing the calculation.
【請求項27】 事前計算による処理を行うか否かの条
件を設定する事前計算選択設定手段と、上記事前計算選
択設定手段によって設定された条件から事前計算による
処理の有無を判定する事前計算判定手段と、上記事前計
算判定手段によって事前計算による処理を指示された時
に、画像領域全体を対象に単位領域毎の処理負荷量を求
める計算を事前に実行する事前処理負荷量計算手段と、
上記事前処理負荷量計算手段によって事前に計算された
単位領域毎の処理負荷量を基準に、各プロセッサの処理
負荷が均等になるように領域の割当を行う事前処理対応
型画像領域割当手段とを備えたことを特徴とする請求項
1記載の並列画像処理装置。
27. Pre-calculation selection setting means for setting a condition of whether or not to perform the pre-calculation processing, and pre-calculation determination for judging the presence or absence of the pre-calculation processing based on the conditions set by the pre-calculation selection setting means. Means, and a pre-processing load amount calculation means for executing in advance a calculation for obtaining a processing load amount for each unit area targeting the entire image area when instructed by the pre-calculation determination means.
Based on the processing load amount for each unit area pre-calculated by the pre-processing load amount calculating means, a pre-processing compatible image area allocating means for allocating areas so that the processing loads of the respective processors become equal to each other. The parallel image processing apparatus according to claim 1, further comprising:
【請求項28】 領域分割設定手段を、画像情報を考慮
した処理領域の割当方法を設定する画像情報参照型領域
分割設定手段とし、画像領域割当手段を、プロセッサか
ら再割当を要求された場合に、画像情報を参照して処理
領域の再割当を行う画像情報参照型画像領域割当手段と
し、処理負荷計算手段を、割り当てられた処理領域に対
して処理単位毎の画像情報を計算する画像情報参照型処
理負荷計算手段としたことを特徴とする請求項1記載の
並列画像処理装置。
28. The area division setting means is an image information reference type area division setting means for setting a method of allocating a processing area in consideration of image information, and the image area allocating means is used when re-allocation is requested by the processor. , Image information reference type image area allocating means for reallocating processing areas by referring to image information, and processing load calculating means for calculating image information for each processing unit with respect to the allocated processing areas 2. The parallel image processing device according to claim 1, wherein the parallel image processing device is a type processing load calculating means.
【請求項29】 画像情報参照型画像領域割当手段は、
画像情報を参照して処理領域の再割当を行う際に、単位
領域数を優先して再割当を行う処理領域を決定すること
を特徴とする請求項28記載の並列画像処理装置。
29. The image information reference type image area allocating means,
29. The parallel image processing apparatus according to claim 28, wherein when the processing areas are reallocated by referring to the image information, the number of unit areas is prioritized to determine the processing areas to be reallocated.
【請求項30】 画像情報参照型画像領域割当手段は、
画像情報を参照して処理領域の再割当を行う際に、画像
情報の大きさを優先して再割当を行う処理領域を決定す
ることを特徴とする請求項28記載の並列画像処理装
置。
30. The image information reference type image area allocating means,
29. The parallel image processing apparatus according to claim 28, wherein when the processing area is reallocated with reference to the image information, the size of the image information is prioritized to determine the processing area to be reallocated.
【請求項31】 画像情報参照型画像領域割当手段は、
画像情報を参照して処理領域の再割当を行う際に、単純
に画像情報から再割当を行う処理領域を採用するのでは
なく、得られた画像情報に基づいて、実行する画像処理
の処理負荷を算出し、その処理負荷に基づいて再割当を
行う処理領域を決定することを特徴とする請求項28か
ら請求項30のうちのいずれか1項記載の並列画像処理
装置。
31. The image information reference type image area allocating means,
When reallocating the processing area with reference to the image information, the processing load of the image processing to be executed is executed based on the obtained image information instead of simply adopting the processing area to be reallocated from the image information. 31. The parallel image processing device according to claim 28, wherein the processing area is calculated, and the processing area to be reallocated is determined based on the processing load.
【請求項32】 画像情報参照型処理負荷計算手段は、
初期割当時に、画像情報の計算と、画像処理実行手段へ
の処理の指示とを連続して実行することを特徴とする請
求項28から請求項30のうちのいずれか1項記載の並
列画像処理装置。
32. The image information reference type processing load calculation means,
31. The parallel image processing according to claim 28, wherein at the time of initial allocation, the image information calculation and the processing instruction to the image processing execution means are continuously executed. apparatus.
【請求項33】 並列計算機で、入力画像によって処理
負荷が変化する画像処理アルゴリズムを実行する時に、
割当処理領域を動的に決定すると共に、その割当処理領
域に対する処理制限量を、単位領域での最大処理負荷量
から算出し、各プロセッサのアルゴリズム実行手段へ割
当処理領域と処理制限量の組として割り当てると共に、
各プロセッサのアルゴリズム実行手段から処理制限量を
超えた領域を受け取り、その領域を全体の未処理領域に
組み込んで、再度処理領域として各プロセッサのアルゴ
リズム実行手段に割り当て、各プロセッサにおいては、
割り当てられた画像領域に対して、対象画像領域での処
理負荷を計算し、指定された処理制限量を超えない範囲
についての処理実行を指示すると共に、処理制限量を超
えた場合には、制限オーバーの領域の再割当を要求する
ことを特徴とする並列画像処理方法。
33. When executing an image processing algorithm in which a processing load changes depending on an input image on a parallel computer,
The allocation processing area is dynamically determined, and the processing restriction amount for the allocation processing area is calculated from the maximum processing load amount in the unit area, and is assigned to the algorithm execution means of each processor as a set of the allocation processing area and the processing restriction amount. Along with assigning
An area exceeding the processing limit amount is received from the algorithm executing means of each processor, the area is incorporated into the entire unprocessed area, and again assigned to the algorithm executing means of each processor as a processing area.
For the allocated image area, calculate the processing load in the target image area, instruct execution of processing in the range that does not exceed the specified processing limit amount, and if the processing limit amount is exceeded, limit A parallel image processing method, characterized by requesting reallocation of an over region.
【請求項34】 画像処理アルゴリズムでの単位領域で
の最大処理負荷量から、割当処理領域の割当方法を決定
することを特徴とする請求項33記載の並列画像処理方
法。
34. The parallel image processing method according to claim 33, wherein the allocation method of the allocation processing area is determined from the maximum processing load amount in the unit area in the image processing algorithm.
【請求項35】 画像処理アルゴリズムの単位領域での
最大負荷に対する実行時間と最小負荷に対する実行時間
とを実測し、その実測時間から割当処理領域の割当方法
と処理制限量の算出方法を決定することを特徴とする請
求項33記載の並列画像処理方法。
35. Measuring the execution time for the maximum load and the execution time for the minimum load in the unit area of the image processing algorithm, and determining the allocation method of the allocation processing area and the calculation method of the processing limit amount from the measured time. 34. The parallel image processing method according to claim 33.
【請求項36】 任意のサイズの画像領域をブロックと
して指定し、そのブロック内では指定された処理を優先
して行うことを特徴とする請求項33記載の並列画像処
理方法。
36. The parallel image processing method according to claim 33, wherein an image area of an arbitrary size is designated as a block, and the designated processing is prioritized within the block.
【請求項37】 あるプロセッサで処理負荷が著しく増
加し、画像処理アルゴリズムでの単位領域を基準とした
再割当では十分対応できないときに、単位領域を分割し
て再割当を行うと共に、各プロセッサにおいても、単位
領域の分割を考慮して、指定された処理制限量の判定
と、分割された単位領域で処理の実行を行うことを特徴
とする請求項33記載の並列画像処理方法。
37. When the processing load on a certain processor increases remarkably and the reallocation based on the unit area in the image processing algorithm cannot sufficiently cope with it, the unit area is divided and reallocated, and at the same time in each processor. 34. The parallel image processing method according to claim 33, further comprising the step of determining a designated processing restriction amount and executing the processing in the divided unit areas in consideration of division of the unit areas.
【請求項38】 待機中のプロセッサ数や残りの処理領
域の量を基準に、単位領域の分割の可否を判定すること
を特徴とする請求項37記載の並列画像処理方法。
38. The parallel image processing method according to claim 37, wherein whether or not the unit area can be divided is determined based on the number of waiting processors and the amount of the remaining processing area.
【請求項39】 単位領域を分割して再割当を要求する
時に、その単位領域を最初に処理するプロセッサが、処
理負荷を求めるために実施する前半部分の計算結果を記
録しておき、分割された単位領域での残りの処理を、後
から指示されたプロセッサでは、その記録された前半部
分の計算結果を利用して、後半部分の処理を行うことを
特徴とする請求項37記載の並列画像処理方法。
39. When a unit area is divided and a reallocation is requested, the processor which processes the unit area first records the calculation result of the first half performed for obtaining the processing load, and the divided area is divided. 38. The parallel image according to claim 37, wherein a processor instructed later to perform the remaining processing in the unit area uses the recorded calculation result of the first half to perform the second half of the processing. Processing method.
【請求項40】 単位領域を分割する際に、キャッシュ
と画像領域のサイズから、キャッシュアクセスが有利と
なる分割位置を求めることを特徴とする請求項37記載
の並列画像処理方法。
40. The parallel image processing method according to claim 37, wherein when the unit area is divided, a division position at which cache access is advantageous is obtained from the sizes of the cache and the image area.
【請求項41】 画像処理アルゴリズムでの単位領域毎
に予測負荷を設定し、その予測負荷を基準に画像領域の
割当方法を決定することを特徴とする請求項33記載の
並列画像処理方法。
41. The parallel image processing method according to claim 33, wherein a prediction load is set for each unit area in the image processing algorithm, and the image area allocation method is determined based on the prediction load.
【請求項42】 処理対象画像の各画素の輝度値を基準
に予測負荷を算出することを特徴とする請求項41記載
の並列画像処理方法。
42. The parallel image processing method according to claim 41, wherein the prediction load is calculated based on the luminance value of each pixel of the processing target image.
【請求項43】 処理対象画像の各画素の輝度値から特
徴域を決定し、その特徴域を基準に予測負荷を算出する
ことを特徴とする請求項41記載の並列画像処理方法。
43. The parallel image processing method according to claim 41, wherein a characteristic region is determined from a luminance value of each pixel of the image to be processed, and the prediction load is calculated based on the characteristic region.
【請求項44】 一定範囲の画像領域を基準領域として
設定し、その基準領域内の各画素の輝度値を利用して予
測負荷を算出することを特徴とする請求項41記載の並
列画像処理方法。
44. The parallel image processing method according to claim 41, wherein a predetermined range of image areas is set as a reference area, and the prediction load is calculated using the luminance value of each pixel in the reference area. .
【請求項45】 算出した予測値とそれに対する入力条
件を記録すると共に、予測値に対して実際の実行で算出
された処理負荷を記録し、これら記録した値を基準に予
測負荷の算出方法を補正することを特徴とする請求項4
1記載の並列画像処理方法。
45. The calculated predicted value and the input condition for the predicted value are recorded, the processing load calculated in actual execution is recorded for the predicted value, and the predicted load calculation method is based on these recorded values. The correction is performed.
1. The parallel image processing method described in 1.
【請求項46】 過去の予測計算実行時の画像の撮像し
た条件や、予測値の算出基準となった入力条件から、新
たに予測値を算出する際の方法を選択すると共に、適切
な補正を行うことを特徴とする請求項45記載の並列画
像処理方法。
46. A method for newly calculating a predicted value is selected from the conditions for capturing an image at the time of executing the past prediction calculation and the input condition used as a calculation standard for the predicted value, and an appropriate correction is made. 46. The parallel image processing method according to claim 45, which is performed.
【請求項47】 事前に単位領域毎の処理負荷を求める
か否かを判定して実行すると共に、事前に単位領域毎の
処理負荷を求める場合には、求めた負荷を基準に画像領
域の割当方法を決定することを特徴とする請求項33記
載の並列画像処理方法。
47. It is determined whether or not a processing load for each unit area is obtained in advance, and when the processing load for each unit area is obtained in advance, an image area is allocated based on the obtained load. 34. The parallel image processing method according to claim 33, wherein a method is determined.
JP2002065695A 2001-09-05 2002-03-11 Parallel image processing apparatus and parallel image processing method Expired - Lifetime JP4202033B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002065695A JP4202033B2 (en) 2001-09-05 2002-03-11 Parallel image processing apparatus and parallel image processing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-269319 2001-09-05
JP2001269319 2001-09-05
JP2002065695A JP4202033B2 (en) 2001-09-05 2002-03-11 Parallel image processing apparatus and parallel image processing method

Publications (2)

Publication Number Publication Date
JP2003157243A true JP2003157243A (en) 2003-05-30
JP4202033B2 JP4202033B2 (en) 2008-12-24

Family

ID=26621722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002065695A Expired - Lifetime JP4202033B2 (en) 2001-09-05 2002-03-11 Parallel image processing apparatus and parallel image processing method

Country Status (1)

Country Link
JP (1) JP4202033B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005164347A (en) * 2003-12-02 2005-06-23 Mitsubishi Electric Corp Sar image super-resolution system
JP2009140418A (en) * 2007-12-10 2009-06-25 Toshiba Corp Electronic equipment and image processing method
JP2010067276A (en) * 2008-09-09 2010-03-25 Sony Corp Pipelined image processing engine
JP2012238118A (en) * 2011-05-10 2012-12-06 Canon Inc Image processing device, image processing method, and program
JP2014106736A (en) * 2012-11-27 2014-06-09 Canon Inc Information processor and control method thereof
CN108008386A (en) * 2017-11-22 2018-05-08 电子科技大学 A kind of distance based on single snap MUSIC algorithms is to processing method
JP2019122976A (en) * 2018-01-15 2019-07-25 株式会社タマリ工業 Laser welding apparatus and laser welding quality determination device
JP2020024716A (en) * 2016-05-23 2020-02-13 クゥアルコム・インコーポレイテッドQualcomm Incorporated Per-shader preamble for graphics processing
WO2020166596A1 (en) * 2019-02-13 2020-08-20 株式会社ラディウス・ファイブ Image processing system and program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005164347A (en) * 2003-12-02 2005-06-23 Mitsubishi Electric Corp Sar image super-resolution system
JP2009140418A (en) * 2007-12-10 2009-06-25 Toshiba Corp Electronic equipment and image processing method
JP2010067276A (en) * 2008-09-09 2010-03-25 Sony Corp Pipelined image processing engine
US8754895B2 (en) 2008-09-09 2014-06-17 Sony Corporation Pipelined image processing engine
JP2012238118A (en) * 2011-05-10 2012-12-06 Canon Inc Image processing device, image processing method, and program
JP2014106736A (en) * 2012-11-27 2014-06-09 Canon Inc Information processor and control method thereof
JP2020024716A (en) * 2016-05-23 2020-02-13 クゥアルコム・インコーポレイテッドQualcomm Incorporated Per-shader preamble for graphics processing
CN108008386A (en) * 2017-11-22 2018-05-08 电子科技大学 A kind of distance based on single snap MUSIC algorithms is to processing method
JP2019122976A (en) * 2018-01-15 2019-07-25 株式会社タマリ工業 Laser welding apparatus and laser welding quality determination device
WO2020166596A1 (en) * 2019-02-13 2020-08-20 株式会社ラディウス・ファイブ Image processing system and program
JPWO2020166596A1 (en) * 2019-02-13 2021-04-01 株式会社ラディウス・ファイブ Image processing system and program

Also Published As

Publication number Publication date
JP4202033B2 (en) 2008-12-24

Similar Documents

Publication Publication Date Title
US5349656A (en) Task scheduling method in a multiprocessor system where task selection is determined by processor identification and evaluation information
US20030037091A1 (en) Task scheduling device
US6986140B2 (en) Method for determining idle processor load balancing in a multiple processors system
JP2720910B2 (en) Apparatus and method for managing workload of a data processing system
US5293620A (en) Method apparatus for scheduling tasks in repeated iterations in a digital data processing system having multiple processors
US6735769B1 (en) Apparatus and method for initial load balancing in a multiple run queue system
JP5171118B2 (en) Arithmetic processing apparatus and control method thereof
US5884077A (en) Information processing system and method in which computer with high load borrows processor of computer with low load to execute process
US20060167939A1 (en) Monitoring clustered software applications
US5109336A (en) Unified working storage management
US7065766B2 (en) Apparatus and method for load balancing of fixed priority threads in a multiple run queue environment
EP1978444A1 (en) Apparatus and method for collecting resources which became unnecessary
US7206890B2 (en) System and method for reducing accounting overhead during memory allocation
JP4276201B2 (en) Billing processing apparatus for SMT processor, billing processing method, and billing processing program
EP0472868A2 (en) Method and apparatus for determining and using program paging characteristics to optimize system productive CPU time
EP0725339A2 (en) Apparatus and method for managing a distributed data processing system workload according to a plurality of distinct processing goal types
JP2003157243A (en) Device and method for parallel image processing
EP2176751A2 (en) Scheduling by growing and shrinking resource allocation
KR20110075295A (en) Job allocation method on multi-core system and apparatus thereof
US6941365B2 (en) Computer resource allocation layout description
JP2003515812A (en) Method and apparatus for enhancing the effectiveness of garbage collection for cleaning
US20030110204A1 (en) Apparatus and method for dispatching fixed priority threads using a global run queue in a multiple run queue system
CN116107749A (en) IO scheduling method, device and medium based on kylin operating system
JPH0438540A (en) Memory managing system
CN116932226B (en) Hardware acceleration method and hardware accelerator based on Chiplet

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070410

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071016

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20071119

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071119

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071203

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080812

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080909

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081008

R150 Certificate of patent or registration of utility model

Ref document number: 4202033

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111017

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121017

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131017

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term