[go: up one dir, main page]

JP2000163388A - Data processing system - Google Patents

Data processing system

Info

Publication number
JP2000163388A
JP2000163388A JP10333039A JP33303998A JP2000163388A JP 2000163388 A JP2000163388 A JP 2000163388A JP 10333039 A JP10333039 A JP 10333039A JP 33303998 A JP33303998 A JP 33303998A JP 2000163388 A JP2000163388 A JP 2000163388A
Authority
JP
Japan
Prior art keywords
processing
data
mpu
unit
load
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10333039A
Other languages
Japanese (ja)
Inventor
Toshiya Shirasawa
俊哉 白澤
Kenichi Sawada
健一 澤田
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.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP10333039A priority Critical patent/JP2000163388A/en
Priority to US09/447,263 priority patent/US6535971B1/en
Publication of JP2000163388A publication Critical patent/JP2000163388A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To accelerate the processing speed of a data processor for asynchronously performing series of plural kinds of processing at plural processing parts. SOLUTION: An image input device 1, processing parts 2-6 and image output device 8 respectively asynchronously perform processing to inputted pixel data. The processing parts 2-6 respectively execute the processing of SH correction, Log conversion, MTF correction, gamma correction and binarization. A state register 10 stores the addresses of pixel data to be processed by the processing parts 2-6. A data flow control part 9 detects the processing part of large load from the addresses of pixel data, which are stored in the state register 10, to be executed by the respective processing parts and outputs a control signal to the processing parts 2-6 so as to change the processing to be executed when the processing part of large load is detected. The processing parts 2-6 load and execute the programs of the processing of large load from a ROM in the data flow control part 9 corresponding to the reception of the control signal.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明はデータ処理システ
ムに関し、特に複数の処理部で複数の処理を所定の順序
に従って実行するデータ処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing system, and more particularly to a data processing system in which a plurality of processing units execute a plurality of processes in a predetermined order.

【0002】[0002]

【従来の技術】図30は、第1の従来技術として、同期
パイプライン方式のデータ処理装置の概略を示すブロッ
ク図である。従来のデータ処理装置は、MPU70と、
画像入力装置71と、SH補正、Log変換、MTF補
正、ガンマ補正、2値化の5つの処理をそれぞれ行なう
処理部72〜76と、画像出力装置77とを含む。画像
入力装置71は、CCD等の光電変換素子とこれを操作
する駆動系およびA/D変換器からなり、たとえば連続
階調画像と線画等からなる混在原稿をスキャンして標本
化アナログ信号を生成し、A/D変換器にてその標本化
アナログ信号を1画素がたとえば8ビット(256階
調)の値を持つ連続階調反射率データとして量子化し、
デジタル信号を出力する。
2. Description of the Related Art FIG. 30 is a block diagram schematically showing a synchronous pipeline data processing apparatus as a first prior art. A conventional data processing device includes an MPU 70,
The image output device 77 includes an image input device 71, processing units 72 to 76 that respectively perform five processes of SH correction, Log conversion, MTF correction, gamma correction, and binarization. The image input device 71 includes a photoelectric conversion element such as a CCD, a driving system for operating the photoelectric conversion element and an A / D converter, and generates a sampled analog signal by scanning a mixed original including, for example, a continuous tone image and a line drawing. Then, the A / D converter quantizes the sampled analog signal as continuous tone reflectance data in which one pixel has a value of, for example, 8 bits (256 tones),
Output digital signal.

【0003】処理部72は、SH補正処理を行なう。S
H補正処理とは、シェーディング補正とも言われ、画像
入力装置71のCCDの光電変換素子における性能等の
ばらつきに起因する読取むら(シェーディングむら)を
除去するための補正処理を言う。
[0003] A processing section 72 performs an SH correction process. S
The H correction processing is also referred to as shading correction, and is a correction processing for removing reading unevenness (shading unevenness) due to a variation in performance or the like of a photoelectric conversion element of a CCD of the image input device 71.

【0004】処理部73は、Log変換処理を行なう。
Log変換処理とは、SH補正処理が施された連続階調
反射率データとLog関係にある8ビット連続階調濃度
データを算出し、出力する処理を言う。
[0004] A processing unit 73 performs a Log conversion process.
The log conversion process is a process of calculating and outputting 8-bit continuous tone density data having a Log relationship with the continuous tone reflectance data subjected to the SH correction process.

【0005】処理部74は、MTF補正処理を行なう。
MTF補正処理とは、先鋭度補正であり、処理部73で
画像データにLog変換処理を施して得られる8ビット
連続階調濃度データに先鋭度補正をたとえばラプラシア
ンフィルタ等のデジタルフィルタを用いて行なう。
[0005] A processing unit 74 performs an MTF correction process.
The MTF correction process is a sharpness correction, and the sharpness correction is performed on the 8-bit continuous tone density data obtained by performing the Log conversion process on the image data by the processing unit 73 using a digital filter such as a Laplacian filter. .

【0006】処理部75は、ガンマ補正処理を行なう。
ガンマ補正処理とは、データ処理装置全体として望まし
てガンマ特性を実現するために、画像入力装置71と画
像出力装置77との階調カーブの差異を補正する処理で
ある。たとえば、256ワード8ビットのLUT(ルッ
クアップテーブル)を用いて、非線形ガンマ補正データ
を出力する処理である。また、ガンマ補正処理が、操作
者が自己の望ましいガンマ特性を設定するためにも行な
うことができる。
[0006] The processing unit 75 performs gamma correction processing.
The gamma correction process is a process of correcting a difference in a gradation curve between the image input device 71 and the image output device 77 in order to realize a gamma characteristic desired as a whole of the data processing device. For example, this is a process of outputting nonlinear gamma correction data using a 256-word 8-bit LUT (look-up table). Further, the gamma correction process can be performed by the operator to set his / her desired gamma characteristic.

【0007】処理部76は、2値化処理を行なう。2値
化処理とは、ガンマ補正された8ビット連続階調濃度デ
ータを明暗に応じた1ビットの2値データに変換する処
理である。2値化処理には、たとえば誤差拡散2値化方
式等の面積階調2値化法が用いられる。
The processing section 76 performs a binarization process. The binarization process is a process of converting gamma-corrected 8-bit continuous tone density data into 1-bit binary data corresponding to brightness. For the binarization processing, for example, an area gradation binarization method such as an error diffusion binarization method is used.

【0008】画像出力装置77は、電子写真プリンタあ
るいはインクジェットプリンタ等のプリンタであり、紙
などの出力媒体に処理部76で2値化された1ビットの
2値データを印字する。
The image output device 77 is a printer such as an electrophotographic printer or an ink jet printer, and prints 1-bit binary data binarized by the processing unit 76 on an output medium such as paper.

【0009】画像入力装置71と、処理部72〜76
と、画像出力装置77とは、画像データバスで接続され
ており、それぞれに共通の画素クロックに同期して入力
されるデータを処理する。
[0009] An image input device 71 and processing units 72 to 76
And the image output device 77 are connected by an image data bus, and process data input in synchronization with a common pixel clock.

【0010】このように、第1の従来技術で示した同期
パイプライン方式のデータ処理装置は、画像入力装置7
1で入力された画像データが、処理部72〜76で1つ
の画素データごとに順に処理が施される。画像入力装置
71と、処理部72〜76と、画像出力装置77との間
で画素データの入出力の同期をとるために、1つの画素
データごとに対応した画素クロックがクロック発振器
(図示しない)により発生され、画像入力71、処理部
72〜76、画像出力装置77が画素クロックに同期し
て動作する。
As described above, the data processing device of the synchronous pipeline system shown in the first prior art uses the image input device 7.
The image data input in 1 is sequentially processed by the processing units 72 to 76 for each piece of pixel data. In order to synchronize the input and output of pixel data among the image input device 71, the processing units 72 to 76, and the image output device 77, a pixel clock corresponding to each piece of pixel data is generated by a clock oscillator (not shown). The image input 71, the processing units 72 to 76, and the image output device 77 operate in synchronization with the pixel clock.

【0011】また、第2の従来技術では、第1の従来技
術で示した5つの処理を5つの処理部で非同期処理する
方式がある。図31は、非同期処理方式を説明するため
のブロック図である。図31を参照して、処理ブロック
81,82,83は、それぞれ固有のクロック85,8
6,87で動作して処理を行なうことができる。ただ
し、それぞれの処理ブロックは同期せずに動作するの
で、処理ブロック間でデータを直接授受することができ
ない。このため、ブロック間に所定容量のバッファメモ
リ83,84を備える必要がある。バッファメモリ8
3,84を備えることで、処理ブロック80,81,8
2それぞれの間の処理速度の差を吸収することができる
からである。
In the second prior art, there is a method in which the five processes shown in the first prior art are asynchronously processed by five processing units. FIG. 31 is a block diagram for explaining the asynchronous processing method. Referring to FIG. 31, processing blocks 81, 82, and 83 include unique clocks 85, 8 respectively.
6, 87 to perform processing. However, since the respective processing blocks operate without synchronization, data cannot be directly exchanged between the processing blocks. Therefore, it is necessary to provide buffer memories 83 and 84 having a predetermined capacity between blocks. Buffer memory 8
3, 84, the processing blocks 80, 81, 8
This is because a difference in processing speed between the two can be absorbed.

【0012】さらに、第3の従来技術として同じ処理を
並列して処理する並列処理方式がある。たとえば、特開
昭61−28164号公報に開示されている技術は、並
列処理する複数のイメージパイプラインプロセッサをリ
ング状に連結したパイプラインプロセッサをタスク(画
像データ)およびタスクごとのオブジェクトプログラム
およびタスクごとのテーブルをメモリからロードし、所
定のタスクについては並列で処理する技術が開示されて
いる。
Further, there is a parallel processing system for performing the same processing in parallel as a third conventional technique. For example, a technique disclosed in Japanese Patent Application Laid-Open No. 61-28164 discloses a technique in which a pipeline processor in which a plurality of image pipeline processors that perform parallel processing are connected in a ring shape is a task (image data), an object program for each task, and a task. A technique is disclosed in which a table for each task is loaded from a memory and a predetermined task is processed in parallel.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、第1の
従来技術で示した同期パイプライン方式のデータ処理装
置では、画像入力装置71、処理ブロック72〜76、
画像出力装置77のそれぞれが画素クロックに同期して
動作するようにしているため、画素クロックは画像入力
装置71と処理ブロック72〜76と画像出力装置77
のうち最も動作速度の遅いものに合わせて発生させなけ
ればならなかった。このため、ボトルネックとなる処理
ブロック(動作速度の遅い処理ブロック)に合わせて回
路を構成しなければならず回路設計が困難であった。
However, in the data processing device of the synchronous pipeline system shown in the first prior art, the image input device 71, the processing blocks 72 to 76,
Since each of the image output devices 77 operates in synchronization with the pixel clock, the pixel clock is output from the image input device 71, the processing blocks 72 to 76, and the image output device 77.
Of these, it had to be generated according to the slowest operating speed. For this reason, the circuit must be configured in accordance with the processing block (processing block having a low operation speed) that becomes a bottleneck, and circuit design is difficult.

【0014】また、第2の従来技術で示した非同期処理
方式のデータ処理装置では、第1の従来技術で示した同
期パイプライン方式に比べて、ボトルネックとなる処理
ブロックがデータ処理装置の処理速度を決定してしまう
ようなことにはならけれども、バッファメモリが必要と
なるためコストアップとなる。また、バッファメモリに
は2つの処理ブロックからのデータの書込と読出が発生
するため、処理ブロック間でいずれか1つの処理ブロッ
クがバッファメモリへアクセスすることができるように
調停する処理を、各処理ブロックで行なうか、もしくは
バッファメモリごとに備えたコントローラで行なわなけ
ればならないという問題があった。
In the data processing device of the asynchronous processing system shown in the second prior art, the processing block which becomes a bottleneck is smaller than that of the synchronous pipeline system shown in the first prior art. Although the speed is determined, the cost is increased because a buffer memory is required. In addition, since writing and reading of data from two processing blocks occur in the buffer memory, arbitration between the processing blocks so that any one processing block can access the buffer memory is performed. There is a problem that the processing must be performed in a processing block or a controller provided for each buffer memory.

【0015】さらに、第3の従来技術で示した並列処理
方式では、処理負荷の大きい処理について並列接続した
複数の処理ブロックにより処理するので、高速に処理す
ることができるが、負荷の大きい処理を実行する処理ブ
ロックを予め余分に追加するため、入力されるデータに
より処理ブロックの負荷が変動するような場合には、負
荷が小さいときは並列接続されている処理ブロックの一
方を使わないことになり、装置のパフォーマンスが悪く
なるといった問題があった。
Further, in the parallel processing method shown in the third prior art, processing with a large processing load is processed by a plurality of processing blocks connected in parallel, so that processing can be performed at high speed. Since the processing blocks to be executed are added in advance, if the load of the processing blocks fluctuates according to the input data, when the load is small, one of the processing blocks connected in parallel will not be used. However, there has been a problem that the performance of the device is deteriorated.

【0016】この発明は上述の問題点を解決するために
なされたもので、非同期処理の制御に工夫をこらし、処
理するデータによって負荷に変動が生じるような場合で
あっても、データの高速処理を可能としたデータ処理シ
ステムを提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and the control of the asynchronous processing is devised so that even if the load varies depending on the data to be processed, the data can be processed at high speed. It is an object of the present invention to provide a data processing system that enables the above.

【0017】[0017]

【課題を解決するための手段】この発明のある局面によ
るデータ処理システムは、シリアルに入力される複数の
入力データに一連の複数の処理を非同期で施すデータ処
理システムであって、複数の処理のそれぞれを実行する
複数の処理部と、複数の処理のそれぞれが複数の入力デ
ータのどこまで進んだかを監視し、複数の処理のうち進
行が遅れている遅延処理を検出する状態監視手段と、状
態監視手段の検出結果に応じて、複数の処理部で実行す
る処理を切換える第1の動作制御手段とを備える。
A data processing system according to one aspect of the present invention is a data processing system for asynchronously performing a series of a plurality of processes on a plurality of serially input data, and includes a plurality of processes. A plurality of processing units for executing each of the plurality of processes, a state monitoring unit for monitoring how far each of the plurality of processes has progressed to the plurality of input data, and detecting a delay process of which the progress is delayed among the plurality of processes; First operation control means for switching processing to be executed by the plurality of processing units in accordance with a detection result of the means.

【0018】好ましくはデータ処理システムの第1の動
作制御手段は、状態監視手段で検出された停滞処理の直
前の直前処理を実行する処理部に対して、実行する処理
を直前処理と遅延処理との2つの処理に切換えることを
特徴とする。
Preferably, the first operation control means of the data processing system performs the processing to be executed by the processing unit which executes the immediately preceding processing immediately before the stagnation processing detected by the state monitoring means, by executing the immediately preceding processing and the delay processing. It is characterized by switching to the two processes

【0019】さらに好ましくはデータ処理システムの第
1の動作制御手段は、状態監視手段で検出された停滞処
理の直後の直後処理を実行する処理部に対して、実行す
る処理を遅延処理と直後処理との2つの処理に切換える
ことを特徴とする。
[0019] More preferably, the first operation control means of the data processing system performs a delay processing and an immediate processing on the processing unit which executes the processing immediately after the stagnation processing detected by the state monitoring means. It is characterized by switching to the two processes of

【0020】さらに好ましくは、データ処理システム
は、複数の処理部それぞれで処理が実行された結果を記
憶する記憶手段をさらに備え、第1の動作制御手段は、
状態監視手段で検出された遅延処理より後段の処理を実
行する処理部に対して、実行する処理を停滞処理に切換
えることを特徴とする。
More preferably, the data processing system further includes storage means for storing a result of the processing performed by each of the plurality of processing units, and the first operation control means includes:
For a processing unit that executes processing subsequent to the delay processing detected by the state monitoring unit, the processing to be executed is switched to the stagnation processing.

【0021】さらに好ましくはデータ処理システムの複
数の処理部は、複数の処理の数より多くあり、第1の動
作制御手段により処理の切換え前には複数の処理のいず
れも実行しない予備処理部を少なくとも1つ含み、第1
の動作制御手段は、状態監視手段の検出結果に応じて、
予備処理部に対して、遅延処理を実行するように処理を
切換えることを特徴とする。
More preferably, the plurality of processing units of the data processing system have more than the number of the plurality of processes, and the first operation control means includes a preliminary processing unit which does not execute any of the plurality of processes before switching the processes. At least one, the first
Operation control means, according to the detection result of the state monitoring means,
The processing is switched so as to execute the delay processing for the preliminary processing unit.

【0022】さらに好ましくはデータ処理システムに入
力される入力データは、入力データの順番を示すアドレ
スを有し、状態監視手段は、複数の処理部それぞれで処
理する入力データのアドレスを検出し、複数の処理部で
隣接する処理部間のアドレスの差を検出し、検出したア
ドレスの差が所定の値より小さくなったとき、隣接する
処理部の前段の処理部で実行する処理を遅延処理として
検出することを特徴とする。
More preferably, the input data input to the data processing system has an address indicating the order of the input data, and the state monitoring means detects an address of the input data to be processed by each of the plurality of processing units. The processing unit detects the address difference between adjacent processing units, and when the detected address difference is smaller than a predetermined value, detects the processing executed by the processing unit preceding the adjacent processing unit as delay processing It is characterized by doing.

【0023】さらに好ましくはデータ処理システムの状
態監視手段は、複数の処理部それぞれで処理した入力デ
ータの数をカウントし、複数の処理部で隣接する処理部
間のカウント値の差を検出し、検出したカウント値の差
が所定の値より小さくなったとき、隣接する処理部の前
段の処理部で実行する処理を遅延処理として検出するこ
とを特徴とする。
More preferably, the state monitoring means of the data processing system counts the number of input data processed by each of the plurality of processing units, and detects a difference in the count value between adjacent processing units in the plurality of processing units. When the difference between the detected count values is smaller than a predetermined value, a process executed by a processing unit preceding the adjacent processing unit is detected as a delay process.

