JP2003099286A - Image processing and evaluating device - Google Patents

Image processing and evaluating device

Info

Publication number
JP2003099286A
JP2003099286A JP2001286240A JP2001286240A JP2003099286A JP 2003099286 A JP2003099286 A JP 2003099286A JP 2001286240 A JP2001286240 A JP 2001286240A JP 2001286240 A JP2001286240 A JP 2001286240A JP 2003099286 A JP2003099286 A JP 2003099286A
Authority
JP
Japan
Prior art keywords
input
image
data
image processing
output
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
JP2001286240A
Other languages
Japanese (ja)
Inventor
Masahiko Nakagawa
昌彦 中川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001286240A priority Critical patent/JP2003099286A/en
Publication of JP2003099286A publication Critical patent/JP2003099286A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable verification and debugging for image processing including even the handling of gate signals by using the same image processing processor as that being used with an actual machine. SOLUTION: A device is equipped with a program transfer means 7 which loads a program 8 in the image processing processor 2 to execute the program, a data input means 3 which inputs data to the processor 2, a data output means 4 which stores an image outputted from the processor 2 and information on an output gate signal in a data file 6, an input gate signal defining means 10 which sets an input gate signal 11 inputted to the processor 2, an input data file generating means 13 which read the input gate signal 11 and an input image 12 and generates input data 5, an isolation condition defining means 14 which defines a condition for isolating the image data from the data file 6, and an output image isolating means 17 which reads in the isolation condition to separate the image from the data file 6 and output it to the output image file 16, and then performs the verification of the program including the processing of the gate signals.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、画像処理評価処
理装置に関し、コピー機等の画像処理を行うシステムに
おける画像処理プロセッサ用プログラムの開発と画像処
理結果の検証を行う、開発支援ツールに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing evaluation processing device, and more particularly to a development support tool for developing a program for an image processing processor and verifying an image processing result in a system for performing image processing such as a copying machine. is there.

【0002】[0002]

【従来の技術】コピー機等の画像処理の開発において
は、実機での印刷結果による画像処理プログラムの検証
に依存しており、印刷結果に異常が発見された場合には
原因の解析に大変な労力を要する。特に、複数の画像処
理を行っている場合にはどの画像処理で異常が発生した
かを調べるために実機での動作環境に中間データを抽出
する機構を組み込まなければならず、誰にでも容易に画
像処理の評価解析の環境を構築できるものではない。
2. Description of the Related Art In the development of image processing for copying machines, etc., it depends on the verification of the image processing program based on the print result on the actual machine, and when an abnormality is found in the print result, it is difficult to analyze the cause. It takes labor. In particular, when performing multiple image processing, it is necessary to incorporate a mechanism for extracting intermediate data into the operating environment of the actual machine in order to check which image processing caused the abnormality, and anyone can easily do this. It is not possible to build an environment for evaluation and analysis of image processing.

【0003】近年では画像処理プロセッサを使用した製
品も多く、製品で使用される画像処理プロセッサを搭載
した画像処理評価ボードをパソコンに組み込んで画像処
理プログラムを開発する手法も取られているが、開発し
たプログラムを実機に組み込む場合にはさらにプログラ
ムを追加しなければならない。特に、画像処理プロセッ
サではゲート信号と呼ばれる画像データの扱いを制御す
る信号まで含めて検証・デバッグする必要があり、従来
のツールではその環境を構築することは困難であった。
In recent years, many products use an image processing processor, and a method of developing an image processing program by incorporating an image processing evaluation board equipped with the image processing processor used in the product into a personal computer has been adopted. If you install this program in the actual machine, you must add the program. In particular, it is necessary for the image processor to verify / debug even a signal called a gate signal that controls the handling of image data, and it has been difficult to construct the environment with conventional tools.

【0004】[0004]

【発明が解決しようとする課題】画像処理プロセッサは
画像データの処理を制御するゲート信号に従った画像処
理を行なう為、入力ゲート信号まで含めた画像処理の評
価が必要であるが、ゲート信号はコピー機等の画像処理
装置上で使用する制御信号であるため汎用的な画像処理
開発用装置においてはデバッグの対象として扱われてい
ない。そのため画像処理プログラムの開発はパソコン上
で出来ても、実機に組み込むためのプログラムの追加や
変更が必要となる。このため画像処理プログラムを実機
に組み込んでから不具合が発見されることが多かった。
Since the image processor carries out the image processing according to the gate signal for controlling the processing of the image data, it is necessary to evaluate the image processing including the input gate signal. Since it is a control signal used on an image processing device such as a copying machine, it is not handled as a debug target in a general-purpose image processing development device. Therefore, even if the image processing program can be developed on a personal computer, it is necessary to add or change the program to be installed in the actual machine. For this reason, defects were often found after the image processing program was installed in an actual machine.

【0005】また、ゲート信号はスキャナ等の入力機器
から供給される信号であり、使用する入力機器によって
そのパターンが異なるため、全てのパターンをパソコン
上で再現することは非常に困難であった。同様に画像処
理プロセッサからの出力を検証するためには出力画像と
出力ゲート信号を全て記録する必要があり大掛かりな装
置を必要とする問題があった。
Further, the gate signal is a signal supplied from an input device such as a scanner, and its pattern differs depending on the input device used, so that it is very difficult to reproduce all patterns on a personal computer. Similarly, in order to verify the output from the image processor, it is necessary to record all output images and output gate signals, and there is a problem that a large-scale device is required.

【0006】この発明は、実機で使用するものと同じ画
像処理プロセッサを使用して、ゲート信号のパターンを
ユーザが容易に変更でき、大掛かりな設備や機器や特殊
な知識を必要とせずにゲート信号の扱いまで含めた画像
処理の検証・デバッグを画像処理後の画像での評価と画
像処理プロセッサのアセンブラレベルでのデバッグを可
能とする画像処理評価システムを提供することを目的と
するものである。
According to the present invention, a user can easily change the pattern of the gate signal by using the same image processor as that used in the actual machine, and the gate signal can be obtained without requiring large-scale equipment or equipment or special knowledge. It is an object of the present invention to provide an image processing evaluation system that enables verification and debugging of image processing including the processing of (1) and evaluation on an image after image processing and debugging at the assembler level of the image processing processor.

【0007】[0007]

【課題を解決するための手段】この発明は、画像データ
を入力する入力画像ポートと、画像ポートのデータの扱
いを制御するための複数の信号からなるゲート信号を入
力するゲート信号入力端子を持ち、入力されたゲート信
号に従って画像データを取り込んで画像処理を行い、画
像処理後の画像データを出力画像ポートから出力すると
同時に出力画像ポートのデータの扱いを制御するゲート
信号を出力する画像処理プロセッサと、画像処理プログ
ラムを画像処理プロセッサにロードして実行させるプロ
グラム転送手段と、入力画像と入力ゲート信号の情報を
保存した入力データファイルから入力画像と入力ゲート
信号を読み込み画像処理プロセッサに入力するデータ入
力手段と、画像処理プロセッサから出力される出力画像
と出力ゲート信号の情報を出力データファイルに保存す
るデータ出力手段と、前記画像処理プロセッサに入力す
る入力ゲート信号のパターンを定義して画像データの入
力タイミングを設定する入力ゲート信号定義手段と、設
定された入力ゲート信号定義と入力画像ファイルを読み
込んで画像処理プロセッサへ入力するための入力データ
ファイルを生成する入力データファイル生成手段と、前
記出力データファイルから画像データを分離するための
ゲート信号の条件を定義する分離条件定義手段と、設定
された分離条件の定義を読み込んで出力データファイル
から画像を分離して出力画像ファイルに出力する出力画
像分離手段と、を備え、ゲート信号の処理を含めた画像
処理プログラムの検証を行うことを特徴とする。
SUMMARY OF THE INVENTION The present invention has an input image port for inputting image data and a gate signal input terminal for inputting a gate signal composed of a plurality of signals for controlling the handling of the image port data. An image processing processor that captures image data according to the input gate signal, performs image processing, outputs the image data after the image processing from the output image port, and at the same time outputs a gate signal for controlling the handling of the data of the output image port. A program transfer means for loading and executing the image processing program on the image processor, and a data input for reading the input image and the input gate signal from the input data file storing the information of the input image and the input gate signal and inputting them to the image processor Means, output image and output gate signal output from the image processor Data output means for storing information in an output data file, input gate signal defining means for defining a pattern of an input gate signal input to the image processor to set an input timing of image data, and the set input gate signal Definition and input data file generating means for generating an input data file for reading the input image file and inputting it to the image processor, and a separation condition for defining a condition of a gate signal for separating the image data from the output data file. Verification of the image processing program including definition means and output image separation means for reading the definition of the set separation condition, separating the image from the output data file and outputting the image to the output image file It is characterized by performing.

