JPH0685179B2 - Image processing program generation method - Google Patents

Image processing program generation method

Info

Publication number
JPH0685179B2
JPH0685179B2 JP60075829A JP7582985A JPH0685179B2 JP H0685179 B2 JPH0685179 B2 JP H0685179B2 JP 60075829 A JP60075829 A JP 60075829A JP 7582985 A JP7582985 A JP 7582985A JP H0685179 B2 JPH0685179 B2 JP H0685179B2
Authority
JP
Japan
Prior art keywords
image processing
image
command
processing
displayed
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.)
Expired - Fee Related
Application number
JP60075829A
Other languages
Japanese (ja)
Other versions
JPS61234472A (en
Inventor
和紀 藤原
浩二 石沢
敏雄 臼井
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.)
Hitachi Ltd
Hitachi Information and Control Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Information and Control Systems Inc
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 Hitachi Ltd, Hitachi Information and Control Systems Inc filed Critical Hitachi Ltd
Priority to JP60075829A priority Critical patent/JPH0685179B2/en
Publication of JPS61234472A publication Critical patent/JPS61234472A/en
Publication of JPH0685179B2 publication Critical patent/JPH0685179B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は画像処理プログラムの生成方法に係り、特に画
像処理をする上で能率を向上させた画像処理プログラム
の生成方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for generating an image processing program, and more particularly to a method for generating an image processing program with improved efficiency in image processing.

〔発明の背景〕[Background of the Invention]

近年の画像処理装置は、処理速度の向上と処理機能の拡
充を柱として加速度的に進歩してきている。かかる画像
処理装置において、処理速度の向上は望まれるものであ
るが、処理機能の拡充という点については、機能の選択
を短時間に行うことのできるオレータの養成が必要にな
つてくる。そこで、マンマシンインターフエイスを充実
させるために会話型の処理方法が必須のものとなるが、
従来の会話型処理方法は、コマンド、またはコマンド及
びパラメータを入力し、あるいは、コマンドをメニユー
画面に表示させ、番号でそれを選ぶという方式である。
ところが、かかる従来方式では、コマンドと、そのコマ
ンドの処理結果の関係をあらかじめ知つておく必要があ
り、予備知識のない人には、これを実際には、充分使い
こなせないというのが実情である。さらに、本方式で
は、コマンドを入力し、実行させて初めて処理結果が得
られるため、入力ミスや、パラメータの設定のわずかな
違いに対しても、再度、設定し直す必要があり、最適な
コマンドを見つけるのに、熟練者でも、相当時間がかか
つていた。
2. Description of the Related Art Image processing apparatuses in recent years have advanced at an accelerating pace, with a focus on improving processing speed and expanding processing functions. In such an image processing apparatus, it is desired to improve the processing speed, but in terms of expanding the processing functions, it is necessary to train an olter capable of selecting the functions in a short time. So, in order to enhance the man-machine interface, a conversational processing method is essential,
A conventional conversational processing method is a method of inputting a command, a command and a parameter, or displaying a command on a menu screen and selecting it by a number.
However, in such a conventional method, it is necessary to know in advance the relationship between the command and the processing result of the command, and it is the fact that a person without prior knowledge cannot actually use this sufficiently. Furthermore, in this method, the processing result can be obtained only after inputting and executing the command, so it is necessary to set again even if there is a mistake in input or a slight difference in parameter setting. It took a considerable amount of time even for a skilled person to find out.

かかる方式を採用したものとして特開昭55−6640号公報
に記載されたものが知られている。
The one described in Japanese Patent Application Laid-Open No. 55-6640 is known as the one adopting such a system.

〔発明の目的〕[Object of the Invention]

本発明の目的は、画像処理コマンドを一々入力すること
なく、またパラメータの調整を会話形式で行えることか
ら、熟練を要することなく容易に画像処理プログラムを
作成できる画像処理プログラムの生成方法を提供するこ
とにある。
An object of the present invention is to provide an image processing program generation method capable of easily creating an image processing program without requiring any skill because the parameters can be adjusted interactively without inputting image processing commands one by one. Especially.

〔発明の概要〕[Outline of Invention]

