JPH05258048A - Image processing system - Google Patents

Image processing system

Info

Publication number
JPH05258048A
JPH05258048A JP5544492A JP5544492A JPH05258048A JP H05258048 A JPH05258048 A JP H05258048A JP 5544492 A JP5544492 A JP 5544492A JP 5544492 A JP5544492 A JP 5544492A JP H05258048 A JPH05258048 A JP H05258048A
Authority
JP
Japan
Prior art keywords
image processing
image
processing
program
input
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
JP5544492A
Other languages
Japanese (ja)
Inventor
Akihiko Ogawa
昭彦 小川
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP5544492A priority Critical patent/JPH05258048A/en
Publication of JPH05258048A publication Critical patent/JPH05258048A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten execution time by adopting the pipeline conversion system of an image processing sequence at the time of processing a still image based on plural execution requirements by an operator. CONSTITUTION:A host computer is programed with respect to the starting processing of low-order CPU based on a sequence file, starts the camera input processing program of a group number (A) first by adding an image holding memory to a low-order CPU, and starts the processing 1 program of a group number (B) following to finishing the program. At the same time of starting the processing 2 program of the group number (B) following to finishing the program, if next execution is required, a next camera input processing program is started. The pipeline conversion system which can simultaneously execute the camera processing program and the processing 2 program is provided.

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 system, and more particularly to a pipeline system of an image processing sequence for executing image processing of a still image based on a sequence file.

【0002】[0002]

【従来の技術】従来の画像処理方式の概略構成図を、図
8に示す。図8に示す画像処理装置において、1は例え
ばITVカメラ等の画像入力装置であって、その出力は
画像入出力部5に入力される。2は例えばCRTディス
プレイ装置等の表示装置であって、画像入出力部5から
出力される信号が入力される。
2. Description of the Related Art A schematic configuration diagram of a conventional image processing system is shown in FIG. In the image processing apparatus shown in FIG. 8, reference numeral 1 denotes an image input device such as an ITV camera, the output of which is input to the image input / output unit 5. Reference numeral 2 denotes a display device such as a CRT display device, to which a signal output from the image input / output unit 5 is input.

【0003】3はホストコンピュータであって、オペレ
ータがホストコンピュータ3に対し画像処理の実行要求
を行うとホストコンピュータ3の記憶部に格納されてい
るシーケンス制御プログラム4が起動され、入出力バス
(アドレスバス,データバス,コントロールバス)を介
して、画像入出力部5内のCPU6及び画像処理部13
内のCPU15に対して処理要求をだす。
Reference numeral 3 denotes a host computer. When an operator makes an image processing execution request to the host computer 3, a sequence control program 4 stored in a storage unit of the host computer 3 is activated and an input / output bus (address) is set. Bus, data bus, control bus), the CPU 6 and the image processing unit 13 in the image input / output unit 5
A processing request is issued to the internal CPU 15.

【0004】画像入出力部5は、画像入出力部5のデー
タの流れを制御するCPU6と、このCPU6のシステ
ムバスに接続されCPU6の制御プログラム等を格納す
る記憶部7と、CPU6の入出力バスに接続されるフレ
ームメモリ10,表示メモリ11,データ入出力部12
及びメモリコントローラ8と、更にメモリコントローラ
8によりコントロールされ、ITVカメラ1からの画像
入力をA/D変換し、その出力を逐次フレームメモリ1
0に書き込むA/D変換器9とにより構成される。
The image input / output unit 5 controls the data flow of the image input / output unit 5, a storage unit 7 connected to the system bus of the CPU 6 for storing control programs of the CPU 6, and input / output of the CPU 6. Frame memory 10, display memory 11, and data input / output unit 12 connected to the bus
And the memory controller 8 and further controlled by the memory controller 8, the image input from the ITV camera 1 is A / D converted, and its output is sequentially output to the frame memory 1.
It is composed of an A / D converter 9 for writing 0.

【0005】画像処理部13は、画像処理を実行するC
PU15と、このCPU15のシステムバスに接続され
CPU15の画像処理プログラム等を格納する記憶部1
6と、この記憶部16の一部ではあるが画像処理時のワ
ークエリアとして確保される画像処理メモリ16aと、
CPU15の入出力バスに接続されたデータ入出力部1
4とにより構成される。
The image processing section 13 executes C for executing image processing.
The PU 15 and a storage unit 1 connected to the system bus of the CPU 15 and storing the image processing program of the CPU 15 and the like.
6, an image processing memory 16a which is a part of the storage unit 16 but is secured as a work area during image processing,
Data input / output unit 1 connected to the input / output bus of the CPU 15
4 and.