【0008】上記の構成によれば、入力ゲート信号のパ
ターンをユーザが容易に変更できることで各種の入力機
器に対応する画像処理プログラムの開発をパソコン上で
行うことができ、ゲート信号の扱いを含めた画像処理プ
ログラムの動作と画像処理後の出力の検証を行うことが
できる。
According to the above arrangement, the user can easily change the pattern of the input gate signal, so that the image processing program corresponding to various input devices can be developed on the personal computer, and the handling of the gate signal is included. The operation of the image processing program and the output after the image processing can be verified.

【0009】ところで、ディジタル複写機を代表とする
画像処理システムにおいては、複数の画像処理プロセッ
サを使用して画像処理を行っている。単一の画像処理プ
ロセッサを使用して実機上の処理を再現するためには、
画像処理後のデータを次の画像処理の入力データとして
使用する必要があるが出力データは処理の内容によって
はデータ長が異なるため、入力データファイル毎に独立
した入力制御を行わなければならない。この場合、入力
データの数だけデータ入力手段が必要となり、データ入
力手段同士のタイミングの管理も必要となるためシステ
ムが複雑になるという問題が発生する。そこで、この発
明ではデータ入力手段に入力する複数の入力データに対
してダミーデータを付加し画像1ラインに相当するデー
タ長を揃えることで、システム構成を複雑にせずに、デ
ータ長の異なる出力データを次の画像処理の入力データ
として入力可能な画像処理評価装置を提供することを目
的としている。
By the way, in an image processing system typified by a digital copying machine, image processing is performed using a plurality of image processing processors. In order to reproduce the actual processing using a single image processor,
It is necessary to use the data after the image processing as the input data for the next image processing, but the output data has a different data length depending on the contents of the processing, and therefore the input control must be performed independently for each input data file. In this case, there is a problem that the system becomes complicated because the data input means is required for the number of input data and the timing management between the data input means is required. Therefore, according to the present invention, dummy data is added to a plurality of input data to be input to the data input means so that the data length corresponding to one image line is made uniform so that the output data having different data lengths is not complicated. It is an object of the present invention to provide an image processing evaluation device capable of inputting as the input data of the next image processing.

【0010】上記目的を達成するため、この発明は、前
記データ入力手段を複数の入力画像ポートに入力可能と
し、画像処理プロセッサの複数の出力画像ポートに対し
て独立した複数のデータ出力手段を設け、複数の画像処
理プログラムを順次選択して画像処理プロセッサに転送
して実行しては各画像処理プログラムの処理結果である
出力画像データファイルを次の画像処理の入力データフ
ァイルとして使用する場合に、入力データファイルの画
像1ライン分のデータにダミーのデータを付加すること
でデータ入力手段に入力する異なるデータ長の画像デー
タ長を揃えることを可能とするデータ長調整手段を備え
ることを特徴とする。
To achieve the above object, the present invention enables the data input means to be input to a plurality of input image ports, and provides a plurality of independent data output means for a plurality of output image ports of an image processor. , When a plurality of image processing programs are sequentially selected, transferred to the image processing processor and executed, and the output image data file which is the processing result of each image processing program is used as the input data file for the next image processing, It is characterized by comprising data length adjusting means for making it possible to align image data lengths of different data lengths input to the data inputting means by adding dummy data to the data of one line image of the input data file. .

【0011】上記の構成によれば、画像処理後に出力さ
れる複数の出力データの画像1ラインに相当するデータ
長が異なる場合でも、入力するデータにダミーを付加す
ることで同一長データとして扱うことが出来、出力画像
データを次の画像処理の入力画像データとして使用可能
となるので、システムを複雑にすることなく画像処理の
繰り返しが可能となる。これにより、実機では複数の画
像処理プロセッサを使用して実現している画像処理環境
を、パソコン上の画像処理評価装置の単一の画像処理プ
ロセッサで再現できる。
According to the above configuration, even if the data lengths corresponding to one image line of the plurality of output data output after the image processing are different, a dummy is added to the input data to treat them as the same length data. Since the output image data can be used as the input image data for the next image processing, the image processing can be repeated without complicating the system. As a result, the image processing environment realized by using a plurality of image processing processors in the actual machine can be reproduced by the single image processing processor of the image processing evaluation device on the personal computer.

【0012】また、画像処理の結果、異常な画像が出力
された場合には、異常が発生した部位の画像データを使
用して画像処理プログラムのデバッグを行う必要があ
る。実機上ではスキャナ等の入力機器を使用しているた
め、デバッグの途中で画像データの入力を止めることが
できない。一方、プログラムを強制的に停止させた場合
には画像データのオーバーランが発生するため、プログ
ラムを停止した後の画像データが保証できない。
When an abnormal image is output as a result of the image processing, it is necessary to debug the image processing program using the image data of the part where the abnormality has occurred. Since the actual device uses an input device such as a scanner, input of image data cannot be stopped during debugging. On the other hand, when the program is forcibly stopped, image data overrun occurs, so that the image data after the program is stopped cannot be guaranteed.

【0013】そこで、この発明では、異常が発生した部
位の画像データを使用してアセンブラレベルでのデバッ
グを可能とした画像処理評価装置を提供することを目的
とするものである。
Therefore, it is an object of the present invention to provide an image processing evaluation apparatus capable of debugging at the assembler level by using image data of a portion where an abnormality has occurred.

【0014】上記目的を達成するため、この発明は、前
記入力データファイルから読み出して画像処理プロセッ
サに入力するデータ量を制御可能なデータ入力手段と、
画像処理プログラムを画像処理プロセッサに転送した後
に入力データファイルと出力データファイルを指定し、
主走査方向の画像1ライン分の入力画像と入力ゲート信
号を繰り返し入力するように記述された制御スクリプト
を読み込んで、スクリプトの複数行の連続実行と行単位
の実行を選択可能な制御スクリプト実行手段と、画像処
理プロセッサで実行される画像処理プログラムをアセン
ブラレベルでデバッグ可能とする画像処理プロセッサデ
バッグ手段と、を備え、画像データをライン単位で入力
して画像処理をアセンブラレベルでデバッグすることを
特徴とする。
In order to achieve the above object, the present invention comprises data input means capable of controlling the amount of data read from the input data file and input to the image processor.
After transferring the image processing program to the image processing processor, specify the input data file and the output data file,
A control script executing means capable of reading a control script described so as to repeatedly input an input image for one line of an image in the main scanning direction and an input gate signal, and selecting continuous execution of a plurality of lines of the script or execution of each line. And an image processing processor debugging means capable of debugging an image processing program executed by the image processing processor at the assembler level, and image data is input line by line to debug the image processing at the assembler level. And

【0015】上記の構成によれば、制御スクリプトを変
更することで画像処理プログラムと入力画像をユーザが
容易に変更することが可能となる。また、実機上では不
可能な入力画像データの一時停止を可能とするため、入
力画像の特定の部位を使用したアセンブラレベルでのデ
バッグが可能となる。
According to the above arrangement, the user can easily change the image processing program and the input image by changing the control script. In addition, since it is possible to temporarily stop the input image data, which is impossible on an actual machine, it is possible to debug at the assembler level using a specific part of the input image.

【0016】また、画像処理プログラムのデバッグにお
いて、デバッガにより画像処理プロセッサのプログラム
をしばしば停止するため、オーバーフローによる入力画
像の欠落を防止するために入力画像データの入力を停止
する必要がある。請求項3の画像処理評価装置では入力
画像データ量を制御スクリプト実行手段の操作で調整す
る必要があり、操作が煩雑となる問題が発生する。
Further, in debugging the image processing program, the program of the image processing processor is often stopped by the debugger, and therefore it is necessary to stop the input of the input image data in order to prevent the loss of the input image due to overflow. In the image processing evaluation apparatus according to the third aspect, it is necessary to adjust the input image data amount by operating the control script executing means, which causes a problem that the operation becomes complicated.

【0017】そこで、この発明では、デバッガによって
画像処理プログラムの実行を停止すると画像処理プロセ
ッサへの画像データ入力を一時停止し、デバッガから実
行を再開すると画像データ入力も自動的に再開すること
で、複雑な操作を必要とせず、画像処理プロセッサへの
入力画像の欠落を防止する画像処理装置を提供すること
を目的とする。
Therefore, in the present invention, when the execution of the image processing program is stopped by the debugger, the image data input to the image processor is temporarily stopped, and when the execution is restarted from the debugger, the image data input is automatically restarted. It is an object of the present invention to provide an image processing device that does not require a complicated operation and prevents a loss of an input image to an image processor.