上記目的を達成する本発明は、まず、テストパターン画
像としてあらかじめ画像を記憶しておき(以下、固定画
像パターンと呼ぶ)、この固定画像パターンを決められ
た順序に従い、リアルタイムで処理して表示し(カタロ
ク表示)、目的の処理画像であれば、自動的にコマンド
及びパラメータを記憶させ、この手順を繰り返すことに
より、一連の処理手順を容易に、かつ短時間に作成する
ことを可能としたものである。すなわち、複数の画像処
理コマンドを関連する複数の画像処理コマンドからなる
複数の画像処理コマンド群に分け、各画像処理コマンド
群の中の複数の画像処理コマンドにそれぞれ使用頻度の
高いものから順に予め処理順序を設定しておき、 複数の前記画像処理コマンド群を含むメニュー画面を出
力装置に表示し、 該メニュー画面の中から会話型式により1つの画像処理
コマンド群を選択し、 該選択された画像処理コマンド群の中の先頭の画像処理
コマンドに従ってテストパターン画像に対して画像処理
を実行するとともに、会話形式により検索コマンドが入
力される度に、前記処理順序に従って画像処理コマンド
を変更して前記テストパターン画像に対して画像処理を
実行し、 該処理された画像と前記テストパターン画像の原画像と
を同一の画面に対比して表示し、 該表示された処理画像を見ながら会話形式で対応する画
像処理コマンドのパラメータを微調整し、 所望の処理画像が得られたとき、該画像処理に用いた画
像処理コマンドと調整されたパラメータを登録画像処理
コマンドとしてコマンド登録テーブルに登録することを
特徴とする。
In the present invention for achieving the above object, first, an image is stored in advance as a test pattern image (hereinafter, referred to as a fixed image pattern), and the fixed image pattern is processed and displayed in real time in a predetermined order. (Catalog display) If the target processed image, the commands and parameters are automatically stored, and by repeating this procedure, a series of processing procedures can be created easily and in a short time. Is. That is, the plurality of image processing commands are divided into a plurality of image processing command groups including a plurality of related image processing commands, and the plurality of image processing commands in each image processing command group are processed in advance in descending order of frequency of use. The order is set, a menu screen including a plurality of the image processing command groups is displayed on the output device, one image processing command group is selected from the menu screen by a conversation type, and the selected image processing is performed. Image processing is performed on the test pattern image according to the first image processing command in the command group, and each time a search command is input in an interactive manner, the image processing command is changed in accordance with the processing order to change the test pattern. Image processing is performed on the image, and the processed image is the same as the original image of the test pattern image. It is displayed in contrast to one screen, and while watching the displayed processed image, the parameters of the corresponding image processing command are finely adjusted in a conversational manner, and when the desired processed image is obtained, it is used for the image processing. The image processing command and the adjusted parameter are registered in the command registration table as a registered image processing command.

〔発明の実施例〕Example of Invention

以下、本発明の実施例を説明するが、その前に本発明の
基礎となつた技術について説明する。
Hereinafter, examples of the present invention will be described, but before that, a technique on which the present invention is based will be described.

第1図は本発明の基礎となつた技術及び本発明の実施例
の機器構成を示すブロツク図である。画像認識解析装置
は入力装置1と、画像処理装置2と、出力装置3と画像
処理保存フアイル装置4と、会話型入力装置5とから構
成されている。
FIG. 1 is a block diagram showing a technology as a basis of the present invention and a device configuration of an embodiment of the present invention. The image recognition / analysis device includes an input device 1, an image processing device 2, an output device 3, an image processing / saving file device 4, and an interactive input device 5.

かかる装置における画像処理としては、大別して面積,
周囲長などといつた特徴量を求めるために、あらかじめ
原画像に対して2値化,細線化、ノイズ除去等を行なう
という前処理と、特徴量を求めるという後処理とに分け
られている。画像処理のためのコマンドは多種多様であ
るため、会話型画像評価システム(SHIN/IE)を用いて
会話形式で前処理及び後処理のためのコマンド抽出及び
これに付随するパラメータの設定を行つている。
Image processing in such a device is roughly divided into area,
In order to obtain the feature amount such as the perimeter, it is divided into a pre-process of previously performing binarization, thinning, noise removal, etc. on the original image and a post-process of obtaining the feature amount. Since there are various types of commands for image processing, use the interactive image evaluation system (SHIN / IE) to interactively extract commands for pre-processing and post-processing and set the accompanying parameters. There is.

それの具体例としては、第2図に示すように、1コマン
ドずつ設定し、(ステツプ100)、パラメータ設定し
(ステツプ101)で、コマンドを実行させ(ステツプ10
2)、その都度画像処理を実行及び評価し(ステツプ10
3)、全処理完了か否かを判定して(ステツプ104)、登
録する(ステツプ105)ところのキーインモードと、第
3図に示す処理フローの如く、メニユー画面表示し(ス
テツプ110)、これからコマンド選択し(ステツプ11
1)、パラメータ設定し(ステツプ112)、次いで、次コ
マンド選択し(ステツプ113)、作成コマンド実行し
(ステツプ114)、処理結果を判定して(ステツプ11
5)、その結果を登録する(ステツプ116)というモー
ド、つまり、メニユー画面の中から会話形式にてコマン
ドの選択及び画像処理の実行を行うというメニユーモー
ドとがある。そして、各々のモードで、あるいはこの2
つを組合わせることにより画像処理を行なつていた。こ
のような画像処理について第4図を用いて説明する。
As a concrete example of this, as shown in FIG. 2, one command is set at a time (step 100), parameters are set (step 101), and the command is executed (step 10).
2) The image processing is executed and evaluated each time (step 10).
3) Determine whether or not all processing is completed (step 104) and register (step 105) the key-in mode, and display the menu screen as in the processing flow shown in FIG. 3 (step 110). Select the command (step 11
1) Set parameters (step 112), then select next command (step 113), execute creation command (step 114), and judge the processing result (step 11).
5) There is a mode of registering the result (step 116), that is, a menu mode of interactively selecting commands and executing image processing from the menu screen. And in each mode, or this 2
Image processing was performed by combining the two. Such image processing will be described with reference to FIG.