【0024】この発明の他の局面によるデータ処理シス
テムは、シリアルに入力される複数の入力データに一連
の複数の処理を非同期で施すデータ処理システムであっ
て、複数の処理のそれぞれを実行する複数の処理部と、
複数の処理は、入力データの属性を検出する属性判別処
理を含み、属性判別処理の結果に応じて、複数の処理部
で実行する処理を切換える第2の動作制御手段とを備え
る。
A data processing system according to another aspect of the present invention is a data processing system for asynchronously performing a series of a plurality of processes on a plurality of serially input data, the plurality of processes executing each of the plurality of processes. Processing unit,
The plurality of processes include an attribute determining process for detecting an attribute of the input data, and include a second operation control unit that switches a process to be executed by the plurality of processing units according to a result of the attribute determining process.

【0025】好ましくはデータ処理システムの第2の動
作制御手段は、複数の処理の負荷を予測する予測手段を
含み、予測手段により負荷が大と予測された負荷処理の
直前の直前処理を実行する処理部に対して、実行する処
理を直前処理と負荷処理との2つの処理に切換えること
を特徴とする。
Preferably, the second operation control means of the data processing system includes a prediction means for predicting a load of a plurality of processings, and executes the immediately preceding processing immediately before the load processing whose load is predicted to be large by the prediction means. The processing unit switches the processing to be executed to two processings of the immediately preceding processing and the load processing.

【0026】さらに好ましくはデータ処理システムの第
2の動作制御手段は、複数の処理の負荷を予測する予測
手段を含み、予測手段により負荷が大と予測された負荷
処理の直後の直後処理を実行する処理部に対して、実行
する処理を負荷処理と直後処理との2つの処理に切換え
ることを特徴とする。
More preferably, the second operation control means of the data processing system includes a prediction means for predicting a load of a plurality of processings, and executes the processing immediately after the load processing whose load is predicted to be large by the prediction means. The processing to be performed is switched to two processings, a load processing and a processing immediately after, for a processing unit that performs the processing.

【0027】さらに好ましくはデータ処理システムの複
数の処理部は、複数の処理の数より多くあり、第2の動
作制御手段による処理の切換え前には複数の処理のいず
れも実行しない予備処理部を少なくとも1つ含み、第2
の動作制御手段は、複数の処理の負荷を予測する予測手
段を含み、予備処理部に対して、予測手段により負荷が
大と予測された負荷処理を実行するように処理を切換え
ることを特徴とする。
More preferably, the plurality of processing units of the data processing system have more than the number of the plurality of processes, and a spare processing unit that does not execute any of the plurality of processes before the switching of the process by the second operation control means. At least one, second
The operation control means includes a prediction means for predicting loads of a plurality of processes, and switches processing to a preliminary processing unit so as to execute a load process whose load is predicted to be large by the prediction means. I do.

【0028】さらに好ましくはデータ処理システムは、
複数の処理部それぞれで処理が実行された結果を記憶す
る記憶手段をさらに備え、第2の動作制御手段は、複数
の処理の負荷を予測する予測手段を含み、予測手段によ
り負荷が大と予測された負荷処理より後段の処理を実行
する処理部に対して、実行する処理を負荷処理に切換え
ることを特徴とする。
More preferably, the data processing system comprises:
The apparatus further includes a storage unit that stores a result of the processing performed by each of the plurality of processing units, wherein the second operation control unit includes a prediction unit that predicts a load of the plurality of processes, and the prediction unit determines that the load is large. For a processing unit that executes processing subsequent to the performed load processing, processing to be executed is switched to load processing.

【0029】さらに好ましくはデータ処理システムの複
数の処理部は、複数の処理のうち自己が実行する自己処
理の直後の処理を実行する処理部に対して、自己処理を
実行した後の入力データを引き渡すことを特徴とする。
More preferably, the plurality of processing units of the data processing system transmit the input data after executing the self-processing to a processing unit that executes a process immediately after the self-processing executed by the self among the plurality of processes. It is characterized by being handed over.

【0030】この発明の他の局面によるデータ処理シス
テムは、シリアルに入力される複数の入力データに一連
の複数の処理を非同期で施すデータ処理システムであっ
て、複数の処理のそれぞれを実行する複数の処理部と、
複数の処理部それぞれで処理が実行された結果を記憶す
る記憶手段と、処理部で処理すべき入力データがなく、
かつ、処理を実行した後の入力データが記憶手段に記憶
されているときは、処理部で実行する処理を直後の処理
に切換える第3の動作制御手段とを備える。
A data processing system according to another aspect of the present invention is a data processing system for asynchronously performing a series of a plurality of processes on a plurality of serially input data, wherein the plurality of processes execute each of the plurality of processes. Processing unit,
There is no storage means for storing the result of the processing performed by each of the plurality of processing units, and there is no input data to be processed by the processing unit,
And a third operation control means for switching the processing executed by the processing unit to the immediately following processing when the input data after the processing is stored in the storage means.

【0031】これらの発明に従うと、入力されるデータ
の種類によらず、入力されるデータの負荷に応じて処理
部で実行する処理を切換えるので、データの高速処理を
可能としたデータ処理システムを提供することができ
る。
According to these inventions, the processing to be executed by the processing unit is switched according to the load of the input data irrespective of the type of the input data, so that a data processing system capable of high-speed data processing is provided. Can be provided.

【0032】[0032]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して詳しく説明する。なお、図中同一符号
は同一または相当する部材を示す。
Embodiments of the present invention will be described below in detail with reference to the drawings. In the drawings, the same reference numerals indicate the same or corresponding members.

【0033】[第1の実施の形態]図1は、この発明の
第1の実施の形態におけるデータ処理装置の概略を示す
ブロック図である。図を参照して、第1の実施の形態に
おけるデータ処理装置は、画像データを入力する画像入
力装置1と、入力された画像データを画素データごとに
各種の処理を行なうMPU2〜6と、処理された画像デ
ータを紙などの記録媒体に出力する画像出力装置8と、
画像入力装置1、MPU2〜6、画像出力装置8(以下
「MPU等1〜8」と言う)の動作状態を監視する状態
レジスタ10と、状態レジスタ10を参照してMPU等
1〜8の動作を制御するデータフロー制御部9と、画像
入力装置1で入力された画像データを一時記憶する入力
バッファメモリ11と、画像出力装置から出力される画
像データを一時記憶する出力バッファメモリ12とを含
む。
[First Embodiment] FIG. 1 is a block diagram schematically showing a data processing apparatus according to a first embodiment of the present invention. Referring to the figure, a data processing apparatus according to the first embodiment includes an image input device 1 for inputting image data, MPUs 2 to 6 for performing various processes on the input image data for each pixel data, An image output device 8 for outputting the output image data to a recording medium such as paper;
A status register 10 for monitoring the operation status of the image input device 1, the MPUs 2 to 6, and the image output device 8 (hereinafter referred to as "MPUs 1 to 8"), and the operation of the MPUs 1 to 8 with reference to the status register 10. , An input buffer memory 11 for temporarily storing image data input by the image input device 1, and an output buffer memory 12 for temporarily storing image data output from the image output device. .

【0034】MPU2〜6はマイクロプロセッシングユ
ニットであり、それぞれのMPU2〜6で処理する内容
は、データフロー制御部9からの指示により定められ、
データフロー制御部9の内部に設けられたROMに記憶
されている処理プログラムをロードすることにより、そ
れぞれのMPU2〜6で実行する処理が決められる。初
期状態、たとえばデータ処理装置の電源がオンされた状
態や、1頁分の画像データが入力された場合などには、
MPU2はSH補正処理を、MPU3はLog変換処理
を、MPU4はMTF補正処理を、MPU5はガンマ補
正処理を、MPU6は2値化処理を行なうようにデータ
フロー制御部9から指示を受け、それぞれのMPU2〜
6で各プログラムがロードされる。なお、SH補正処
理、Log変換処理、MTF補正処理、ガンマ補正処
理、2値化処理の5つの処理の内容については、従来の
技術の第1の従来技術で説明した処理と同じであるの
で、ここでの説明は繰返さない。
The MPUs 2 to 6 are microprocessing units, and the contents to be processed by the respective MPUs 2 to 6 are determined by instructions from the data flow control unit 9,
The processing to be executed by each of the MPUs 2 to 6 is determined by loading a processing program stored in a ROM provided inside the data flow control unit 9. In the initial state, for example, when the power of the data processing device is turned on, or when one page of image data is input,
The MPU 2 receives instructions from the data flow control unit 9 to perform SH correction processing, the MPU 3 performs Log conversion processing, the MPU 4 performs MTF correction processing, the MPU 5 performs gamma correction processing, and the MPU 6 performs binary processing. MPU2
At 6, each program is loaded. Note that the contents of the five processings of the SH correction processing, the Log conversion processing, the MTF correction processing, the gamma correction processing, and the binarization processing are the same as the processing described in the first related art of the related art. The description here will not be repeated.

【0035】また、画像入力装置1と画像出力装置8に
ついても同様に従来の技術で説明した画像入力装置71
と画像出力装置77とそれぞれ同じであるのでここでの
説明は繰返さない。
Similarly, the image input device 1 and the image output device 8 are similarly used for the image input device 71 described in the prior art.
And image output device 77, respectively, and thus description thereof will not be repeated.

【0036】MPU等1〜8は、データフロー制御部9
とシステムバス14で接続されおり、状態レジスタ10
とシステムバス15で接続されている。また、MPU等
1〜8は、画像データバス13でそれぞれ接続されてお
り、MPU等1〜8の間で画素データの受渡し、および
入力バッファメモリ11と出力バッファメモリ12への
入出力が可能となっている。
The MPUs 1 to 8 include a data flow control unit 9
And the status register 10
And a system bus 15. The MPUs 1 to 8 are connected to each other by an image data bus 13 so that pixel data can be transferred between the MPUs 1 to 8 and input / output to / from the input buffer memory 11 and the output buffer memory 12 can be performed. Has become.

【0037】図1に示すデータ処理装置は、原稿を画像
入力装置1で読込むことにより、画像データが画素デー
タごとに入力バッファメモリ11に記憶される。MPU
2では、入力バッファメモリ11に記憶されている画素
データを、画像入力装置1で記憶した順に読出し、SH
補正処理を施す。MPU2でSH補正処理が施された画
素データはMPU3に受渡される。MPU3ではMPU
2より受取った画素データにLog変換処理を施しMP
U4に画素データを受渡す。このように、画素データ
は、MPU2〜6に順に受渡されて、SH補正処理、L
og変換処理、MTF補正処理、ガンマ補正処理、2値
化処理が施され、MPU6で2値化処理が施された画素
データは、出力バッファメモリ12に記憶される。画像
出力装置8は、処理後の画素データを出力バッファメモ
リに記憶すると同時に、ディスプレイへの表示出力、ま
たは紙などの記録媒体への印刷出力をする。
In the data processing apparatus shown in FIG. 1, an original is read by the image input device 1, and the image data is stored in the input buffer memory 11 for each pixel data. MPU
In step 2, the pixel data stored in the input buffer memory 11 is read out in the order stored in the image input device 1, and SH
Perform correction processing. The pixel data subjected to the SH correction processing in the MPU 2 is transferred to the MPU 3. In MPU3, MPU
2 performs a log conversion process on the pixel data received from
The pixel data is transferred to U4. As described above, the pixel data is sequentially passed to the MPUs 2 to 6, and is subjected to the SH correction processing and the L
The pixel data subjected to the og conversion processing, the MTF correction processing, the gamma correction processing, the binarization processing, and the binarization processing by the MPU 6 are stored in the output buffer memory 12. The image output device 8 stores the processed pixel data in the output buffer memory, and at the same time, performs display output on a display or print output on a recording medium such as paper.

【0038】図2は、前段の処理を実行するMPUと後
段の処理を実行するMPUとの間でデータの受渡しの手
順を説明するための図である。図2では、MPU3とM
PU4との間のデータの受渡しの手順を例に示す。MP
U3で処理が終了すると、MPU4に対して画素データ
DATAの引き渡しを要求するための信号REQを送信
する。MPU4ではMPU3からの引き渡しを要求する
信号REQを受信した後、MPU4で現在行なっている
処理が終了した時点で、MPU3に対してデータの引き
渡しに応じるための信号ACKをMPU3に送信する。
MPU3でMPU4からのデータの引き渡しに応じる信
号ACKを受信すると、MPU3はMPU4に対して画
素データDATAを送信する。このようにして、MPU
3とMPU4とでは、それぞれ非同期に処理を実行しつ
つ、画素データDATAの引き渡しが行なわれる。
FIG. 2 is a diagram for explaining a procedure for transferring data between the MPU executing the preceding processing and the MPU executing the following processing. In FIG. 2, MPU3 and M
An example of a procedure for transferring data to and from the PU 4 will be described. MP
When the processing is completed in U3, a signal REQ for requesting the MPU 4 to deliver the pixel data DATA is transmitted. After receiving the signal REQ requesting the transfer from the MPU 3, the MPU 4 transmits a signal ACK to the MPU 3 to respond to the transfer of the data to the MPU 3 at the time when the processing currently being performed by the MPU 4 is completed.
When the MPU 3 receives the signal ACK corresponding to the transfer of the data from the MPU 4, the MPU 3 transmits the pixel data DATA to the MPU 4. In this way, the MPU
3 and the MPU 4 perform the processing asynchronously, and transfer the pixel data DATA.

【0039】MPU2〜6のそれぞれの間では、上述の
手順により画素データDATAの引き渡しが行なわれ、
それぞれのMPU2〜6で順次処理が行なわれる。しか
し、画素データによっては、それぞれのMPU2〜6で
処理に要する時間が等しくならない。たとえば、ある画
素データについてはMTF補正処理に時間がかかり、M
PU4の負荷が大きくなってしまい、その結果、MPU
4がボトルネックとなり、データ処理装置全体としての
データ処理速度が低下してしまうことになる。
The pixel data DATA is transferred between the MPUs 2 to 6 according to the above-described procedure.
The processing is sequentially performed in each of the MPUs 2 to 6. However, depending on the pixel data, the time required for processing in each of the MPUs 2 to 6 is not equal. For example, for certain pixel data, the MTF correction process takes time and M
The load on PU4 increases, and as a result, MPU
4 becomes a bottleneck, and the data processing speed of the entire data processing device is reduced.

【0040】この問題を避けるため、本実施の形態にお
けるデータ処理装置は、状態レジスタ10で、MPU2
〜6の処理負荷を監視しており、データフロー制御部9
で、処理負荷が大きくなったMPUの後段の処理を実行
するMPUに対して負荷の大きくなったMPUで実行す
る処理を実行するように指示するようにしている。これ
について詳細に説明する。
In order to avoid this problem, the data processing device according to the present embodiment uses the MPU 2
6 are monitored, and the data flow control unit 9
Thus, an instruction is given to the MPU that executes the subsequent processing of the MPU with the increased processing load to execute the processing that is executed by the MPU with the increased load. This will be described in detail.

【0041】図3は、データフロー制御部9で行なわれ
る処理の流れを示すフロー図である。図を参照して、デ
ータフロー制御部9では、状態レジスタ10を参照し
て、各MPU2〜6の処理負荷の監視を行なう(ステッ
プS01)。状態レジスタ10には、各MPU2〜6か
ら送られてくる画素データの処理に要した処理時間や処
理した画素データのアドレスが記憶されており、データ
フロー制御部は、状態レジスタ10の内容を見ることに
よりMPU2〜6それぞれの負荷を把握することができ
る。
FIG. 3 is a flowchart showing the flow of processing performed by data flow control section 9. Referring to the figure, data flow control unit 9 monitors the processing load of each of MPUs 2 to 6 with reference to status register 10 (step S01). The status register 10 stores the processing time required for processing the pixel data sent from each of the MPUs 2 to 6 and the address of the processed pixel data. The data flow control unit checks the contents of the status register 10. Thus, the loads on the MPUs 2 to 6 can be grasped.

【0042】その結果、処理負荷の大きいMPUがある
場合には(ステップS02でYES)、負荷が大きいM
PUの前段の処理を行なうMPUに対して、現在行なっ
ている処理に加えて負荷が大きいMPUで実行する処理
も引続き行なうよう制御信号ONを出力する(ステップ
S03)。たとえば、図1を参照して、MTF補正処理
を行なうMPU4の負荷が大きくなった場合、データフ
ロー制御部9は、状態レジスタ10の状況からMPU4
の負荷が大きくなったことを検知し、MTF補正処理の
前段の処理であるLog変換処理を実行するMPU3に
対して、MPU3が現在行なっているLog変換処理に
加えてMTF補正処理を続けて行なうように制御信号を
出力する。これにより、MPU3は、Log変換処理に
加えてMTF補正処理を行なうことになる。
As a result, when there is an MPU with a large processing load (YES in step S02), the MPU with a large load is set.
The control signal ON is output to the MPU performing the processing of the preceding stage of the PU so that the processing executed by the MPU having a large load is continued in addition to the processing currently being performed (step S03). For example, referring to FIG. 1, when the load on MPU 4 performing the MTF correction processing increases, data flow control unit 9 determines the status of MPU 4 based on the status of status register 10.
, The MPU 3 that executes the log conversion process, which is the preceding process of the MTF correction process, continuously performs the MTF correction process in addition to the log conversion process currently performed by the MPU 3 Output the control signal as follows. As a result, the MPU 3 performs the MTF correction process in addition to the Log conversion process.

【0043】処理負荷の大きいMPUがない場合には
(ステップS02でNO)、各MPU2〜6に初期設定
の処理を実行することを示す制御信号OFFを出力する
(ステップS04)。
If there is no MPU with a large processing load (NO in step S02), a control signal OFF indicating that the initialization process is to be performed is output to each of the MPUs 2 to 6 (step S04).