【0006】そして、画像入出力部5と画像処理部13
との間は、データ入出力部12とデータ入出力部14の
間を接続するデータバスA,データバスB及びコントロ
ールバスCによって結ばれ、画像データ等の情報の授受
を行う。また、画像入出力部5内の表示メモリ11は、
画像処理の各段階における一時格納メモリとして使用さ
れると共にCRTディスプレイ装置2へ画像情報を出力
するために用いられる。
The image input / output unit 5 and the image processing unit 13
The data input / output unit 12 and the data input / output unit 14 are connected to each other by a data bus A, a data bus B, and a control bus C, and information such as image data is exchanged. Further, the display memory 11 in the image input / output unit 5 is
It is used as a temporary storage memory in each stage of image processing and is also used to output image information to the CRT display device 2.

【0007】次に、ホストパソコン3でのオペレータの
一回の指示で起動されるシーケンスファイルに基づき、
画像処理を順次実行させる場合、例えば図9に示すシー
ケンスファイルの実行は、以下のような順序で行われ
る。ここで、処理番号とは処理の順序を表し、画像処理
とは2値化処理,濃淡処理,輪郭強調等の処理内容を表
し、処理パラメータとは画像処理の実行手順を表す。
Next, based on the sequence file activated by the operator's single instruction on the host personal computer 3,
When the image processing is sequentially executed, for example, the sequence file shown in FIG. 9 is executed in the following order. Here, the processing number represents the order of processing, the image processing represents processing content such as binarization processing, grayscale processing, and edge enhancement, and the processing parameter represents an execution procedure of image processing.

【0008】先ず、処理番号(1) のカメラ入力では、I
TVカメラ1入力からのカメラ画像をA/D変換器9で
A/D変換してフレームメモリ10に1フレーム分の画
像データを貯えると、その画像データを表示メモリ11
へ転送する。次に、処理番号(2) の処理1では、表示メ
モリ11の画像データがデータバスAを経由して画像処
理部13へ転送され、画像処理部13内で画像処理した
画像処理データがデータバスBを経由して表示メモリ1
1へ返送される。
First, in the camera input of the processing number (1), I
When the camera image from the input of the TV camera 1 is A / D converted by the A / D converter 9 and the image data for one frame is stored in the frame memory 10, the image data is displayed.
Transfer to. Next, in processing 1 of processing number (2), the image data in the display memory 11 is transferred to the image processing unit 13 via the data bus A, and the image processing data subjected to the image processing in the image processing unit 13 is transferred to the data bus. Display memory 1 via B
Returned to 1.

【0009】次いで、処理番号(3) の処理2では、処理
番号(2) と同様な方法で表示メモリ11の画像データが
データバスAを経由して画像処理部13へ転送され、画
像処理部13内で画像処理した画像処理データがデータ
バスBを経由して表示メモリ11へ返送される。このよ
うに、従来方式においては、図10の画像処理順序に示
すようにホストコンピュータ3に対するオペレータの複
数の実行要求に対して処理番号の順番通りに一回づつ完
了しながら実行していく方式で画像処理を行っている。
Next, in the process 2 of the process number (3), the image data of the display memory 11 is transferred to the image processing unit 13 via the data bus A in the same manner as the process number (2), and the image processing unit 13 The image-processed data subjected to the image processing in 13 is returned to the display memory 11 via the data bus B. As described above, in the conventional method, as shown in the image processing sequence of FIG. 10, a plurality of execution requests of the operator to the host computer 3 are completed and executed one by one in the order of the processing numbers. Image processing is being performed.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上記従
来の画像処理方式においては、オペレータの複数の実行
要求に基づいて図9のシーケンスファイルを繰り返して
実行する場合、前述のように処理番号順に処理を実行し
ているので、実行の処理速度が遅くなるという未解決の
課題がある。
However, in the above-mentioned conventional image processing method, when the sequence file of FIG. 9 is repeatedly executed based on a plurality of execution requests of the operator, the processing is performed in the order of the processing numbers as described above. Since it is being executed, there is an unsolved problem that the execution processing speed becomes slow.