【0018】上記目的を達成するため、この発明は、前
記データ入力手段によるデータ入力の一時停止を制御す
る入力データ停止手段と、画像処理プロセッサで実行さ
れる画像処理プログラムが実行中であるか停止中である
かを監視して、停止中であれば制御スクリプト実行手段
とデータ入力停止手段に対してデータの一時停止を要求
し、実行中になればデータ入力の再開を要求するプログ
ラム停止通知手段を備え、画像処理プロセッサデバッグ
手段による画像処理プログラムの実行、停止に合わせて
自動的にデータ入力を停止、再開することを特徴とす
る。
In order to achieve the above object, the present invention provides an input data stop means for controlling temporary stop of data input by the data input means, and whether or not an image processing program executed by an image processor is running. A program stop notifying means for monitoring whether or not it is in progress and requesting a temporary stop of data to the control script executing means and the data input stopping means if it is stopped, and requesting restart of data input if it is being executed It is characterized in that the data input is automatically stopped and restarted when the image processing program is executed and stopped by the image processor debug means.

【0019】上記の構成によれば、デバッガによる画像
処理プログラムの実行停止を行っても、ユーザによる入
力画像データの入力量の制御を必要とせず、入力画像デ
ータの欠落が発生しないデバッグ装置を実現できる。
According to the above configuration, even if the execution of the image processing program is stopped by the debugger, it is not necessary for the user to control the input amount of the input image data, and a debug device in which the input image data is not lost is realized. it can.

【0020】[0020]

【発明の実施の形態】以下、この発明の実施の形態につ
き図面に従い説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0021】図1は、この発明の第1の実施形態にかか
る画像処理評価装置の構成を示すブロック図である。画
像処理評価本体部1は、画像処理プロセッサ2、入力デ
ータファイル5から入力画像と入力ゲート信号を読み込
み画像処理プロセッサ2に入力するデータ入力手段3、
画像処理プロセッサ2から出力される出力画像と出力ゲ
ート信号の情報を出力データファイル6に与えるデータ
出力手段4、画像処理プログラム8に格納されたプログ
ラムを読み出し画像処理プロセッサ2にロードして実行
させるプログラム転送手段7、とを備える。
FIG. 1 is a block diagram showing the arrangement of an image processing evaluation apparatus according to the first embodiment of the present invention. The image processing evaluation main body 1 reads the input image and the input gate signal from the image processing processor 2 and the input data file 5, and inputs the data to the image processing processor 2.
Data output means 4 for giving information on the output image and output gate signal output from the image processing processor 2 to the output data file 6, and a program for reading the program stored in the image processing program 8 to the image processing processor 2 for execution. And a transfer means 7.

【0022】画像処理プロセッサ2は、画像データを入
力する入力画像ポートと、画像ポートのデータの扱いを
制御するための複数の信号からなるゲート信号を入力す
るゲート信号入力端子を持ち、入力されたゲート信号に
従って画像データを取り込んで画像処理を行い、画像処
理後の画像データを出力画像ポートから出力すると同時
に出力画像ポートのデータの扱いを制御するゲート信号
を出力する。
The image processor 2 has an input image port for inputting image data and a gate signal input terminal for inputting a gate signal composed of a plurality of signals for controlling the handling of the image port data. Image data is taken in according to the gate signal and image processing is performed, and the image data after the image processing is output from the output image port, and at the same time, a gate signal for controlling the handling of the data of the output image port is output.

【0023】入力データファイル5は、入力データ生成
ファイル13にて生成された入力ゲート信号の情報と入
力画像とを保存する。
The input data file 5 stores the information of the input gate signal generated by the input data generation file 13 and the input image.

【0024】入力データファイル生成手段13は、入力
ゲート信号定義ファイル11より入力ゲート信号定義手
段10にて設定された画像データの入力タイミングの定
義データと入力画像ファイル12より画像データを受け
取り、入力ゲート信号と入力画像とからなる入力データ
ファイルを生成し、入力データファイル5に与える。
The input data file generation means 13 receives the definition data of the input timing of the image data set by the input gate signal definition means 10 from the input gate signal definition file 11 and the image data from the input image file 12, and the input gate An input data file including a signal and an input image is generated and given to the input data file 5.

【0025】入力ゲート信号定義手段10は、画像処理
プロセッサ2に入力する入力ゲート信号のパターンを定
義して画像データの入力タイミングを設定する。そし
て、設定設定内容を入力ゲート信号定義ファイル11に
与える。
The input gate signal defining means 10 defines the pattern of the input gate signal input to the image processor 2 and sets the input timing of the image data. Then, the setting contents are given to the input gate signal definition file 11.

【0026】プログラム転送手段7は、画像処理プロセ
ッサ2に対して画像処理プログラム8を転送する。
The program transfer means 7 transfers the image processing program 8 to the image processor 2.

【0027】画像処理プロセッサ2から出力された出力
画像、出力ゲート信号は出力データデータ出力手段4よ
り出力データファイル6に与えられ、格納される。
The output image and the output gate signal output from the image processor 2 are given to the output data file 6 by the output data data output means 4 and stored therein.

【0028】分離条件定義手段14は、出力データファ
イル6から画像データを分離するためのゲート信号の条
件を定義し、分離条件定義ファイル15与え、分離条件
定義ファイル15に定義した条件が保存される。
The separation condition definition means 14 defines the conditions of the gate signal for separating the image data from the output data file 6, provides the separation condition definition file 15, and stores the conditions defined in the separation condition definition file 15. .

【0029】出力画像分離手段17は分離条件条件定義
ファイル15を読み込んで、定義された条件に基づいて
出力データファイル6から画像を分離して出力画像ファ
イル16に出力し、出力画像ファイル16にそのデータ
を格納させる。
The output image separating means 17 reads the separation condition condition definition file 15, separates an image from the output data file 6 based on the defined condition, outputs the separated image to the output image file 16, and outputs the separated image to the output image file 16. Store data.

【0030】次に、この第1の実施形態の動作につき説
明する。まず、オペレータは入力ゲート信号定義手段1
0を使用して、画像の副走査方向を幾つかのエリアに分
けた各エリアのライン数を定義し、各エリアに対して主
走査方向のゲート信号のパターンを定義し、入力画像フ
ァイル12の指定とゲート信号に対する画像の位置を定
義する。その設定が入力ゲート信号定義ファイル11に
保存される。同様に、出力データファイル6から画像を
分離するためのゲート信号の条件を分離条件定義手段1
4を用いて設定する。その分離条件の設定が分離条件定
義ファイル15に保存される。
Next, the operation of the first embodiment will be described. First, the operator uses the input gate signal definition means 1
0 is used to define the number of lines in each area in which the sub-scanning direction of the image is divided into several areas, and the gate signal pattern in the main scanning direction is defined for each area. Defines the position of the image with respect to the designation and gate signals. The setting is saved in the input gate signal definition file 11. Similarly, the condition of the gate signal for separating the image from the output data file 6 is defined as the separation condition defining unit 1.
Use 4 to set. The setting of the separation condition is saved in the separation condition definition file 15.

【0031】入力データファイル生成手段13は、入力
ゲート信号定義ファイル11に従い、ゲート信号のパタ
ーンを生成して入力画像ファイル12の画像データと合
成して入力データファイル5を生成する。
The input data file generation means 13 generates a gate signal pattern according to the input gate signal definition file 11 and synthesizes it with the image data of the input image file 12 to generate the input data file 5.

【0032】プログラム転送手段7は、画像処理プロセ
ッサ2に対して画像処理プログラム8を転送する。画像
処理プログラムが転送されると、画像処理プロセッサ2
は画像処理プログラムの実行を開始し、入力画像データ
待ちとなる。
The program transfer means 7 transfers the image processing program 8 to the image processor 2. When the image processing program is transferred, the image processing processor 2
Starts executing the image processing program and waits for input image data.

【0033】データ入力手段3は、入力データファイル
5から順次データを読み込んで画像処理プロセッサ2に
入力する。画像処理プロセッサ2は入力ゲート信号に従
って入力画像を取り込み、画像処理を行った後、画像デ
ータと出力ゲート信号を出力する。
The data input means 3 sequentially reads data from the input data file 5 and inputs it to the image processor 2. The image processor 2 takes in an input image according to an input gate signal, performs image processing, and then outputs image data and an output gate signal.