まず、目的の処理結果を得るためには、その目的に合致
した画像処理コマンドを求め、さらに、そのパラメータ
を決定しなければならない。そこで、このコマンド作成
(第4図ステツプ120)の求め方について第5図(I)
を参照しながら説明する。
First, in order to obtain a desired processing result, it is necessary to obtain an image processing command that matches the purpose and further determine its parameters. Therefore, how to obtain this command (step 120 in FIG. 4) is shown in FIG. 5 (I).
Will be described with reference to.

まず、第5図(I)に示すメニユー画面により処理の内
容(画像取り込み,カラー画像処理,濃淡画像処理な
ど)を決定する(レベルL1におけるCN)。その後、それ
ぞれの内容に応じてユーザは最適と思うコマンドを、す
なわち、レベルL2ではCNM,レベルL3ではCNM1を選択す。
このコマンド選択までは、通常3段階位(レベるL1,L2,
L3)のステツプが必要となつている。コマンドを決定し
た後、そのコマンドに特有なパラメータとしてパラメー
タ設定画面で、レベルL4ではPMNK,レベルL5でPNMK2を入
力して漸く1つのコマンドCNM1に対してパラメータP
NMK2まで決定できる。このパラメータPNMK2が決定した
段階で始めて原画像に対し画像処理を実施するこが可能
となつている。(レベルL6)。このように求めたコマン
ドをステツプ120で作成し、コマンドを仮登録して(ス
テツプ121)、画像処理判定を行う(ステツプ123)。こ
のステツプ123でもし、予想したものと異なつていれ
ば、再びパラメータ設定画面でのパラメータ入力及び実
行処理を繰り返さなければなならない(ステツプ120〜1
23)。最悪の場合は、コマンドの再設定を行い始めやり
直す必要も出てくる。特徴量抽出までには、10コマンド
程度必要であるため、ユーザはメニユー画面からパラメ
ータ設定画面によるパラメータ入力及びこれら一連の画
像処理を10個程度繰り返す必要がある。
First, the contents of the processing (image capture, color image processing, grayscale image processing, etc.) are determined on the menu screen shown in FIG. 5 (I) (C N at level L 1 ). Then, select a command that the user thinks the best according to their content, i.e., at level L 2 C NM, a C NM1 Level L 3.
Until this command is selected, there are usually three levels (levels L 1 , L 2 ,
L 3 ) step is needed. After deciding a command, enter P MNK at level L 4 and P NMK2 at level L 5 on the parameter setting screen as a parameter peculiar to the command, and finally enter the parameter P for one command C NM1 .
You can decide up to NMK2 . Image processing can be performed on the original image only after the parameter P NMK2 is determined. (Level L6). The command thus obtained is created in step 120, the command is temporarily registered (step 121), and image processing determination is performed (step 123). If this step 123 is different from the expected one, the parameter input and execution processing on the parameter setting screen must be repeated again (steps 120 to 1).
twenty three). In the worst case, it may be necessary to reset the command and start again. Since about 10 commands are required to extract the feature amount, the user needs to repeat the parameter input from the menu screen through the parameter setting screen and the series of about 10 image processes.

これを実際の例に則して説明する。This will be explained based on an actual example.

第6図は、本片6のきず7の部分の輪郭線を取出すとき
の様子を示したものである。第7図には輪郭線を取出す
動作の処理フローを示す。第6図(a)に示す本片6を
テレビカメラを介して取り込み(ステツプ140)、モニ
ターに画像表示する(ステツプ141)と、第6図(b)
の如く表示される。また、ステツプ143で輪郭抽出処理
を行うと、第6図(c)の如く輪郭の強調された画面が
得られる。さらに、ステツプ144で前記画面のノイズ除
去、2値化をして正常画面として縮小する(第6図
(d)参照)。第6図(c),(d)の画面を2値画像
間演算し(ステツプ145)、きずの輪郭抽出を行う(ス
テツプ146)と、第6図(e)に示す画面となる。
FIG. 6 shows how the contour line of the flaw 7 of the book piece 6 is taken out. FIG. 7 shows a processing flow of the operation of extracting the contour line. When the book piece 6 shown in FIG. 6 (a) is taken in through a television camera (step 140) and an image is displayed on the monitor (step 141), FIG. 6 (b) is displayed.
Is displayed as. When the contour extraction processing is performed in step 143, a screen with the contour emphasized is obtained as shown in FIG. 6 (c). Further, in step 144, the noise on the screen is removed and binarized to reduce it as a normal screen (see FIG. 6 (d)). When the screens of FIGS. 6 (c) and 6 (d) are calculated between binary images (step 145) and the contour of the flaw is extracted (step 146), the screen shown in FIG. 6 (e) is obtained.