【0011】また、画像処理の処理番号毎に表示メモリ
11に一時退避しており、その都度データバスA及びB
を経由しているので、このためにも実行の処理速度が遅
くなるという未解決の課題がある。そこで、この発明
は、上記従来の未解決の課題に着目してなされたもので
あり、画像処理部13内に処理途中の画像処理経過を一
時的に保持する画像保持メモリを備えることにより、同
時に実行できない処理は、まとめてグループ化し、これ
らのグループを並列的に動作させることのできる画像処
理シーケンスのパイプライン化方式を採用して、オペレ
ータの複数の実行要求に基づいて静止画像を処理するに
あたって、実行時間の短縮を実現できる画像処理方式を
提供することを目的としている。
The image data is temporarily saved in the display memory 11 for each image processing number, and the data buses A and B are saved each time.
Therefore, there is an unsolved problem that the processing speed of the execution becomes slow for this reason as well. Therefore, the present invention has been made by paying attention to the above-mentioned unsolved problems of the related art. By providing an image holding memory for temporarily holding the progress of image processing in the image processing unit 13, Processes that cannot be executed are grouped together and a pipelined system of image processing sequences that can operate these groups in parallel is adopted to process still images based on multiple execution requests from the operator. An object of the present invention is to provide an image processing method that can reduce the execution time.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
に、本発明に係る画像処理方式は、画像入力装置から静
止画像データを読込んで、画像処理部で画像処理を行
い、該画像処理結果の画像データを画像入出力部内の表
示メモリで保持する画像処理方式において、前記画像処
理部内に、各画像処理情報を一時的に保持する画像保持
メモリと、複数の画像処理の実行を行うときに同時に同
一画像保持メモリを使用しない画像処理については同時
に画像処理を実行するシーケンス制御手段とを備えたこ
とを特徴としている。
In order to achieve the above object, an image processing method according to the present invention reads still image data from an image input device, performs image processing in an image processing section, and outputs the image processing result. In the image processing method of holding the image data of the image data in the display memory in the image input / output unit, an image holding memory for temporarily holding each image processing information in the image processing unit and a plurality of image processing It is characterized in that it is provided with a sequence control means for simultaneously executing the image processing for the image processing which does not use the same image holding memory at the same time.

【0013】[0013]

【作用】本発明においては、従来の画像処理方式に加え
て、画像処理部内に各画像処理段階での画像処理経過を
一時的に保持する画像保持メモリと、複数の画像処理の
実行を行うときに前記画像保持メモリに画像データを一
時的に退避させることにより前記画像処理段階で同時に
処理可能な画像処理段階については同時に画像処理を実
行するシーケンス制御手段とを備えたので、同時に実行
できない処理パラメータをまとめてグループ化すること
によって、全部のグループを同時に実行できる画像処理
シーケンスのパイプライン化を実現できる。
According to the present invention, in addition to the conventional image processing method, an image holding memory for temporarily holding the image processing progress at each image processing stage in the image processing unit and a plurality of image processing executions In addition, since there is provided a sequence control means for simultaneously performing image processing for image processing steps that can be simultaneously processed in the image processing step by temporarily saving image data in the image holding memory, processing parameters that cannot be simultaneously executed. By grouping together, it is possible to realize a pipeline of image processing sequences that can execute all groups at the same time.

【0014】[0014]

【実施例】以下に、本発明の実施例を図面に基づいて説
明する。図1は、本発明の一実施例を示す概略構成図で
ある。また、図2は実施例のシーケンスファイルであ
り、図3は画像処理順序を示す図である。図1におい
て、1は例えばITVカメラ等の画像入力装置であっ
て、その出力は画像入出力部5に入力される。2は例え
ばCRTディスプレイ装置等の表示装置であって、画像
入出力部5から出力される信号が入力される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic configuration diagram showing an embodiment of the present invention. 2 is a sequence file of the embodiment, and FIG. 3 is a diagram showing an image processing order. In FIG. 1, reference numeral 1 denotes an image input device such as an ITV camera, the output of which is input to an image input / output unit 5. Reference numeral 2 denotes a display device such as a CRT display device, to which a signal output from the image input / output unit 5 is input.

【0015】3はホストコンピュータであって、オペレ
ータがホストコンピュータ3に対し画像処理の実行要求
を行うとホストコンピュータ3の記憶部に格納されてい
るシーケンス制御プログラム4aが起動され、入出力バ
ス(アドレスバス,データバス,コントロールバス)を
介して、画像入出力部5内のCPU6及び画像処理部1
3内のCPU15に対して処理要求を出す。
Reference numeral 3 denotes a host computer. When an operator makes an image processing execution request to the host computer 3, the sequence control program 4a stored in the storage unit of the host computer 3 is started, and an input / output bus (address) is set. Bus, data bus, control bus), the CPU 6 and the image processing unit 1 in the image input / output unit 5
A processing request is issued to the CPU 15 in 3.