【0034】データ処理出力手段4は画像処理プロセッ
サ2から出力される出力画像と出力ゲート信号を出力デ
ータファイル6に保存する。
The data processing output means 4 stores the output image and the output gate signal output from the image processing processor 2 in the output data file 6.

【0035】データ入力手段3が入力データファイル5
の全てのデータを入力し終わり、データ出力手段4が全
てのデータを出力し、そのデータの保存が終わると、出
力画像分離手段17は分離条件定義ファイル15の分離
条件に従って、出力データファイル6から画像を分離し
て出力画像ファイル16に保存する。
The data input means 3 uses the input data file 5
When all the data are input, the data output unit 4 outputs all the data, and the storage of the data is completed, the output image separation unit 17 outputs the output data file 6 from the output data file 6 according to the separation condition of the separation condition definition file 15. The image is separated and saved in the output image file 16.

【0036】このように上記装置によると、ゲート信号
の定義をユーザが容易に変更でき、ゲート信号の処理ま
で含めた画像処理の評価が可能である。
As described above, according to the above apparatus, the user can easily change the definition of the gate signal, and the image processing including the processing of the gate signal can be evaluated.

【0037】図2は、この発明の第2の実施形態にかか
る画像処理評価装置の構成を示すブロック図である。こ
の第2の実施形態も第1の実施形態と基本構成は同じ構
成であるので、第1の実施形態と相違する箇所を中心に
説明する。
FIG. 2 is a block diagram showing the arrangement of an image processing evaluation apparatus according to the second embodiment of the present invention. Since the second embodiment also has the same basic configuration as the first embodiment, the description will focus on the points that differ from the first embodiment.

【0038】画像処理評価本体部21は、画像処理プロ
セッサ22、複数の入力データファイル25A、25B
から入力画像と入力ゲート信号を読み込み画像処理プロ
セッサ22に入力するデータ入力手段23、画像処理プ
ロセッサ22から出力される出力画像と出力ゲート信号
の情報を複数の出力データファイル26に与えるデータ
出力手段24、画像処理プログラム28A…に格納され
たプログラムを読み出し画像処理プロセッサ22にロー
ドして実行させるプログラム転送手段27、とを備え
る。
The image processing evaluation main body 21 includes an image processor 22, a plurality of input data files 25A and 25B.
Data input means 23 for reading the input image and the input gate signal from the image processing processor 22 and inputting them to the image processing processor 22; and data output means 24 for giving the output image and the output gate signal information output from the image processing processor 22 to the plurality of output data files , And a program transfer means 27 for reading the program stored in the image processing program 28A ...

【0039】画像プロセッサ22は、複数の入力ポート
と複数の出力ポートを備える。このため、データ入力手
段23を複数の入力画像ポートに入力可能とし、画像処
理プロセッサ22の複数の出力画像ポートに対して独立
した複数のデータ出力手段24、24を設けている。そ
して、複数の画像処理プログラム28A、28B、28
Cを画像処理制御手段29により、順次選択して画像処
理プロセッサ2に転送して実行させる。各画像処理プロ
グラムの処理結果である出力画像データファイル26
A、26Bを次の画像処理の入力データファイル25
A、25Bとして使用する場合に、入力データファイル
25A、25Bの画像1ライン分のデータにダミーのデ
ータを付加することでデータ入力手段に入力する異なる
データ長の画像データ長を揃えることを可能とするデー
タ長調整手段30を備えている。
The image processor 22 has a plurality of input ports and a plurality of output ports. Therefore, the data input means 23 can be input to a plurality of input image ports, and a plurality of independent data output means 24, 24 are provided for the plurality of output image ports of the image processor 22. Then, a plurality of image processing programs 28A, 28B, 28
The image processing control means 29 sequentially selects C and transfers it to the image processing processor 2 for execution. Output image data file 26 which is the processing result of each image processing program
A and 26B are input data files 25 for the next image processing.
When used as A and 25B, by adding dummy data to the data for one line of the image in the input data files 25A and 25B, it is possible to align image data lengths of different data lengths input to the data input means. The data length adjusting means 30 is provided.

【0040】次に、第2の実施形態をその動作に基づき
説明する。画像処理制御手段29は準備された複数の画
像処理プログラムから画像処理プログラムA(28A)
を選択してプログラム転送手段27を通じ、画像処理プ
ロセッサ22に転送する。画像処理プログラムAが転送
されると、画像処理プロセッサ22は画像処理プログラ
ムを実行して入力データ待ちとなる。
Next, the second embodiment will be described based on its operation. The image processing control means 29 selects an image processing program A (28A) from a plurality of prepared image processing programs.
Is selected and transferred to the image processor 22 through the program transfer means 27. When the image processing program A is transferred, the image processing processor 22 executes the image processing program and waits for input data.

【0041】次に、データ入力手段23は第1の実施形
態で示した入力データファイル生成手段により作成され
た入力データファイル1、2(25A、25B)から画
像1ライン分に相当する画像データを読み出して画像処
理プロセッサ22に入力する。以降これを繰り返し、入
力データファイル1、2(25A、25B)の全データ
を画像処理プロセッサ22に転送する。この場合、入力
データファイル1,2(25A、25B)は入力データ
ファイル生成手段により画像1ラインに相当するデータ
のデータ長を同じ長さとして生成されているためデータ
長調整手段30は機能しない。
Next, the data input means 23 outputs image data corresponding to one image line from the input data files 1 and 2 (25A, 25B) created by the input data file generation means shown in the first embodiment. It is read and input to the image processing processor 22. This is repeated thereafter, and all the data in the input data files 1 and 2 (25A, 25B) are transferred to the image processor 22. In this case, the input data files 1 and 2 (25A, 25B) are generated by the input data file generation means with the same data length of the data corresponding to one line of the image, so the data length adjustment means 30 does not function.

【0042】一方、画像処理プロセッサ22は入力デー
タを取り込んでは画像処理を行って出力データを出力す
る。複数の出力データは独立したデータ出力手段1、2
(24)により、個別の出力データファイル1、2(2
6A、26B)に保存される。
On the other hand, the image processor 22 takes in the input data, performs the image processing, and outputs the output data. A plurality of output data are independent data output means 1, 2
According to (24), individual output data files 1, 2 (2
6A, 26B).

【0043】画像処理制御手段29は画像処理プログラ
ムA(28A)の処理が終わると画像処理プログラムB
(28B)を画像処理プロセッサ22に転送し、画像処
理プログラムAの出力データファイル1、2(26A、
26B)を入力データファイル1、2(25A、25
B)として使用して上記動作を繰り返す。この際、出力
データファイル1、2(26A、26B)の画像1ライ
ンに相当するデータ長が異なる場合には、データ長調整
手段30は入力データファイルの画像1ライン分のデー
タにダミーのデータを付加して同じ長さに調整し、デー
タ入力手段23に渡す。
The image processing control means 29 receives the image processing program B when the processing of the image processing program A (28A) is completed.
(28B) is transferred to the image processing processor 22, and output data files 1 and 2 of the image processing program A (26A,
26B) as input data files 1 and 2 (25A, 25
Use as B) and repeat the above operation. At this time, when the data length corresponding to one image line of the output data files 1 and 2 (26A, 26B) is different, the data length adjusting means 30 sets dummy data to the data of one image line of the input data file. It is added, adjusted to the same length, and passed to the data input means 23.

【0044】ディジタル複写機を代表とする画像処理シ
ステムにおいては、複数の画像処理プロセッサを使用し
て画像処理を行っている。単一の画像処理プロセッサを
使用して実機上の処理を再現するためには、画像処理後
のデータを次の画像処理の入力データとして使用する必
要があるが出力データは処理の内容によってはデータ長
が異なるため、入力データファイル毎に独立した入力制
御を行わなければならない。この場合、入力データの数
だけデータ入力手段が必要となり、データ入力手段同士
のタイミングの管理も必要となるためシステムが複雑に
なるという問題が発生する。この第2の実施形態では、
データ入力手段23に入力する複数の入力データに対し
てデータ長調整手段30にて、ダミーデータを付加し画
像1ラインに相当するデータ長を揃える。従って、シス
テム構成を複雑にせずに、データ長の異なる出力データ
を次の画像処理の入力データとして入力可能となり、単
一の画像処理プロセッサを使用して実機上の処理を再現
できる。
In an image processing system represented by a digital copying machine, image processing is performed using a plurality of image processing processors. In order to reproduce the processing on the actual machine using a single image processing processor, it is necessary to use the data after image processing as input data for the next image processing, but the output data may be data depending on the processing content. Since the lengths are different, independent input control must be performed for each input data file. In this case, there is a problem that the system becomes complicated because the data input means is required for the number of input data and the timing management between the data input means is required. In this second embodiment,
The data length adjusting means 30 adds dummy data to a plurality of input data input to the data input means 23 to make the data length corresponding to one image line uniform. Therefore, output data having different data lengths can be input as input data for the next image processing without complicating the system configuration, and processing on an actual machine can be reproduced using a single image processing processor.

