JPH01108681A - Moving image specification input system - Google Patents

Moving image specification input system

Info

Publication number
JPH01108681A
JPH01108681A JP26563787A JP26563787A JPH01108681A JP H01108681 A JPH01108681 A JP H01108681A JP 26563787 A JP26563787 A JP 26563787A JP 26563787 A JP26563787 A JP 26563787A JP H01108681 A JPH01108681 A JP H01108681A
Authority
JP
Japan
Prior art keywords
input
action
language
moving image
branch
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
JP26563787A
Other languages
Japanese (ja)
Inventor
Hiroshi Miyauchi
宮内 宏
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP26563787A priority Critical patent/JPH01108681A/en
Publication of JPH01108681A publication Critical patent/JPH01108681A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily input the specification of a moving image by describing the specification of the moving image in a computer language, and selecting the control structure of the moving image from the control structure usable the computer language. CONSTITUTION:The specification of the moving image is described in the format of the computer language, and an editor dedicated for a language targeted for that format is formed. At the time of selecting and inputting the control structure (branch, repeat, etc.) of the moving image by the editor dedicated for the language, an action is handled as one branch of a tree structure, and is selected similarly as the branch of another control structure, etc. At the time of inputting the action, action input is selected from a menu, and the action input by an interactive format is performed, and a program equivalent to the branch of the tree structure is generated automatically from an inputted action. One action in language description is conformed to one branch in a syntax tree, and the action is described in the format easy to interpret to respond to the change of the action, etc. In such a way, it is possible to input both the structure of the program and the action easily based on the combination of both selective input and interactive input and a descriptive language with the specification of the moving image realizable the above combination.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は計算機で動画を作成する際に、計算機に指令を
与える動画仕様の入力方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method for inputting video specifications for giving commands to a computer when creating a video using a computer.

(従来の技術) 上で物体が平行移動する場合、その移動距離を数値で入
力する方法がある。しかし、計算機においては、移動距
離は画素単位で与えられるため、入力式れた距離と意図
した管面上での移動距離の間に大きなずれを生じること
が多い。そこで、マウス、り、チパネルのごときポイン
ティングデバイスを用いて、動作の開始点、終了点の管
面上での位置を入力する方法が得られている。これらポ
インティングデバイスは、管面上の位置を数値によらず
直接入力することができる。例えば、タッチパネルによ
る場合は、管面上で、移動開始位置。
(Prior Art) When an object moves in parallel on an object, there is a method of inputting the moving distance numerically. However, in a computer, the moving distance is given in pixel units, so there is often a large discrepancy between the input distance and the intended moving distance on the screen. Therefore, a method has been developed in which the positions of the start and end points of the motion on the screen are input using a pointing device such as a mouse, remote control, or chip panel. These pointing devices allow direct input of positions on the tube surface without using numerical values. For example, when using a touch panel, the movement start position on the screen.

終了位置を人間の指で触れることによって入力できる。The end position can be input by touching it with a human finger.