【0016】画像入出力部5は、画像入出力部5のデー
タの流れを制御するCPU6と、このCPU6のシステ
ムバスに接続されCPU6の制御プログラム等を格納す
る記憶部7と、CPU6の入出力バスに接続されるフレ
ームメモリ10,表示メモリ11,データ入出力部12
及びメモリコントローラ8と、更にメモリコントローラ
8によりコントロールされ、ITVカメラ1からの画像
入力をA/D変換し、その出力を逐次フレームメモリ1
0に書き込むA/D変換器9とにより構成される。ここ
で、メモリコントローラ8は外部よりH.SYNC(水
平同期信号)及びV.SYNC(垂直同期信号)を受信
しており、CPU6からの起動により、入力画像のスタ
ート位置を判断し以降内部クロックに従って、A/D変
換器9に対するコントロールとA/D変換に同期してフ
レームメモリ10に対する書込みアドレス信号等の発生
を行い、1フレームの書込みが完了した時点でA/D変
換器9及びフレームメモリ10に対するアクセスを停止
してCPU6に通知し、次の起動があるまで待機状態と
なる。
The image input / output unit 5 controls the data flow of the image input / output unit 5, a storage unit 7 connected to the system bus of the CPU 6 for storing control programs of the CPU 6, and input / output of the CPU 6. Frame memory 10, display memory 11, and data input / output unit 12 connected to the bus
And the memory controller 8 and further controlled by the memory controller 8, the image input from the ITV camera 1 is A / D converted, and its output is sequentially output to the frame memory 1.
It is composed of an A / D converter 9 for writing 0. Here, the memory controller 8 receives an H.V. SYNC (horizontal synchronization signal) and V. The SYNC (vertical synchronization signal) is received, the start position of the input image is determined by the activation from the CPU 6, and thereafter, the frame memory is controlled in synchronization with the control of the A / D converter 9 and the A / D conversion according to the internal clock. A write address signal or the like for 10 is generated, and when the writing of one frame is completed, access to the A / D converter 9 and the frame memory 10 is stopped and the CPU 6 is notified, and a standby state is set until the next activation. Become.

【0017】画像処理部13は、画像処理を実行するC
PU15と、このCPU15のシステムバスに接続され
CPU15の画像処理プログラム等を格納する記憶部1
6と、この記憶部16の一部ではあるが画像処理時のワ
ークエリアとして確保される画像処理メモリ16aと、
CPU15の入出力バスに接続される画像保持メモリ1
7a,17b及びデータ入出力部14とにより構成され
る。ここで、画像保持メモリ17a,17bは画像処理
の各段階における一時格納メモリとしてビデオRAM
(VRAM)が使用される。
The image processing unit 13 executes C for executing image processing.
The PU 15 and a storage unit 1 connected to the system bus of the CPU 15 and storing an image processing program of the CPU 15 and the like.
6 and an image processing memory 16a which is a part of the storage unit 16 but is secured as a work area during image processing,
Image holding memory 1 connected to the input / output bus of the CPU 15
7a, 17b and the data input / output unit 14. Here, the image holding memories 17a and 17b are a video RAM as a temporary storage memory in each stage of image processing.
(VRAM) is used.

【0018】そして、画像入出力部5と画像処理部13
との間は、データ入出力部12とデータ入出力部14の
間を接続するデータバスA,データバスB及びコントロ
ールバスCによって結ばれ、画像データ等の情報の授受
を行う。また、画像入出力部5内の表示メモリ11は、
CRTディスプレイ装置2へ画像情報を出力する。
The image input / output unit 5 and the image processing unit 13
The data input / output unit 12 and the data input / output unit 14 are connected to each other by a data bus A, a data bus B, and a control bus C, and information such as image data is exchanged. Further, the display memory 11 in the image input / output unit 5 is
The image information is output to the CRT display device 2.

【0019】次に、上記実施例の動作を図4〜図7のフ
ローチャートを伴って説明する。図4はホストコンピュ
ータ3のフローチャートであり、図2のシーケンスファ
イルに基づいて作成されている。図5はグループ番号
(A)のITVカメラ入力画像処理についてのフローチ
ャートである。図6はグループ番号(B)の処理1につ
いてのフローチャートである。図7はグループ番号
(B)の処理2についてのフローチャートである。ここ
で、グループ番号(A)のITVカメラ入力画像処理と
グループ番号(B)の処理2については、同時に重複し
た動作を行わないため、同時処理が可能となっている。
Next, the operation of the above embodiment will be described with reference to the flow charts of FIGS. FIG. 4 is a flowchart of the host computer 3, which is created based on the sequence file of FIG. FIG. 5 is a flowchart of the ITV camera input image processing for the group number (A). FIG. 6 is a flowchart of processing 1 for group number (B). FIG. 7 is a flowchart of processing 2 for group number (B). Here, since the ITV camera input image processing of the group number (A) and the processing 2 of the group number (B) do not perform the same operation at the same time, they can be processed simultaneously.

【0020】図4のフローチャートは、ホストコンピュ
ータ3がオペレータからの実行要求を受付ると起動さ
れ、先ず、ステップS1ではCPU6とCPU15に対
しグループ番号(A)のカメラ入力画像処理プログラム
に起動をかける。ステップS2では先ずCPU6のステ
ータス情報を読込みITVカメラ入力画像処理プログラ
ムの終了情報がセットされているか否かを判断し、セッ
トされていなければ再度ステップS2へ戻る動作を繰り
返す。セットされていれば、ステップS3へ移行する。
The flowchart of FIG. 4 is started when the host computer 3 receives an execution request from the operator. First, in step S1, the CPU 6 and the CPU 15 start the camera input image processing program of the group number (A). .. In step S2, first, the status information of the CPU 6 is read to determine whether or not the end information of the ITV camera input image processing program is set. If not set, the operation of returning to step S2 again is repeated. If it is set, the process proceeds to step S3.