【0044】その後、すべての画素データについて処理
が終了したか否かが判断され(ステップS05)、未処
理の画素データがある場合には上述の処理を繰り返し、
すべての画素データについて処理した場合には、処理を
終了する。
Thereafter, it is determined whether or not processing has been completed for all pixel data (step S05). If there is unprocessed pixel data, the above processing is repeated.
If all the pixel data have been processed, the process ends.

【0045】このように、負荷の大きくなったMPUで
実行する処理をその前段の処理を行なうMPUと並列し
て行なうようにすることで、負荷を分散することがで
き、データ処理装置全体としてデータ処理速度を高める
ことができる。
As described above, the processing executed by the MPU having the increased load is performed in parallel with the MPU performing the processing at the preceding stage, so that the load can be distributed and the data processing apparatus as a whole can store the data. Processing speed can be increased.

【0046】データフロー制御部9で、負荷が大きいM
PUを判断する際には(図3におけるステップS0
2)、それぞれのMPU2〜6で処理するデータのアド
レスを参照することにより行なわれる。
In the data flow control unit 9, M with a large load
When judging the PU (Step S0 in FIG. 3)
2), by referring to the address of the data to be processed by each of the MPUs 2 to 6;

【0047】図4は、それぞれのMPUで実行する画素
データのアドレス値の差を示す図である。画像入力装置
1に入力される画像データは、画素データごとにアドレ
ス値を持っており、このアドレス値は画像入力装置1に
入力される順に付されるものである。これは、画像入力
装置1に入力される画像データは、入力バッファメモリ
11に記憶される時点で、入力バッファメモリ11のア
ドレス値として得られる。各MPU2〜6では、画素デ
ータの処理が終了するたびに、その画素データのアドレ
ス値を状態レジスタ10に送信する。データフロー制御
部9は、状態レジスタ10に記憶されている各MPUで
実行している画素データのアドレス値から、それぞれの
MPU2〜6で実行している画素データのアドレス差
(dif_1,dif_2,dif_3,dif_4)
を算出する。算出されたアドレス差が予め定められた設
定値よりも小さくなった場合には、アドレス差が小さく
なったMPUの前段のMPUの負荷が大きくなったと判
断する。たとえば、ガンマ補正処理を行なうMPU5で
実行するアドレス値とMTF補正処理を行なうMPU4
で実行するアドレス値との差であるアドレス差dif_
2が、予め設定されたしきい値reg_2よりも小さく
なった場合には、前段の処理であるMTF補正処理を行
なうMPU4の負荷が大きくなったと判断する。
FIG. 4 is a diagram showing the difference between the address values of the pixel data executed by each MPU. The image data input to the image input device 1 has an address value for each pixel data, and the address values are assigned in the order of input to the image input device 1. This is because the image data input to the image input device 1 is obtained as an address value of the input buffer memory 11 when it is stored in the input buffer memory 11. Each time the processing of the pixel data is completed, each of the MPUs 2 to 6 transmits the address value of the pixel data to the status register 10. The data flow control unit 9 determines an address difference (dif_1, dif_2, dif_3) of pixel data executed by each of the MPUs 2 to 6 from an address value of pixel data executed by each MPU stored in the state register 10. , Dif_4)
Is calculated. If the calculated address difference is smaller than a predetermined set value, it is determined that the load on the MPU preceding the MPU with the reduced address difference has increased. For example, the address value to be executed by the MPU 5 that performs the gamma correction process and the MPU 4 that performs the MTF correction process
Address difference dif_ which is the difference with the address value executed in
When 2 is smaller than a preset threshold value reg_2, it is determined that the load on the MPU 4 that performs the MTF correction process, which is the preceding process, has increased.

【0048】アドレス差dif_1は、2値化処理を行
なうMPU6とガンマ補正を行なうMPU5との間のア
ドレス差を示し、dif_2は、ガンマ補正処理を行な
うMPU5とMTF補正処理を行なうMPU4との間の
アドレス差を示し、dif_3は、MTF補正処理を行
なうMPU4とLog変換処理を行なうMPU3との間
のアドレス差を示し、dif_4は、Log変換処理を
行なうMPU3とSH補正処理を行なうMPU2との間
のアドレス差を示す。このアドレス差が小さいときには
前段のMPUの負荷が大きいことを表わす。また、デー
タフロー制御部9でこのアドレス差がしきい値よりも小
さくなったときに、前段のMPUの負荷が大きくなった
と判断する。このしきい値は、アドレス差(dif_
1,dif_2,dif_3,dif_4)ごとに定め
られ、データフロー制御部内部のROMに予め記憶され
ている。
Address difference dif_1 indicates an address difference between MPU 6 for performing binarization processing and MPU 5 for performing gamma correction, and dif_2 indicates an address difference between MPU 5 for performing gamma correction processing and MPU 4 for performing MTF correction processing. An address difference is shown, dif_3 is an address difference between MPU4 performing MTF correction processing and MPU3 performing Log conversion processing, and dif_4 is a difference between MPU3 performing Log conversion processing and MPU2 performing SH correction processing. Indicates the address difference. When this address difference is small, it indicates that the load of the preceding MPU is large. Further, when the address difference becomes smaller than the threshold value, the data flow control unit 9 determines that the load of the MPU at the preceding stage has increased. This threshold is determined by the address difference (dif_
1, dif_2, dif_3, dif_4), and are stored in advance in a ROM inside the data flow control unit.

【0049】しきい値regを、MPU間同士で異なら
せるのは次の理由による。たとえば、MTF補正処理に
おいてラプラシアンフィルタを用いた処理のように複数
画素からなるマトリックス演算を行なう場合には、相当
分のアドレス差が必要となる。図5は、3×3のフィル
タを用いてMTF補正処理を行なう場合の画素データを
説明するための図である。図を参照して、MTF補正処
理を3×3のフィルタを用いて行なう場合、処理の対象
となる画素を中心とする3×3のマトリックスで囲まれ
た画素のすべてについてLog変換処理が終了している
必要がある。したがって、MTF補正処理では、処理の
対象となる画素の前後1ライン分のデータが必要となる
ため、MTF補正処理の前段の処理であるLog変換処
理が、MTF補正処理の対象となる画素のアドレスと
(1ライン分の画素数+1)のアドレス差が必要とな
る。このことを考慮して、MTF補正処理を行なうMP
U4とLog変換処理を行なうMPU3との間のアドレ
ス差に対するしきい値を設定する必要がある。
The reason why the threshold value reg differs between MPUs is as follows. For example, when performing a matrix operation including a plurality of pixels in the MTF correction processing as in the processing using the Laplacian filter, a considerable address difference is required. FIG. 5 is a diagram for describing pixel data when performing MTF correction processing using a 3 × 3 filter. Referring to the figure, when the MTF correction processing is performed using a 3 × 3 filter, the Log conversion processing is completed for all the pixels surrounded by a 3 × 3 matrix centering on the pixel to be processed. Need to be. Therefore, in the MTF correction processing, data for one line before and after the pixel to be processed is necessary, and the Log conversion processing, which is the processing before the MTF correction processing, is performed by the address of the pixel to be subjected to the MTF correction processing. And an address difference of (the number of pixels for one line + 1). In consideration of this, the MP that performs the MTF correction process
It is necessary to set a threshold value for an address difference between U4 and the MPU 3 that performs the log conversion process.

【0050】したがって、アドレス差dif_1に対す
るしきい値reg_1と、dif_2に対応しるしきい
値reg_2と、dif_3に対応するしきい値reg
_3と、dif_4に対応するしきい値reg_4は1
以上、好ましくは1のしきい値とすればよく、dif_
2に対応するしきい値reg_2は(1ライン分の画素
数+1)以上、好ましくは(1ライン分の画素数+1)
のしきい値とすればよい。
Therefore, threshold value reg_1 corresponding to address difference dif_1, threshold value reg_2 corresponding to dif_2, and threshold value reg corresponding to dif_3
_3 and the threshold reg_4 corresponding to dif_4 are 1
As described above, preferably, the threshold value is set to 1.
The threshold value reg_2 corresponding to 2 is equal to or more than (the number of pixels for one line + 1), preferably (the number of pixels for one line + 1).
May be set as the threshold value.

【0051】図6は、MPU2〜6のそれぞれで行なわ
れる処理の流れを示すフロー図である。図を参照して、
MPU2〜6では、画素データの取込が行なわれる(ス
テップS11)。MPU2は、入力バッファメモリ11
より画素データを取込み、MPU3〜6は、それぞれ前
段の処理を行なうMPUより画素データを受取る。たと
えば、MPU3はMPU2より画素データを受取る。
FIG. 6 is a flowchart showing the flow of processing performed in each of MPUs 2 to 6. Referring to the figure,
The MPUs 2 to 6 capture pixel data (step S11). The MPU 2 has an input buffer memory 11
The MPUs 3 to 6 receive the pixel data from the MPUs that perform the preceding processes. For example, MPU3 receives pixel data from MPU2.

【0052】次に、データフロー制御部9より制御信号
を受信したか否かの判断がなされる(ステップS1
2)。なお、ここで受信する制御信号は制御信号ONと
制御信号OFFのいずれかである。受信した制御信号が
制御信号ONの場合には(ステップS12でYES)、
データフロー制御部9内部のROMより後段の処理のプ
ログラムをロードし、現在行なっている処理(初期設定
の処理)と後段の処理との2つの処理を実行する(ステ
ップS14)。
Next, it is determined whether a control signal has been received from the data flow control unit 9 (step S1).
2). The control signal received here is either the control signal ON or the control signal OFF. If the received control signal is the control signal ON (YES in step S12),
The program of the subsequent process is loaded from the ROM in the data flow control unit 9, and two processes of the current process (initial setting process) and the subsequent process are executed (step S14).

【0053】制御信号ONを受信していない場合、すな
わち制御信号OFFを受信した場合には(ステップS1
2でNO)、現在実行している処理(初期設定の処理)
を実行する(ステップS13)。その後、処理した画素
データを出力する(ステップS15)。MPU2〜5に
おいては、後段の処理を実行するMPU3〜6に処理し
た画素データを引き渡す。たとえば、MPU2はMPU
3に処理した画素データを引き渡す。MPU6は、処理
した画素データを画像出力装置7に画素データを引き渡
す。
When the control signal ON is not received, that is, when the control signal OFF is received (step S1).
(NO at 2), currently executing process (initial setting process)
Is executed (step S13). After that, the processed pixel data is output (step S15). The MPUs 2 to 5 deliver the processed pixel data to the MPUs 3 to 6, which execute the subsequent processes. For example, MPU2 is MPU
Then, the processed pixel data is delivered to No. 3. The MPU 6 transfers the processed pixel data to the image output device 7.

【0054】その後状態レジスタ10に、画素データの
アドレスとその画素データを処理した時間または処理速
度を書込む(ステップS16)。
Thereafter, the address of the pixel data and the processing time or processing speed of the pixel data are written in the state register 10 (step S16).

【0055】そして、すべての画素データの処理が終了
したか否かの判断がなされ(ステップS17)、処理が
終了していない場合にはステップS10からステップS
16までの処理を繰返し、すべての画素データの処理が
終了した場合には処理を終了する。
Then, it is determined whether or not the processing of all the pixel data has been completed (step S17). If the processing has not been completed, the process proceeds from step S10 to step S10.
The processing up to 16 is repeated, and when the processing of all the pixel data is completed, the processing is completed.

【0056】ここで言う初期設定処理と後段の処理と
は、たとえばMPU3では、初期設定処理はLog変換
処理であり、後段の処理はMTF補正処理である。
The initial setting process and the subsequent process here are, for example, in the MPU 3, the initial setting process is a Log conversion process, and the subsequent process is an MTF correction process.

【0057】図7は、本実施の形態におけるデータ処理
装置において、データフロー制御部9によりMPU4の
負荷が大きいと判断されたとき、各MPU2〜6で行な
われる処理を示した図である。図7を参照して、MPU
3においては、Log変換処理に加えてMTF補正処理
が実行される。また、この状態での画素データの流れ
は、第1の流れとして、MPU2でSH補正処理が施さ
れた画素データは、MPU3でLog変換処理とMTF
補正処理が施され、その後、MPU5に引き渡されてガ
ンマ補正処理が施される。第2の流れとして、MPU2
でSH補正処理が施された画素データは、MPU3でL
og変換処理のみが施された後MPU4に引き渡されて
MTF補正処理が施され、その後、MPU5に引き渡さ
れてガンマ補正処理が施される。
FIG. 7 is a diagram showing processing performed by each of the MPUs 2 to 6 when the data flow control unit 9 determines that the load on the MPU 4 is large in the data processing apparatus according to the present embodiment. Referring to FIG.
In 3, the MTF correction process is executed in addition to the Log conversion process. The flow of the pixel data in this state is a first flow in which the MPU 2 performs the SH correction processing on the pixel data, and the MPU 3 performs the log conversion processing and the MTF processing.
A correction process is performed, and then the data is transferred to the MPU 5 and subjected to a gamma correction process. As a second flow, MPU2
The pixel data that has been subjected to the SH correction processing at L
After only the OG conversion process is performed, the MTF is transferred to the MPU 4 and subjected to the MTF correction process. Thereafter, the MTF is transferred to the MPU 5 and subjected to the gamma correction process.

【0058】以上説明したとおり、本実施の形態におけ
るデータ処理装置は、データフロー制御部9で各MPU
2〜6の負荷が常に監視され、負荷が大きいと判断され
たMPUの前段のMPUに対して現在行なっている処理
に加えて負荷が大きいMPUで行なっている処理も並列
して実行するようにしたので、MPU2〜6の間で負荷
が分散され、その結果、データ処理装置全体としてデー
タ処理の速度を速めることができる。
As described above, the data processing device according to the present embodiment uses
2 to 6 are constantly monitored, and the processing performed by the MPU with the large load is executed in parallel in addition to the processing currently performed on the MPU preceding the MPU determined to have the large load. Therefore, the load is distributed among the MPUs 2 to 6, and as a result, the data processing speed of the entire data processing device can be increased.

【0059】また、本実施の形態においては、データフ
ロー制御部9で各MPU2〜6の負荷を常に監視し、負
荷が大きいと判断されたMPUで実行する処理の前段の
処理を実行するMPUに対して現在行なっている処理に
加えて負荷が大きいMPUで実行する処理も並列して実
行するようにしたが、負荷が大きいと判断されたMPU
で実行する処理の後段の処理を実行するMPUに対して
現在行なっている処理に加えて負荷が大きいMPUで実
行する処理も並列して実行するようにしてもよい。この
ように、データフロー制御部9でMPU2〜6で実行す
る処理を変更することによっても、MPU2〜6の間で
負荷を分散することができ、データ処理装置全体として
データ処理速度を高めることができる。
In the present embodiment, the data flow control unit 9 constantly monitors the load of each of the MPUs 2 to 6, and the MPU executes the processing preceding the processing executed by the MPU determined to have a large load. On the other hand, in addition to the processing currently being performed, the processing executed by the MPU having a large load is also executed in parallel.
The processing executed by the MPU with a large load may be executed in parallel with the processing currently executed for the MPU executing the processing at the later stage of the processing executed by the MPU. As described above, by changing the processing executed by the MPUs 2 to 6 in the data flow control unit 9, the load can be distributed among the MPUs 2 to 6, and the data processing speed of the entire data processing apparatus can be increased. it can.

【0060】この場合には、データフロー制御部9の処
理は、図3のステップS03において、負荷が大きいM
PUの後段の処理を行なうMPUに対して、現在行なっ
ている処理に加えて負荷が大きいMPUで実行する処理
も引続き行なうよう制御信号ONを出力する(ステップ
S03)。たとえば、図1を参照して、MTF補正処理
を行なうMPU4の負荷が大きくなった場合、データフ
ロー制御部9は、状態レジスタ10の状況からMPU4
の負荷が大きくなったことを検知し、MTF補正処理の
後段の処理であるガンマ補正処理を実行するMPU5に
対して、MPU5が現在行なっているガンマ補正処理に
加えてMTF補正処理を行なうように制御信号を出力す
る。これにより、MPU3は、MTF補正処理とガンマ
補正処理とを行なうことになる。
In this case, the processing of the data flow control unit 9 is performed in step S03 of FIG.
A control signal ON is output to the MPU performing the subsequent processing of the PU so that the processing executed by the MPU having a large load is continued in addition to the processing currently being performed (step S03). For example, referring to FIG. 1, when the load on MPU 4 performing the MTF correction processing increases, data flow control unit 9 determines the status of MPU 4 based on the status of status register 10.
When the MPU 5 detects that the load on the MPU 5 has increased, and performs the gamma correction process that is the latter stage of the MTF correction process, the MPU 5 performs the MTF correction process in addition to the gamma correction process currently performed by the MPU 5. Outputs control signal. Thus, the MPU 3 performs the MTF correction processing and the gamma correction processing.

【0061】一方、MUP3〜6の処理は、図6のステ
ップS13において、受信した制御信号が制御信号ON
のときは、ステップ14でデータフロー制御部9内部の
ROMより前段の処理のプログラムをロードし、現在行
なっている処理(初期設定の処理)と前段の処理との2
つの処理を実行する(ステップS14)ことになる。
On the other hand, in the processing of MUP3 to MUP6, in step S13 of FIG.
In the case of (1), the program of the preceding stage is loaded from the ROM in the data flow control unit 9 in step 14, and the process of the present stage (initial setting process) and the preceding stage is executed.
Two processes are executed (step S14).