【0045】次に、この発明の第3の実施形態につき説
明する。画像処理の結果、異常な画像が出力された場合
には、異常が発生した部位の画像データを使用して画像
処理プログラムのデバッグを行う必要がある。実機上で
はスキャナ等の入力機器を使用しているため、デバッグ
の途中で画像データの入力を止めることができない。ま
たプログラムを強制的に停止させた場合には画像データ
のオーバーランが発生するため、プログラムを停止した
後の画像データが保証できない。この第3の実施形態
は、異常が発生した部位の画像データを使用してアセン
ブラレベルでのデバッグを可能とするものである。
Next explained is the third embodiment of the invention. When an abnormal image is output as a result of the image processing, it is necessary to debug the image processing program using the image data of the part where the abnormality has occurred. Since the actual device uses an input device such as a scanner, input of image data cannot be stopped during debugging. Further, when the program is forcibly stopped, image data overrun occurs, so that the image data after the program is stopped cannot be guaranteed. The third embodiment enables debugging at the assembler level by using image data of a part where an abnormality has occurred.

【0046】図3は、この発明の第3の実施形態にかか
る画像処理評価装置の構成を示すブロック図である。こ
の第3の実施形態も第1の実施形態と基本構成は同じ構
成であるので、第1の実施形態と相違する箇所を中心に
説明する。図5は第3の実施形態3の制御スクリプトの
例である。
FIG. 3 is a block diagram showing the arrangement of an image processing evaluation apparatus according to the third embodiment of the present invention. Since the third embodiment also has the same basic configuration as the first embodiment, the description will focus on the points different from the first embodiment. FIG. 5 is an example of a control script according to the third embodiment.

【0047】画像処理評価本体部31は、画像処理プロ
セッサ32、入力データファイル35から入力画像と入
力ゲート信号を読み込み画像処理プロセッサ32に入力
するデータ入力手段33、画像処理プロセッサ22から
出力される出力画像と出力ゲート信号の情報を複数の出
力データファイル36に与えるデータ出力手段34、制
御スクリプト38に格納されたスクリプトを読み出し画
像処理プロセッサ32にロードして実行させるプログラ
ム転送手段39、画像処理プロセッサデバッグ手段41
とを備える。
The image processing evaluation main unit 31 includes an image processing processor 32, data input means 33 for reading an input image and an input gate signal from the input data file 35 and inputting them to the image processing processor 32, and an output output from the image processing processor 22. Data output means 34 for giving information on the image and output gate signal to a plurality of output data files 36, program transfer means 39 for reading the script stored in the control script 38 and loading it on the image processing processor 32 for execution, image processing processor debugging Means 41
With.

【0048】上記データ入力手段33は、入力データフ
ァイル35から読み出して画像処理プロセッサ32に入
力するデータ量を制御可能に構成されている。
The data input means 33 is configured to control the amount of data read from the input data file 35 and input to the image processor 32.

【0049】制御スクリプト実行手段37は、画像処理
プログラム40を画像処理プロセッサ32に転送した後
に入力データファイル35と出力データファイル36を
指定し、主走査方向の画像1ライン分の入力画像と入力
ゲート信号を繰り返し入力するように記述された制御ス
クリプト38を読み込んで、スクリプトの複数行の連続
実行と行単位の実行を選択可能に構成されている。
The control script executing means 37 transfers the image processing program 40 to the image processing processor 32, then designates the input data file 35 and the output data file 36, and inputs one line of the image in the main scanning direction and the input gate. The control script 38 described so as to repeatedly input signals is read so that continuous execution of a plurality of lines of the script or execution of each line can be selected.

【0050】画像処理プロセッサデバッグ手段41は、
画像処理プロセッサ32で実行される画像処理プログラ
ム40をアセンブラレベルでデバッグ可能とするように
構成されている。
The image processor debug means 41 is
The image processing program 40 executed by the image processing processor 32 is configured to be debugable at the assembler level.

【0051】この第3の実施形態は、画像データをライ
ン単位で入力して画像処理をアセンブラレベルでデバッ
グするものである。
In the third embodiment, the image data is input line by line and the image processing is debugged at the assembler level.

【0052】図6は出力される画像のイメージであり、
7000ライン中3001ライン目からのデータを使用
してデバッグを行なう場合の例を示している。この図6
及び図5を参照して第3の実施形態につきさらに説明す
る。
FIG. 6 is an image of the output image,
An example of performing debugging using data from the 3001th line out of 7,000 lines is shown. This Figure 6
Also, the third embodiment will be further described with reference to FIG.

【0053】オペレータが制御スクリプト実行手段37
により図5の制御スクリプトの6行目までを実行し、7
行目での停止を指示すると制御スクリプトの1行目によ
り画像処理プログラム40がプログラム転送手段39に
より画像処理プロセッサ32にプログラムがダウンロー
ドされる。ダウンロードが終了すると画像処理プロセッ
サ32は画像処理プロプログラムの実行を開始し、入力
画像と入力ゲート信号の入力待ちになる。
The operator controls the script execution means 37.
Execute the 6th line of the control script in Fig.
When the stop is instructed on the line, the image processing program 40 is downloaded to the image processor 32 by the program transfer means 39 by the first line of the control script. When the download is completed, the image processing processor 32 starts executing the image processing professional program, and waits for the input image and the input gate signal.

【0054】制御スクリプトの2行目から6行目が実行
されて7行目で停止するまでに、図5の画像の3000
ライン目までの画像が画像処理プロセッサ32に入力さ
れる。画像処理プロセッサ32は入力された画像を順次
画像処理し、3000ライン分の処理を行なうと再び入
力画像と入力ゲート信号の入力待ちになる。次にオペレ
ータが画像処理プロセッサデバッグ手段41により画像
処理プロセッサ32の画像処理プログラムの実行を停止
し、制御スクリプト実行手段37により8行目までを行
単位で実行すると3001ライン目の画像データがデー
タ入力手段33を通じて画像処理プロセッサ32に入力
され、画像処理プロセッサ32はプログラムの実行・停
止に関わらず、入力画像を内部のFIFOメモリに貯え
る。
By the time the second to sixth lines of the control script are executed and the control script stops at the seventh line, 3000 of the image in FIG.
The images up to the line are input to the image processor 32. The image processor 32 sequentially processes the input images, and after processing for 3000 lines, waits again for the input image and the input gate signal. Next, when the operator stops the execution of the image processing program of the image processor 32 by the image processor debug means 41 and executes the eighth line up to the 8th line by the control script execution means 37, the image data of the 3001th line is input. The image is input to the image processor 32 through the means 33, and the image processor 32 stores the input image in the internal FIFO memory regardless of whether the program is executed or stopped.

【0055】画像処理プロセッサ32はプログラムを停
止しているので即座に画像処理は行なわれないが、オペ
レータが画像処理プロセッサデバッグ手段41により画
像処理プロセッサ32のプログラムを命令単位で実行す
ると、FIFOメモリの画像データを順次内部のレジス
タに取り込んで画像処理を行なう。オペレータは画像処
理プロセッサデバッグ手段41を通じて画像処理の過程
を検証することで目的とするラインのデータによるデバ
ッグが可能となる。
The image processing processor 32 does not perform image processing immediately because the program is stopped, but when the operator executes the program of the image processing processor 32 by the image processing processor debug means 41 in units of instructions, the image data in the FIFO memory is saved. Image data is sequentially taken into an internal register and image processing is performed. By verifying the process of image processing through the image processing processor debug means 41, the operator can debug with the data of the target line.

【0056】図7は第3の実施形態におけるオペレータ
の操作フローと、制御スクリプト実行手段と画像処理プ
ロセッサの動作フローを示す。なお、図7の矢印は作用
の関係を示す。図7に従い動作を説明する。
FIG. 7 shows the operation flow of the operator and the operation flow of the control script executing means and the image processor in the third embodiment. The arrows in FIG. 7 indicate the relationship of action. The operation will be described with reference to FIG.