平行移動以外の動作入力もポインティングデバイスを利
用する。例えば、回転であれば、回転中心と角度をポイ
ンティングデバイスを用いて入力することができる。動
画の対話人力については、第1の文献、すなわち[コン
ピュータ・アニメーV El 7 J(N、 Magn
enat −T halman 、 ” Comput
erAnimation −theory & pra
ctice ” apringet −Verlog 
、 1985 )に述べられている。
A pointing device is also used to input motions other than parallel movement. For example, in the case of rotation, the rotation center and angle can be input using a pointing device. Regarding dialogue human power of animation, the first document, namely [Computer Animation V El 7 J(N, Magn
Enat-Thalman, ”Comput
erAnimation-theory & pr
ctice”apringet-Verlog
, 1985).

動画においては、計算機言語における制御構造が必要な
ことが多い。例えば、同一動作の繰シ返し、条件による
分岐が必要な場合が生じている。
Videos often require control structures in computer languages. For example, there are cases where it is necessary to repeat the same operation or to branch based on conditions.

このような制御構造の入力には、従来、汎用のテキスト
エディタによシ入力する方法と、計算機言語の専用エデ
ィタによる方法を用いることが知られている。言語専用
エディタにおいては、メニューの選択によシブログラミ
ングを行う方法が取られている。これら、言語専用エデ
ィタでは、計算機言語がもつ構造を利用している。計算
機言語においては、記述可能な書式が厳密に定義されて
お夛、これを文法と呼んでいる。例えば、条件分岐の“
if文”は、 if(条件) then (文1 > else (文
2〉又は if(条件) then (文1〉 という構造を持つ。if文の意味は、〈条件〉が真なら
はく文l〉を実行し、さもなくばく文2〉を実行すると
いうものである。このような定義を文法規則とよぶ。文
法規則の定義を、[プログラム全体」に関する規則から
始めて行き、それら規則の中に現れる下位の構造(上記
の例ではく文1〉。
Conventionally, it has been known to input such a control structure using a method using a general-purpose text editor and a method using a dedicated computer language editor. In language-specific editors, a method is used in which sibling programming is performed by selecting menu items. These language-specific editors utilize the structure of computer languages. In computer languages, the format that can be written is strictly defined, and this is called a grammar. For example, the conditional branch “
The if statement has the following structure: if (condition) then (statement 1 > else (statement 2) or if (condition) then (statement 1).The meaning of the if statement is that if the <condition> is true, then the statement 〉 otherwise executes the write statement 2〉.Such a definition is called a grammar rule.The definition of a grammar rule starts with the rules regarding [the whole program], and in those rules The lower structure that appears (in the example above, sentence 1).

く文2〉)の定義を順次行うことによシ、その計算機言
語で記述可能なプログラムの集合を厳密に定義すること
ができる。言語専用エディタでは、文法規則に沿ってプ
ログラムを作成する。初めは、「プログラム全体」が表
示され、これに対して文法規則を適用することによシ、
具体的なグログラムに近づけて行く。文法規則は前記の
if文のように選択の余地のあるものが多い。適用可能
な規則のうちどれかを利用するかを指定することによシ
、目的のプログラムを作ることができる。言語専用エデ
ィタについては、第2の文献、すなわち「ザ・シンセサ
イザージェネレータJ (T 、 T e i tel
baum 。
By sequentially defining statement 2), it is possible to strictly define the set of programs that can be written in the computer language. A language-specific editor is used to create programs according to grammatical rules. Initially, the ``whole program'' is displayed, and by applying grammar rules to it,
Get closer to a concrete grogram. There are many grammar rules such as the above-mentioned if statement that allow for a lot of choice. By specifying which of the applicable rules to use, you can create the desired program. For language-specific editors, please refer to the second document, namely "The Synthesizer Generator J".
Baum.

The 5ynthesjzer Generator
”、 Sigplan Notices19(5)、p
p42−4s、x9s4)に詳しく述べられている。
The 5ynthesjzer Generator
”, Sigplan Notices 19(5), p.
p42-4s, x9s4).

(発明が解決しようとする問題点) 従来の動画仕様入力方式で、入力された動作のデータを
直接修正することは不可能が、もしくは非常に困難であ
シ、第1の文献に示されるような方式では、これらデー
タに対して制御構造を付は加えることはできない。また
、汎用エディタ、言語専用エディタによる、第2の文献
に示されるような方式は、動画を目的としたものではな
いので、動画の対話人力は不可能である。
(Problems to be Solved by the Invention) In the conventional video specification input method, it is impossible or extremely difficult to directly modify input motion data, and as shown in the first document, In conventional methods, it is not possible to add control structures to these data. Furthermore, the method shown in the second document, which uses a general-purpose editor and a language-specific editor, is not intended for moving images, and therefore human interaction with moving images is not possible.

本発明の目的は、上記動画の入力方法と選択入力による
計算機言語の入力の融合を行い、動画仕様の入力を容易
にすることにある。
An object of the present invention is to integrate the above-mentioned video input method with computer language input using selective input to facilitate input of video specifications.

(問題点を解決するための手段) 本発明の動画仕様入力方式は、動作の種類、大きさ、速
度を示す動画仕様を計算機に入力する動画仕様入力方式
において、動画仕様を計算機言語で記述し、さらに動画
の制御構造を該計算機言語で使用可能な制御構造から選
択することによシ入力する手段を具備することを特徴と
するものである。
(Means for solving the problem) The video specification input method of the present invention is a video specification input method in which video specifications indicating the type, size, and speed of motion are input into a computer, and the video specifications are written in a computer language. , further comprising means for inputting a control structure for a moving image by selecting it from control structures usable in the computer language.

(作用) 本発明では、動画仕様を計算機言語の形式で記述し、そ
の専用エディタによシ動画仕様をプログ”−=−5− ラムとして入力する。この専用エディタにおいて、動作
入力を対話的に行うことを可能にする。以下にその原理
を示す。
(Function) In the present invention, the video specifications are described in a computer language format, and the video specifications are input as a program into a dedicated editor.In this dedicated editor, motion input is interactively performed. The principle is shown below.

言語専用エディタにおいては、プログラムをテキスト(
文字の並んだもの)として作成せず、プログラムの持つ
構造を編集している。プログラムには、関数、グロシー
ジャ等の処理のブロックや、分岐、繰シ返し等の制御構
造が存在している。言語専用エディタは、プログラムの
持つ構造を木構造(構文木と呼ぶ)として捉え、構文木
の枝の作成、消去、修正をメニューの選択によシ行うこ
とによってプログラムを編集する。以下では、選択によ
るプログラム作成を選択入力と呼ぶ。本発明では、動画
の仕様を計算機言語の形式で記述し、これを対象とする
言語専用エディタを提供する。
In language-specific editors, programs can be converted into text (
Rather than creating it as a sequence of characters), the structure of the program is edited. A program includes processing blocks such as functions and glossaries, and control structures such as branching and repetition. A language-specific editor views the structure of a program as a tree structure (called a syntax tree) and edits the program by creating, deleting, and modifying branches of the syntax tree by making menu selections. In the following, creating a program through selection will be referred to as selection input. In the present invention, specifications of a moving image are described in a computer language format, and a language-specific editor for this is provided.

動画の制御構造(分岐、繰シ返し等)を言語専用エディ
タによる選択入力にて行う。このときに、動作を木構造
1つの枝として扱い、他の制御構造等の枝と同様に選択
させる。
The control structure of the video (branching, repeating, etc.) is selected and input using a language-specific editor. At this time, the motion is treated as one branch of the tree structure and selected in the same way as branches of other control structures.

選択し、次に、対話形式による動作入力を行う。Select it, then input the action interactively.

ここで、入力された動作から、木構造の枝に相当するプ
ログラムが自動生成される。以下では、対話によるプロ
グラムの自動生成を対話人力と呼ぶ。
Here, a program corresponding to a branch of the tree structure is automatically generated from the input operation. In the following, automatic generation of programs through dialogue will be referred to as dialogue-based human power.

このような入力を可能にするため、動画仕様の記述言語
における動作の表現に、次の特徴を持たせる。
In order to enable such input, the following characteristics are given to the expression of motion in the description language of video specifications.

l)言語記述中で1つの動作が構文木における1つの枝
に対応すること 2)動作の変更等に対処するため、解釈が容易な形式で
動作が記述されること このとき、動作入力は、構文木の1つの枝の騙集として
働くことになる。
l) One action in the language description corresponds to one branch in the syntax tree.2) The action is described in a format that is easy to interpret in order to cope with changes in the action.In this case, the action input is It will act as a collection of one branch of the syntax tree.

上記、選択入力、対話人力の両者の組み合わせと、それ
を可能にする動画仕様の記述言語によシ、プログラムの
構造と動作の両者を容易に入力するシステムを構築する
ことができる。
By combining the above-mentioned selection input and human interaction, and by using a video specification description language that makes this possible, it is possible to construct a system that easily inputs both the structure and operation of a program.

(実施例) 第1図は、本発明の実施例を表すブロック図である。第
1図において、選択入力部11では、選択によるプログ
ラム作成を行う。この入力は、前記第2の文献における
入力と同様なものである。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, a selection input section 11 creates a program by selection. This input is similar to the input in the second document.

ここで作成される木構造は例えば第3図(b)のような
ものである。本実施例ではP L / iのサブセット
を基盤にした計算機言語を使用した。この言語の動作記
述以外の特徴は、繰シ返しとしてWhile文9分岐と
してif文を持ち、関数の記述が可能であるというもの
である。
The tree structure created here is, for example, as shown in FIG. 3(b). In this embodiment, a computer language based on a subset of P L /i was used. The features of this language other than behavioral description are that it has a while statement for repetition, nine if statements for branching, and is capable of describing functions.

動作の記述は、 物体名(動作名、パラメータ); という形をとシ、物体名を関数名のように使用する。本
実施例では、物体名を関数名のように使用したが、動作
名を関数名のように利用し、動作名(物体名、パラメー
タ); という形をとってもよい。また、動作名、物体名。
To describe an action, use the following format: object name (action name, parameters); use the object name as if it were a function name. In this embodiment, the object name is used like a function name, but the operation name may be used like a function name, and it may take the form: operation name (object name, parameter); Also, action names and object names.

パラメータの順序はこれに限らない。The order of the parameters is not limited to this.

本実施例では、P L / 1のサブセットを基盤とし
た専用言語を用いているが、木構造で表し得る構造化言
語であればその他の言語でも同様なシステムを構築でき
る。
In this embodiment, a dedicated language based on a subset of PL/1 is used, but a similar system can be constructed using any other structured language that can be expressed in a tree structure.

システム起動時には、選択入力部11が起動し、必要に
応じて動作入力部12.出力部13に制御が移される。
When the system is started, the selection input section 11 is activated, and the operation input section 12. Control is transferred to the output section 13.

選択入力部11で動作入力を指定すると動作入力部12
に制御が移される。動作入力部12では、動作する物体
名、動作の種類、s作の大きさ(移動量等)、動作の速
度をシステムからの入力促進に答える形で入力する。
When a motion input is specified in the selection input section 11, the motion input section 12
control is transferred to In the motion input section 12, the name of the moving object, the type of motion, the size of the motion (amount of movement, etc.), and the speed of the motion are input in response to input prompts from the system.

第3図に、選択入力によるプログラムの作成例を示す。FIG. 3 shows an example of creating a program using selective input.

同図では、構文木およびプログラムを示している。実際
にユーザに表示するのは、構文木だけでもプログラムだ
けでも、その両方であってもよい。第3図(a)のプロ
グラムに対応する構文木を同図(b)に示している。第
3図(a) 、 (b)において繰シ返しを選択するこ
とによシ、同図(C)のプログラム、同図(d)の構文
木に変化する。ここで、カーソル(プログラム中の注目
点)を専用キー等による指定でく文〉の部分に移動し、
動作入力を選択すると、動作入力部12に制御が移る。
The figure shows a syntax tree and a program. What is actually displayed to the user may be only the syntax tree, only the program, or both. A syntax tree corresponding to the program in FIG. 3(a) is shown in FIG. 3(b). By selecting repetition in FIGS. 3(a) and 3(b), the program changes to the program shown in FIG. 3(C) and the syntax tree shown in FIG. 3(d). Here, move the cursor (the point of interest in the program) to the section where the statement can be specified using a special key, etc.
When a motion input is selected, control is transferred to the motion input section 12.

第2図に、動作入力部の処理を表すフローチャ一トを示
す。物体選択21では、既存の物体がメニューで示され
、この中から選択する。物体の形状は、別のシステムで
作成されているものとする。
FIG. 2 shows a flowchart representing the processing of the motion input section. In the object selection 21, existing objects are displayed on a menu, and the user selects from among them. It is assumed that the shape of the object is created in another system.

また、物体の撰択は、メニューによシ行うものと限定す
る必要はなく、キーボードで物体名を入力することによ
シ行うものとしてもよい。動作選択22では、選択され
た物体に対する動作の種類を選択する。動作の種類は例
えば、アフィン変換(平行移動、拡大・縮小2回転)に
よるものを用意する。これ以外の動作も動作選択のメニ
ューに付は加えることによシ、実現可能である。動作?
物体名と同様、キーボードで入力してもよい。パラメー
タ人力23では、動作の種類によ少入力方法が異なる。
Furthermore, the selection of objects need not be limited to the menu selection, but may also be performed by inputting the object name using the keyboard. In action selection 22, the type of action for the selected object is selected. As for the type of motion, for example, one based on affine transformation (parallel movement, two rotations of enlargement/reduction) is prepared. Operations other than these can also be realized by adding options to the operation selection menu. motion?
Like the object name, you can also enter it using the keyboard. In the parameter manual input 23, the input method differs depending on the type of operation.

例えば、平行移動は、マウス、タッチパネルのごときポ
インティングデバイスによシ、起点及び終点の管面上で
の位置を入力する。対話人力については、前記第1の文
献等に数多くの方法が示されておシ、これらを利用する
。1つの動作に対する入力が終了すると選択入力部11
に制御が移される。
For example, for parallel movement, the positions of the starting point and ending point on the screen are input using a pointing device such as a mouse or a touch panel. Regarding human power for dialogue, many methods are shown in the above-mentioned first document, etc., and these are used. When the input for one action is completed, the selection input section 11
control is transferred to

第3図(e) 、 (f)は、動作入力による、プログ
ラムの変化例を表している。ここでは、く文〉が動作を
表す関数呼出しに代わっている。
FIGS. 3(e) and 3(f) show examples of changes in the program due to operation input. Here, the word 〉 has been replaced by a function call that indicates an action.

選択入力部11.動作人力12で作成された動作仕様は
、プログラム、構文木の両者の形でコアメモリのごとき
内部記憶14に格納される。出力部13は、選択入力部
11におけるデータ出力指令によシ起動される。出力部
13では、これを磁気ディスクのごとき外部記憶15に
出力する。出力データはプログラムの形式でありても、
構文木の形式であっても、両者であってもよい。また、
同一計算機上の他のシステムに渡すためコアメモリのご
とき内部記憶に出力してもよい。
Selection input section 11. The motion specifications created by the motion manpower 12 are stored in an internal memory 14 such as a core memory in the form of both a program and a syntax tree. The output section 13 is activated by a data output command from the selection input section 11 . The output unit 13 outputs this to an external storage 15 such as a magnetic disk. Even if the output data is in the form of a program,
It may be in the form of a syntax tree or both. Also,
It may also be output to internal storage such as core memory for passing to other systems on the same computer.

(発明の効果) 本発明によシ、繰シ返し1分岐などを含む動画の仕様作
成が、選択入力、対話人力の両者によp1簡単に行うこ
とがでさるようになった。
(Effects of the Invention) According to the present invention, it is now possible to easily create specifications for a moving image, including repeating and branching, using both selection input and human interaction.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のプロ、り丙、第2図は第1
図中の動作入力部の動作を示すフローチャート、第3図
は第1図の実施例におけるプログラム作成例を示す図で
ある。 11・・・・・・選択入力部、12・・・・・・動作入
力部、13・・・・・・出力部、14・・・・・・内部
記憶、15・・・−・・外部記憶。 代理人 弁理士  内 原   音 /7′Iδ1n end ; Mi n end; (C) ain C崩1 (b) (沈)
Figure 1 shows the professional model of one embodiment of the present invention, and Figure 2 shows the first embodiment of the invention.
FIG. 3 is a flow chart showing the operation of the operation input section in the figure, and FIG. 3 is a diagram showing an example of program creation in the embodiment of FIG. 11...Selection input section, 12...Operation input section, 13...Output section, 14...Internal storage, 15...--External Memory. Agent Patent Attorney Uchihara Sound/7'Iδ1n end; Min end; (C) ain C collapse 1 (b) (Sink)

Claims (1)

【特許請求の範囲】[Claims] 動作の種類、大きさ、速度を示す動画仕様を計算機に入
力する動画仕様入力方式において、動画仕様を計算機言
語で記述し、さらに動画の制御構造を該計算機言語で使
用可能な制御構造から選択することにより入力する手段
を具備することを特徴とする動画仕様入力方式。
In a video specification input method in which video specifications indicating the type, size, and speed of motion are input into a computer, the video specifications are written in a computer language, and a control structure for the video is selected from control structures that can be used in the computer language. A video specification input method characterized by comprising a means for inputting by.
JP26563787A 1987-10-20 1987-10-20 Moving image specification input system Pending JPH01108681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26563787A JPH01108681A (en) 1987-10-20 1987-10-20 Moving image specification input system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26563787A JPH01108681A (en) 1987-10-20 1987-10-20 Moving image specification input system

Publications (1)

Publication Number Publication Date
JPH01108681A true JPH01108681A (en) 1989-04-25

Family

ID=17419902

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26563787A Pending JPH01108681A (en) 1987-10-20 1987-10-20 Moving image specification input system

Country Status (1)

Country Link
JP (1) JPH01108681A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0490066A (en) * 1990-08-01 1992-03-24 Daikin Ind Ltd Method and device for registering processing of parametric graphic
US5493726A (en) * 1993-01-29 1996-02-20 Matsushita Electric Industrial Co., Ltd. Operation guidance generating unit and method of generating operation guidance

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6336354A (en) * 1986-07-25 1988-02-17 テクトロニックス・インコ−ポレイテッド Simulation

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6336354A (en) * 1986-07-25 1988-02-17 テクトロニックス・インコ−ポレイテッド Simulation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0490066A (en) * 1990-08-01 1992-03-24 Daikin Ind Ltd Method and device for registering processing of parametric graphic
US5493726A (en) * 1993-01-29 1996-02-20 Matsushita Electric Industrial Co., Ltd. Operation guidance generating unit and method of generating operation guidance

Similar Documents

Publication Publication Date Title
CN103197929B (en) A kind of graphic programming system and method for children-oriented
US5490246A (en) Image generator using a graphical flow diagram with automatic generation of output windows
US6466240B1 (en) Method for visually writing programs or scripts that transform structured text presented as a tree
Puerta et al. Model-based interface development
JPH04337843A (en) Program operation display method
JP5147240B2 (en) Method and system for reversible design tree transformation
Ludolph et al. The Fabrik programming environment
EP1071014B1 (en) Adding code in an application during runtime to enrich object behavior
US8120610B1 (en) Methods and apparatus for using aliases to display logic
JPH01108681A (en) Moving image specification input system
Zeng et al. Shape of the story: Story visualization techniques
Hopkins et al. The rube framework for personalized 3-d software visualization
Reiss Visual languages and the GARDEN system
KR20010011272A (en) Object-oriented robot programming system and method
Coninx et al. VR-DeMo: a tool-supported approach facilitating flexible development of virtual environments using conceptual modelling
Lin et al. PyDraw: a GUI drawing generator based on Tkinter and its design concept
Szwillus GEGS-a system for generating graphical editors
Beaudoux et al. Using Model Driven Engineering technologies for building authoring applications
Grundy et al. A visual programming environment for object-oriented languages
JPH01216483A (en) Moving picture specification input device
Phung Implementation of graphical editor using sirius
Chen et al. A Development Environment for Constructing Graph‐Based Editing Tools
JPH03252760A (en) Document editing method and document editing device
JPH05233258A (en) Development support system for graphic editor
Bullinger et al. GEGS A System For Generating Graphical Editors