【0062】この場合におけるデータ処理装置で、デー
タフロー制御部9によりMPU4の負荷が大きいと判断
されたときのMPU2〜6で実行される処理の状態を図
8に示す。図8を参照して、MPU5においては、MT
F補正処理処理とガンマ補正処理が実行される。また、
この状態での画素データの流れは、第1の流れとして、
MPU3でLog変換処理が施された画素データは、M
PU4でMTF補正処理が施され、その後、MPU5に
引き渡されてガンマ補正処理が施される。第2の流れと
して、MPU3でLog変換処理が施された画素データ
は、MPU5に引き渡されてMTF補正処理とガンマ補
正処理が施される。
FIG. 8 shows the state of the processing executed by the MPUs 2 to 6 when the data flow controller 9 determines that the load on the MPU 4 is large in the data processing apparatus in this case. Referring to FIG. 8, in MPU 5, MT
The F correction processing and the gamma correction processing are performed. Also,
The flow of pixel data in this state is as a first flow,
The pixel data subjected to the log conversion processing by the MPU 3 is M
The PU 4 performs an MTF correction process, and then is delivered to the MPU 5 to perform a gamma correction process. As a second flow, the pixel data that has been subjected to the Log conversion processing in the MPU 3 is transferred to the MPU 5 and subjected to the MTF correction processing and the gamma correction processing.

【0063】[第2の実施の形態]図9は、第2の実施
の形態におけるデータ処理装置の概略を示すブロック図
である。図を参照して、第2の実施の形態におけるデー
タ処理装置は、画像データを入力する画像入力装置1
と、入力された画像データを画素データごとに各種の処
理を行なうMPU21〜26と、処理された画像データ
を紙などの記録媒体に出力する画像出力装置8と、画像
入力装置1、MPU21〜26、画像出力装置8の動作
状態を監視する状態レジスタ10と、状態レジスタ10
を参照してMPU21〜26の動作を制御するデータフ
ロー制御部20と、画像入力装置1で入力された画像デ
ータを一時記憶する入力バッファメモリ11と、画像出
力装置から出力される画像データを一時記憶する出力バ
ッファメモリ12とを含む。
[Second Embodiment] FIG. 9 is a block diagram schematically showing a data processing apparatus according to a second embodiment. Referring to the figure, a data processing device according to a second embodiment is an image input device 1 for inputting image data.
MPUs 21 to 26 for performing various processes on the input image data for each pixel data, an image output device 8 for outputting the processed image data to a recording medium such as paper, an image input device 1, and an MPU 21 to 26. , A status register 10 for monitoring the operation status of the image output device 8, and a status register 10
, A data flow control unit 20 for controlling the operation of the MPUs 21 to 26, an input buffer memory 11 for temporarily storing the image data input by the image input device 1, and a temporary storage for the image data output from the image output device. And an output buffer memory 12 for storing.

【0064】MPU21〜25は、初期設定の状態では
それぞれ、SH補正処理、Log変換処理、MTF補正
処理、ガンマ補正処理、2値化処理を行なう。MPU2
6は、初期設定状態では処理を何も行なわない。
The MPUs 21 to 25 perform SH correction processing, Log conversion processing, MTF correction processing, gamma correction processing, and binarization processing in the initial setting state. MPU2
No. 6 performs no processing in the initial setting state.

【0065】第2の実施の形態におけるデータ処理装置
は、データフロー制御部20でMPU21〜25のうち
負荷が大きいとされたMPUで実行する処理を、MPU
26で並列して実行するようにしたものである。
The data processing apparatus according to the second embodiment performs the processing executed by the data flow control unit 20 on the MPU of which the load is large among the MPUs 21 to 25.
26 is executed in parallel.

【0066】図10は、第2の実施の形態におけるデー
タフロー制御部20で行なわれる処理の流れを示すフロ
ー図である。図を参照して、データフロー制御部20
は、状態レジスタ10に記憶されている各MPUで実行
する画素データのアドレスを取得する(ステップS3
1)。状態レジスタから取得した各MPUで実行する画
素データのアドレス値よりアドレス差を求め、求めたア
ドレス差から負荷が大きいMPUを検出する(ステップ
S32)。負荷が大きいMPUがあると判断された場合
には(ステップS32でYES)、負荷が大きいと判断
されたMPUで実行する処理を行なうよう制御信号をM
PU26へ出力する(ステップS33)。
FIG. 10 is a flowchart showing a flow of processing performed by data flow control unit 20 in the second embodiment. Referring to the figure, the data flow control unit 20
Acquires the address of the pixel data to be executed by each MPU stored in the status register 10 (step S3).
1). An address difference is obtained from the address value of the pixel data executed by each MPU obtained from the status register, and an MPU having a large load is detected from the obtained address difference (step S32). If it is determined that there is an MPU having a large load (YES in step S32), the control signal is set to M to perform processing to be executed by the MPU determined to have a large load.
Output to the PU 26 (step S33).

【0067】一方、負荷が大きいMPUがないと判断さ
れた場合には(ステップS32でNO)、リセットする
よう制御信号をMPU26へ出力する(ステップS3
4)。
On the other hand, when it is determined that there is no MPU having a large load (NO in step S32), a control signal is output to MPU 26 to reset (step S3).
4).

【0068】その後、全画素データを終了したか否かが
判断され(ステップS35)、未処理の画素データがあ
る場合には上述の処理が繰返され、すべての画素データ
を処理した場合には処理を終了する。
Thereafter, it is determined whether or not all pixel data has been processed (step S35). If there is unprocessed pixel data, the above processing is repeated. To end.

【0069】図11は、MPU26で行なわれる処理の
流れを示すフロー図である。図を参照して、MPU26
では、データフロー制御部から出力する制御信号を受信
する(ステップS41)。ここで受信する制御信号は、
負荷が大きい処理を行なうことを示す制御信号もしくは
リセットすることを示す制御信号のうちいずれかであ
る。
FIG. 11 is a flowchart showing the flow of processing performed by MPU 26. Referring to FIG.
Then, a control signal output from the data flow control unit is received (step S41). The control signal received here is
The control signal is either a control signal indicating that processing with a large load is performed or a control signal indicating resetting.

【0070】次に、受信した制御信号がリセット信号が
否かの判断がなされ(ステップS42)、受信した制御
信号がリセット信号の場合には、処理を何も行なわない
ようリセット処理がなされ(ステップS44)、ステッ
プS47に進む。
Next, it is determined whether or not the received control signal is a reset signal (step S42). If the received control signal is a reset signal, reset processing is performed so that no processing is performed (step S42). S44), and proceed to step S47.

【0071】一方、リセット信号でないと判断された場
合、すなわち負荷が大きい処理を行なうことを示す制御
信号を受信した場合には(ステップS42でNO)、負
荷が大きいとされた処理のプログラムをデータフロー制
御部20内のROMからロードし、その処理を実行する
(ステップS43)。
On the other hand, if it is determined that the signal is not a reset signal, that is, if a control signal indicating that processing with a heavy load is to be performed is received (NO in step S42), the program of the processing with the heavy load is loaded into the data. The data is loaded from the ROM in the flow control unit 20, and the processing is executed (step S43).

【0072】そして、処理した画素データを出力する
(ステップS45)。この場合、たとえば負荷が大きい
とされた処理が2値化処理の場合には、処理した画素デ
ータを画像出力装置8に出力する。それ以外の処理であ
る場合には、後段の処理を実行するMPUに対してデー
タを引き渡す。たとえば、負荷が大きいとされた処理が
MTF補正処理である場合には、後段の処理であるガン
マ補正処理を実行するMPU5に対してデータを引き渡
す。図12は、データフロー制御部20により、MTF
補正処理を行なうMPU23の負荷が大きいとされた場
合の各MPU21〜26で行なわれる処理を示す図であ
る。図を参照して、MPU26では、データフロー制御
部20が出力するMTF補正処理を行なうことを示す制
御信号の受信により、データフロー制御部20内のRO
MからMTF補正処理プログラムがロードされ、MTF
補正処理が実行される。この場合における画素データの
流れは、MPU22でLog変換処理が施された画素デ
ータが、MPU23に引き渡される流れと、MPU26
に引き渡される流れの2つある。MPU23またはMP
U26に引き渡された画素データはMTF補正処理が施
された後MPU24に引き渡される。
Then, the processed pixel data is output (step S45). In this case, for example, when the processing determined to have a large load is the binarization processing, the processed pixel data is output to the image output device 8. In the case of other processing, the data is delivered to the MPU executing the subsequent processing. For example, when the processing determined to have a large load is the MTF correction processing, the data is transferred to the MPU 5 that executes the gamma correction processing, which is the subsequent processing. FIG. 12 shows that the data flow control unit 20 uses the MTF
FIG. 7 is a diagram illustrating processing performed by each of the MPUs 21 to 26 when the load on the MPU 23 that performs the correction processing is determined to be large. Referring to the drawing, MPU 26 receives a control signal output from data flow control unit 20 indicating that an MTF correction process is to be performed, and outputs an RO in data flow control unit 20.
The MTF correction processing program is loaded from M
Correction processing is performed. In this case, the flow of the pixel data includes the flow in which the pixel data subjected to the log conversion processing in the MPU 22 is transferred to the MPU 23 and the flow of the MPU 26.
There are two of the flows handed over to. MPU23 or MP
The pixel data transferred to U26 is subjected to MTF correction processing and then transferred to MPU24.

【0073】以上説明したとおり、第2の実施の形態に
おけるデータ処理装置は、初期設定状態で、処理を何も
行なわないMPU26を設け、データフロー制御部20
で負荷が大きいと判断されたMPUで実行する処理を処
理を何も行なわないMPU26で並列して実行するよう
にしたので、MPU21〜25における負荷をMPU2
1〜26で分散することができるので、データ処理装置
全体としてデータ処理の高速化を図ることができる。
As described above, the data processing apparatus according to the second embodiment is provided with the MPU 26 that performs no processing in the initial setting state,
The processing executed by the MPU determined to have a large load is executed in parallel by the MPU 26 that does not perform any processing.
Since data can be distributed between 1 and 26, the speed of data processing can be increased as a whole of the data processing apparatus.

【0074】[第3の実施の形態]図13は、第3の実
施の形態におけるデータ処理装置の概略を示すブロック
図である。第3の実施の形態におけるデータ処理装置
は、画像データを入力する画像入力装置1と、入力され
た画像データを画素データごとに各種の処理を行なうM
PU31〜35と、処理された画像データを紙などの記
録媒体に出力する画像出力装置8と、画像入力装置1、
MPU31〜35、画像出力装置8の動作状態を監視す
る状態レジスタ10と、状態レジスタ10を参照してM
PU31〜35の動作を制御するデータフロー制御部3
0と、画像入力装置1で入力された画像データを一時記
憶する入力バッファメモリ11と、画像出力装置から出
力される画像データを一時記憶する出力バッファメモリ
12と、各MPU31で処理した画素データを記憶する
中間バッファメモリ13〜17とを含む。
[Third Embodiment] FIG. 13 is a block diagram schematically showing a data processing apparatus according to the third embodiment. The data processing device according to the third embodiment includes an image input device 1 that inputs image data, and an M that performs various processes on the input image data for each pixel data.
PU 31 to 35, an image output device 8 for outputting processed image data to a recording medium such as paper, an image input device 1,
MPUs 31 to 35, a status register 10 for monitoring the operation status of the image output device 8, and M
Data flow control unit 3 for controlling operations of PUs 31 to 35
0, an input buffer memory 11 for temporarily storing image data input by the image input device 1, an output buffer memory 12 for temporarily storing image data output from the image output device, and pixel data processed by each MPU 31. And intermediate buffer memories 13 to 17 for storing.

【0075】第3の実施の形態におけるデータ処理装置
は、MPU31〜35で処理した画素データを、それぞ
れに対応する中間バッファメモリ13〜17に一時記憶
することができる。初期設定の状態では、MPU31は
SH補正処理を、MPU32はLog変換処理を、MP
U33はMTF補正処理を、MPU34はガンマ補正処
理を、MPU35は2値化処理をそれぞれ行なうように
設定される。中間バッファメモリ13にはSH補正処理
がなされた画素データが、中間バッファメモリ14には
Log変換処理がなされた画素データが、中間バッファ
メモリ15にはMTF補正処理がなされた画素データ
が、中間バッファメモリ16にはガンマ補正処理がなさ
れた画素データが、中間バッファメモリ17には2値化
処理がなされた画素データがそれぞれ記憶される。
The data processing device according to the third embodiment can temporarily store the pixel data processed by the MPUs 31 to 35 in the corresponding intermediate buffer memories 13 to 17, respectively. In the initial setting state, the MPU 31 performs SH correction processing, the MPU 32 performs Log conversion processing,
U33 is set to perform MTF correction processing, MPU34 is to perform gamma correction processing, and MPU35 is to be set to perform binarization processing. The intermediate buffer memory 13 stores the pixel data subjected to the SH correction processing, the intermediate buffer memory 14 stores the pixel data subjected to the Log conversion processing, and the intermediate buffer memory 15 stores the pixel data subjected to the MTF correction processing. The memory 16 stores pixel data subjected to gamma correction processing, and the intermediate buffer memory 17 stores pixel data subjected to binarization processing.

【0076】図14は、第3の実施の形態におけるデー
タフロー制御部30で行なわれる処理の流れを示すフロ
ー図である。図を参照して、データフロー制御部30で
は、状態レジスタ10に記憶された各MPU31〜35
で処理が施される画素データのアドレス値より、各MP
U2〜6の負荷が監視される(ステップS51)。取得
された各MPU2〜6で実行する画素データのアドレス
値より、負荷が大きいMPUがあるか否かが判断される
(ステップS52)。
FIG. 14 is a flowchart showing a flow of processing performed by data flow control unit 30 in the third embodiment. Referring to the figure, data flow control unit 30 has MPUs 31 to 35 stored in status register 10.
From the address value of the pixel data processed in
The loads of U2 to U6 are monitored (step S51). It is determined from the acquired address values of the pixel data to be executed by the MPUs 2 to 6 whether there is an MPU having a large load (step S52).

【0077】負荷が大きいMPUがあると判断された場
合には、負荷が大きいとされた処理の後段の処理を実行
するMPUに対して、負荷が大きいとされた処理を行な
うよう制御信号が出力される(ステップS53)。一
方、負荷が大きいMPUがないと判断された場合には
(ステップS52でNO)、すべてのMPUに対してリ
セットするよう制御信号が出力される(ステップS5
4)。
When it is determined that there is an MPU having a large load, a control signal is output to an MPU executing a process subsequent to the process having the large load so as to perform the process having the large load. Is performed (step S53). On the other hand, when it is determined that there is no MPU with a large load (NO in step S52), a control signal is output to reset all MPUs (step S5).
4).

【0078】そして、すべての画素データに対して処理
が終了したか否かが判断され(ステップS55)、未処
理の画素データがある場合には上述の処理が繰返され、
すべての画素データの処理が終了した場合には処理を終
了する。
Then, it is determined whether or not processing has been completed for all pixel data (step S55). If there is unprocessed pixel data, the above processing is repeated.
When the processing of all the pixel data ends, the processing ends.

【0079】図15は、第3の実施の形態におけるMP
U31〜35で行なわれる処理の流れを示すフロー図で
ある。図を参照して、MPU31〜35は、データフロ
ー制御部30が出力する制御信号を受信する(ステップ
S61)。ここで受信する制御信号は、負荷が大きいと
された処理を行なうことを示す制御信号もしくはリセッ
トを示す制御信号のいずれかである。
FIG. 15 shows the MP according to the third embodiment.
It is a flowchart which shows the flow of a process performed in U31-35. Referring to the figure, MPUs 31 to 35 receive a control signal output by data flow control unit 30 (step S61). The control signal received here is either a control signal indicating that the process determined to have a large load is performed or a control signal indicating reset.

【0080】ステップS70で受信した制御信号が、リ
セットを指示する制御信号か否かが判断される(ステッ
プS62)。リセットを指示する制御信号でない場合に
は、負荷が大きい処理の実行を指示する制御信号である
ので、負荷が大きい処理のプログラムをデータフロー制
御部30内のROMからロードし、ロードしたプログラ
ムを実行する(ステップS64)。
It is determined whether or not the control signal received in step S70 is a control signal for instructing reset (step S62). If the control signal is not a control signal for instructing reset, the control signal is for instructing execution of a process with a large load. Therefore, a program for a process with a large load is loaded from the ROM in the data flow control unit 30, and the loaded program is executed. (Step S64).

【0081】受信した制御信号がリセットを指示する制
御信号である場合には(ステップS62でYES)、初
期設定の処理を実行する(ステップS63)。ここで、
一度負荷大の処理の実行を指示する制御信号を受信して
既に負荷大の処理を実行している場合に、リセットを示
す制御信号を受信したときは、負荷大の処理の実行を中
止し、初期設定の処理を実行を再開する。たとえば、M
TF補正処理を行なうMPU33の負荷が大きいと判断
されてMPU34に対してMTF補正処理を行なうよう
制御信号が出力された場合には、MPU34は初期設定
処理であるガンマ補正処理の実行を中止してMTF補正
処理を実行する。その後、MPU33の負荷が小さくな
ったときは、データフロー制御部30はMPU34に対
してリセットを指示する制御信号を出力する。MPU3
4は、リセットを指示する制御信号の受信により、MT
F補正処理を中止して初期設定処理であるガンマ補正処
理を再開することとなる。
If the received control signal is a control signal for instructing reset (YES in step S62), an initial setting process is executed (step S63). here,
Once the control signal instructing the execution of the heavy load process has been received and the heavy load process has already been executed, when the control signal indicating the reset is received, the execution of the heavy load process is stopped, Resume execution of the initialization process. For example, M
When it is determined that the load on the MPU 33 that performs the TF correction process is large, and a control signal is output to the MPU 34 to perform the MTF correction process, the MPU 34 stops performing the gamma correction process, which is the initial setting process. Execute MTF correction processing. Thereafter, when the load on the MPU 33 is reduced, the data flow control unit 30 outputs a control signal for instructing the MPU 34 to reset. MPU3
4 receives the control signal instructing the reset,
The F correction processing is stopped and the gamma correction processing, which is the initial setting processing, is restarted.