【0057】図7に示すように、オペレータが制御スク
リプト実行手段37により図5の制御スクリプトの6行
目までを実行し、7行目での停止を指示する(S1)。
制御スクリプト制御手段37は、制御スクリプトの1行
目により画像処理プログラム40のダウンロードを指示
する(S2)。画像処理プロセッサ32はプログラム転
送手段39によりプログラムがダウンロードされる。画
像処理プロセッサ32は、ダウンロードが終了すると画
像処理プロセッサ32は画像処理プロプログラムの実行
を開始し、入力画像と入力ゲート信号の入力待ちになる
(S5)。
As shown in FIG. 7, the operator executes the control script executing means 37 up to the sixth line of the control script of FIG. 5, and gives an instruction to stop at the seventh line (S1).
The control script control means 37 gives an instruction to download the image processing program 40 in the first line of the control script (S2). In the image processor 32, the program is downloaded by the program transfer means 39. When the image processing processor 32 finishes the download, the image processing processor 32 starts executing the image processing professional program, and waits for the input of the input image and the input gate signal (S5).

【0058】制御スクリプト実行手段37は、2行目か
ら6行目が実行し、入力画像ファイルと出力画像ファイ
ルを指定し(S4)、画像の3000ライン目までの画
像と入力ゲート信号を画像処理プロセッサ32に与える
(S6)。そして、停止する(S8)。
The control script executing means 37 executes from the second line to the sixth line, specifies the input image file and the output image file (S4), and processes the images up to the 3000th line of the image and the input gate signal. It is given to the processor 32 (S6). Then, the operation is stopped (S8).

【0059】画像処理プロセッサ32は入力された画像
を順次画像処理し、3000ライン分の処理を行なう
(S7)。そして、再び入力画像と入力ゲート信号の入
力待ちになる。
The image processor 32 sequentially processes the input images and processes 3000 lines (S7). Then, the input image and the input gate signal are awaited again.

【0060】次に、オペレータが画像処理プロセッサデ
バッグ手段41により画像処理プロセッサ32の画像処
理プログラムの実行を停止を設定する(S9)と、画像
処理プロセッサ32が停止する(S10)。
Next, when the operator sets the execution stop of the image processing program of the image processing processor 32 by the image processing processor debugging means 41 (S9), the image processing processor 32 is stopped (S10).

【0061】オペレータが制御スクリプトの8行目まで
行単位で実行を指示すると(S11)、制御スクリプト
実行手段37は、8行目までを行単位で実行すると30
01ライン目の画像データをデータ入力手段33を通じ
て画像処理プロセッサ32に入力させる(S12)。画
像処理プロセッサ32はプログラムの実行・停止に関わ
らず、入力画像を内部のFIFOメモリに貯える(S1
3)。
When the operator instructs execution up to the 8th line of the control script line by line (S11), the control script executing means 37 executes 30 up to the 8th line in line units.
The image data of the 01st line is input to the image processor 32 through the data input means 33 (S12). The image processor 32 stores the input image in the internal FIFO memory regardless of whether the program is executed or stopped (S1).
3).

【0062】オペレータが画像処理プロセッサデバッグ
手段41により画像処理プロセッサ32のプログラムを
命令単位で実行を指示すると(S14)、画像処理プロ
セッサ32はプログラムを命令単位で実行し、FIFO
メモリの画像データを順次内部のレジスタに取り込んで
画像処理を行なう(S15)。
When the operator instructs the image processor debug means 41 to execute the program of the image processor 32 in the unit of instruction (S14), the image processor 32 executes the program in the unit of instruction and FIFO.
The image data in the memory is sequentially loaded into the internal register and image processing is performed (S15).

【0063】オペレータが画像処理プロセッサデバッグ
手段41によりプログラムの実行を再開させると(S1
6)、画像処理プロセッサ32は、3001ライン目の
画像処理を実行し画像入力待ちになる(S17)。オペ
レータは画像処理プロセッサデバッグ手段41を通じて
画像処理の過程を検証することで目的とするラインのデ
ータによるデバッグを行う。
When the operator restarts the execution of the program by the image processor debug means 41 (S1
6), the image processing processor 32 executes the image processing of the 3001th line and waits for image input (S17). The operator verifies the process of image processing through the image processing processor debug means 41 to perform debugging with the data of the target line.

【0064】オペレータが制御スクリプトの最後まで実
行を指示すると(S18)、制御スクリプト実行手段3
7は、3002ライン目の以降の画像データをデータ入
力手段33を通じて画像処理プロセッサ32に入力させ
る(S19)。画像処理プロセッサ32は3002ライ
ン目以降の画像処理を実行する(S20)。
When the operator gives an instruction to execute the control script to the end (S18), the control script executing means 3
7 causes the image data after the 3002nd line to be input to the image processor 32 through the data input means 33 (S19). The image processor 32 executes the image processing of the 3002nd line and thereafter (S20).

【0065】次に、第4の実施形態につき説明する。こ
の発明の画像処理プログラムのデバッグにおいて、デバ
ッガにより画像処理プロセッサのプログラムをしばしば
停止するため、オーバーフローによる入力画像の欠落を
防止するために入力画像データの入力を停止する必要が
ある。第3の実施形態の画像処理評価装置では入力画像
データ量を制御スクリプト実行手段の操作で調整する必
要があり、操作が煩雑となる問題が発生する。
Next, a fourth embodiment will be described. In debugging the image processing program according to the present invention, the program of the image processing processor is often stopped by the debugger. Therefore, it is necessary to stop the input of the input image data in order to prevent the loss of the input image due to overflow. In the image processing evaluation apparatus of the third embodiment, it is necessary to adjust the input image data amount by operating the control script executing means, which causes a problem that the operation becomes complicated.

【0066】そこで、この第4の実施形態は、デバッガ
によって画像処理プログラムの実行を停止すると画像処
理プロセッサへの画像データ入力を一時停止し、デバッ
ガから実行を再開すると画像データ入力も自動的に再開
することで、複雑な操作を必要とせず、画像処理プロセ
ッサへの入力画像の欠落を防止するものである。
Therefore, in the fourth embodiment, when the execution of the image processing program is stopped by the debugger, the image data input to the image processing processor is temporarily stopped, and when the execution is restarted from the debugger, the image data input is automatically restarted. By doing so, a complicated operation is not required and a loss of an input image to the image processing processor is prevented.

【0067】図4は、この発明の第4の実施形態にかか
る画像処理評価装置の構成を示すブロック図である。こ
の第4の実施形態も第1の実施形態と基本構成は同じ構
成であるので、第1の実施形態と相違する箇所を中心に
説明する。この第4の実施形態も図5の制御スクリプト
を使用するものとして説明する。
FIG. 4 is a block diagram showing the arrangement of an image processing evaluation apparatus according to the fourth embodiment of the present invention. Since the fourth embodiment also has the same basic configuration as the first embodiment, the description will focus on the points different from the first embodiment. The fourth embodiment will also be described assuming that the control script of FIG. 5 is used.

【0068】画像処理評価本体部51は、画像処理プロ
セッサ52、入力データファイル555から入力画像と
入力ゲート信号を読み込み画像処理プロセッサ52に入
力するデータ入力手段53、画像処理プロセッサ52か
ら出力される出力画像と出力ゲート信号の情報を複数の
出力データファイル56に与えるデータ出力手段34、
制御スクリプト61に格納されたスクリプトを読み出し
画像処理プロセッサ52にロードして実行させるプログ
ラム転送手段57、画像処理プロセッサデバッグ手段5
9、データ入力手段53によるデータ入力の一時停止を
制御する入力データ停止手段62と、画像処理プロセッ
サ52で実行される画像処理プログラムが実行中である
か停止中であるかを監視して、停止中であれば制御スク
リプト実行手段60とデータ入力停止手段62に対して
データの一時停止を要求し、実行中になればデータ入力
の再開を要求するプログラム停止通知手段63と、を備
える。
The image processing evaluation main body 51 is an image processing processor 52, data input means 53 for reading an input image and an input gate signal from the input data file 555 and inputting them to the image processing processor 52, and an output output from the image processing processor 52. A data output means 34 for giving information on an image and an output gate signal to a plurality of output data files 56,
Program transfer means 57 for reading the script stored in the control script 61 and loading it into the image processor 52 for execution, and image processor debug means 5
9. Input data stopping means 62 for controlling the temporary stop of data input by the data input means 53, and monitoring whether the image processing program executed by the image processing processor 52 is being executed or stopped, and then stopped. If the program is in the middle, the control script executing means 60 and the data input stopping means 62 are requested to suspend the data, and if it is in the running state, the program stop notifying means 63 is requested to restart the data input.