これを本発明の基礎となつた会話型画像評価システムを
用いて処理するとすれば第8図のようになる。まず、ス
テツプ150のメニユー画面により処理内容を選択してコ
マンドの選択及び設定モードに入り(ステツプ151)、
コマンド群9から“SDIS"というコマンドを設定する。
この後、このパラメータを設定する(ステツプ152)。
これは、コマンド群9に対してパラメータ群内に符号11
の如く“03",“01"を入力し、登録,画像処理を行つて
(ステツプ153)、始めて、出力装置に原画像が表示さ
れることになる。判定結果に応じてステツプ151〜154の
処理をし、さらに全処理が完了したか否かを判定して
(ステツプ155)、完了なら登録する(ステツプ156)。
この例では、全体としてコマンド選択が10回必要なの
で、これに関するパラメータ入力,登録,画像処理も最
低10回以上は繰り返す必要がある。
If this is processed using the interactive image evaluation system which is the basis of the present invention, it becomes as shown in FIG. First, select the processing contents on the menu screen of step 150 to enter the command selection and setting mode (step 151),
The command "SDIS" is set from the command group 9.
After this, this parameter is set (step 152).
This is the code 11 in the parameter group for the command group 9.
As described above, "03" and "01" are input, registration and image processing are performed (step 153), and the original image is displayed on the output device for the first time. According to the determination result, the processes of steps 151 to 154 are performed, and it is further determined whether or not all the processes are completed (step 155), and if completed, it is registered (step 156).
In this example, command selection is required 10 times as a whole, so that parameter input, registration, and image processing related to this need to be repeated at least 10 times or more.

このように本発明の基礎となつた技術は、コマンドの選
択及びパラメータの設定には相当の予備知識が必要とさ
れる上、パラメータの設定が多種多様考えられるため、
一意に設定することは、相当の熟練者でなければ難し
い。このため、パラメータの再設定、再入力を繰り返さ
なければならず、ユーザの意図する目標の画像は容易に
得られない。実際の計算機処理に要する時間をハード的
に短縮し、高速化を図つても、前述のように入出力を繰
り返すのでは、高速画像処理装置の機能が十分に活かし
きれないといわざるを得なかつた。
As described above, the technique which is the basis of the present invention requires considerable prior knowledge for command selection and parameter setting, and various parameter settings can be considered.
It is difficult for a person skilled in the art to set uniquely. For this reason, it is necessary to repeat the resetting and re-inputting of the parameters, and the target image intended by the user cannot be easily obtained. Even if the time required for actual computer processing is shortened by hardware and the speed is increased, it cannot be said that the functions of the high-speed image processing apparatus cannot be fully utilized by repeating the input / output as described above. It was

この高速化を図る上で最大のネツクとなつているのは、
コマンド選択及びパラメータ設定に要する時間が大であ
ること、すなわち、画像処理全体としてのターンアラン
ド時間が各ユーザのレベルに掛つていることである。
The biggest network to achieve this speedup is
The time required for command selection and parameter setting is long, that is, the turnaround time for the entire image processing depends on the level of each user.

この原因としては、パラメータの入力設定,登録・画像
処理を実行が終了して漸く処理結果を出力装置に表示
し、この画像により初めて判定を下さなければならなか
つたことが考えられる。
The cause of this may be that the processing result is displayed on the output device after the input setting of the parameter, the execution of the registration / image processing are completed, and the determination must be made for the first time based on this image.

このように本発明の基礎となつた技術は、余りにもコマ
ンドを意識した構成となつているため、「コマンド決定
→パラメータ決定→画像処理実行」の手順を踏まなけれ
ばならないことに加えて、コマンドの意味、パラメータ
の内容を予備知識として十分に持つ必要があつたこと、
さらに、毎回パラメータ入力を行う必要があつたこと
等、アルゴリズム作成に著しく時間を要することが不都
合な点ある。
As described above, since the technology that is the basis of the present invention has a configuration that is too command-aware, in addition to having to follow the procedure of “command determination → parameter determination → image processing execution”, Meaning, it was necessary to have enough parameter content as prior knowledge,
Further, it is inconvenient that it takes a considerable amount of time to create an algorithm, such as the necessity of inputting parameters every time.

第1図は本発明の実施例を示す構成図であり、既に説明
したので省略する。第9図は本発明の実施例と、それの
基礎となつた技術を比較して示すものであり、第9図
(I)が基礎技術の例で、同図(II)が本実施例であ
る。図から理解できるように、本実施例によれば、マン
マシン機能13が画像処理装置14側に入り込む形となつて
いる。
FIG. 1 is a block diagram showing an embodiment of the present invention, which has already been described and will be omitted. FIG. 9 shows an embodiment of the present invention in comparison with its underlying technology. FIG. 9 (I) is an example of the basic technology, and FIG. 9 (II) is this embodiment. is there. As can be understood from the figure, according to the present embodiment, the man-machine function 13 is arranged to enter the image processing device 14 side.