【0082】次に、処理した画素データの出力が行なわ
れる(ステップS65)。画素データの出力は、中間バ
ッファメモリ13〜17に対して行なわれる。中間バッ
ファメモリ13〜17のそれぞれでは、記憶する画素デ
ータが定められているので、たとえば、MPU34でM
TF補正処理を行なう場合には、MTF補正処理を施し
た画素データは、中間バッファメモリ15に出力され
る。
Next, the processed pixel data is output (step S65). The output of the pixel data is performed to the intermediate buffer memories 13 to 17. In each of the intermediate buffer memories 13 to 17, the pixel data to be stored is determined.
When performing the TF correction processing, the pixel data subjected to the MTF correction processing is output to the intermediate buffer memory 15.

【0083】次に、MPU31〜35で処理を実行した
画素データのアドレスとその画素データの処理に要した
処理時間もしくは処理速度が状態レジスタ10に書込さ
れる(ステップS66)。その後、すべての画素データ
について処理が終了したか否かの判断がなされ(ステッ
プS67)、未処理の画素データがある場合には上述の
処理が繰り返され、すべての画素データに対して処理が
終了した場合には処理を終了する。
Next, the address of the pixel data processed by the MPUs 31 to 35 and the processing time or processing speed required for processing the pixel data are written to the status register 10 (step S66). Thereafter, it is determined whether or not processing has been completed for all pixel data (step S67). If there is unprocessed pixel data, the above processing is repeated, and processing has been completed for all pixel data. If so, the process ends.

【0084】図16は、データフロー制御部30でMP
U33の負荷が大きいとされたときのMPU31〜35
で実行される処理の状態を示す図である。図16を参照
して、MPU34では、データフロー制御部30が出力
する前段の処理の実行を指示する制御信号の受信によ
り、データフロー制御部30内のROMからMTF補正
処理プログラムをロードし、MTF補正処理が実行され
る。同様に、MPU35では、データフロー制御部が出
力する前段の処理の実行を指示する制御信号の受信によ
り、データフロー制御部9内のROMよりガンマ補正処
理プログラムをロードし、ガンマ補正処理が実行され
る。このとき、MPU34では、中間バッファメモリ1
4からLog変換処理が施された画素データを読込んで
MTF補正処理を施し、MTF補正処理後の画素データ
を中間バッファメモリ15に書き込む。また、MPU3
5では、中間バッファメモリ15からMTF補正処理が
施された画素データを読込んでガンマ補正処理を施し、
ガンマ補正処理後の画素データを中間バッファメモリ1
6に書き込む。
FIG. 16 shows that the data flow control unit 30
MPUs 31 to 35 when the load of U33 is determined to be large
It is a figure which shows the state of the process performed in. Referring to FIG. 16, MPU 34 loads an MTF correction processing program from the ROM in data flow control unit 30 by receiving a control signal instructing execution of a preceding process output from data flow control unit 30 and loads the MTF correction program. Correction processing is performed. Similarly, the MPU 35 loads the gamma correction processing program from the ROM in the data flow control unit 9 by receiving the control signal instructing to execute the preceding process output from the data flow control unit, and executes the gamma correction processing. You. At this time, the MPU 34 uses the intermediate buffer memory 1
4, the MTF correction processing is performed by reading the pixel data subjected to the Log conversion processing, and the pixel data after the MTF correction processing is written to the intermediate buffer memory 15. Also, MPU3
In step 5, the pixel data subjected to the MTF correction processing is read from the intermediate buffer memory 15 and subjected to the gamma correction processing.
The pixel data after the gamma correction processing is stored in the intermediate buffer memory 1
Write to 6.

【0085】以上説明したとおり、第3の実施の形態に
おけるデータ処理装置は、MPU31〜35のそれぞれ
に処理後の画素データを記憶する中間バッファメモリ1
3〜17を設けて、データフロー制御部20で負荷が大
きいMPUがあると判断された場合に、負荷大の処理の
後段の処理を実行するMPUでその前段の処理を実行す
るようにしたので、前段の処理ほど速く処理を終了する
ことができ、データ処理装置全体としてデータ処理の速
度を速めることができる。また、前段の処理ほど速く処
理を終了することができるので、新たな画像データ、た
とえば次の頁の画像データを速く入力することができ
る。
As described above, the data processing device according to the third embodiment includes an intermediate buffer memory 1 for storing processed pixel data in each of MPUs 31 to 35.
3 to 17 are provided, and when the data flow control unit 20 determines that there is an MPU having a large load, the MPU executing the subsequent processing of the heavy load processing executes the preceding processing. In the data processing apparatus, the speed of data processing can be increased as a whole. In addition, since the processing can be completed earlier in the earlier processing, new image data, for example, image data of the next page can be input faster.

【0086】さらに、各MPUで処理を実行した結果を
記憶する中間バッファメモリ13〜18を設けたので、
非同期で処理を実行するMPU31〜35の間で異なる
処理速度の差を吸収することができ、かつ、MPU31
〜35で実行する処理の内容に変更が生じたとしても、
中間バッファメモリ13〜18に記憶される画素データ
の種類は変わらないので、MPU31〜35で実行する
処理の内容を容易に変更することができる。
Further, since the intermediate buffer memories 13 to 18 for storing the results of the processing executed by each MPU are provided,
It is possible to absorb a difference in processing speed between the MPUs 31 to 35 that execute processing asynchronously, and
Even if there is a change in the content of the process executed in ~ 35,
Since the types of pixel data stored in the intermediate buffer memories 13 to 18 do not change, the contents of the processing executed by the MPUs 31 to 35 can be easily changed.

【0087】[第4の実施の形態]図17は、第4の実
施の形態におけるデータ処理装置の概略を示すブロック
図である。図を参照して、第4の実施の形態におけるデ
ータ処理装置は、画像データを入力する画像入力装置1
と、入力された画像データを画素データごとに各種の処
理を行なうMPU41〜46と、処理された画像データ
を紙などの記録媒体に出力する画像出力装置8と、画像
入力装置1、MPU41〜46、画像出力装置8の動作
状態を監視する状態レジスタ10と、状態レジスタ10
を参照してMPU41〜46の動作を制御するデータフ
ロー制御部40と、画像入力装置1で入力された画像デ
ータを一時記憶する入力バッファメモリ11と、画像出
力装置から出力される画像データを一時記憶する出力バ
ッファメモリ12とを含む。
[Fourth Embodiment] FIG. 17 is a block diagram schematically showing a data processing apparatus according to a fourth embodiment. Referring to the figure, a data processing device according to a fourth embodiment is an image input device 1 for inputting image data.
MPUs 41 to 46 for performing various processes on the input image data for each pixel data, an image output device 8 for outputting the processed image data to a recording medium such as paper, an image input device 1, and MPUs 41 to 46. , A status register 10 for monitoring the operation status of the image output device 8, and a status register 10
, A data flow control unit 40 for controlling the operation of the MPUs 41 to 46, an input buffer memory 11 for temporarily storing image data input by the image input device 1, and a temporary storage for image data output from the image output device. And an output buffer memory 12 for storing.

【0088】MPU41〜45は、初期設定の状態では
それぞれ、SH補正処理、領域判別処理、色変換処理、
MTF補正処理、ガンマ補正処理を行なう。MPU46
は、初期設定状態では処理を何も行なわない。
The MPUs 41 to 45 perform SH correction processing, area discrimination processing, color conversion processing,
MTF correction processing and gamma correction processing are performed. MPU46
Performs no processing in the initial setting state.

【0089】第4の実施の形態におけるデータ処理装置
は、データフロー制御部40でMPU41〜45のうち
負荷が大きいとされたMPUで実行する処理を、MPU
46で並列して実行するようにしたものである。なお、
第4の実施の形態におけるデータ処理装置は、カラー画
像データを取扱う点と、画素データに対して行なう処理
に領域判別処理を加えた点でこれまで述べた実施の形態
におけるデータ処理装置と異なる。
The data processing apparatus according to the fourth embodiment performs the processing executed by the data flow control unit 40 on the MPU whose load is large among the MPUs 41 to 45.
46 is executed in parallel. In addition,
The data processing device according to the fourth embodiment is different from the data processing devices according to the above-described embodiments in that color image data is handled, and that a region determination process is added to a process performed on pixel data.

【0090】領域判別処理とは、処理対象となる画像デ
ータを含む所定の領域に含まれる複数の画素データに所
定の処理を施すことにより、所定の領域の属性を判別
し、処理対象となる画素データが属する領域の属性を判
別する処理である。所定の領域の属性とは、たとえば、
文字領域、線画領域、下地領域等がある。この領域判別
処理は、公知の方法により、たとえば、3×3のマトリ
ックスを用いて、そのマトリックス内に存在する画素デ
ータを比較することにより判別される。
The area discrimination processing is to perform a predetermined processing on a plurality of pixel data included in a predetermined area including image data to be processed, thereby to determine an attribute of the predetermined area and to determine a pixel to be processed. This is a process of determining the attribute of the area to which the data belongs. The attribute of the predetermined area is, for example,
There are a character area, a line drawing area, a base area, and the like. This area determination processing is performed by a known method, for example, by using a 3 × 3 matrix and comparing pixel data existing in the matrix.

【0091】そして、領域判別処理により、属性が判別
された画素データは、その後の処理たとえばMTF補正
処理に要する時間が変わってくる。たとえば、領域判別
処理により画素データの属性が文字属性もしくは線画属
性と判断された場合には、下地属性と判断された場合に
比べてMTF補正処理に要する時間が長くなる。その結
果、MTF補正処理を実行するMPUの負荷が大きくな
る。したがって、領域判別処理の結果により、その後の
処理(Log変換、MTF補正、ガンマ補正、2値化)
を実行するMPUの負荷を予測することができる。
Then, the time required for the subsequent processing, for example, the MTF correction processing, changes for the pixel data whose attribute has been determined by the area determination processing. For example, when the attribute of the pixel data is determined to be the character attribute or the line drawing attribute by the region determination process, the time required for the MTF correction process is longer than that when the attribute is determined to be the background attribute. As a result, the load on the MPU that executes the MTF correction processing increases. Therefore, the subsequent processing (Log conversion, MTF correction, gamma correction, binarization) is performed based on the result of the area determination processing.
Can be predicted.

【0092】第4の実施の形態におけるデータ処理装置
は、画素データが領域判別処理により判別された属性に
よりMPU41〜46で実行する処理を変更するように
したものである。
In the data processing apparatus according to the fourth embodiment, the processing executed by the MPUs 41 to 46 is changed according to the attribute of pixel data determined by the area determination processing.

【0093】図18は、第4の実施の形態におけるデー
タフロー制御部40で行なわれる処理の流れを示すフロ
ー図である。図を参照して、データフロー制御部40
は、MPU42で実行する領域判別処理の結果を取得す
る(ステップS71)。取得した画素データの領域判別
処理の結果から、画素データが文字属性または線画属性
であるか否かを判断する(ステップS72)。文字属性
または線画属性と判断した場合には、MPU46に対し
てMTF補正処理を行なうよう制御信号を出力する(ス
テップS73)。一方、文字属性または線画属性と判断
されない場合には(ステップS72でNO)、MPU4
6に対してリセットするよう制御信号を出力する(ステ
ップS74)。その後、すべての画素データの処理が終
了したか否かが判断され(ステップS75)、未処理の
画素データがある場合には上述の処理が繰返され、すべ
ての画素データに対して処理が終了した場合には処理を
終了する。
FIG. 18 is a flowchart showing a flow of processing performed by data flow control section 40 in the fourth embodiment. Referring to the figure, the data flow control unit 40
Acquires the result of the area determination process executed by the MPU 42 (step S71). It is determined whether or not the pixel data has a character attribute or a line drawing attribute from the result of the area determination processing of the obtained pixel data (step S72). If it is determined that the attribute is a character attribute or a line drawing attribute, a control signal is output to the MPU 46 to perform the MTF correction process (step S73). On the other hand, if the character attribute or the line drawing attribute is not determined (NO in step S72), the MPU 4
Then, a control signal is output to reset the control signal No. 6 (step S74). Thereafter, it is determined whether or not processing of all pixel data has been completed (step S75). If there is unprocessed pixel data, the above processing is repeated, and processing has been completed for all pixel data. In this case, the process ends.

【0094】図19は、第4の実施の形態におけるMP
U46で行なわれる処理の流れを示すフロー図である。
図を参照して、MPU46では、データフロー制御部4
0から出力する制御信号を受信する(ステップS8
1)。ここで受信する制御信号は、MTF補正処理の実
行を示す制御信号もしくはリセットすることを示す制御
信号のうちいずれかである。
FIG. 19 shows the MP in the fourth embodiment.
It is a flowchart which shows the flow of the process performed by U46.
Referring to the figure, in the MPU 46, the data flow control unit 4
0 is received (step S8).
1). The control signal received here is either a control signal indicating execution of the MTF correction process or a control signal indicating resetting.

【0095】次に、受信した制御信号がリセット信号か
否かの判断がなされ(ステップS82)、受信した制御
信号がリセット信号の場合には、処理を何も行なわない
ようリセット処理がなされ(ステップS84)、ステッ
プS87に進む。
Next, it is determined whether or not the received control signal is a reset signal (step S82). If the received control signal is a reset signal, reset processing is performed so that no processing is performed (step S82). S84), and proceed to step S87.

【0096】一方、リセット信号でないと判断された場
合、すなわち負荷が大きい処理を行なうことを示す制御
信号を受信した場合には(ステップS82でNO)、M
TF補正処理のプログラムをデータフロー制御部40内
のROMからロードし、その処理を実行する(ステップ
S83)。そして、処理した画素データを出力する(ス
テップS85)。この場合、MTF補正処理の後段の処
理を実行するMPU45に画素データを引き渡す。次
に、MPU46で処理を実行した画素データのアドレス
とその画素データの処理に要した処理時間もしくは処理
速度が状態レジスタ10に書込まれる(ステップS8
6)。
On the other hand, if it is determined that the received signal is not a reset signal, that is, if a control signal indicating that processing with a large load is to be performed is received (NO in step S82), M
The program for the TF correction processing is loaded from the ROM in the data flow control unit 40, and the processing is executed (step S83). Then, the processed pixel data is output (step S85). In this case, the pixel data is transferred to the MPU 45 that executes the latter stage of the MTF correction process. Next, the address of the pixel data processed by the MPU 46 and the processing time or processing speed required for processing the pixel data are written into the status register 10 (step S8).
6).

【0097】その後、すべての画素データについて処理
が終了したかい否かの判断がなされ(ステップS8
7)、未処理の画素データがある場合には上述の処理が
繰り返され、すべての画素データに対して処理が終了し
た場合には処理を終了する。
Thereafter, it is determined whether or not the processing has been completed for all pixel data (step S8).
7) If there is unprocessed pixel data, the above process is repeated, and if the process has been completed for all pixel data, the process ends.

【0098】図20は、領域判別処理を行なうMPU4
2で処理する画素データが文字属性または線画属性であ
ると判別された場合に、MPU46で行なわれる処理を
示す図である。図を参照して、MPU46では、データ
フロー制御部40が出力するMTF補正処理の実行を示
す制御信号を受信して、MTF補正処理が実行される。
この場合における画素データの流れは、MPU43で色
変換が施された画素データが、MPU44に引き渡され
る流れと、MPU46に引き渡される流れの2つある。
MPU44またはMPU46に引き渡された画素データ
はMTF補正処理が施された後、ガンマ補正処理を実行
するMPU45に引き渡される。
FIG. 20 shows an MPU 4 for performing the area determination processing.
FIG. 6 is a diagram illustrating a process performed by the MPU when it is determined that the pixel data to be processed in step 2 is a character attribute or a line drawing attribute. Referring to the figure, MPU 46 receives a control signal output from data flow control unit 40 and indicating the execution of MTF correction processing, and executes MTF correction processing.
In this case, there are two flows of the pixel data: a flow in which the pixel data subjected to the color conversion in the MPU 43 is transferred to the MPU 44 and a flow in which the pixel data is transferred to the MPU 46.
The pixel data transferred to the MPU 44 or MPU 46 is subjected to MTF correction processing, and then transferred to the MPU 45 that executes gamma correction processing.

【0099】なお、領域判別処理で画素データが文字属
性または線画属性と判別された場合には、その画素デー
タの近傍の画素データも同じ属性であるのが通常であ
る。したがって、図20に示すMPU41〜46で実行
する処理は、領域判別処理を実行するMPU42で処理
する画素データが文字属性もしくは線画属性と判別され
ている間継続する。そして、領域判別処理により画素デ
ータが文字属性もしくは線画属性でないと判断された場
合には、MPU41〜46は初期設定の処理を実行す
る。つまり、MPU46は処理を何も行なわない状態と
なる。
When the pixel data is determined to have the character attribute or the line drawing attribute in the area determination processing, the pixel data near the pixel data usually have the same attribute. Therefore, the processing executed by the MPUs 41 to 46 shown in FIG. 20 continues while the pixel data processed by the MPU 42 executing the area determination processing is determined to have the character attribute or the line drawing attribute. When the pixel data is determined not to have the character attribute or the line drawing attribute by the area determination processing, the MPUs 41 to 46 execute the processing of the initial setting. That is, the MPU 46 does not perform any processing.