【0069】このように構成することで、画像処理プロ
セッサデバッグ手段59による画像処理プログラムの実
行、停止に合わせて自動的にデータ入力を停止、再開す
る。
With this configuration, the data input is automatically stopped and restarted in accordance with the execution and stop of the image processing program by the image processor debug means 59.

【0070】次に、この第4の実施形態の動作を説明す
る。オペレータが制御スクリプト実行手段50に対して
制御スクリプト(51)の実行を指示すると、図5の制
御スクリプトに従って次のように動作する。
Next, the operation of the fourth embodiment will be described. When the operator instructs the control script executing means 50 to execute the control script (51), the following operation is performed according to the control script shown in FIG.

【0071】制御スクリプトの1行目により画像処理プ
ログラム58がプログラム転送手段57を通じて画像処
理プロセッサ52にダウンロードされる。ダウンロード
が終了すると画像処理プロセッサ52は画像処理プログ
ラムの実行を開始し、入力画像と入力ゲート信号の入力
待ちとなる。
The first line of the control script causes the image processing program 58 to be downloaded to the image processing processor 52 through the program transfer means 57. When the download is completed, the image processor 52 starts executing the image processing program, and waits for the input image and the input gate signal.

【0072】次に、制御スクリプトの2行目、3行目に
より、入力データファイル55からの入力と出力データ
ファイル56への出力を指定する。制御スクリプトの4
行目以降が実行されると入力画像と入力ゲート信号が順
次画像処理プロセッサ52に入力され、画像処理プロセ
ッサ52は入力された入力画像に対して画像処理を行
う。
Next, the second and third lines of the control script specify the input from the input data file 55 and the output to the output data file 56. Control script 4
When the row and subsequent rows are executed, the input image and the input gate signal are sequentially input to the image processing processor 52, and the image processing processor 52 performs image processing on the input image input.

【0073】画像処理プロセッサデバッグ手段59は画
像処理プロセッサ52のプログラムの実行停止を制御す
る機能と、プログラムカウンタが特定のアドレスに一致
するとプログラムを停止するようにブレークポイントを
設定可能である。また、画像処理プロセッサデバッグ手
段59はプログラム停止中に画像処理プロセッサ内部の
FIFOメモリ、レジスタ、メモリを参照する機能を持
つ。
The image processor debug means 59 has the function of controlling the execution stop of the program of the image processor 52 and the breakpoint can be set so as to stop the program when the program counter matches a specific address. Further, the image processor debug means 59 has a function of referring to the FIFO memory, the register and the memory inside the image processor while the program is stopped.

【0074】オペレータが設定したブレークポイントに
達した場合、あるいはオペレータが強制的にプログラム
の停止を指示した場合、画像処理プロセッサ52はプロ
グラムの実行を停止する。プログラム停止通知手段63
は画像処理プロセッサのプログラム停止を監視してお
り、プログラムの停止を検知すると入力データ停止手段
62に対してプログラム停止を通知すると同時に制御ス
クリプト実行手段60に対しても制御スクリプトの実行
を停止させる。入力データ停止手段62はプログラム停
止通知手段63からの要求によりデータ入力手段53に
よる画像データ入力を一時停止する。
When the breakpoint set by the operator is reached or when the operator forcibly instructs the program to stop, the image processor 52 stops the execution of the program. Program stop notification means 63
Monitors the stop of the program of the image processing processor, and when detecting the stop of the program, notifies the input data stop means 62 of the stop of the program and at the same time causes the control script executing means 60 to stop the execution of the control script. The input data stop means 62 suspends the image data input by the data input means 53 in response to a request from the program stop notification means 63.

【0075】以上のように、この第4の実施形態は、画
像処理プロセッサ52のプログラム停止と同時に画像処
理プロセッサ52)への画像データ入力を停止すること
で、オーバーフローによる入力画像の欠落を防止する。
As described above, in the fourth embodiment, the image data input to the image processing processor 52) is stopped at the same time when the program of the image processing processor 52 is stopped, thereby preventing the loss of the input image due to the overflow. .

【0076】[0076]

【発明の効果】以上説明したように、請求項1に記載の
発明によれば、入力ゲート信号のパターンをユーザが容
易に変更できることで各種の入力機器に対応する画像処
理プログラムの開発をパソコン上で行うことができ、ゲ
ート信号の扱いを含めた画像処理プログラムの動作と画
像処理後の出力を検証可能となる。
As described above, according to the first aspect of the invention, the user can easily change the pattern of the input gate signal so that the image processing program corresponding to various input devices can be developed on the personal computer. The operation of the image processing program including the handling of the gate signal and the output after the image processing can be verified.

【0077】請求項2に記載の発明によれば、画像処理
後に出力される複数の出力データの画像1ラインに相当
するデータ長が異なる場合でも、入力するデータにダミ
ーを付加することで同一長データとして扱うことが出
来、出力画像データを次の画像処理の入力画像データと
して使用可能となるので、システムを複雑にすることな
く画像処理の繰り返しが可能となる。これにより、実機
では複数の画像処理プロセッサを使用して実現している
画像処理環境を、パソコン上の画像処理評価装置の単一
の画像処理プロセッサで再現できる。
According to the second aspect of the present invention, even if the data length corresponding to one image line of the plurality of output data output after the image processing is different, the same length is obtained by adding the dummy to the input data. Since it can be handled as data and the output image data can be used as input image data for the next image processing, the image processing can be repeated without complicating the system. As a result, the image processing environment realized by using a plurality of image processing processors in the actual machine can be reproduced by the single image processing processor of the image processing evaluation device on the personal computer.

【0078】請求項3に記載の発明によれば、制御スク
リプトを変更することで画像処理プログラムと入力画像
をユーザが容易に変更することが可能となる。また、実
機上では不可能な入力画像データの一時停止を可能とす
るため、入力画像の特定の部位を使用したアセンブラレ
ベルでのデバッグが可能となる。
According to the third aspect of the invention, the user can easily change the image processing program and the input image by changing the control script. In addition, since it is possible to temporarily stop the input image data, which is impossible on an actual machine, it is possible to debug at the assembler level using a specific part of the input image.

【0079】請求項4に記載の発明によれば、デバッガ
による画像処理プログラムの実行停止を行っても、ユー
ザによる入力画像データの入力量の制御を必要とせず、
入力画像データの欠落が発生しないデバッグ装置を実現
できる。
According to the invention described in claim 4, even if the execution of the image processing program is stopped by the debugger, the user does not need to control the input amount of the input image data.
It is possible to realize a debug device in which no loss of input image data occurs.

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

【図1】この発明の第1の実施形態にかかる画像処理評
価装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an image processing evaluation apparatus according to a first embodiment of the present invention.

【図2】この発明の第2の実施形態にかかる画像処理評
価装置の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an image processing evaluation device according to a second embodiment of the present invention.

【図3】この発明の第3の実施形態にかかる画像処理評
価装置の構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of an image processing evaluation device according to a third embodiment of the present invention.

【図4】この発明の第4の実施形態にかかる画像処理評
価装置の構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of an image processing evaluation device according to a fourth embodiment of the present invention.

【図5】この発明の制御スクリプトの例を示す図であ
る。
FIG. 5 is a diagram showing an example of a control script of the present invention.

【図6】出力される画像のイメージを示す模式図であ
る。
FIG. 6 is a schematic diagram showing an image of an output image.

【図7】第3の実施形態におけるオペレータの操作フロ
ーと、制御スクリプト実行手段と画像処理プロセッサの
動作フロー図である。
FIG. 7 is an operation flow diagram of an operator and an operation flow diagram of a control script executing unit and an image processor according to the third embodiment.

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