【0021】ステップS3ではCPU15に対しグルー
プ番号(B)の処理1プログラムに起動をかける。ステ
ップS4では先ずCPU15のステータス情報を読込み
処理1プログラムの終了情報がセットされているか否か
を判断し、セットされていなければ再度ステップS4へ
戻る動作を繰り返す。セットされていれば、ステップS
5へ移行する。ステップS5ではCPU6とCPU15
に対しグループ番号(B)の処理2プログラムに起動を
かけ、ステップS6へ移行する。
In step S3, the CPU 15 activates the processing 1 program of the group number (B). In step S4, first, the status information of the CPU 15 is read, and it is determined whether or not the end information of the processing 1 program is set. If not, the operation of returning to step S4 is repeated. If set, step S
Go to 5. In step S5, CPU6 and CPU15
, The process 2 program of the group number (B) is activated, and the process proceeds to step S6.

【0022】ステップS6では、ホストコンピュータ3
にオペレータからの次の実行要求があるか否かを判断す
る。実行要求があれば、ステップS7へ移行し再度CP
U6とCPU15に対しグループ番号(A)のカメラ入
力処理プログラムに起動をかける。この時点でグループ
番号(A)のITVカメラ入力画像処理プログラムとグ
ループ番号(B)の処理2プログラムは同時に処理が行
われることになる。
In step S6, the host computer 3
It is determined whether or not there is a next execution request from the operator. If there is an execution request, the process proceeds to step S7 and the CP is executed again.
The camera input processing program of the group number (A) is activated for U6 and the CPU 15. At this time, the ITV camera input image processing program of the group number (A) and the processing 2 program of the group number (B) are processed at the same time.

【0023】次に、ステップS8へ移行しCPU15の
ステータス情報を読込み処理2プログラムの終了情報が
セットされているか否かを判断し、セットされていなけ
れば再度ステップS8へ戻る動作を繰り返す。セットさ
れていれば、ステップS2へ移行し、再びステップS2
以降の処理を実行する。ステップS6においてオペレー
タからの実行要求がなければ、ステップS9へ移行しC
PU15のステータス情報を読込み処理2プログラムの
終了情報がセットされているか否かを判断し、セットさ
れていなければ再度ステップS9へ戻る動作を繰り返
す。セットされていれば、ホストコンピュータ3は当該
画像処理の実行を終了する。
Next, the process proceeds to step S8, the status information of the CPU 15 is read, and it is determined whether or not the end information of the process 2 program is set. If not set, the operation of returning to step S8 again is repeated. If it is set, the process proceeds to step S2, and again to step S2.
Perform the following processing. If there is no execution request from the operator in step S6, the process proceeds to step S9 and C
The status information of the PU 15 is read, and it is determined whether or not the end information of the process 2 program is set. If it is not set, the operation of returning to step S9 again is repeated. If it is set, the host computer 3 ends the execution of the image processing.

【0024】図5のフローチャートはグループ番号
(A)のITVカメラ入力画像処理プログラムであり、
ホストコンピュータ3から起動される。先ず、ステップ
S21ではメモリコントローラ8に起動をかける。メモ
リコントローラ8は外部からのH.SYNC及びV.S
YNCを受信しており、起動がかかると入力画像のスタ
ート時点を判断し、以降A/D変換器9とフレームメモ
リ10をコントロールして、フレームメモリ10への書
込みを行う。
The flowchart of FIG. 5 is an ITV camera input image processing program of group number (A),
It is started from the host computer 3. First, in step S21, the memory controller 8 is activated. The memory controller 8 is a H.V. SYNC and V.I. S
When YNC has been received and activation is started, the start time of the input image is determined, and thereafter the A / D converter 9 and the frame memory 10 are controlled to write to the frame memory 10.