【0100】以上説明したとおり、第4の実施の形態に
おけるデータ処理装置は、領域判別処理を実行するMP
U42で、画素データが文字属性もしくは線画属性と判
断された場合に、初期設定状態では処理を行なわないM
PU46で、負荷が大きいと予測されるMTF補正処理
を行なうようにしたので、MPU41〜45における負
荷をMPU41〜46で分散することができる。その結
果、データ処理装置に入力されるデータの属性により、
MPU41〜46で実行する処理を動的に変えること
で、データ処理を高速に行なうことができる。
As described above, the data processing apparatus according to the fourth embodiment performs the MP
If it is determined in U42 that the pixel data has the character attribute or the line drawing attribute, no processing is performed in the initial setting state.
Since the PU 46 performs the MTF correction processing in which the load is predicted to be large, the loads in the MPUs 41 to 45 can be distributed among the MPUs 41 to 46. As a result, depending on the attribute of the data input to the data processing device,
Data processing can be performed at high speed by dynamically changing the processing executed by the MPUs 41 to 46.

【0101】[第5の実施の形態]図21は、第5の実
施の形態におけるデータ処理装置の概略を示すブロック
図である。図を参照して、第5の実施の形態におけるデ
ータ処理装置は、画像データを入力する画像入力装置1
と、入力された画像データを画素データごとに各種の処
理を行なうMPU51〜56と、処理された画像データ
を紙などの記録媒体に出力する画像出力装置8と、画像
入力装置1、MPU51〜56、画像出力装置8の動作
状態を監視する状態レジスタ10と、状態レジスタ10
を参照してMPU51〜56の動作を制御するデータフ
ロー制御部50と、画像入力装置1で入力された画像デ
ータを一時記憶する入力バッファメモリ11と、画像出
力装置から出力される画像データを一時記憶する出力バ
ッファメモリ12と、各MPU51〜56で処理した画
素データを記憶する中間バッファメモリ13〜18とを
含む。
[Fifth Embodiment] FIG. 21 is a block diagram schematically showing a data processing apparatus according to a fifth embodiment. Referring to the figure, a data processing device according to a fifth embodiment is an image input device 1 for inputting image data.
MPUs 51 to 56 for performing various processes on the input image data for each pixel data, an image output device 8 for outputting the processed image data to a recording medium such as paper, an image input device 1, and MPUs 51 to 56 , A status register 10 for monitoring the operation status of the image output device 8, and a status register 10
, A data flow control unit 50 for controlling the operations of the MPUs 51 to 56, an input buffer memory 11 for temporarily storing image data input by the image input device 1, and a temporary storage for image data output from the image output device. An output buffer memory 12 for storing the image data and intermediate buffer memories 13 to 18 for storing the pixel data processed by the MPUs 51 to 56 are included.

【0102】第5の実施の形態におけるデータ処理装置
は、MPU51〜56で処理した画素データを、それぞ
れに対応する中間バッファメモリ13〜18に一時記憶
することができる。初期設定の状態では、MPU51は
SH補正処理を、MPU52は領域判別処理を、MPU
53はLog変換処理を、MPU54はMTF補正処理
を、MPU55はガンマ補正処理を、MPU56は2値
化処理をそれぞれ行なうように設定される。
The data processing device according to the fifth embodiment can temporarily store pixel data processed by the MPUs 51 to 56 in the corresponding intermediate buffer memories 13 to 18. In the initial setting state, the MPU 51 performs the SH correction process, the MPU 52 performs the region determination process,
53 is set to perform Log conversion processing, MPU 54 to perform MTF correction processing, MPU 55 to perform gamma correction processing, and MPU 56 to perform binarization processing.

【0103】中間バッファメモリ13にはSH補正処理
がなされた画素データが、中間バッファメモリ14には
領域判別処理がなされた画素データが、中間バッファメ
モリ15にはLog変換処理がなされた画素データが、
中間バッファメモリ16にはMTF補正処理がなされた
画素データが、中間バッファメモリ17にはガンマ補正
処理がなされた画素データが、中間バッファメモリ18
には2値化処理がなされた画素データがそれぞれ記憶さ
れる。
The intermediate buffer memory 13 stores the pixel data subjected to the SH correction processing, the intermediate buffer memory 14 stores the pixel data subjected to the area determination processing, and the intermediate buffer memory 15 stores the pixel data subjected to the Log conversion processing. ,
The intermediate buffer memory 16 stores the pixel data subjected to the MTF correction processing, the intermediate buffer memory 17 stores the pixel data subjected to the gamma correction processing, and the intermediate buffer memory 18.
Stores pixel data subjected to the binarization processing.

【0104】領域判別処理については、第4の実施の形
態において説明したのでここでの説明は繰り返さない。
第5の実施の形態におけるデータ処理装置は、領域判別
処理の結果により、その後の処理(Log変換、MTF
補正、ガンマ補正、2値化)を実行するMPUの負荷を
予測することにより、MPU51〜56で実行する処理
を動的に変更するようにしたものである。
Since the area discrimination processing has been described in the fourth embodiment, the description will not be repeated here.
The data processing device according to the fifth embodiment determines the subsequent processing (Log conversion, MTF
The processing executed by the MPUs 51 to 56 is dynamically changed by predicting the load of the MPU that executes the correction, the gamma correction, and the binarization.

【0105】図22は、第5の実施の形態におけるデー
タフロー制御部50で行なう処理の流れを示すフロー図
である。図を参照して、データフロー制御部9は、MP
U52で実行する領域判別処理の結果を取得する(ステ
ップS90)。ステップS90で取得した領域判別処理
の結果、処理された画素データが文字属性もしくは線画
属性であるか否かが判断される(ステップS91)。画
素データが文字属性もしくは線画属性と判断された場合
には(ステップS91でYES)、MTF補正処理の後
段の処理(ガンマ補正処理、2値化処理)を実行するM
PU55,56に対し、前段の処理を実行するよう制御
信号を出力する。すなわち、ガンマ補正処理を実行する
MPU55に対しては、ガンマ補正処理の前段の処理で
あるMTF補正処理を実行するよう制御信号が出力さ
れ、2値化処理を実行するMPU56に対しては2値化
処理の前段の処理であるガンマ補正処理を行なうよう制
御信号が出力される。
FIG. 22 is a flowchart showing a flow of processing performed by data flow control unit 50 according to the fifth embodiment. Referring to the figure, the data flow control unit 9
The result of the area determination processing executed in U52 is obtained (step S90). As a result of the region determination processing acquired in step S90, it is determined whether the processed pixel data has a character attribute or a line drawing attribute (step S91). If it is determined that the pixel data has the character attribute or the line drawing attribute (YES in step S91), a process subsequent to the MTF correction process (gamma correction process, binarization process) is executed.
A control signal is output to the PUs 55 and 56 so as to execute the preceding process. That is, a control signal is output to the MPU 55 that executes the gamma correction process so as to execute the MTF correction process that is the preceding stage of the gamma correction process, and the MPU 56 that executes the binarization process is binary. A control signal is output so as to perform a gamma correction process, which is a process preceding the conversion process.

【0106】一方、画素データが文字属性もしくは線画
属性と判断されない場合には(ステップS91でN
O)、MPU55,56に対しリセットするよう制御信
号が出力される(ステップS93)。
On the other hand, if the pixel data is not determined to have the character attribute or the line drawing attribute (N in step S91)
O), a control signal is output to the MPUs 55 and 56 to reset them (step S93).

【0107】その後、すべての画素データの処理が終了
したか否かが判断され(ステップS94)、未処理の画
素データがある場合には上述の処理が繰返され、すべて
の画素データについて処理が終了した場合には、処理を
終了する。
Thereafter, it is determined whether or not processing of all pixel data has been completed (step S94). If there is unprocessed pixel data, the above processing is repeated, and processing has been completed for all pixel data. If so, the process ends.

【0108】図23は、第5の実施の形態におけるMP
U51〜56で行なわれる処理の流れを示すフロー図で
ある。図を参照して、MPU55,56では、データフ
ロー制御部40が出力する制御信号が受信される(ステ
ップS101)。ここで受信する制御信号は、前段の処
理の実行を示す制御信号もしくはリセットを示す制御信
号のいずれかである。
FIG. 23 shows the MP in the fifth embodiment.
It is a flowchart which shows the flow of a process performed by U51-56. Referring to the figure, the MPUs 55 and 56 receive a control signal output by the data flow control unit 40 (Step S101). The control signal received here is either a control signal indicating execution of the preceding process or a control signal indicating reset.

【0109】受信した制御信号がリセットを示す制御信
号でない場合には(ステップS102でNO)、受信し
た制御信号は前段の処理の実行を示す制御信号であるの
で、MPU55,56はデータフロー制御部50内のR
OMから前段の処理プログラムをロードし、MTF補正
処理を実行する(ステップS84)。MPU55はMT
F補正処理プログラムをロードし、MPU56はガンマ
補正処理プログラムをロードする。一方、受信した制御
信号がリセットを示す制御信号の場合には(ステップS
102でYES)、初期設定の処理を実行するようリセ
ット処理をする(ステップS103)。
If the received control signal is not a control signal indicating reset (NO in step S102), the received control signal is a control signal indicating execution of the preceding process, so that MPUs 55 and 56 perform data flow control. R in 50
The processing program of the preceding stage is loaded from the OM, and the MTF correction processing is executed (step S84). MPU55 is MT
The F correction processing program is loaded, and the MPU 56 loads the gamma correction processing program. On the other hand, if the received control signal is a control signal indicating reset (step S
If YES in step 102, a reset process is performed to execute the process of the initial setting (step S103).

【0110】処理が終了すると、処理済みの画素データ
を出力する(ステップS106)。MPU55、56
は、MTF補正処理を実行している場合は画素データを
中間バッファメモリ16に書き込み、ガンマ補正処理を
実行している場合は画素データを中間バッファメモリ1
7に書き込み、2値化処理を実行している場合は画素デ
ータを中間バッファメモリ18に書き込む。
When the processing is completed, the processed pixel data is output (step S106). MPU 55, 56
Indicates that the pixel data is written into the intermediate buffer memory 16 when the MTF correction processing is being executed, and the pixel data is written into the intermediate buffer memory 1 when the gamma correction processing is being executed.
7 and the pixel data is written to the intermediate buffer memory 18 when the binarization process is executed.

【0111】次に、MPU55,56で処理を実行した
画素データのアドレスとその画素データの処理に要した
処理時間もしくは処理速度が状態レジスタ10に書込さ
れる(ステップS106)。その後、すべての画素デー
タについて処理が終了したかい否かの判断がなされ(ス
テップS107)、未処理の画素データがある場合には
上述の処理が繰り返され、すべての画素データに対して
処理が終了した場合には処理を終了する。
Next, the address of the pixel data processed by the MPUs 55 and 56 and the processing time or processing speed required for processing the pixel data are written in the status register 10 (step S106). Thereafter, it is determined whether or not the processing has been completed for all pixel data (step S107). If there is unprocessed pixel data, the above processing is repeated, and the processing is completed for all pixel data. If so, the process ends.

【0112】本実施の形態におけるデータ処理装置は、
MPU51〜56で初期設定の処理プログラムがロード
されて、画素データごとに処理が実行される。MPU5
5とMPU56については、初めは初期設定の処理プロ
グラムがデータフロー制御部50内のROMよりロード
されて実行されるが、データフロー制御部50より前段
の処理の実行を指示する制御信号を受信した場合には、
前段の処理のプログラムがデータフロー制御部50内の
ROMよりロードされて、そのプログラムが実行され
る。
The data processing device according to the present embodiment
The MPUs 51 to 56 load an initial setting processing program and execute processing for each pixel data. MPU5
5 and the MPU 56, initially, the processing program of the initial setting is loaded from the ROM in the data flow control unit 50 and executed, but the control signal instructing the execution of the processing at the preceding stage is received from the data flow control unit 50. in case of,
The program for the preceding process is loaded from the ROM in the data flow control unit 50, and the program is executed.

【0113】図24は、データフロー制御部50でMP
U52より画素データが文字属性もしくは線画属性と判
断された場合に、MPU51〜56で行なう処理を示す
図である。図を参照して、MPU55ではMTF補正処
理が実行され、MPU56ではガンマ補正処理が実行さ
れる。このとき、MPU55では、処理対象となる画素
データは中間バッファメモリ15より読出され、MTF
補正処理後のデータは中間バッファメモリ16に書込ま
れる。MPU56では、処理対象の画素データは中間バ
ッファメモリ16より読出され、ガンマ補正処理後の画
素データは中間バッファメモリ17に書込まれる。
FIG. 24 shows that the data flow control unit 50
FIG. 19 is a diagram illustrating processing performed by MPUs 51 to 56 when pixel data is determined to be a character attribute or a line drawing attribute from U52. Referring to the figure, MPU 55 executes MTF correction processing, and MPU 56 executes gamma correction processing. At this time, in the MPU 55, the pixel data to be processed is read out from the intermediate buffer memory 15, and the MTF 55
The data after the correction processing is written to the intermediate buffer memory 16. In the MPU 56, the pixel data to be processed is read from the intermediate buffer memory 16, and the pixel data after the gamma correction processing is written to the intermediate buffer memory 17.

【0114】このように、第5の実施の形態におけるデ
ータ処理装置は、領域判別処理を行なうMPU52より
画素データが文字属性もしくは線画属性か否かの判断が
なされその判別結果がデータフロー制御部50に送られ
る。データフロー制御部50では、MPU52より送ら
れた判別結果をもとに、画素データが文字もしくは線画
属性と判断された場合には、MPU55でMTF補正処
理を、MPU56でガンマ補正処理を実行するようにM
PU55およびMPU56に対して制御信号を出力しす
る。画素データが文字属性もしくは線画属性でないと判
断された場合には、MPU55とMPU56に対してリ
セットを示す信号が出力され、MPU55ではガンマ補
正処理が、MPU56では2値化処理がそれぞれ行なわ
れる。
As described above, in the data processing apparatus according to the fifth embodiment, the MPU 52 that performs the area determination processing determines whether the pixel data has the character attribute or the line drawing attribute, and the determination result is the data flow control unit 50. Sent to When the pixel data is determined to be a character or a line drawing attribute based on the determination result sent from the MPU 52, the data flow control unit 50 executes the MTF correction processing by the MPU 55 and the gamma correction processing by the MPU 56. To M
A control signal is output to the PU 55 and the MPU 56. If it is determined that the pixel data is not a character attribute or a line drawing attribute, a signal indicating reset is output to the MPU 55 and the MPU 56, and the MPU 55 performs gamma correction processing and the MPU 56 performs binarization processing.

【0115】以上説明したとおり、第5の実施の形態に
おけるデータ処理装置は、処理対象となる画素データの
属性を判断することにより、その後の処理を実行するM
PUの負荷を予測し、予測された負荷に応じて各MPU
で実行する処理を動的に変化するようにしたので、デー
タ処理装置全体としてデータ処理速度を向上させること
ができる。
As described above, the data processing device according to the fifth embodiment determines the attribute of the pixel data to be processed, and executes the subsequent processing.
PU load is predicted, and each MPU according to the predicted load.
Since the processing to be executed is dynamically changed, the data processing speed of the entire data processing apparatus can be improved.

【0116】また、各MPUで処理を実行した結果を記
憶する中間バッファメモリ13〜18を設けたので、非
同期で処理を実行するMPU51〜56の間で異なる処
理速度の差を吸収することができ、かつ、MPU51〜
56で実行する処理の内容に変更が生じたとしても、中
間バッファメモリ13〜18に記憶される画素データの
種類は変わらないので、MPU51〜56で実行する処
理の内容を容易に変更することができる。
Further, since the intermediate buffer memories 13 to 18 for storing the results of the processing executed by each MPU are provided, it is possible to absorb the difference in the different processing speed among the MPUs 51 to 56 which execute the processing asynchronously. , And MPU51-
Even if there is a change in the content of the process executed in 56, the type of pixel data stored in the intermediate buffer memories 13 to 18 does not change, so that the content of the process executed in the MPUs 51 to 56 can be easily changed. it can.

【0117】[第6の実施の形態]図25は、第6の実
施の形態におけるデータ処理装置の概略を示すブロック
図である。図を参照して、第6の実施の形態におけるデ
ータ処理装置は、画像データを入力する画像入力装置1
と、入力された画像データを画素データごとに各種の処
理を行なうMPU61〜65と、処理された画像データ
を紙などの記録媒体に出力する画像出力装置8と、画像
入力装置1、MPU61〜65、画像出力装置8の動作
状態を監視する状態レジスタ10と、状態レジスタ10
を参照してMPU61〜65の動作を制御するデータフ
ロー制御部60と、画像入力装置1で入力された画像デ
ータを一時記憶する入力バッファメモリ11と、画像出
力装置から出力される画像データを一時記憶する出力バ
ッファメモリ12と、各MPU61〜65で処理した画
素データを記憶する中間バッファメモリ13〜17とを
含む。
[Sixth Embodiment] FIG. 25 is a block diagram schematically showing a data processing apparatus according to a sixth embodiment. Referring to the figure, a data processing device according to a sixth embodiment is an image input device 1 for inputting image data.
MPUs 61 to 65 for performing various processes on the input image data for each pixel data, an image output device 8 for outputting the processed image data to a recording medium such as paper, an image input device 1, and MPUs 61 to 65 , A status register 10 for monitoring the operation status of the image output device 8, and a status register 10
, A data flow control unit 60 for controlling the operation of the MPUs 61 to 65, an input buffer memory 11 for temporarily storing image data input by the image input device 1, and a temporary storage for image data output from the image output device. An output buffer memory 12 for storing the image data and intermediate buffer memories 13 to 17 for storing the pixel data processed by the MPUs 61 to 65 are included.

【0118】第6の実施の形態におけるデータ処理装置
は、MPU61〜65で処理した画素データを、それぞ
れに対応する中間バッファメモリ13〜17に一時記憶
することができる。初期設定の状態では、MPU61は
SH補正処理を、MPU62はLog変換処理を、MP
U63はMTF補正処理を、MPU64はガンマ補正処
理を、MPU65は2値化処理をそれぞれ行なうように
設定される。
The data processing device according to the sixth embodiment can temporarily store the pixel data processed by the MPUs 61 to 65 in the corresponding intermediate buffer memories 13 to 17, respectively. In the initial setting state, the MPU 61 performs SH correction processing, the MPU 62 performs Log conversion processing,
U63 is set to perform MTF correction processing, MPU64 is to perform gamma correction processing, and MPU65 is to be set to perform binarization processing.

【0119】中間バッファメモリ13にはSH補正処理
がなされた画素データが、中間バッファメモリ14には
Log変換処理がなされた画素データが、中間バッファ
メモリ15にはMTF補正処理がなされた画素データ
が、中間バッファメモリ16にはガンマ補正処理がなさ
れた画素データが、中間バッファメモリ17には2値化
処理がなされた画素データがそれぞれ記憶される。
The intermediate buffer memory 13 stores the pixel data subjected to the SH correction processing, the intermediate buffer memory 14 stores the pixel data subjected to the Log conversion processing, and the intermediate buffer memory 15 stores the pixel data subjected to the MTF correction processing. The intermediate buffer memory 16 stores gamma-corrected pixel data, and the intermediate buffer memory 17 stores binarized pixel data.

【0120】図26は、第6の実施の形態におけるMP
U61〜65で行なわれる処理の流れを示すフロー図で
ある。説明を簡単にするためデータを受渡しするMPU
61とMPU62における処理を同時に説明する形で示
してある。実際には、MPU61とMPU62とは非同
期で処理を実行する。
FIG. 26 shows the MP in the sixth embodiment.
It is a flowchart which shows the flow of a process performed in U61-65. MPU that passes data to simplify explanation
The processing in the MPU 61 and the MPU 62 is shown in a form for simultaneous explanation. Actually, the MPU 61 and the MPU 62 execute processing asynchronously.

【0121】図26を参照して、MPU61は、SH補
正処理(処理A)を画素データごとに実行する(ステッ
プS111)。このとき、データフロー制御部60で
は、MPU61とMPU62との負荷を監視しており、
MPU61で行なうSH補正処理の負荷と、MPU62
で行なうLog変換処理(処理B)の負荷を比較し(ス
テップS112)、SH補正処理の負荷がLog変換処
理の負荷より小さいときは、中間バッファメモリ13に
残された記憶容量があるか否かが判断される(ステップ
S113)。中間バッファメモリ13にメモリ容量が残
されている場合には(ステップS113でYES)、M
PU61で実行したSH補正処理済の画素データが中間
バッファメモリ13に書込まれる(ステップS11
4)。中間バッファメモリ13に記憶された画素データ
は、次の処理Log変換処理を行なうMPU62で読込
まれ(ステップS115)、MPU62でLog変換処
理が行なわれる(ステップS116)。
Referring to FIG. 26, MPU 61 executes SH correction processing (processing A) for each pixel data (step S111). At this time, the data flow control unit 60 monitors the load on the MPU 61 and the MPU 62,
The load of the SH correction processing performed by the MPU 61 and the MPU 62
The load of the log conversion processing (processing B) performed in step (S112) is compared (step S112). Is determined (step S113). If the memory capacity is left in the intermediate buffer memory 13 (YES in step S113), M
The pixel data subjected to the SH correction processing executed by the PU 61 is written in the intermediate buffer memory 13 (step S11).
4). The pixel data stored in the intermediate buffer memory 13 is read by the MPU 62 which performs the next log conversion process (step S115), and the MPU 62 performs the log conversion process (step S116).

