[go: up one dir, main page]

JPH0258169A - Method for designating range on screen - Google Patents

Method for designating range on screen

Info

Publication number
JPH0258169A
JPH0258169A JP63209812A JP20981288A JPH0258169A JP H0258169 A JPH0258169 A JP H0258169A JP 63209812 A JP63209812 A JP 63209812A JP 20981288 A JP20981288 A JP 20981288A JP H0258169 A JPH0258169 A JP H0258169A
Authority
JP
Japan
Prior art keywords
range
point
screen
processing
arbitrary
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.)
Granted
Application number
JP63209812A
Other languages
Japanese (ja)
Other versions
JP2695445B2 (en
Inventor
Masanobu Koyanagi
小柳 正信
Yoshio Shibata
柴田 義夫
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.)
Nakanihon System Co Ltd
Barudan Co Ltd
Original Assignee
Nakanihon System Co Ltd
Barudan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nakanihon System Co Ltd, Barudan Co Ltd filed Critical Nakanihon System Co Ltd
Priority to JP63209812A priority Critical patent/JP2695445B2/en
Publication of JPH0258169A publication Critical patent/JPH0258169A/en
Application granted granted Critical
Publication of JP2695445B2 publication Critical patent/JP2695445B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Sewing Machines And Sewing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To simplify range designation and to improve operability and workability by designating an arbitrary range on a picture drawn on a two-dimensional screen based on a series of processings according with the algorithm executed in human brains. CONSTITUTION:Two points of a first point and a second point are designated in arbitrary positions on the two-dimensional screen (S1). The first point is regarded as the center of a range to be designated and the second point is regarded as one point on the boundary of the range to be designated (S2). The picture in the range designated in this manner is subjected to a prescribed processing (S3) to complete a series of processing. That is, an operator designates the center of the picture to be subjected to the prescribed processing as the first point and designates one of boundary points of this range as the second point to complete designation of the arbitrary range. Thus, the operator can easily designate the arbitrary range of the picture drawn on the two-dimensional screen without skill, and the time required for the operation is shortened and the operability and the workability are improved.

Description

【発明の詳細な説明】 発明の目的 (産業上の利用分野) 本発明は、二次元画面上に表示された二次元的な画像の
任意の範囲に限定して該範囲内の画像に所定の加工を加
えるため、二次元画面上において画像の任意の範囲を指
定する画面上の範囲指定方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Purpose of the Invention (Industrial Field of Application) The present invention is to limit a two-dimensional image displayed on a two-dimensional screen to an arbitrary range and apply a predetermined image to the image within the range. This invention relates to an on-screen range designation method for designating an arbitrary range of an image on a two-dimensional screen for processing.