ところで、その基礎技術は、第5図に示すようにメニユ
ー画面での(画像処理)コマンド選択からそのパラメー
タ設定を行ない、その後、処理画像を目視確認すること
で目的のコマンドを求めていた。そして、既に述べてい
るように、各々のコマンドを選択し及びそのパラメータ
を設定することについては豊富な画像処理知識が必要で
あり、会話型画像認識のターンアランド時間はユーザの
レベルによる所が大であつた。
By the way, in the basic technique, as shown in FIG. 5, the parameter setting is performed by selecting the (image processing) command on the menu screen, and then the target command is obtained by visually confirming the processed image. As already mentioned, a wealth of image processing knowledge is required to select each command and set its parameters, and the turn-around time of interactive image recognition largely depends on the level of the user. It was.

そこで、本発明の実施例は、人的要素(第9図(II)符
号13)を最大限に排除すべく、第5図(II)に示すよう
に、メニユー画面でのグルーピング番号選択の後、その
選択に対応した画面を直ちに表示し、微調整により意図
する画像に近づけていき、各画像に対応するコマンドを
自動的に作成するようにしている。すなわち、本実施例
では、画像処理コマンド及びそのパラメータを全く意識
する必要がないものである。
Therefore, according to the embodiment of the present invention, after the grouping number is selected on the menu screen as shown in FIG. 5 (II), the human element (reference numeral 13 in FIG. 9 (II)) is maximally eliminated. The screen corresponding to the selection is immediately displayed, and the image corresponding to the intended image is finely adjusted so that the command corresponding to each image is automatically created. That is, in this embodiment, it is not necessary to be aware of the image processing command and its parameters.

第10図は本発明の処理構成を示したものである。FIG. 10 shows a processing configuration of the present invention.

すなわち、上記処理構成は、テストパターン画像を一画
像用意し、予め設定されているコマンド群によりテスト
パターン画像を処理し、表示する固定パターン処理(ブ
ロツク200〜203)と、実際の処理対象画像(ITV入力画
像又は予め記憶装置に取り込まれてある画像)に対し、
固定パターン処理と同じ処理をする対象パターン処理
(ブロツク200,206,207,208)とに分れ、各々の処理結
果画像に対応して自動生成されたコマンド及びパラメー
タを格納するコマンド登録テーブル204と、コマンド登
録テーブルの内容を退避,回復する前記装置205から構
成されている。
That is, in the processing configuration, one image of the test pattern image is prepared, the test pattern image is processed by a preset command group, and the fixed pattern processing (blocks 200 to 203) for displaying and the actual processing target image ( For the ITV input image or the image previously stored in the storage device),
The command registration table 204 for storing the commands and parameters automatically generated corresponding to each processing result image, which is divided into the target pattern processing (blocks 200, 206, 207, 208) that performs the same processing as the fixed pattern processing, and the contents of the command registration table It is composed of the device 205 for saving and recovering the data.

次に、第10図〜第13図を用いて詳述する。Next, a detailed description will be given with reference to FIGS. 10 to 13.

第10図、第11図において、まず処理パターン画像を選択
する(ステツプ210)、(ブロツク200)。次にメニユー
画面表示(ステツプ211)により、グルーピング番号を
設定する。固定パターン処理と対象パターン処理は、処
理対象が異なるだけで処理手順は同じであるため、ここ
では固定パターンについて説明することにする。尚、第
11図は第10図の処理フローを示し、第12図は、実施例で
オペレータが使用できるコマンド一覧を示したものであ
り、第13図は、目視確認の具体例を示したものであり、
同図(I)が固定パターン、同図(II)が対象パターン
の処理例を示したものである。
In FIGS. 10 and 11, first, a processing pattern image is selected (step 210) and (block 200). Next, the grouping number is set by the menu screen display (step 211). The fixed pattern processing and the target pattern processing have the same processing procedure except that the processing targets are different. Therefore, the fixed pattern processing will be described here. In addition,
FIG. 11 shows the processing flow of FIG. 10, FIG. 12 shows a list of commands that the operator can use in the embodiment, and FIG. 13 shows a specific example of visual confirmation,
The figure (I) shows a processing example of a fixed pattern, and the figure (II) shows a processing example of a target pattern.

固定パターンを指定すると(第11の はリターンキー)、メニユー画面表示により、グルーピ
ングされた画像処理コマンド群の代表処理内容をグルー
ピング番号1〜nに対応して同時表示する(ステツプ21
1)。このグルーピングには、ストラクチヤー構造を用
いており、各グループ(画像処理コマンド群)の下位構
成は、シーケンシヤル構造をとつている。
If you specify a fixed pattern (11th Is a return key) and a menu screen is displayed to simultaneously display the representative processing contents of the grouped image processing commands corresponding to the grouping numbers 1 to n (step 21).
1). A structure is used for this grouping, and the subordinate structure of each group (image processing command group) has a sequential structure.