【0122】一方、SH補正処理の負荷がLog変換処
理の負荷より小さくない場合(ステップS112でN
O)には、MPU61で実行したSH補正処理後の画素
データはMPU62に直接引き渡され、MPU62でL
og変換処理が施される(ステップS116)。
On the other hand, when the load of the SH correction processing is not smaller than the load of the Log conversion processing (N in step S112)
In O), the pixel data after the SH correction processing executed by the MPU 61 is directly delivered to the MPU 62 and
An og conversion process is performed (step S116).

【0123】次に、1頁分のすべての画素データが処理
されたか否かの判断がなされ(ステップS117)、未
処理の画素データがある場合は上述の処理が繰返され、
すべての画素データの処理が終了した場合には、中間バ
ッファメモリ13にMPU61で実行したSH補正処理
済の画素データが記憶されているか否かが判断される
(ステップS118)。中間バッファメモリ13に、S
H補正処理済の画素データが記憶されている場合は(ス
テップS118でNO)、データフロー制御部60は、
MPU61に対してLog変換処理の実行を指示する制
御信号を出力し、MPU2はこの制御信号の受信に応答
してデータフロー制御部60内のROMよりLog変換
処理プログラムをロードしてLog変換処理を実行する
(ステップS119とステップS120)。このとき、
MPU61とMPU62とで同じLog変換処理が並列
して行なわれることになる。
Next, it is determined whether all the pixel data for one page has been processed (step S117). If there is any unprocessed pixel data, the above processing is repeated.
When the processing of all the pixel data is completed, it is determined whether or not the pixel data subjected to the SH correction processing executed by the MPU 61 is stored in the intermediate buffer memory 13 (step S118). S in the intermediate buffer memory 13
If the H-corrected pixel data is stored (NO in step S118), the data flow control unit 60
The MPU 2 outputs a control signal instructing the MPU 61 to execute the log conversion process, and the MPU 2 loads the log conversion process program from the ROM in the data flow control unit 60 in response to the reception of the control signal to execute the log conversion process. Execute (Steps S119 and S120). At this time,
The same Log conversion processing is performed in parallel by the MPU 61 and the MPU 62.

【0124】MPU61では、中間バッファメモリ13
より画素データを読出し(ステップS119)、Log
変換処理を実行した後(ステップS120)、中間バッ
ファメモリ14にLog変換処理後の画素データを記憶
する(ステップS121)。
In the MPU 61, the intermediate buffer memory 13
The pixel data is read out (step S119), and the
After executing the conversion process (Step S120), the pixel data after the Log conversion process is stored in the intermediate buffer memory 14 (Step S121).

【0125】MPU61で行なうLog変換処理と並行
して、MPU62で中間バッファメモリ13より画素デ
ータが読込まれ(ステップS122)、Log変換処理
を行なった後(ステップS123)、Log変換処理後
の画素データが中間バッファメモリ14に書込まれる
(ステップS124)。
In parallel with the Log conversion processing performed by the MPU 61, the MPU 62 reads pixel data from the intermediate buffer memory 13 (Step S122), performs the Log conversion processing (Step S123), and executes the pixel data after the Log conversion processing. Is written into the intermediate buffer memory 14 (step S124).

【0126】このようにMPU61とMPU62で同じ
Log変換処理が並列して実行され、この並列処理は中
間バッファメモリ13に記憶されている画素データがな
くなるまで繰返される。
As described above, the same Log conversion processing is executed in parallel by the MPU 61 and the MPU 62, and this parallel processing is repeated until there is no more pixel data stored in the intermediate buffer memory 13.

【0127】図27は、MPU61の負荷がMPU62
の負荷と等しいかまたは大きい場合のMPU61とMP
U62との間のデータの受渡しを説明するための図であ
る。図を参照して、MPU61でSH補正処理を施した
画素データは中間バッファメモリ13に記憶されること
なく直接MPU2に引き渡される。これは、MPU61
の方が負荷が大きいためMPU61で1つの画素データ
について処理を終了した時には、MPU62では処理を
終了して待ちの状態にあるからである。
FIG. 27 shows that the load of the MPU 61 is
61 and MP when the load is equal to or greater than
FIG. 14 is a diagram for explaining data transfer with U62. Referring to the figure, pixel data subjected to SH correction processing by MPU 61 is directly delivered to MPU 2 without being stored in intermediate buffer memory 13. This is MPU61
This is because the load is greater, and when the processing for one pixel data is completed in the MPU 61, the processing is completed in the MPU 62 and the MPU 62 is in a waiting state.

【0128】図28は、MPU61の負荷がMPU62
の負荷より小さい場合にMPU1とMPU2の間でデー
タの引き渡しを説明するための図である。MPU1でS
H補正処理が施された画素データはMPU2に直接引き
渡されることなく、中間バッファメモリ13に記憶され
る。このようにすることで、負荷の小さいSH補正処理
を行なうMPU61は、MPU62の処理と同期をとる
ことなくSH補正処理を実行することができる。
FIG. 28 shows that the load of the MPU 61 is
FIG. 6 is a diagram for explaining data transfer between MPU1 and MPU2 when the load is smaller than the load of FIG. S by MPU1
The pixel data subjected to the H correction processing is stored in the intermediate buffer memory 13 without being directly delivered to the MPU 2. By doing so, the MPU 61 that performs the SH correction processing with a small load can execute the SH correction processing without synchronizing with the processing of the MPU 62.

【0129】図29は、MPU61でSH補正処理が終
了し、中間バッファメモリ13にSH補正処理後の画素
データが記憶されている場合の、MPU61とMPU6
2で実行する処理と画素データの流れを説明するための
図である。図を参照して、上述のごとく、MPU61で
SH補正処理が終了し、中間バッファメモリ13にSH
補正処理後の画素データが記憶されている場合には、M
PU61とMPU62では同じLog変換処理が並列し
て実行される。MPU61では、中間バッファメモリ1
3よりデータが読出され、Log変換処理が施された
後、処理後の画素データが中間バッファメモリ14に書
込まれる。MPU2では中間バッファメモリ13よりデ
ータが読出され、Log変換処理が施された後、処理後
のデータは次のMPUへ引き渡される。
FIG. 29 shows the MPU 61 and the MPU 6 when the SH correction processing is completed in the MPU 61 and the pixel data after the SH correction processing is stored in the intermediate buffer memory 13.
FIG. 3 is a diagram for explaining a process executed in Step 2 and a flow of pixel data. Referring to the figure, as described above, the MPU 61 completes the SH correction processing, and stores the SH in the intermediate buffer memory 13.
If the pixel data after the correction processing is stored, M
The PU 61 and the MPU 62 execute the same Log conversion processing in parallel. In the MPU 61, the intermediate buffer memory 1
3, the pixel data after the processing is written into the intermediate buffer memory 14 after the data is read out and subjected to the log conversion processing. In the MPU 2, data is read from the intermediate buffer memory 13, subjected to Log conversion processing, and then the processed data is transferred to the next MPU.

【0130】以上説明したとおり、第6の実施の形態に
おけるデータ処理装置では、MPU61〜65ごとに処
理済の画素データを記憶する中間バッファメモリ13〜
17を設け、後段の処理を実行するMPUの負荷が大き
い場合は、処理済の画素データを後段の処理に直接引き
渡すことなく、中間バッファメモリ13〜17に記憶す
るようにした。そして、前段の処理がすべての画素デー
タに対して終了してもなお画素データが中間バッファメ
モリ13〜17にある場合には、中間バッファメモリ1
3〜17に記憶されている画素データに対して2つのM
PUで後段の処理を並列して実行するようにしたので、
前段の処理ほど速く処理を終了することができ、データ
処理装置全体としてデータ処理の速度を速めることがで
きる。また、前段の処理ほど速く処理を終了することが
できるので、新たな画像データ、たとえば次の頁の画像
データを速く入力することができる。
As described above, in the data processing device according to the sixth embodiment, the intermediate buffer memories 13 to 13 that store the processed pixel data for each of the MPUs 61 to 65
17 is provided, and when the load of the MPU executing the subsequent processing is heavy, the processed pixel data is stored in the intermediate buffer memories 13 to 17 without being directly transferred to the subsequent processing. If the pixel data still exists in the intermediate buffer memories 13 to 17 even if the preceding process is completed for all the pixel data, the intermediate buffer memory 1
2 to the pixel data stored in 3 to 17
Since the subsequent processing is executed in parallel by PU,
The earlier the processing, the faster the processing can be completed, and the speed of data processing as a whole of the data processing apparatus can be increased. In addition, since the processing can be completed earlier in the earlier processing, new image data, for example, image data of the next page can be input faster.

【0131】さらに、各MPUで処理を実行した結果を
記憶する中間バッファメモリ13〜17を設けたので、
非同期で処理を実行するMPU2〜7の間で異なる処理
速度の差を吸収することができ、かつ、MPU2〜7で
実行する処理の内容に変更が生じたとしても、中間バッ
ファメモリ13〜18に記憶される画素データの種類は
変わらないので、MPU61〜65で実行する処理の内
容を容易に変更することができる。
Further, the intermediate buffer memories 13 to 17 for storing the results of the processing executed by each MPU are provided.
The difference in processing speed between the MPUs 2 to 7 that execute processing asynchronously can be absorbed, and even if the content of the processing to be executed by the MPUs 2 to 7 is changed, the intermediate buffer memories 13 to 18 can be used. Since the type of the stored pixel data does not change, the contents of the processing executed by the MPUs 61 to 65 can be easily changed.

【0132】なお、上述したMPUを複数の装置に置換
えた構成としてもよい。また、上述したデータフロー制
御部、状態レジスタおよび各MPUで行なわれる処理、
たとえば、データフロー制御部については図3、図1
0、図14、図18、図22に示した処理手順、MPU
については図6、図11、図15、図19、図23、図
26に示した処理手順をコンピュータに実行させるため
のプログラムで記述することが可能である。データフロ
ー制御部、状態レジスタおよび各MPUで行なわれる処
理をコンピュータに実行させるためのプログラムで記述
した場合には、そのプログラムが記録されたコンピュー
タで読取り可能な記録媒体としても発明を捉えることが
できる。
It is to be noted that the above-described MPU may be replaced with a plurality of devices. Further, the processing performed by the data flow control unit, the status register, and each MPU described above,
For example, the data flow control unit is shown in FIGS.
0, the processing procedure shown in FIG. 14, FIG. 18, and FIG.
Can be described by a program for causing a computer to execute the processing procedures shown in FIGS. 6, 11, 15, 19, 23, and 26. When the processing performed by the data flow control unit, the status register, and each MPU is described by a program for causing a computer to execute the invention, the invention can be regarded as a computer-readable recording medium on which the program is recorded. .

【0133】今回開示された実施の形態はすべての点で
例示であって制限的なものではないと考えられるべきで
ある。本発明の範囲は上記した説明ではなくて特許請求
の範囲によって示され、特許請求の範囲と均等の意味お
よび範囲内でのすべての変更が含まれることが意図され
る。
The embodiments disclosed this time are to be considered in all respects as illustrative and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

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

【図1】第1の実施の形態におけるデータ処理装置の概
略を示すブロック図である。
FIG. 1 is a block diagram schematically illustrating a data processing device according to a first embodiment.

【図2】前段の処理を実行するMPUと後段の処理を実
行するMPUとの間で画素データの受渡しの手順を説明
するための図である。
FIG. 2 is a diagram for explaining a procedure of transferring pixel data between an MPU executing a preceding process and an MPU executing a subsequent process.

【図3】第1の実施の形態におけるデータフロー制御部
9で行なわれる処理の流れを示すフロー図である。
FIG. 3 is a flowchart showing a flow of processing performed by a data flow control unit 9 according to the first embodiment.

【図4】MPUで処理する画素データのアドレスとその
差を説明するための図である。
FIG. 4 is a diagram for explaining addresses of pixel data processed by the MPU and differences between the addresses.

【図5】MTF補正処理に用いられる画素データを説明
するための図である。
FIG. 5 is a diagram for explaining pixel data used for MTF correction processing.

【図6】第1の実施の形態におけるMPU2〜6で行な
われる処理の流れを示すフロー図である。
FIG. 6 is a flowchart showing a flow of processing performed by MPUs 2 to 6 in the first embodiment.

【図7】データフロー制御部9で負荷が大きいMPUが
検出されたときのMPU2〜6で行なわれる処理を示す
第1のブロック図である。
FIG. 7 is a first block diagram illustrating processing performed by MPUs 2 to 6 when an MPU having a large load is detected by data flow control unit 9;

【図8】データフロー制御部9で負荷が大きいMPUが
検出されたときのMPU2〜6で行なわれる処理を示す
第2のブロック図である。
FIG. 8 is a second block diagram illustrating processing performed by MPUs 2 to 6 when an MPU having a large load is detected by data flow control unit 9;

【図9】第2の実施の形態におけるデータ処理装置の概
略を示すブロック図である。
FIG. 9 is a block diagram schematically illustrating a data processing device according to a second embodiment.

【図10】第2の実施の形態におけるデータフロー制御
部20で行なわれる処理の流れを示すフロー図である。
FIG. 10 is a flowchart showing a flow of processing performed by a data flow control unit 20 according to the second embodiment.

【図11】第2の実施の形態におけるMPU26で行な
われる処理の流れを示すフロー図である。
FIG. 11 is a flowchart showing a flow of processing performed by an MPU 26 according to the second embodiment.

【図12】第2の実施の形態におけるデータフロー制御
部20で負荷が大きいMPUが検出されたときのMPU
21〜26で行なわれる処理を示すブロック図である。
FIG. 12 is a diagram illustrating an MPU when a large load MPU is detected by the data flow control unit 20 according to the second embodiment;
It is a block diagram which shows the process performed in 21-26.

【図13】第3の実施の形態におけるデータ処理装置の
概略を示すブロック図である。
FIG. 13 is a block diagram schematically illustrating a data processing device according to a third embodiment.

【図14】第3の実施の形態におけるデータフロー制御
部30で行なわれる処理の流れを示すフロー図である。
FIG. 14 is a flowchart showing a flow of processing performed by a data flow control unit 30 according to the third embodiment.

【図15】第3の実施の形態におけるMPU31〜35
で行なわれる処理の流れを示すフロー図である。
FIG. 15 illustrates MPUs 31 to 35 according to the third embodiment.
FIG. 6 is a flowchart showing a flow of processing performed in step S1.

【図16】第3の実施の形態におけるデータフロー制御
部30で負荷が大きいMPUが検出されたときのMPU
31〜35で行なわれる処理の内容を示すブロック図で
ある。
FIG. 16 is a diagram illustrating an MPU when a large load MPU is detected by the data flow control unit 30 according to the third embodiment.
It is a block diagram which shows the content of the process performed in 31-35.