(従来の技術) 従来より、CA1.)技術の進歩から二次元画面上に画
像を描いて設計、デザインの創作などの作業が行われて
いる。このCAD技術によれは、二次元画面(例えは、
CRT)上に表示された二次元的な画像の任意の範囲に
限定して、該範囲内の画像を拡大し、移動し、もしくは
削除するなどの所定の加工が瞬時に実行されるため、設
計やデザインの創作などに要する時間が短縮され、作業
の効率化を図ることができる。
(Prior art) Conventionally, CA1. ) Due to advances in technology, work such as drawing images on a two-dimensional screen is being done to design and create designs. With this CAD technology, two-dimensional screens (for example,
Because predetermined processing such as enlarging, moving, or deleting images within that range is performed instantly by limiting the two-dimensional image displayed on the CRT to an arbitrary range, the design This reduces the time required to create designs, etc., and improves work efficiency.

この種の技術において、前記画像中の任意の範囲を指定
する画面上の範囲指定方法として、次のような方法が採
用されている。
In this type of technology, the following method is adopted as an on-screen range designation method for designating an arbitrary range in the image.

第9図に示すように、まず周知のマウス、タブレット、
ライトペンなどの人力装置を用いて、二次元画面り上の
任意の点T1を指定する。この状態から上記入力装置を
操作するならば、その操作により移動する点Tと前記指
定した点T1とを対角線上の頂点とする1つの四角形が
表示される(例えは、図中の点線及び−点鎖線)。そこ
で、上記人力装置を操作して所望の画像の領域がこの四
角形の範囲内となるように操作して、晶終的にもう1つ
の点T2を人力するのである。こうして、四角形により
包囲された1つの領域が指定されると、この領域に限定
して移動、削除や拡大などの所定の加工が実行される。
As shown in Figure 9, first, the well-known mouse, tablet,
An arbitrary point T1 on the two-dimensional screen is specified using a manual device such as a light pen. If you operate the input device from this state, a rectangle whose diagonal vertices are the point T to be moved and the specified point T1 will be displayed (for example, the dotted line and - dot-dashed line). Therefore, the above-mentioned manual input device is operated so that the desired image area falls within the range of this rectangle, and finally another point T2 is manually input. In this way, when one area surrounded by a rectangle is specified, predetermined processing such as movement, deletion, and enlargement is performed only in this area.

(発明が解決しようとする問題点) しかし、上記のごとき画面上の範囲指定方法は、次のよ
うな問題点を有している。
(Problems to be Solved by the Invention) However, the above method of specifying a range on the screen has the following problems.

上記方法により任意の範囲を指定する以前に、操作者は
次のような処理をその脳裏で行っている。
Before specifying an arbitrary range using the above method, the operator performs the following process in his/her mind.

まず、第9図に示すように所定の加工を加えたい画像を
画面上で確認する。
First, as shown in FIG. 9, an image to which a predetermined processing is to be applied is confirmed on the screen.

次に、その確認した画像の周囲どこまでにその加工を加
えるべきかを定める。
Next, it is determined how far around the confirmed image the processing should be applied.

そして、その定めた領域を包囲する四角形を思い浮かべ
る。
Then imagine a rectangle that encloses that defined area.

以上の脳裏ζこおける処理の後、その思い浮かべた四角
形の2つの頂点をそれぞれ人力装置により指定して、第
9図に示した点TI、T2の指定が完了するのである。
After the above-mentioned mental processing, the two vertices of the rectangle that have been imagined are designated by the human power device, and the designation of the points TI and T2 shown in FIG. 9 is completed.

この様に従来の画面上の範囲指定方法は、2つの点(T
I、T2)を指定する簡単な操作に思えるが、その実は
上記3段階の処理を脳裏において実行することを必要と
する。従って、この脳裏での処理に慣れることが要求さ
れ、またその処理の何れかを誤るならば所望の範囲を指
定することができず、指定のやり直しなどを余儀なくさ
れるなど、操作性に問題があった。
In this way, the conventional method of specifying a range on the screen consists of two points (T
I, T2) may seem like a simple operation, but in reality, it is necessary to execute the above three steps of processing in your mind. Therefore, it is necessary to get used to this mental processing, and if you make a mistake in any of the processing, you will not be able to specify the desired range and you will be forced to redo the specification, which may cause problems in operability. there were.

例えは、上記脳裏での処理に慣れない操作者が感に頼っ
て範囲を指定する場合、点T1を概略の位置に指定する
ことになる。すると、その後に実行する他の点T2の決
定に際して、人力装置を操作して点Tを移動し、何処に
点T2を設定しようとも、加工を希望する画像範囲を包
囲する四角形を形成することが不可能であると判明する
。そしてこの時には、最初に指定した点T1の指定を解
除するなどの修正処理が新たに必要となり、極めて不便
な範囲指定方法であった。
For example, if an operator who is not accustomed to the above-mentioned mental processing specifies a range by relying on his/her senses, he/she will specify the point T1 as an approximate position. Then, when determining another point T2 to be executed subsequently, by operating the human power device to move point T, no matter where point T2 is set, it is possible to form a rectangle that surrounds the image range desired to be processed. proves impossible. At this time, a new correction process such as canceling the designation of the initially designated point T1 is required, which is an extremely inconvenient range designation method.

本発明は上記問題点を解決するためになされたもので、
二次元画面上に描かれた画像の任意の範囲を、熟練の必
要もなく簡単に指定でき、しかもその操作に要する時間
も短く、操作性及び作業性の両面に優れた画面上の範囲
指定方法を提供することをその目的としている。
The present invention has been made to solve the above problems,
A method for specifying a range on a screen that allows you to easily specify any range of an image drawn on a two-dimensional screen without the need for any skill, and that requires less time and is excellent in both operability and workability. Its purpose is to provide.

発明の構成 (問題点を解決するための手段) 上記問題点を解決する本発明の構成は、第1図の構成説
明図に示すごとく、 二次元画面上に表示された二次元的な画像の任意の範囲
に限定して該範囲内の画像に所定の加工を加えるため、
前記二次元画面上において前記画像の任意の範囲を指定
する画面上の締囲指定方法において、 前記二次元画面上の任意の位置に、第1の点及び第2の
点を指定しくSl)、 前記第1の点を前記任意の範囲の中心とし、前記第2の
点を前記任意の範囲の境界の1点とする範囲を設定しく
S2)、 該設定された範囲内の前記画像に前記所定の゛加工を加
える(S3)ことを特徴とする画面上の範囲指定方法を
その要旨どしている。
Configuration of the Invention (Means for Solving the Problems) The configuration of the present invention for solving the above problems is as shown in the configuration explanatory diagram of FIG. In order to limit the image to an arbitrary range and apply predetermined processing to the image within the range,
In the on-screen boundary designation method of designating an arbitrary range of the image on the two-dimensional screen, specifying a first point and a second point at arbitrary positions on the two-dimensional screen Sl), setting a range in which the first point is the center of the arbitrary range and the second point is a point on the boundary of the arbitrary range (S2); The gist is a method of specifying a range on the screen, which is characterized by adding a process (S3).

(作用) 本発明の画面上の範囲指定方法でも、二次元画面上の任
意の位置に、第1の点及び第2の点の2点が指定される
(Sl)。
(Operation) Also in the on-screen range designation method of the present invention, two points, the first point and the second point, are designated at arbitrary positions on the two-dimensional screen (Sl).