次に、目的の処理と思われるグルーピング番号をセツト
する(ステツプ213,ブロツク202)。該当グループの中
は、経験的に最も使用頻度の高い画像処理コマンドから
最も使用頻度の低いコマンドとシーケンシヤルに処理順
序を設定しておく。セツトした番号に対応したグループ
の先頭の画像処理コマンドが自動的に処理され、処理結
果画像を表示する(ステツプ213,ブロツク202)。表示
方式は、第13図(I)に示すように、固定パターン画像
の右半分を処理し原画像と比較できるように配慮してい
る。表示された処理結果画像が、目的の画像と異なる場
合は、順次、シーケンシヤル検索コマンドにて、次の処
理結果画像を表示させる。目的の画像が求まれば、必要
に応じ微調整の処理を実行させる(ステツプ214,ブロツ
ク203)。ここで微調整とは、画像処理コマンドに付加
されたパラメータの値を変化させることにより、最適の
処理画像を得ることとする。微調整を行う前のパラメー
タは、デフオルト値として最も使用頻度の高い値、もし
くは2値画像を得るときの閾値(スレツシヨールド)の
ようなケースでは平均値は設定しておく。処理結果表示
画面には、画像処理コマンド名とパラメータの個数を同
示表示させ、パラメータNo1から順次微調整ができる。
パラメータNoの指定は、数字キーに対応させている(パ
ラメータ指定コマンド)パラメータの変化は、バランス
判定木とシーケンシヤルの方法を併用している。
Next, the grouping number which seems to be the desired processing is set (step 213, block 202). In the relevant group, empirically, the processing order is set to the least frequently used image processing command and the least frequently used image processing command. The image processing command at the head of the group corresponding to the set number is automatically processed and the processing result image is displayed (step 213, block 202). As for the display method, as shown in FIG. 13 (I), consideration is given so that the right half of the fixed pattern image can be processed and compared with the original image. When the displayed processing result image is different from the target image, the next processing result image is sequentially displayed by the sequential search command. When the target image is obtained, fine adjustment processing is executed as necessary (step 214, block 203). Here, the fine adjustment is to obtain the optimum processed image by changing the value of the parameter added to the image processing command. The parameter before the fine adjustment is a value most frequently used as a default value, or an average value is set in a case such as a threshold (threshold) when obtaining a binary image. On the processing result display screen, the image processing command name and the number of parameters are displayed together, and fine adjustment can be performed sequentially from parameter No1.
The parameter No is specified by using numeric keys (parameter specification command). The parameter change uses both the balance judgment tree and the sequential method.

まず、デフオルト値から、バランス判定木の方法を利用
し、パラメータ値の上昇方向の中間値への変化を“+”
で下降方向の中間値への変化を“−”のキーで指定でき
る。さらに、その地点から1つ1つ変化させる場合に
は、上昇方向では“F"、下降方向では“B"のキーを指定
することで実現できる。微調整が終了すれば、仮登録コ
マンドまたは登録コマンドにてコマンド登録テーブル20
4に登録することができる。コマンド登録テーブル204
は、登録する毎に、順次自動的にケースNoをカウントす
る構成となつている。
First of all, the change from the default value to the intermediate value in the ascending direction of the parameter value is "+" by using the method of the balance judgment tree.
You can specify the change to the intermediate value in the descending direction with the "-" key. Furthermore, when changing from that point one by one, it can be realized by designating the "F" key in the ascending direction and the "B" key in the descending direction. When the fine adjustment is completed, use the temporary registration command or the registration command to enter the command registration table 20.
Can be registered in 4. Command registration table 204
Is configured to automatically count case numbers each time it is registered.

以上の操作を繰り返すことにより、コマンドを入力する
ことなく、プログラムの作業が容易となる。
By repeating the above operation, the work of the program becomes easy without inputting a command.

一方、対象パターンは、固定パターンで作成したプログ
ラムを実際に工業用カメラ等から生の画像データを用
い、評価したり、最初から固定パターンを用いず、固定
パターンと同じ処理手順で、直接プログラムを作成する
ことができる。固定パターンで作成したプログラムを自
動的に順次バツフアに格納後、実行し処理画像を表示す
る。そこで、さらに微調整したいときは、固定パターン
と同じ手法で実施できる。目的の画像が得られたら、登
録する。これを繰り返すことにより、プログラムの評価
を容易に実施できる。
On the other hand, for the target pattern, a program created with a fixed pattern is actually evaluated using raw image data from an industrial camera or the like, or the fixed pattern is not used from the beginning, and the program is directly processed by the same processing procedure as the fixed pattern. Can be created. The program created with the fixed pattern is automatically stored in the buffer and then executed to display the processed image. Therefore, if further fine adjustment is desired, it can be performed by the same method as the fixed pattern. When the desired image is obtained, register it. By repeating this, the program can be easily evaluated.

また、必要に応じて、作成したプログラムのリスト出力
表示,ソート,削除,リスト中の任意のコマンド実行の
機能を具備させることにより、統括的な、編集,実行,
評価を可能としている。
In addition, by providing functions for list output display of created programs, sorting, deletion, and execution of arbitrary commands in the list as necessary, comprehensive editing, execution,
Evaluation is possible.