【0025】次いで、ステップS22ではフレームメモ
リ10へ1画面分の画像データが書込まれたか否かを判
断する。これはメモリコントローラ8からの終了通知が
セットされたか否かにより行う。画像データの書込みが
終了していなければ再度ステップS22へ戻る。画像デ
ータの書込みが終了していれば、ステップS23へ移行
しフレームメモリ10に書込まれた画像データを順次デ
ータバスAを介して画像処理部13内の画像保持メモリ
17aに転送する。データ転送の制御はコントロールバ
スCを介してCPU6及びCPU15が行う。次いで、
ステップS24において転送が完了したか否かの判断を
行う。所定ワード数の転送が行われていればCPU6は
転送完了と判断する。転送が完了していなければ再びス
テップS23へ戻る。転送が完了していればステップS
25へ移行し、終了情報をセットしてCPU15及びホ
ストコンピュータ3へ通知してITVカメラ入力画像処
理プログラムを終了する。
Next, in step S22, it is determined whether or not one screen of image data has been written in the frame memory 10. This is performed depending on whether or not the end notification from the memory controller 8 is set. If the writing of the image data has not been completed, the process returns to step S22 again. If the writing of the image data is completed, the process proceeds to step S23 and the image data written in the frame memory 10 is sequentially transferred to the image holding memory 17a in the image processing unit 13 via the data bus A. The CPU 6 and the CPU 15 control the data transfer via the control bus C. Then
In step S24, it is determined whether the transfer is completed. If the predetermined number of words have been transferred, the CPU 6 determines that the transfer is completed. If the transfer has not been completed, the process returns to step S23 again. If the transfer is complete, step S
25, the end information is set, the CPU 15 and the host computer 3 are notified, and the ITV camera input image processing program is ended.

【0026】図6のフローチャートはグループ番号
(B)の処理1プログラムであり、ホストコンピュータ
3から起動される。先ず、ステップS31では画像処理
1の処理単位の画像データ領域を画像保持メモリ17a
から読出し、画像処理メモリ16aに転送する。ここ
で、画像処理メモリ16aは画像処理を行うときのワー
クエリアとして使用される。ステップS32は所定の画
像処理1を行うルーチンであり、ステップS31で読み
出したデータ領域の画像処理1が終了すると、ステップ
S33で画像処理結果を画像保持メモリ17bへ書き込
む。次いで、ステップS34で全領域について画像処理
1が終了したか否かを判断し、終了していなければステ
ップS31に戻り、次のデータ領域について処理を繰り
返す。終了していれば、ステップS35へ移行し、終了
情報をセットしてCPU6及びホストコンピュータ3へ
通知して処理1プログラムを終了する。
The flowchart of FIG. 6 is a processing 1 program for the group number (B), which is started from the host computer 3. First, in step S31, the image data area of the processing unit of the image processing 1 is set to the image holding memory 17a.
Read out and transferred to the image processing memory 16a. Here, the image processing memory 16a is used as a work area when performing image processing. Step S32 is a routine for performing a predetermined image processing 1, and when the image processing 1 of the data area read in step S31 is completed, the image processing result is written in the image holding memory 17b in step S33. Next, in step S34, it is determined whether or not the image processing 1 has been completed for all areas, and if not completed, the processing returns to step S31 and the processing is repeated for the next data area. If the processing has been completed, the process proceeds to step S35 to set the completion information and notify the CPU 6 and the host computer 3 to terminate the processing 1 program.

【0027】図7のフローチャートはグループ番号
(B)の処理2プログラムであり、ホストコンピュータ
3から起動される。先ず、ステップS41では画像処理
2の処理単位の画像データ領域を画像保持メモリ17b
から読出し、画像処理メモリ16aに転送する。ステッ
プS42は所定の画像処理2を行うルーチンであり、ス
テップS41で画像処理メモリ16aに読み出したデー
タ領域の画像処理2が終了すると、ステップS43で画
像処理結果を画像入出力部5内の表示メモリ11へデー
タバスBを介して転送する。データ転送の制御はコント
ロールバスCを介してCPU15及びCPU6が行う。
次いで、ステップS44で全領域について画像処理2が
終了したか否かを判断し、終了していなければステップ
S41に戻り、次のデータ領域について処理を繰り返
す。終了していれば、ステップS45へ移行し、終了情
報をセットしてCPU6及びホストコンピュータ3へ通
知して処理2プログラムを終了する。
The flowchart of FIG. 7 shows the processing 2 program for the group number (B), which is started from the host computer 3. First, in step S41, the image data area of the processing unit of the image processing 2 is set to the image holding memory 17b.
Read out and transferred to the image processing memory 16a. Step S42 is a routine for performing a predetermined image processing 2. When the image processing 2 of the data area read out to the image processing memory 16a in step S41 is completed, the image processing result is displayed in the display memory in the image input / output unit 5 in step S43. 11 via the data bus B. The data transfer is controlled by the CPU 15 and the CPU 6 via the control bus C.
Next, in step S44, it is determined whether or not the image processing 2 has been completed for all areas, and if not completed, the processing returns to step S41 and the processing is repeated for the next data area. If the processing has been completed, the process proceeds to step S45, the completion information is set, the CPU 6 and the host computer 3 are notified, and the processing 2 program is completed.

【0028】ここで、画像保持メモリ17a及び17b
が画像保持メモリに対応し、図2のシーケンスファイル
及び図4のホストコンピュータのプログラムがシーケン
ス制御手段に対応する。したがって、今、図4のフロー
チャートがオペレータの実行要求でスタートし、ステッ
プS1でグループ番号(A)のITVカメラ入力画像処
理が起動された後、ステップS4の画像処理1の終了ま
でに、次のオペレータの実行要求が実施されると、ステ
ップS6で次の実行要求有りと判断されるため、ステッ
プS5のグループ番号(B)の画像処理2が起動された
後、直ちにステップS7のグループ番号(A)のITV
カメラ入力画像処理が起動され、グループ番号(A)の
処理とグループ番号(B)の処理が同時に実行されるこ
ととなる。その結果、図3に示されるように画像処理順
序が1部並行して実施されて、パイプライン的に処理が
行われるため、画像処理の実行時間がトータルで短縮さ
れることとなる。ステップS6で次の実行要求がなけれ
ば、ステップS9で処理2が終了した時点で図4の処理
は完了する。
Here, the image holding memories 17a and 17b
Corresponds to the image holding memory, and the sequence file of FIG. 2 and the program of the host computer of FIG. 4 correspond to the sequence control means. Therefore, the flow chart of FIG. 4 is started by the operator's execution request, and after the ITV camera input image processing of the group number (A) is started in step S1, the next image processing 1 in step S4 is completed. When the operator's execution request is executed, it is determined in step S6 that there is a next execution request. Therefore, immediately after the image processing 2 of the group number (B) in step S5 is activated, the group number (A ) ITV
The camera input image processing is activated, and the processing of the group number (A) and the processing of the group number (B) are executed simultaneously. As a result, as shown in FIG. 3, a part of the image processing is executed in parallel and the processing is performed in a pipeline manner, so that the execution time of the image processing is shortened in total. If there is no next execution request in step S6, the process of FIG. 4 is completed when the process 2 is completed in step S9.

【0029】なお、上記実施例において、画像保持メモ
リとして画像処理部13に画像保持メモリ17a及び1
7bというビデオRAM(VRAM)を設けたが、これ
に限るものではなく、記憶部16の記憶容量をその分確
保して画像保持メモリに代えてもよい。また、上記実施
例において、画像入出力部5と画像処理部13の間のデ
ータの授受を始めメモリ間データ転送をプログラム転送
に基づいて記載したが、これに限るものではなく、プロ
グラム転送に代えてDMA転送でデータ授受を行えば、
システムの処理能力は更に向上する。
In the above embodiment, the image holding memories 17a and 1a are provided in the image processing unit 13 as the image holding memories.
Although the video RAM (VRAM) 7b is provided, the invention is not limited to this, and the storage capacity of the storage unit 16 may be secured accordingly and replaced with the image holding memory. Further, in the above-mentioned embodiment, the data transfer between the memories including the exchange of data between the image input / output unit 5 and the image processing unit 13 is described based on the program transfer, but the present invention is not limited to this, and the program transfer may be used instead. If you transfer data by DMA transfer,
The processing capacity of the system is further improved.

【0030】さらに、上記実施例において、ITVカメ
ラ1により画像を入力したが、これに限るものではな
く、イメージスキャナ等の他の画像読取り装置で入力す
るようにしてもよい。さらにまた、上記実施例におい
て、ディスプレイ2としてCRTディスプレイ装置を用
いたが、これに限るものではなく、液晶表示装置等の他
の表示装置でもよい。
Further, although the image is input by the ITV camera 1 in the above embodiment, the present invention is not limited to this, and the image may be input by another image reading device such as an image scanner. Furthermore, although the CRT display device is used as the display 2 in the above embodiment, the present invention is not limited to this, and another display device such as a liquid crystal display device may be used.

【0031】[0031]

【発明の効果】以上説明したように、本発明に係る画像
処理方式によれば、画像処理部内に各画像処理段階での
画像処理経過を一時的に保持する画像保持メモリと、複
数の画像処理の実行を行うときに前記画像保持メモリに
画像データを一時的に退避させることにより前記画像処
理段階で同時に処理可能な画像処理段階については同時
に画像処理を実行するシーケンス制御手段とを備えたの
で、同時に実行できない処理パラメータをまとめてグル
ープ化することによって、全部のグループを同時に実行
できる画像処理シーケンスのパイプライン化を実現で
き、処理の実行時間の短縮を図ることができるという効
果がある。
As described above, according to the image processing method of the present invention, an image holding memory for temporarily holding the image processing progress at each image processing stage in the image processing unit, and a plurality of image processing units. Since a sequence control means is provided for simultaneously executing image processing for image processing steps that can be simultaneously processed in the image processing step by temporarily saving image data in the image holding memory when executing By grouping together processing parameters that cannot be executed simultaneously, it is possible to realize a pipeline of image processing sequences that can execute all groups at the same time, and it is possible to shorten the processing execution time.

【0032】また、画像保持メモリを設けたことによ
り、データバスを使用した画像入出力部と画像処理部の
間の画像データの転送回数が少なくなるので、この面か
らも処理の実行時間の短縮を図ることができるという効
果がある。
Since the image holding memory is provided, the number of times image data is transferred between the image input / output unit and the image processing unit using the data bus is reduced. There is an effect that can be achieved.

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

【図1】実施例の概略構成図である。FIG. 1 is a schematic configuration diagram of an embodiment.

【図2】実施例のシーケンスファイルである。FIG. 2 is a sequence file of an embodiment.

【図3】実施例の画像処理順序を表す図である。FIG. 3 is a diagram illustrating an image processing order according to an embodiment.

【図4】実施例のホストコンピュータのシーケンス制御
プログラムの処理フローチャートである。
FIG. 4 is a processing flowchart of a sequence control program of a host computer of the embodiment.

【図5】実施例のカメラ入力処理フローチャートであ
る。
FIG. 5 is a camera input processing flowchart of the embodiment.

【図6】実施例の画像処理1フローチャートである。FIG. 6 is a flowchart of image processing 1 of the embodiment.

【図7】実施例の画像処理2フローチャートである。FIG. 7 is a flowchart of image processing 2 of the embodiment.

【図8】従来例の概略構成図である。FIG. 8 is a schematic configuration diagram of a conventional example.

【図9】従来例のシーケンスファイルである。FIG. 9 is a sequence file of a conventional example.

【図10】従来例の画像処理順序を表す図である。FIG. 10 is a diagram illustrating an image processing order of a conventional example.

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

1 カメラ 2 CRTディスプレイ装置 3 ホストコンピュータ 4,4a シーケンス制御プログラム 5 画像入出力部 6,15 CPU 7,16 記憶部 8 メモリコントローラ 9 A/D変換器 10 フレームメモリ 11 表示メモリ 12,14 データ入出力部 13 画像処理部 17a,17b 画像保持メモリ(ビデオRAM) 1 camera 2 CRT display device 3 host computer 4, 4a sequence control program 5 image input / output unit 6,15 CPU 7, 16 storage unit 8 memory controller 9 A / D converter 10 frame memory 11 display memory 12, 14 data input / output Part 13 Image processing part 17a, 17b Image holding memory (video RAM)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 画像入力装置から静止画像データを読込
んで、画像処理部で画像処理を行い、該画像処理結果の
画像データを画像入出力部内の表示メモリで保持する画
像処理方式において、前記画像処理部内に、各画像処理
情報を一時的に保持する画像保持メモリと、複数の画像
処理の実行を行うときに同時に同一画像保持メモリを使
用しない画像処理については同時に画像処理を実行する
シーケンス制御手段とを備えたことを特徴とする画像処
理方式。
1. An image processing method in which still image data is read from an image input device, image processing is performed by an image processing unit, and image data of the image processing result is held in a display memory in an image input / output unit. An image holding memory that temporarily holds each piece of image processing information in the processing unit, and a sequence control unit that simultaneously executes image processing for image processing that does not use the same image holding memory when executing a plurality of image processings An image processing method comprising:
JP5544492A 1992-03-13 1992-03-13 Image processing system Pending JPH05258048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5544492A JPH05258048A (en) 1992-03-13 1992-03-13 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5544492A JPH05258048A (en) 1992-03-13 1992-03-13 Image processing system

Publications (1)

Publication Number Publication Date
JPH05258048A true JPH05258048A (en) 1993-10-08

Family

ID=12998768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5544492A Pending JPH05258048A (en) 1992-03-13 1992-03-13 Image processing system

Country Status (1)

Country Link
JP (1) JPH05258048A (en)

Similar Documents

Publication Publication Date Title
JPH06180653A (en) Interruption processing method and device therefor
JPH10283204A (en) Multi-task processing method, multi-task processor and recording medium recording task
JPH05258048A (en) Image processing system
JP2000148999A (en) Data processing system
US6628289B1 (en) Rendering apparatus and method, and storage medium
JPS5816219B2 (en) Shape recognition device
JP3564327B2 (en) Graphic processing unit
JP4553998B2 (en) Bus control device
JP2768373B2 (en) Information processing device
JP3168845B2 (en) Digital signal processor
JPH0465777A (en) Image data transfer system
JP3077687B2 (en) Data transfer method and image processing apparatus
JPS58107589A (en) Screen clearing system for display unit
JPH04130945A (en) Information processor
JPH0635848A (en) Information processor
JPH0612368A (en) High-definition image processor
JPH06282657A (en) Graphic display method and device
JPH08115213A (en) Digital signal processing and direct memory access control method therefor
JPS623382A (en) Picture processor
JPH07200453A (en) Data processor
JPH0612198A (en) Printer device control circuit
JPH01140272A (en) Picture processor
JPH02214986A (en) Picture arithmetic device
JP2000181432A (en) Graphic processor
JPH06259229A (en) Addition processor