しかし、この指定される2点は、従来の範囲指定方法と
異なり、次のような意義を有する。すなわち、第1の点
は指定範囲の中心とみなされ、第2の点は指定範囲の境
界の1点とみなされて、範囲が設定される(S2)。
However, these two designated points have the following significance, unlike the conventional range designation method. That is, the first point is regarded as the center of the specified range, the second point is regarded as one point on the boundary of the specified range, and the range is set (S2).

そして、こうして設定された範囲内の画像に所定の加工
が加えられ(S3)、一連の処理が完了する。
Then, a predetermined processing is applied to the image within the range thus set (S3), and a series of processing is completed.

すなわち、操作者は、まず所定の加工を加えたい画像の
中央部を第1の点として指定し、次にその加工を加えた
い範囲の境界点の1つを第2の点として指定すれは、任
意の範囲の指定が完了するのである。
That is, the operator first specifies the center of the image to which a certain processing is to be applied as the first point, and then specifies one of the boundary points of the range to which the processing is to be applied as the second point. This completes the specification of an arbitrary range.

以下、本発明をより具体的に説明するために実施例を挙
げて説明する。
EXAMPLES Hereinafter, in order to explain the present invention more specifically, examples will be given and explained.

(実施例) 第2図ないし第4図は、実施例の画面−ヒの範囲指定方
法を採用する模様作成装置及びその模様作成装置により
駆動制御される多針刺繍機からなる多針刺繍機のシステ
ム構成説明図である。
(Example) Figures 2 to 4 show a pattern creation device that adopts the range specification method shown in Screen-A of the example, and a multi-needle embroidery machine that is driven and controlled by the pattern creation device. It is a system configuration explanatory diagram.

第2図に示すように、2頭型の多針刺繍機10は模様作
成装置60から制御データを人力するとその人力された
制御データをドライバーユニット20が解析し、多数の
針の中から縫いに使用する針を選択する針換えモータの
駆動、該選択された縫針を上下動させる縫いモータの回
転駆動、その回転に同門しつつ刺繍枠30をX−Y方向
に移動させるX軸モータ、Y軸モータの駆動などを制御
する。
As shown in FIG. 2, the two-head type multi-needle embroidery machine 10 manually inputs control data from the pattern creation device 60, and the driver unit 20 analyzes the manually input control data to select one of the many needles to sew. Driving a needle change motor that selects the needle to be used, rotationally driving a sewing motor that moves the selected sewing needle up and down, an X-axis motor and a Y-axis that move the embroidery frame 30 in the X-Y direction in tandem with the rotation. Controls motor drive, etc.

また、模様作成装置60は2次元的な画像の表示を実行
するCRT60A、制i卸人力を行うときに使用するキ
ーボード60B及びマウス60Cを備えている。
The pattern creation device 60 also includes a CRT 60A for displaying two-dimensional images, a keyboard 60B and a mouse 60C for use in controlling the pattern.

第3図が、上記ドライバーユニット20の詳細な構成ブ
ロック図である。図示のように多針刺繍機10のドライ
バーユニッi・20は、模様作成装置60に接続され、
この模様作成装置60から人力される制御データに基づ
いて動作する。また、ドライバーユニット20は、その
伝送されてくる制御データに基づき上記した各モータの
駆動を制御するために、縫いモータの回転角度を検出す
るためのエンコーダa ll等のセンサを備えている。
FIG. 3 is a detailed block diagram of the driver unit 20. As shown in the figure, the driver unit i 20 of the multi-needle embroidery machine 10 is connected to a pattern creation device 60,
It operates based on control data manually input from this pattern creation device 60. Further, the driver unit 20 includes sensors such as an encoder ALL for detecting the rotation angle of the sewing motor in order to control the driving of each of the above-mentioned motors based on the transmitted control data.

その内部構成は通常のマイクロコンピュータを中心とし
たディジタル論理回路であり、論理演算を実行するCP
U2OA、各種のプログラムを記憶しているR 0M2
0 B、情報の一時的記憶を実行するRAM20Cを備
えている。上記した各種のモータ、すなわち刺繍枠30
をX−Y方向に移動させるX軸モータ36、Y軸モータ
38および縫いモータ40、針換えモータ42の駆動信
号を出力する千〜タコントローラ20G〜20Iは、C
PU2OAからの制御信号に従ってモータの励磁相を適
宜変更してモータを所望の速度で、所望の回転角度だけ
回転させる。
Its internal configuration is a digital logic circuit centered on a normal microcomputer, and a CP that executes logical operations.
U2OA, R0M2 that stores various programs
0B, and a RAM 20C for temporarily storing information. The various motors described above, that is, the embroidery frame 30
The controllers 20G to 20I that output drive signals for the X-axis motor 36, Y-axis motor 38, sewing motor 40, and needle change motor 42 that move the
The excitation phase of the motor is changed appropriately according to the control signal from the PU2OA, and the motor is rotated at a desired speed and by a desired rotation angle.

以上のように構成されるドライバーユニット20に模様
作成装置60から制御データが伝送されてくると、その
制御データに従って縫いモータ40を回転駆動するとと
もに、その回転を検出しているエンコーダ34の検出値
などを参照しつつX軸モータ36、Y軸モータ38を駆
動し、刺繍枠30と縫針との相対的な位置関係を制御す
ることで制御データに示された刺繍模様の縫い上げを実
行することができる。
When control data is transmitted from the pattern creation device 60 to the driver unit 20 configured as described above, the sewing motor 40 is driven to rotate according to the control data, and the detection value of the encoder 34 that detects the rotation is By driving the X-axis motor 36 and Y-axis motor 38 and controlling the relative positional relationship between the embroidery frame 30 and the sewing needle, the embroidery pattern indicated by the control data can be sewn. can.

これらのドライバーユニット20の制御データに従った
動作などは周知であり、ここでは更に詳しい説明は省略
する。
The operations of the driver unit 20 according to the control data are well known, and further detailed explanation will be omitted here.

次に、模様作成装置60の詳細な構成につき、第4図の
ブロック図に基づいて説明する。
Next, the detailed configuration of the pattern creation device 60 will be explained based on the block diagram of FIG. 4.

前述のように、模様作成装置60は二次元的な画像の表
示装置としてCRT60Aを、また人力装置としてキー
ボード60B及びマウス60Cを備えており、これらを
集中的に管理制御するために前記ドライバーユニット2
0同様にマイクロコンピュータを中心とするディジタル
論理回路として構成される。すなわち、論理素子CPU
60D、R0M60 E、 RAM60 Fを中枢に、
CRT60Aを制御するためのCRTコントローラ60
GおよびビデオRAM60Hを有し、キーボード60B
およびマウス60Cからの人力をCPU60Dに対して
所定タイミングで伝えるインターフェイス(I/F)6
0I、60J、前記ドライバーユニット20との情報の
授受を可能とするインターフェイス(I/F)60K、
更には多数の情報を不揮発的に記憶するための外部記憶
装置としてフレキシブル◆磁気ディスク・ドライブ(F
DD)60L、ハード・磁気ディスク・ドライブ(F(
DD)60Mを内蔵している。
As mentioned above, the pattern creation device 60 is equipped with a CRT 60A as a two-dimensional image display device, and a keyboard 60B and a mouse 60C as human-powered devices, and the driver unit 2 is used to centrally manage and control these devices.
Similarly to 0, it is configured as a digital logic circuit centered on a microcomputer. That is, the logic element CPU
60D, R0M60 E, RAM60 F as the core,
CRT controller 60 for controlling CRT60A
G and video RAM 60H, keyboard 60B
and an interface (I/F) 6 that transmits human power from the mouse 60C to the CPU 60D at a predetermined timing.
0I, 60J, an interface (I/F) 60K that allows information to be exchanged with the driver unit 20;
Furthermore, flexible magnetic disk drives (F
DD) 60L, hard magnetic disk drive (F(
It has a built-in DD) 60M.

この様に構成される模様作成装置60は、HDD60M
を用いて読み込み可能なハード・磁気ディスクに第5図
の模式図に例示するような様式の基準模様を多数記憶し
ている。図は、−例として英字の「A」を!l1i11
繍するための基準模様の記憶様式を表したものである。
The pattern creation device 60 configured in this way has an HDD 60M
A large number of reference patterns in a format as illustrated in the schematic diagram of FIG. 5 are stored in a readable hard magnetic disk using a computer. The diagram shows the letter “A” as an example! l1i11
This represents the memory style of standard patterns for embroidery.

図示するように本実施例の模様作成装置60は、基準模
様のデータをデータ数の少ない公知のコラムデータ(4
点で定義される四角形または直線コラムおよび5点で定
義される円弧状コラムを特定するための、各点の相対的
な位置のデータである)として記憶している。
As shown in the figure, the pattern creation device 60 of this embodiment converts the data of the reference pattern into known column data with a small number of data (4
This is data on the relative position of each point for specifying a rectangular or straight column defined by points and an arcuate column defined by five points.

例示する英字のrAJについては5つのコラム(a、 
 b、  c、  d、  e)の集合として定義され
ている。
For the example alphabet rAJ, there are five columns (a,
b, c, d, e).

この様なコラムデータで定義された基準模様がどの様に
回転、あるいは拡大・縮小されようとも各コラムの幅方
向に所定の縫いピッチで縫い上げる(第6図参照)技術
は、既に公知のものであり更に詳しい説明は省略する。
No matter how the reference pattern defined by such column data is rotated, enlarged or reduced, the technology to sew each column at a predetermined sewing pitch in the width direction (see Figure 6) is already known. Therefore, a more detailed explanation will be omitted.

次に、多針刺繍機システムの一部として上記のように構
成される模様作成装置60にて採用される実施例の画面
上の範囲指定方法について詳述する。
Next, a method of specifying a range on the screen in an embodiment employed in the pattern creating device 60 configured as described above as part of the multi-needle embroidery machine system will be described in detail.

模様作成装置60は、基本的には公知のCAD技術を利
用して構成されており、刺繍模様の創作をCRT60A
上で実行することができる。その創作ξこ便宜を図るた
め、上記のように基準模様のコラムデータが予め多数用
意されているのである。
The pattern creation device 60 is basically configured using known CAD technology, and creates embroidery patterns using a CRT 60A.
can be run on. In order to facilitate this creation, a large number of column data of reference patterns are prepared in advance as described above.

従って操作者は、任意の基準模様を適宜読み出してCR
T60A上に表示し、画面」二でその表示されている基
準模様を全体的にあるいは部分的に拡大、縮小、移動、
回転、反転または削除などして独特な模様を簡単に、か
つ短時間に創作することができる。第7図(a)が上記
のような刺繍模様の創作を実行する際にCRT60A上
に表現される刺繍模様の1例である。図示する状態は創
作の初期の段階であり、基準模様rs、  E(Jの2
文字を適当な位置に配置したのみの状態である。この状
態から、この2文字「S」とrF(Jとの相対的な関係
は崩さずに拡大したい場合などに、実施例の範囲指定方
法が利用される。
Therefore, the operator reads out any reference pattern as appropriate and performs CR.
Displayed on the T60A, the displayed standard pattern can be enlarged, reduced, or moved in whole or in part on the second screen.
You can easily and quickly create unique patterns by rotating, reversing, or deleting. FIG. 7(a) is an example of an embroidery pattern expressed on the CRT 60A when creating the embroidery pattern as described above. The state shown is at the initial stage of creation, and the reference patterns rs, E (J's 2
It is simply a matter of placing the letters in appropriate positions. The range designation method of the embodiment is used when it is desired to expand from this state without destroying the relative relationship between the two characters "S" and rF (J).

まず、上記のように所定範囲の画像の情報のみを加工す
る命令、例えは拡大命令がキーボード60Bから人力さ
れると、模様作成装置60のCPU60Dは、初めにR
OM60Eに記憶されている範囲指定プログラムを順次
読み込み、処理を開始して、範囲の特定を実行する。第
8図が上記範囲特定プログラムのフローチャートであり
、以下このフローチャートに基づいて模様作成装置60
の動作について説明する。
First, when a command to process only the information of a predetermined range of images, for example an enlargement command, is manually input from the keyboard 60B as described above, the CPU 60D of the pattern creation device 60 first executes the R
The range specifying programs stored in the OM60E are sequentially read, processing is started, and the range is specified. FIG. 8 is a flowchart of the range specifying program, and hereinafter, based on this flowchart, the pattern creating device 60
The operation will be explained.

CPU60Dが範囲指定プログラムの実行乙こ入ると直
ちにステップ100を実行し、CRTコントローラ60
Gに指令を出力してCPU60Dの画面中央に1つの小
さなド・ント(以下、このドツトを指示点Mという)を
表示する(第7図(b)参照)。次に、ステップ110
〜ステツプ170にて、キーボード60Bまたはマウス
60Cの人力待機状態となり、指示点Mの移動及び第1
、第2の点の設定が次のように行われる。
Immediately after the CPU 60D starts executing the range specification program, it executes step 100 and executes the CRT controller 60.
A command is output to the CPU 60D to display a small dot (hereinafter referred to as the indicated point M) in the center of the screen of the CPU 60D (see FIG. 7(b)). Next, step 110
- At step 170, the keyboard 60B or mouse 60C is in standby mode, and the pointing point M can be moved and the first
, the second point is set as follows.

ステップ110の指示点Mの移動判断は、キーボード6
0Bの「カーソル・キー」またはマウス60Cの操作の
有無を判断するものであり、この何れかが操作されてい
るときにはステップ120によって、その操作量に応じ
てCRT 60 A上に表示している指示点Mを移動さ
せる。操作者は、こうして自己の操作に応じて移動する
指示点Sを視認しつつ、希望する位置に指示点Sを移動
させることができる。ここで希望する位置とは、操ビ「
者が指定したい範囲の中央部である。従って、本例では
CRT60A上に表示されている文字「S」「H」の中
間点付近となる。こうして、希望する位置にまで指示点
Mを移動させたとき、操作者はキーボード60Bまたは
マウス60Cのクリック操作により、位置の指定を実行
する。このクリワク操作をステップ130にて判定する
ことにより処理はステップ140へと移行し、CPU6
0Dは上記クリック操作がなされたとき指示点Mが存在
する位置に「*」を表示して、第1の点A1が指定され
たことを示す(第7図(C)参照)。
The movement judgment of the instruction point M in step 110 is made using the keyboard 6.
This is to determine whether or not the ``cursor keys'' of 0B or the mouse 60C are being operated, and when either of these is being operated, an instruction is displayed on the CRT 60A according to the amount of operation at step 120. Move point M. The operator can thus move the pointing point S to a desired position while visually recognizing the pointing point S that moves according to the operator's operation. The desired position here is
This is the center of the range that the user wants to specify. Therefore, in this example, it is near the midpoint between the characters "S" and "H" displayed on the CRT 60A. When the pointing point M has been moved to the desired position in this manner, the operator specifies the position by clicking the keyboard 60B or the mouse 60C. By determining this chestnut operation at step 130, the process moves to step 140, where the CPU 6
0D displays "*" at the position where the designated point M exists when the above click operation is performed, indicating that the first point A1 has been designated (see FIG. 7(C)).

続いてCPU60Dは、この第1の点A1の表示された
位置から再び指示点Mの移動を人力する。
Subsequently, the CPU 60D manually moves the designated point M again from the position where the first point A1 is displayed.

すなわち、ステップ150の指示点Mの移動判断は上記
ステップ110同様に、キーボード60Bの「カーソル
・キー」またはマウス60Cの操作の有無を判断するも
のであり、その何れかが操作されているときにはステッ
プ160によって、その操作量に応じてそれまで第1の
点A1と重なり合っていた指示点MをCPU60Dトで
移動させる。そしてこの時、指示点Mの表示と同時に、
前記第1の点A1を対角線の交点とし、かつ指示点Mを
1つの辺が通過する四角形Nを表示する(第7図(d)
参照)。なお、この四角形Nの形状は、CRT60Aの
画面に相似形である。すなわち、操作者は、自己の操作
に応して指示点Mを移動させ、かつそれにより四角形N
の大きさを変化させることができる。こうして、視認し
つつ希望する位置に指示点Mを移動させ、希望する大き
さの四角形Nを得た後には、操作者は前記同様にキーボ
ード60Bまたはマウス60Cのクリック操作により、
第2の点A2の指定を実行する。このクリック操作はス
テップ170によって判断されて処理はステップ180
へと進み、CPU60Dは第2の点A2を通過する四角
形Nを指定された範囲として確定するのである。
That is, the determination of movement of the pointing point M in step 150 is similar to step 110 described above, in which it is determined whether or not the "cursor keys" of the keyboard 60B or the mouse 60C are operated, and if either of them is operated, the step is executed. 160, the CPU 60D moves the designated point M, which had been overlapping the first point A1, according to the amount of operation. At this time, at the same time as the indication point M is displayed,
A rectangle N with the first point A1 as the intersection of the diagonals and one side passing through the indicated point M is displayed (FIG. 7(d)
reference). Note that the shape of this rectangle N is similar to the screen of the CRT 60A. That is, the operator moves the pointing point M according to his/her operation, and thereby moves the point M to the rectangle N.
The size of can be changed. In this way, after moving the pointing point M to the desired position while visually checking and obtaining the rectangle N of the desired size, the operator clicks on the keyboard 60B or the mouse 60C in the same manner as described above.
The designation of the second point A2 is executed. This click operation is determined at step 170, and the process is performed at step 180.
Then, the CPU 60D determines the rectangle N passing through the second point A2 as the specified range.

このようにしてCPU60D上の任意の範囲が確定され
ると、CPU60Dはその範囲内の画像を形成している
データをビデオRAM60E(のデータから判断し、該
データを他のプログラムの処理に供するべくRAM60
Fの所定領域に格納して(ステップ190)、本プログ
ラムの処理を終了する。
When an arbitrary range on the CPU 60D is determined in this way, the CPU 60D determines the data forming the image within that range from the data in the video RAM 60E, and uses the data to process other programs. RAM60
The data is stored in a predetermined area of F (step 190), and the processing of this program is ended.

模様作成装置60は、以上のごとく所定範囲内に加工を
加える命令が人力されると、最初に第8図の範囲特定プ
ログラムを実行する。そして、範囲特定プログラムの実
行によりRAM60Fに記憶されたデータをその後、拡
大、縮小、移動などの加工を加える他のプログラムの利
用に供し、操作者の希望する加工を実現するのである。
When the pattern creation device 60 receives a manual command to apply processing within a predetermined range as described above, it first executes the range specifying program shown in FIG. Then, the data stored in the RAM 60F by executing the range specifying program is then used by other programs that perform processing such as enlargement, reduction, movement, etc., thereby realizing the processing desired by the operator.

従って、上記例に添って説明するならば、ステップ19
0の処理によりRAIVI60Fの所定領域に記憶され
たデータは、その後拡大加工を実行するプログラムのデ
ータとして使用され、第7図(e)に示すように拡大さ
れる。この時、第1の点A1と第2の点へ2とで指定し
た四角形はCRT60Aの画面に相似形であることから
、あたかも四角形の部分がそのままCRT60Aの画面
に−・致するかのような拡大画像が得られる。
Therefore, if we explain according to the above example, step 19
The data stored in a predetermined area of the RAIVI 60F by the processing in step 0 is then used as data for a program that executes enlargement processing, and is enlarged as shown in FIG. 7(e). At this time, since the rectangle specified by the first point A1 and the second point 2 is similar to the screen of the CRT60A, it is as if the rectangle part matches the screen of the CRT60A as it is. An enlarged image is obtained.

以上は、実施例の範囲指定方法を用いて所定範囲内を拡
大加工する場合について説明したが、上記のごとくして
指定された範囲内のデータを、公知の縮小、移動、回転
などの処理プログラムのデータとlノで与えることでそ
の曲の種々の加工が実行できることはいうまでもない。
The above describes the case where a predetermined range is enlarged using the range specification method of the embodiment. Data within the range specified as described above can be processed using known processing programs such as reduction, movement, rotation, etc. It goes without saying that by providing this data and information, various types of processing can be performed on the song.

以上のように実施例の画面上の範囲指定方法を採用する
模様作成装置60によれは、次のような効果が明らかで
ある。
As described above, the pattern creation device 60 that employs the on-screen range designation method of the embodiment has the following effects.

前述したごとく、所定の範囲内の画像に拡大、縮小など
の加工を加える際には、使用者は■所定の加工を加えた
い画像を画面上で確認し、■次に、その確認した画像の
周囲どこまでにその加工を加えるべきかを脳裏で処理し
ている。本実施例の画面上の範囲指定方法は、この脳裏
内の処理と全く同一のアルゴリズムにより、範囲の指定
を完了するのである。
As mentioned above, when applying processing such as enlarging or reducing an image within a predetermined range, the user must: - Confirm on the screen the image to which the specified processing is to be applied, and then - I am processing in my mind how much of the surrounding area I should apply the processing to. The on-screen range designation method of this embodiment completes range designation using the same algorithm as this mental processing.

すなわち、脳裏内の処理である■所定の加工を加えたい
画像を画面上で確認するとき、操作者は所定の範囲の略
中央部に注目する。そこで、この時、同時にCRT60
Aの画面上に第1の点A1を定めることが容易にできる
。そして、次に脳裏内で、■その確認した画像の周囲と
こまでにその加工を加えるべきかを処理するとき、操作
者の注目は所定範囲の境界に移っていく。この時同時に
、操作者は第2の点A2を定めればよいのである。
That is, mental processing (1) When checking an image on the screen to which a predetermined processing is to be applied, the operator focuses on approximately the center of the predetermined range. Therefore, at this time, the CRT60
The first point A1 can be easily determined on the screen of A. Then, when processing in the mind whether or not to apply the processing to the area surrounding the confirmed image, the operator's attention shifts to the boundary of the predetermined range. At this time, the operator only has to determine the second point A2.

この様に本実施例の画面上の範囲指定方法は、二次元画
面上に描かれた画像の任意の範囲を指定するに際して、
脳裏内での処理のアルゴリズムと同一手順により指定を
完了することができる。従って、範囲の指定に熟練の必
要もなく、簡単に指定でき、しかもその操作に要する時
間も短く、操作性及び作業性の両面に優れた方法となる
In this way, the on-screen range designation method of this embodiment, when designating an arbitrary range of an image drawn on a two-dimensional screen,
The specification can be completed using the same procedure as the processing algorithm in the mind. Therefore, there is no need for skill in specifying the range, the range can be specified easily, the time required for the operation is short, and the method is excellent in both operability and workability.

特に上記実施例で例示したように、拡大したい範囲を指
定するときには、第1の点A1及び第2の点A2により
特定される四角形NをCRT60Aの画面形状と相似形
にすることにより拡大加工した後の画像を容易にぜ起す
ることができる。従って、誤った操作を防止できると共
に、刺繍模様の創作を円滑に行うことができる。
In particular, as exemplified in the above embodiment, when specifying the range to be enlarged, the rectangle N specified by the first point A1 and the second point A2 is enlarged by making it similar to the screen shape of the CRT60A. Subsequent images can be easily created. Therefore, erroneous operations can be prevented and embroidery patterns can be created smoothly.

なお、上記模様作Fi′!装置60は、範囲の指定が必
要な命令の実行に際して密に実施例の範囲指定方法を実
行するように構成した例について説明したが、河等この
様な構成に限定されるものではなく、移動や削除などの
範囲指定には従来同様の範囲指定方法を用いるなど併用
するものであってもよい。また、範囲を指定する人力装
置もキーボード60Bやマウス60Cなどに限らず、ラ
イトペンやタブレットなどを用いてもよい。
In addition, the above pattern creation Fi′! Although an example has been described in which the device 60 is configured to closely execute the range specifying method of the embodiment when executing an instruction that requires specifying a range, the device 60 is not limited to such a configuration; For specifying a range such as or deletion, a conventional range specifying method may be used in combination. Further, the manual device for specifying the range is not limited to the keyboard 60B and the mouse 60C, but may also be a light pen, a tablet, or the like.

発明の効果 以上、実施例を挙げて詳述したように本発明の画面上の
範囲指定方法は、二次元画面上に描かれた画像の任意の
範囲を指定するに際して、人間の脳裏で実行されるアル
ゴリズムに一致した一連の処理を基準とするものである
As described in detail with reference to the embodiments, the on-screen range designation method of the present invention has been described in detail with reference to the embodiments. This is based on a series of processes that match the algorithm.

従って、範囲指定に熟練の必要もなく簡単に指定でき、
しかもその操作ζこ要する時間も短く、操作性及び作業
性の両面に優れた方法となる。
Therefore, you can easily specify the range without the need for skill.
Moreover, the time required for the operation ζ is short, and the method is excellent in terms of both operability and workability.

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

第1図は本発明の画面上の範囲指定方法の基本的構成を
示す説明図、第2図は実施例の画面上の範囲指定方法を
採用する模様作成装置を中心とした刺繍システムの概略
構成図、第3図はそのドライバーユニットのブロック図
、第4図はその模様作成装置のブロック図、第5図は基
準模様のコラムデータ説明図、第6図はその刺繍模様の
ステッチ説明図、第7図(a)ないしくe)は模様作成
装置で実行される画面上の範囲指定方法の説明図、第8
図は範囲特定プログラムのフローチャート、第9図は従
来の画面上の範囲指定方法の説明図、を示している。
FIG. 1 is an explanatory diagram showing the basic configuration of the on-screen range specification method of the present invention, and FIG. 2 is a schematic configuration of an embroidery system centered on a pattern creation device that adopts the on-screen range specification method of the embodiment. 3 is a block diagram of the driver unit, FIG. 4 is a block diagram of the pattern creation device, FIG. 5 is an explanatory diagram of the column data of the reference pattern, FIG. 6 is an explanatory diagram of the stitches of the embroidery pattern, 7(a) to e) are explanatory diagrams of the method of specifying a range on the screen executed by the pattern creation device,
The figure shows a flowchart of the range specifying program, and FIG. 9 shows an explanatory diagram of a conventional method of specifying a range on a screen.

Claims (1)

【特許請求の範囲】 二次元画面上に表示された二次元的な画像の任意の範囲
に限定して該範囲内の画像に所定の加工を加えるため、
前記二次元画面上において前記画像の任意の範囲を指定
する画面上の範囲指定方法において、 前記二次元画面上の任意の位置に、第1の点及び第2の
点を指定し、 前記第1の点を前記任意の範囲の中心とし、前記第2の
点を前記任意の範囲の境界の1点とする範囲を設定し、 該設定された範囲内の前記画像に前記所定の加工を加え
ることを特徴とする画面上の範囲指定方法。
[Claims] To limit an arbitrary range of a two-dimensional image displayed on a two-dimensional screen and apply predetermined processing to the image within the range,
In the on-screen range specification method of specifying an arbitrary range of the image on the two-dimensional screen, specifying a first point and a second point at arbitrary positions on the two-dimensional screen, setting a range in which the point is the center of the arbitrary range and the second point is a point on the boundary of the arbitrary range, and applying the predetermined processing to the image within the set range. A method for specifying a range on the screen featuring the following.
JP63209812A 1988-08-24 1988-08-24 On-screen processing range designation device Expired - Lifetime JP2695445B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63209812A JP2695445B2 (en) 1988-08-24 1988-08-24 On-screen processing range designation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63209812A JP2695445B2 (en) 1988-08-24 1988-08-24 On-screen processing range designation device

Publications (2)

Publication Number Publication Date
JPH0258169A true JPH0258169A (en) 1990-02-27
JP2695445B2 JP2695445B2 (en) 1997-12-24

Family

ID=16579015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63209812A Expired - Lifetime JP2695445B2 (en) 1988-08-24 1988-08-24 On-screen processing range designation device

Country Status (1)

Country Link
JP (1) JP2695445B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63121980A (en) * 1986-11-11 1988-05-26 Canon Inc Image processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63121980A (en) * 1986-11-11 1988-05-26 Canon Inc Image processor

Also Published As

Publication number Publication date
JP2695445B2 (en) 1997-12-24

Similar Documents

Publication Publication Date Title
JPH0320789B2 (en)
JP3585357B2 (en) Information processing apparatus and method, and recording medium recording information processing program
JPH0462100B2 (en)
JPH1195968A (en) Device and method for selecting menu and recording medium recording menu selection program
JPH07316971A (en) Method for inputting embroidery line and device therefor
JP3389452B2 (en) Window display control device, window display control method, and computer-readable recording medium storing a program for causing a computer to execute the method
JPH0258169A (en) Method for designating range on screen
JPH0258170A (en) Function selecting method
JP2904822B2 (en) Manual moving device for embroidery frame
JP3157474B2 (en) Cam design processing apparatus and method
JP2884843B2 (en) Embroidery data creation device
JP3329517B2 (en) Graphic data processing method
JPH0258171A (en) Method for redesignating position on screen
JP2001046768A (en) Sewing data creation device
JPH0775037B2 (en) Image rotation instruction method
JP3907072B2 (en) Sewing machine with embroidery function
JPH07295747A (en) Computer system
JP3253136B2 (en) Information processing method and apparatus
JPH04191972A (en) Editing system for character attribute
JPH01209518A (en) Command cancellation method
JP2000051555A (en) Embroidery pattern display device
JPH0895739A (en) Cad device
JPH0738229B2 (en) Graphic processing device
JPH01152524A (en) Menu indication system
JPH05128228A (en) Graphic processor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080912

Year of fee payment: 11

EXPY Cancellation because of completion of term