さらに、作成したプログラムを、外部記憶装置に退避
(SAVE)、回復(LOAD)する機能を具備させることによ
り、プログラム資源の拡大を図ることが可能になる。
又、プログラムにフアイル名称を付加することで、プロ
グラム資源の管理が容易となる。
Further, by providing a function of saving (SAVE) and restoring (LOAD) the created program in the external storage device, it is possible to expand the program resources.
Also, by adding a file name to the program, management of program resources becomes easy.

以上により、高速画像処理装置の利点を活かし多種のコ
マンドの処理結果画像をリアルタイムでカタログ表示さ
せることにより、コマンドを意識することなく容易に処
理手順を作成できる会話型の高速画像処理装置を実現で
きる。
As described above, by utilizing the advantages of the high-speed image processing apparatus and displaying the processing result images of various commands in a catalog in real time, it is possible to realize a conversational high-speed image processing apparatus that can easily create a processing procedure without being aware of the command. .

尚、本例で説明したキーボードによる入出力装置の代わ
りに、音声入出力装置等を用いることも可能である。
It is also possible to use a voice input / output device or the like instead of the input / output device using the keyboard described in this example.

第14図及び第15図には本実施例とその基礎となつた技術
を比較して示すものであり、図からも理解できるように
本実施例(BB.TA)によれば、その基礎技術による処理
手順BB及びその収束時間TBよりも大幅に短縮できること
になる。
FIG. 14 and FIG. 15 show the present embodiment and its underlying technology in comparison, and according to the present embodiment (B B .T A ), as can be understood from the drawings, It would be considerably shortening treatment with basic technical procedure B B and its convergence time T B.

〔発明の効果〕〔The invention's effect〕

以上述べたように本発明によれば、画像処理コマンドを
一々入力することなく、またパラメータの調整を会話形
式で行えることから、熟練を要することなく容易に画像
処理プログラムを作成できる効果がある。
As described above, according to the present invention, it is possible to easily create an image processing program without requiring skill because the parameters can be adjusted interactively without inputting image processing commands one by one.

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

第1図は本発明の実施例を示すブロツク図、第2図はキ
ーインモードの例を説明するために示す説明図、第3図
はメニユーモードの例を説明するために示す説明図、第
4図は本発明の基礎となつた技術処理概要を示す図、第
5図は第4図のコマンド作成の補足説明図、第6図は実
施例による処理手順の説明図、第7図は第6図の処理手
順のフローチヤート、第8図は同基礎技術の動作フロー
チヤート、第9図は本発明の実施例の着眼点を説明する
ための図、第10図は同実施例の処理概要図、第11図は同
実施例の処理フローチヤート、第12図は管理コマンドを
示す説明図、第13図は画像の表示例を示す説明図、第14
図は基礎技術による方式と本実施例の方式とを比較する
ために示す説明図、第15図は本発明と基礎技術との所用
時間の概要を示す特性図である。 1……入力装置、2……画像処理装置、3……出力装
置、4……画像データ保存装置、5……会話評価型画像
認識装置入力装置、13……マンマシン機能、14……画像
処理装置、15……管理コマンド一覧。
1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an explanatory diagram shown for explaining an example of a key-in mode, FIG. 3 is an explanatory diagram shown for explaining an example of a menu mode, and FIG. FIG. 7 is a diagram showing an outline of a technical process which is the basis of the present invention, FIG. 5 is a supplementary explanatory diagram of the command creation of FIG. 4, FIG. 6 is an explanatory diagram of a processing procedure according to an embodiment, and FIG. FIG. 8 is a flow chart of the processing procedure, FIG. 8 is an operation flow chart of the same basic technique, FIG. 9 is a diagram for explaining the points of interest of the embodiment of the present invention, and FIG. 10 is a process schematic diagram of the same embodiment. FIG. 11 is a processing flow chart of the same embodiment, FIG. 12 is an explanatory view showing management commands, FIG. 13 is an explanatory view showing an image display example, and FIG.
FIG. 15 is an explanatory diagram shown for comparing the system according to the basic technology with the system of the present embodiment, and FIG. 15 is a characteristic diagram showing an outline of the time required for the present invention and the basic technology. 1 ... Input device, 2 ... Image processing device, 3 ... Output device, 4 ... Image data storage device, 5 ... Conversation evaluation type image recognition device input device, 13 ... Man-machine function, 14 ... Image Processor, 15 ... Management command list.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 臼井 敏雄 茨城県日立市大みか町5丁目2番1号 株 式会社日立製作所大みか工場内 (56)参考文献 特開 昭61−112285(JP,A) 特開 昭60−179875(JP,A) ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Toshio Usui 5-2-1 Omika-cho, Hitachi-shi, Ibaraki Inside the Omika factory, Hitachi, Ltd. (56) Reference JP-A 61-112285 (JP, A) JP-A-60-179875 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】処理対象の画像データを取り込み、設定さ
れた複数の画像処理コマンドと該画像処理コマンドにそ
れぞれ付随するパラメータに従って画像処理を行う画像
処理プログラムの生成方法において、 複数の画像処理コマンドを関連する複数の画像処理コマ
ンドからなる複数の画像処理コマンド群に分け、各画像
処理コマンド群の中の複数の画像処理コマンドにそれぞ
れ使用頻度の高いものから順に予め処理順序を設定して
おき、 複数の前記画像処理コマンド群を含むメニュー画面を出
力装置に表示し、 該メニュー画面の中から会話型式により1つの画像処理
コマンド群を選択し、 該選択された画像処理コマンド群の中の先頭の画像処理
コマンドに従ってテストパターン画像に対して画像処理
を実行するとともに、会話形式により検索コマンドが入
力される度に、前記処理順序に従って画像処理コマンド
を変更して前記テストパターン画像に対して画像処理を
実行し、 該処理された画像と前記テストパターン画像の原画像と
を同一の画面に対比して表示し、 該表示された処理画像を見ながら会話形式で対応する画
像処理コマンドのパラメータを微調整し、 所望の処理画像が得られたとき、該画像処理に用いた画
像処理コマンドと調整されたパラメータを登録画像処理
コマンドとしてコマンド登録テーブルに登録することを
特徴とする画像処理プログラムの生成方法。
1. A method for generating an image processing program, which captures image data to be processed, and performs image processing according to a plurality of set image processing commands and parameters respectively associated with the image processing commands. It is divided into a plurality of image processing command groups consisting of a plurality of related image processing commands, and the plurality of image processing commands in each image processing command group are set in advance in descending order of frequency of use. A menu screen including the image processing command group of is displayed on the output device, one image processing command group is selected from the menu screen by a conversational type, and the first image in the selected image processing command group is displayed. Performs image processing on the test pattern image according to the processing command, and searches interactively Each time a command is input, the image processing command is changed according to the processing order to perform image processing on the test pattern image, and the processed image and the original image of the test pattern image are displayed on the same screen. When the desired processed image is obtained by finely adjusting the parameters of the corresponding image processing command while watching the displayed processed image, the image processing command used for the image processing is displayed. A method for generating an image processing program, characterized in that the adjusted parameter is registered as a registered image processing command in a command registration table.
JP60075829A 1985-04-10 1985-04-10 Image processing program generation method Expired - Fee Related JPH0685179B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60075829A JPH0685179B2 (en) 1985-04-10 1985-04-10 Image processing program generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60075829A JPH0685179B2 (en) 1985-04-10 1985-04-10 Image processing program generation method