【図17】第4の実施の形態におけるデータ処理装置の
概略を示すブロック図である。
FIG. 17 is a block diagram schematically illustrating a data processing device according to a fourth embodiment.

【図18】第4の実施の形態におけるデータフロー制御
部40で行なわれる処理の流れを示すフロー図である。
FIG. 18 is a flowchart showing a flow of processing performed by a data flow control unit 40 according to the fourth embodiment.

【図19】第4の実施の形態におけるMPU46で行な
われる処理の流れを示すフロー図である。
FIG. 19 is a flowchart showing the flow of processing performed by MPU in the fourth embodiment.

【図20】第4の実施の形態におけるデータフロー制御
部40で負荷が大きいMPUが検出されたときのMPU
46で行なわれる処理を示すブロック図である。
FIG. 20 is a diagram illustrating an MPU when an MPU having a large load is detected by the data flow control unit 40 according to the fourth embodiment;
It is a block diagram which shows the process performed in 46.

【図21】第5の実施の形態におけるデータ処理装置の
概略を示すブロック図である。
FIG. 21 is a block diagram schematically illustrating a data processing device according to a fifth embodiment.

【図22】第5の実施の形態におけるデータフロー制御
部50で行なわれる処理の流れを示すフロー図である。
FIG. 22 is a flowchart showing a flow of processing performed by a data flow control unit 50 according to the fifth embodiment.

【図23】第5の実施の形態におけるMPU51〜56
で行なわれる処理の流れを示すフロー図である。
FIG. 23 shows MPUs 51 to 56 according to the fifth embodiment.
FIG. 6 is a flowchart showing a flow of processing performed in step S1.

【図24】第5の実施の形態におけるデータフロー制御
部50で負荷が大きいMPUが検出されたときのMPU
51〜56で行なわれる処理を示すブロック図である。
FIG. 24 is a diagram illustrating an MPU when a large load MPU is detected by the data flow control unit 50 according to the fifth embodiment.
It is a block diagram which shows the process performed in 51-56.

【図25】第6の実施の形態におけるデータ処理装置の
概略を示すブロック図である。
FIG. 25 is a block diagram schematically illustrating a data processing device according to a sixth embodiment.

【図26】第6の実施の形態におけるMPU61〜65
で行なわれる処理とデータの受渡しを説明するためのフ
ロー図である。
FIG. 26 shows MPUs 61 to 65 in the sixth embodiment.
FIG. 5 is a flowchart for explaining the processing performed in step (1) and the transfer of data.

【図27】第6の実施の形態におけるMPU61の負荷
がMPU62の負荷と等しいかもしくは大きいときのデ
ータの引き渡しを説明するためのブロック図である。
FIG. 27 is a block diagram for explaining data transfer when the load on the MPU 61 is equal to or greater than the load on the MPU 62 according to the sixth embodiment.

【図28】第6の実施の形態におけるMPU61の負荷
がMPU62の負荷より小さいときのデータの引き渡し
を説明するためのブロック図である。
FIG. 28 is a block diagram for explaining data transfer when the load on the MPU 61 is smaller than the load on the MPU 62 in the sixth embodiment.

【図29】第6の実施の形態におけるMPU61でSH
補正処理が終了した後、中間バッファメモリ13にSH
補正処理済の画素データが記憶されている場合のMPU
61とMPU62とで行なう処理とデータの引き渡しを
説明するためのブロック図である。
FIG. 29 shows how the MPU 61 according to the sixth embodiment performs SH operation.
After the correction process is completed, the intermediate buffer memory 13
MPU when corrected pixel data is stored
FIG. 6 is a block diagram for explaining processing performed by the MPU 61 and MPU 62 and data transfer.

【図30】従来のデータ処理装置の概略を示すブロック
図である。
FIG. 30 is a block diagram schematically showing a conventional data processing device.

【図31】複数の処理ブロックで行なわれる非同期処理
を説明するためのブロック図である。
FIG. 31 is a block diagram for explaining asynchronous processing performed by a plurality of processing blocks.

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

1 画像入力装置 2〜6 MPU 8 画像出力装置 9 データフロー制御部 10 状態レジスタ 11 入力バッファメモリ 12 出力バッファメモリ 13 画像データバス 14,15 システムバス DESCRIPTION OF SYMBOLS 1 Image input device 2-6 MPU 8 Image output device 9 Data flow control part 10 Status register 11 Input buffer memory 12 Output buffer memory 13 Image data bus 14, 15 System bus

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 シリアルに入力される複数の入力データ
に一連の複数の処理を非同期で施すデータ処理システム
であって、 前記複数の処理のそれぞれを実行する複数の処理部と、 前記複数の処理のそれぞれが前記複数の入力データのど
こまで進んだかを監視し、前記複数の処理のうち進行が
遅れている遅延処理を検出する状態監視手段と、 前記状態監視手段の検出結果に応じて、前記複数の処理
部で実行する処理を切換える第1の動作制御手段とを備
えた、データ処理システム。
1. A data processing system for asynchronously performing a series of a plurality of processes on a plurality of serially input data, a plurality of processing units executing each of the plurality of processes, and the plurality of processes. State monitoring means for monitoring how far each of the plurality of input data has progressed, and detecting a delay processing of which progress is delayed among the plurality of processing; and And a first operation control means for switching a process to be executed by the processing unit.
【請求項2】 前記第1の動作制御手段は、前記状態監
視手段で検出された前記停滞処理の直前の直前処理を実
行する前記処理部に対して、実行する処理を前記直前処
理と前記遅延処理との2つの処理に切換えることを特徴
とする、請求項1に記載のデータ処理システム。
2. The method according to claim 1, wherein the first operation control means executes processing immediately before the stagnation processing detected by the state monitoring means and executes the processing immediately before the stagnation processing. 2. The data processing system according to claim 1, wherein the processing is switched to two processings.
【請求項3】 前記第1の動作制御手段は、前記状態監
視手段で検出された前記停滞処理の直後の直後処理を実
行する前記処理部に対して、実行する処理を前記遅延処
理と前記直後処理との2つの処理に切換えることを特徴
とする、請求項1に記載のデータ処理システム。
3. The method according to claim 1, wherein the first operation control means performs the processing to be executed by the delay processing and the immediately after processing on the processing unit which executes the processing immediately after the stagnation processing detected by the state monitoring means. 2. The data processing system according to claim 1, wherein the processing is switched to two processings.
【請求項4】 前記複数の処理部それぞれで処理が実行
された結果を記憶する記憶手段をさらに備え、 前記第1の動作制御手段は、前記状態監視手段で検出さ
れた前記遅延処理より後段の処理を実行する前記処理部
に対して、実行する処理を前記停滞処理に切換えること
を特徴とする、請求項1に記載のデータ処理システム。
4. A storage unit for storing a result of the processing executed by each of the plurality of processing units, wherein the first operation control unit is provided at a stage subsequent to the delay processing detected by the state monitoring unit. The data processing system according to claim 1, wherein the processing to be executed is switched to the stagnation processing for the processing unit that executes the processing.
【請求項5】 前記複数の処理部は、前記複数の処理の
数より多くあり、前記第1の動作制御手段により処理の
切換え前には前記複数の処理のいずれも実行しない予備
処理部を少なくとも1つ含み、 前記第1の動作制御手段は、前記状態監視手段の検出結
果に応じて、前記予備処理部に対して、前記遅延処理を
実行するように処理を切換えることを特徴とする、請求
項1に記載のデータ処理システム。
5. The plurality of processing units are more than the number of the plurality of processes, and at least a preliminary processing unit that does not execute any of the plurality of processes before the switching of the process by the first operation control unit. Wherein the first operation control means switches the pre-processing unit to execute the delay processing in accordance with a detection result of the state monitoring means. Item 2. The data processing system according to Item 1.
【請求項6】 前記入力データは、前記入力データの順
番を示すアドレスを有し、 前記状態監視手段は、前記複数の処理部それぞれで処理
する前記入力データのアドレスを検出し、前記複数の処
理部で隣接する処理部間の前記アドレスの差を検出し、 検出した前記アドレスの差が所定の値より小さくなった
とき、前記隣接する処理部の前段の処理部で実行する処
理を前記遅延処理として検出することを特徴とする、請
求項1から5のいずれかに記載のデータ処理システム。
6. The input data has an address indicating an order of the input data, the state monitoring means detects an address of the input data to be processed by each of the plurality of processing units, and Detecting a difference in the address between adjacent processing units in a unit, and, when the detected difference in the address becomes smaller than a predetermined value, performing a process to be executed by a processing unit in a preceding stage of the adjacent processing unit; The data processing system according to any one of claims 1 to 5, wherein the data is detected as:
【請求項7】 前記状態監視手段は、前記複数の処理部
それぞれで処理した前記入力データの数をカウントし、
前記複数の処理部で隣接する処理部間のカウント値の差
を検出し、 検出した前記カウント値の差が所定の値より小さくなっ
たとき、前記隣接する処理部の前段の処理部で実行する
処理を前記遅延処理として検出することを特徴とする、
請求項1から5のいずれかに記載のデータ処理システ
ム。
7. The state monitoring means counts the number of the input data processed by each of the plurality of processing units,
The plurality of processing units detect a difference in the count value between adjacent processing units, and when the detected difference in the count values is smaller than a predetermined value, the difference is executed by a processing unit preceding the adjacent processing unit. Detecting a process as the delay process,
The data processing system according to claim 1.
【請求項8】 シリアルに入力される複数の入力データ
に一連の複数の処理を非同期で施すデータ処理システム
であって、 前記複数の処理のそれぞれを実行する複数の処理部と、 前記複数の処理は、前記入力データの属性を検出する属
性判別処理を含み、 前記属性判別処理の結果に応じて、前記複数の処理部で
実行する処理を切換える第2の動作制御手段とを備え
た、データ処理システム。
8. A data processing system for asynchronously performing a series of a plurality of processes on a plurality of serially input data, a plurality of processing units executing each of the plurality of processes, and the plurality of processes. Includes an attribute determination process of detecting an attribute of the input data, and a second operation control unit that switches a process to be executed by the plurality of processing units in accordance with a result of the attribute determination process. system.
【請求項9】 前記第2の動作制御手段は、前記複数の
処理の負荷を予測する予測手段を含み、 前記予測手段により負荷が大と予測された負荷処理の直
前の直前処理を実行する処理部に対して、実行する処理
を前記直前処理と前記負荷処理との2つの処理に切換え
ることを特徴とする、請求項8に記載のデータ処理シス
テム。
9. The second operation control unit includes a prediction unit that predicts a load of the plurality of processes, and executes a process immediately before a load process whose load is predicted to be large by the prediction unit. 9. The data processing system according to claim 8, wherein a process to be executed by the unit is switched to two processes of the immediately preceding process and the load process.
【請求項10】 前記第2の動作制御手段は、前記複数
の処理の負荷を予測する予測手段を含み、 前記予測手段により負荷が大と予測された負荷処理の直
後の直後処理を実行する処理部に対して、実行する処理
を前記負荷処理と前記直後処理との2つの処理に切換え
ることを特徴とする、請求項8に記載のデータ処理シス
テム。
10. The second operation control unit includes a prediction unit that predicts a load of the plurality of processes, and executes a process immediately after the load process whose load is predicted to be large by the prediction unit. 9. The data processing system according to claim 8, wherein a process to be executed by the unit is switched to two processes of the load process and the immediately after process.
【請求項11】 前記複数の処理部は、前記複数の処理
の数より多くあり、前記第2の動作制御手段による処理
の切換え前には前記複数の処理のいずれも実行しない予
備処理部を少なくとも1つ含み、 前記第2の動作制御手段は、前記複数の処理の負荷を予
測する予測手段を含み、 前記予備処理部に対して、前記予測手段により負荷が大
と予測された負荷処理を実行するように処理を切換える
ことを特徴とする、請求項8に記載のデータ処理システ
ム。
11. The plurality of processing units are more than the number of the plurality of processes, and at least a preliminary processing unit that does not execute any of the plurality of processes before switching the processes by the second operation control unit. The second operation control means includes a prediction means for predicting a load of the plurality of processes, and executes the load processing predicted to be large by the prediction means on the preliminary processing unit. 9. The data processing system according to claim 8, wherein the processing is switched to perform the processing.
【請求項12】 前記複数の処理部それぞれで処理が実
行された結果を記憶する記憶手段をさらに備え、 前記第2の動作制御手段は、前記複数の処理の負荷を予
測する予測手段を含み、 前記予測手段により負荷が大と予測された負荷処理より
後段の処理を実行する処理部に対して、実行する処理を
前記負荷処理に切換えることを特徴とする、請求項8に
記載のデータ処理システム。
12. The storage device according to claim 1, further comprising: a storage unit configured to store a result of the processing performed by each of the plurality of processing units; 9. The data processing system according to claim 8, wherein the processing to be executed is switched to the load processing for a processing unit that executes processing subsequent to the load processing whose load is predicted to be large by the prediction unit. .
【請求項13】 前記複数の処理部は、前記複数の処理
のうち自己が実行する自己処理の直後の処理を実行する
処理部に対して、前記自己処理を実行した後の前記入力
データを引き渡すことを特徴とする、請求項1から3お
よび5から11のいずれかに記載のデータ処理システ
ム。
13. The plurality of processing units deliver the input data after executing the self-process to a processing unit that executes a process immediately after the self-process executed by the self among the plurality of processes. The data processing system according to any one of claims 1 to 3, and 5 to 11, wherein:
【請求項14】 シリアルに入力される複数の入力デー
タに一連の複数の処理を非同期で施すデータ処理システ
ムであって、 前記複数の処理のそれぞれを実行する複数の処理部と、 前記複数の処理部それぞれで処理が実行された結果を記
憶する記憶手段と、 前記処理部で処理すべき前記入力データがなく、かつ、
処理を実行した後の前記入力データが前記記憶手段に記
憶されているときは、前記処理部で実行する処理を直後
の処理に切換える第3の動作制御手段とを備えた、デー
タ処理システム。
14. A data processing system for asynchronously performing a series of a plurality of processes on a plurality of serially input data, a plurality of processing units each executing the plurality of processes, and the plurality of processes. A storage unit for storing a result of the processing performed by each of the units, and the input data to be processed by the processing unit is not present, and
A data processing system comprising: a third operation control unit configured to, when the input data after the execution of the process is stored in the storage unit, switch a process executed by the processing unit to a process immediately after the input unit.
JP10333039A 1998-11-24 1998-11-24 Data processing system Pending JP2000163388A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP10333039A JP2000163388A (en) 1998-11-24 1998-11-24 Data processing system
US09/447,263 US6535971B1 (en) 1998-11-24 1999-11-23 Data processing system having plurality of processors and executing series of processings in prescribed order

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10333039A JP2000163388A (en) 1998-11-24 1998-11-24 Data processing system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005015957A Division JP4540054B2 (en) 2005-01-24 2005-01-24 Data processing system

Publications (1)

Publication Number Publication Date
JP2000163388A true JP2000163388A (en) 2000-06-16

Family

ID=18261592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10333039A Pending JP2000163388A (en) 1998-11-24 1998-11-24 Data processing system

Country Status (1)

Country Link
JP (1) JP2000163388A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006259970A (en) * 2005-03-16 2006-09-28 Fuji Xerox Co Ltd Data processor, data processing program and data processing method
JP2013084238A (en) * 2011-09-27 2013-05-09 Canon Inc Image processing apparatus, image processing method, and method for controlling image processing apparatus
US10789095B2 (en) 2017-03-24 2020-09-29 Nec Corporation Data processing system and data processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006259970A (en) * 2005-03-16 2006-09-28 Fuji Xerox Co Ltd Data processor, data processing program and data processing method
JP2013084238A (en) * 2011-09-27 2013-05-09 Canon Inc Image processing apparatus, image processing method, and method for controlling image processing apparatus
US10789095B2 (en) 2017-03-24 2020-09-29 Nec Corporation Data processing system and data processing method

Similar Documents

Publication Publication Date Title
US20060028683A1 (en) Method and apparatus for image processing, and a computer product
JP2008276407A (en) Image processing apparatus and method
JP3995868B2 (en) Error diffusion arithmetic unit
US6633975B1 (en) Data processing system having plurality of processors and executing series of processings in prescribed order
US6967744B1 (en) Image processing apparatus and method having a digital signal processor
US7254283B1 (en) Image processor processing image data in parallel with a plurality of processors
JP2000163388A (en) Data processing system
JP4348760B2 (en) Data processing system
US6535971B1 (en) Data processing system having plurality of processors and executing series of processings in prescribed order
JP4540054B2 (en) Data processing system
US20050228966A1 (en) Processor system and data processing method
US8724149B2 (en) Image forming apparatus and image forming method transferring data corresponding to line of document with set time period
JP6600077B2 (en) Image processing apparatus, image processing method, and image processing program
JP2006133839A (en) Image processing apparatus, printing apparatus, and image processing method
US20100309517A1 (en) Image Forming Apparatus and Method
JP5560785B2 (en) Information processing apparatus, image forming apparatus, and information processing method
US20030107577A1 (en) Data processing system having a plurality of processors and executing a series of processings in a prescribed order
US5668714A (en) Control system for multi-processor apparatus
JP7404876B2 (en) Information processing device, information processing method and program
US20180213103A1 (en) Image processing apparatus, method of controlling the same, and storage medium
JP3564327B2 (en) Graphic processing unit
JP5245803B2 (en) Image processing apparatus and image processing module
JP2006163674A (en) Image processing apparatus, printing apparatus, and load distribution method
JP3793747B2 (en) Image processing device
JP2006163672A (en) Image processing apparatus, printing apparatus, and image processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041020

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041130

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050124

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050124

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050614