1 画像処理評価本体部は、 2 画像処理プロセッサ 3 データ入力手段 4 データ出力手段 5 入力データファイル 6 出力データファイル 7 プログラム転送手段 8 画像処理プログラム 10 入力ゲート信号定義手段 12 入力画像ファイル 11 入力ゲート信号定義ファイル 13 入力データ生成ファイル 14 分離条件定義手段 15 分離条件定義ファイル 16 出力画像ファイル 17 出力画像分離手段 1 Image processing evaluation main body 2 Image processor 3 data input means 4 Data output means 5 Input data file 6 Output data file 7 Program transfer means 8 Image processing program 10 Input gate signal definition means 12 Input image file 11 Input gate signal definition file 13 Input data generation file 14 Separation condition definition means 15 Separation condition definition file 16 Output image file 17 Output image separation means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像データを入力する入力画像ポート
と、画像ポートのデータの扱いを制御するための複数の
信号からなるゲート信号を入力するゲート信号入力端子
を持ち、入力されたゲート信号に従って画像データを取
り込んで画像処理を行い、画像処理後の画像データを出
力画像ポートから出力すると同時に出力画像ポートのデ
ータの扱いを制御するゲート信号を出力する画像処理プ
ロセッサと、画像処理プログラムを画像処理プロセッサ
にロードして実行させるプログラム転送手段と、入力画
像と入力ゲート信号の情報を保存した入力データファイ
ルから入力画像と入力ゲート信号を読み込み画像処理プ
ロセッサに入力するデータ入力手段と、画像処理プロセ
ッサから出力される出力画像と出力ゲート信号の情報を
出力データファイルに保存するデータ出力手段と、前記
画像処理プロセッサに入力する入力ゲート信号のパター
ンを定義して画像データの入力タイミングを設定する入
力ゲート信号定義手段と、設定された入力ゲート信号定
義と入力画像ファイルを読み込んで画像処理プロセッサ
へ入力するための入力データファイルを生成する入力デ
ータファイル生成手段と、前記出力データファイルから
画像データを分離するためのゲート信号の条件を定義す
る分離条件定義手段と、設定された分離条件の定義を読
み込んで出力データファイルから画像を分離して出力画
像ファイルに出力する出力画像分離手段と、を備え、ゲ
ート信号の処理を含めた画像処理プログラムの検証を行
うことを特徴とする画像処理評価装置。
1. An input image port for inputting image data, and a gate signal input terminal for inputting a gate signal composed of a plurality of signals for controlling the handling of data in the image port, and an image according to the input gate signal. An image processing processor that captures data, performs image processing, outputs the image data after the image processing from the output image port, and at the same time outputs a gate signal that controls the handling of the data of the output image port, and an image processing program. A program transfer means for loading and executing the input image and the input gate signal from the input data file storing the information of the input image and the input gate signal, and a data input means for inputting to the image processing processor, and an output from the image processing processor Information of the output image and output gate signal to be output to the output data file Data output means for storing, input gate signal defining means for defining a pattern of an input gate signal input to the image processor to set an input timing of image data, and a set input gate signal definition and an input image file. Input data file generating means for generating an input data file for reading and inputting to the image processor, and separation condition defining means for defining a condition of a gate signal for separating image data from the output data file are set. Output image separation means for reading the definition of the separation condition, separating the image from the output data file and outputting the separated image to the output image file, and verifying the image processing program including the processing of the gate signal. Image processing evaluation device.
【請求項2】 前記データ入力手段を複数の入力画像ポ
ートに入力可能とし、画像処理プロセッサの複数の出力
画像ポートに対して独立した複数のデータ出力手段を設
け、複数の画像処理プログラムを順次選択して画像処理
プロセッサに転送して実行しては各画像処理プログラム
の処理結果である出力画像データファイルを次の画像処
理の入力データファイルとして使用する場合に、入力デ
ータファイルの画像1ライン分のデータにダミーのデー
タを付加することでデータ入力手段に入力する異なるデ
ータ長の画像データ長を揃えることを可能とするデータ
長調整手段を備えることを特徴とした請求項1に記載の
画像処理評価装置。
2. The data input means can be input to a plurality of input image ports, a plurality of independent data output means are provided for a plurality of output image ports of an image processing processor, and a plurality of image processing programs are sequentially selected. Then, when the output image data file, which is the processing result of each image processing program, is used as the input data file for the next image processing after being transferred to the image processing processor and executed, one line image of the input data file is used. The image processing evaluation according to claim 1, further comprising a data length adjusting unit that makes it possible to align image data lengths of different data lengths input to the data input unit by adding dummy data to the data. apparatus.
【請求項3】 前記入力データファイルから読み出して
画像処理プロセッサに入力するデータ量を制御可能なデ
ータ入力手段と、画像処理プログラムを画像処理プロセ
ッサに転送した後に入力データファイルと出力データフ
ァイルを指定し、主走査方向の画像1ライン分の入力画
像と入力ゲート信号を繰り返し入力するように記述され
た制御スクリプトを読み込んで、スクリプトの複数行の
連続実行と行単位の実行を選択可能な制御スクリプト実
行手段と、画像処理プロセッサで実行される画像処理プ
ログラムをアセンブラレベルでデバッグ可能とする画像
処理プロセッサデバッグ手段と、を備え、画像データを
ライン単位で入力して画像処理をアセンブラレベルでデ
バッグすることを特徴とした請求項2に記載の画像処理
評価装置。
3. A data input unit capable of controlling the amount of data read from the input data file and input to the image processing processor; and an input data file and an output data file are designated after the image processing program is transferred to the image processing processor. , Read the control script written to repeatedly input the input image for one line of the image in the main scanning direction and the input gate signal, and execute the control script in which continuous execution of multiple lines of the script or execution of each line can be selected. Means and an image processing processor debug means for enabling the image processing program executed by the image processing processor to be debugged at the assembler level, and to input the image data line by line to debug the image processing at the assembler level. The image processing evaluation apparatus according to claim 2, which is characterized.
【請求項4】 前記データ入力手段によるデータ入力の
一時停止を制御する入力データ停止手段と、画像処理プ
ロセッサで実行される画像処理プログラムが実行中であ
るか停止中であるかを監視して、停止中であれば制御ス
クリプト実行手段とデータ入力停止手段に対してデータ
の一時停止を要求し、実行中になればデータ入力の再開
を要求するプログラム停止通知手段を備え、画像処理プ
ロセッサデバッグ手段による画像処理プログラムの実
行、停止に合わせて自動的にデータ入力を停止、再開す
ることを特徴とした請求項3に記載の画像処理評価装
置。
4. An input data stop means for controlling a temporary stop of data input by the data input means, and monitoring whether an image processing program executed by an image processing processor is being executed or stopped, If the program is stopped, the control script executing means and the data input stopping means are requested to temporarily suspend the data, and if the data is being executed, the program stop notifying means is requested to restart the data input. The image processing evaluation apparatus according to claim 3, wherein data input is automatically stopped and restarted in accordance with execution and stop of the image processing program.
JP2001286240A 2001-09-20 2001-09-20 Image processing and evaluating device Pending JP2003099286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001286240A JP2003099286A (en) 2001-09-20 2001-09-20 Image processing and evaluating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001286240A JP2003099286A (en) 2001-09-20 2001-09-20 Image processing and evaluating device

Publications (1)

Publication Number Publication Date
JP2003099286A true JP2003099286A (en) 2003-04-04

Family

ID=19109264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001286240A Pending JP2003099286A (en) 2001-09-20 2001-09-20 Image processing and evaluating device

Country Status (1)

Country Link
JP (1) JP2003099286A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011218074A (en) * 2010-04-14 2011-11-04 Akuseru:Kk Unit for evaluating resistance of image processor and game control board

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011218074A (en) * 2010-04-14 2011-11-04 Akuseru:Kk Unit for evaluating resistance of image processor and game control board

Similar Documents

Publication Publication Date Title
US7761744B2 (en) Debugging method
EP0111952B1 (en) Verification of a processor architecture having a partial instruction set
CN111026947B (en) Crawler method and embedded crawler implementation method based on browser
JP2003099286A (en) Image processing and evaluating device
JPH10133914A (en) Computer system and device input/output simulator
JPH08328905A (en) Method and device for simulation
JPH10289129A (en) Task scheduler for debugging
JP2570119B2 (en) Software simulator
JPH08249210A (en) Test data preservation device, automatic test data input device and function testing device
JP2533532B2 (en) Online test method
JP2684966B2 (en) I / O processor debug device
JP2003186854A (en) Simd processor and verification apparatus thereof
JP2004342001A (en) Semiconductor integrated circuit device
JPH10207741A (en) Store trap system and program test method
JPH05127945A (en) Program execution situation analysis system
JPS6214240A (en) Program inspecting system
JPH064333A (en) Break point setting device
JPS6167146A (en) Pseudo fault generating system
JPH0792768B2 (en) Microcomputer
JPH08263324A (en) Debug facilitation device
JPS6349249B2 (en)
JPH09318708A (en) Simulator apparatus for semiconductor inspection device
JPH05233349A (en) Automatic test tool for program module
JPS603032A (en) Information processor
JP2001265619A (en) Data tracing system