Publications (2)

Publication Number Publication Date
JPS61234472A JPS61234472A (en) 1986-10-18
JPH0685179B2 true JPH0685179B2 (en) 1994-10-26

Family

ID=13587464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60075829A Expired - Fee Related JPH0685179B2 (en) 1985-04-10 1985-04-10 Image processing program generation method

Country Status (1)

Country Link
JP (1) JPH0685179B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07104943B2 (en) * 1988-02-29 1995-11-13 株式会社日立製作所 Object recognition device
JPH01226079A (en) * 1988-03-07 1989-09-08 Hitachi Ltd Image processing method, its device and image processing system having image processor
US6906826B1 (en) * 1998-11-16 2005-06-14 Seiko Epson Corporation Medium on which image modifying program is recorded, image modifying apparatus and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60179875A (en) * 1984-02-28 1985-09-13 Toshiba Corp Picture processing system
JPS61112285A (en) * 1984-11-07 1986-05-30 Hitachi Ltd Conversational image emphasis system

Also Published As

Publication number Publication date
JPS61234472A (en) 1986-10-18

Similar Documents

Publication Publication Date Title
US6389166B1 (en) On-line handwritten Chinese character recognition apparatus
JPS62198966A (en) Image processor
JP2009217758A (en) Image evaluation device, method and program
JPH06309426A (en) Method for inputting threshold
JP2002366963A (en) Method and device for processing image, imaging device and computer program
US7170935B2 (en) Image processing apparatus and method, and computer-readable memory
JPH0685179B2 (en) Image processing program generation method
JP2720807B2 (en) Scenario editing device
JP2004272357A (en) Presentation device of image recognition result, display method of the result, presentation program of the result, and recording medium
JP3619333B2 (en) Pattern recognition system
JP2936599B2 (en) Color image processing equipment
JPH0935058A (en) Image recognizing method
JPH04288674A (en) Hypertext device
JPH07121710A (en) Method and device for image segmentation
JPH04306777A (en) Fingerprint characteristic correction system
JPH10307110A (en) Image processing device
JPH04306778A (en) Fingerprint characteristic correction system
JP3290835B2 (en) Optical character reader
JPH1040395A (en) Method for extracting outline of dynamic image
TW545031B (en) Method for automatically recognizing scan area
JPH0293989A (en) Image data processor
CN111814641A (en) Method and system for collecting electric competition data
JP3031565B2 (en) Table space judgment method
JP2804299B2 (en) Cutout mask making system
JPH04306779A (en) Fingerprint characteristic editing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees