JPS61157928A - Plotted picture display device - Google Patents

Plotted picture display device

Info

Publication number
JPS61157928A
JPS61157928A JP59279201A JP27920184A JPS61157928A JP S61157928 A JPS61157928 A JP S61157928A JP 59279201 A JP59279201 A JP 59279201A JP 27920184 A JP27920184 A JP 27920184A JP S61157928 A JPS61157928 A JP S61157928A
Authority
JP
Japan
Prior art keywords
zone
area
position signal
coordinate
maximum
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
JP59279201A
Other languages
Japanese (ja)
Other versions
JPH0434791B2 (en
Inventor
Tetsuo Oyama
尾山 徹夫
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 JP59279201A priority Critical patent/JPS61157928A/en
Publication of JPS61157928A publication Critical patent/JPS61157928A/en
Publication of JPH0434791B2 publication Critical patent/JPH0434791B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Character Input (AREA)

Abstract

PURPOSE:To erase the desired area of a displayed video by approximating a rectangular set area enclosed by a straight line for circumscribing a plotted locus and that vertical against the former to an erasure area and erasing the video in said area. CONSTITUTION:An inner zone maximum and minimum value memory table in a RAM32 is set to '0', x and y coordinates are read through an A/D converter 2. A zone number (i) can be available from the prescribed arithmetic, and the minimum value ximin and the maximum value ximax with respect to a zone (i) are read out of the inner zone maximum and minimum value memory table in the RAM32, and are compared with the coordinates (x). Where x<ximin or ximin=0, the (x) is substituted for the ximin, and where x>ximax, the (x) is substituted for the ximax. Thus the maximum and minimum values in the zone are updated, and continuously the termination of the input of locus coordinates is decided. Then with respect to all zones, data in a picture memory device 4 corresponding to the area enclosed by the ximin, ximax and the zone boundary is set to '0'.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は描画像表示装置に関する。特に、描画性の部分
消去手段に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a drawn image display device. In particular, the present invention relates to a drawing-quality partial erasing means.

〔概要〕〔overview〕

本発明は接触による描画軌跡が映像として表示される描
画像表示装置において、 映像の消去領域を接触による描画軌跡で与え、この描画
軌跡に外接する直線とこの直線に垂直な直線とで囲まれ
た矩形の集合領域をもってこの消去領域を近似させ、こ
の近似された領域内の映像を消去することにより、 表示されている映像の所望領域を消去することができる
装置の構成を簡単化したものである。
The present invention provides a drawing image display device in which a drawing trajectory caused by contact is displayed as an image. This is a simplified configuration of a device that can erase a desired area of a displayed image by approximating this erasing area with a rectangular collection area and erasing the image within this approximated area. .

〔従来の技術〕[Conventional technology]

従来の平板上の接触軌跡に対応する描画像を表示する描
画像表示装置にはすでに表示されている描画像を部分的
に消去するには、相応する規模の大きいソフトウェアを
備えなければならない。
A conventional graphic image display device that displays a graphic image corresponding to a contact trajectory on a flat plate must be equipped with correspondingly large-scale software in order to partially erase a graphic image that has already been displayed.

〔発明が解決しようとする問題点〕    ゛このよう
な従来例装置ではすでに表示されている描画像に修正を
施すためには装置が高価になり、また処理時間も長くな
る。特に指定された領域の描画像を厳密に捉えるための
ソフトウェアは複雑化する欠点がある。
[Problems to be Solved by the Invention] [Problems to be Solved by the Invention] ``With such a conventional device, in order to modify a drawn image that has already been displayed, the device becomes expensive and the processing time becomes long. In particular, software for accurately capturing a drawn image of a designated area has the drawback of becoming complicated.

本発明はこのような欠点を除去するもので、すでに表示
されている描画像を修正するために部分的に消去するこ
とができる描画像表示装置の構成を簡単化することを目
的とする。
The present invention aims to eliminate this drawback and aims to simplify the construction of a drawing display device that can be partially erased in order to modify an already displayed drawing.

〔発明の原理〕 本発明の原理を第3図および第4図に基づいて説明する
[Principle of the Invention] The principle of the invention will be explained based on FIGS. 3 and 4.

まず、画像記憶装置15には接触位置検出装置1から入
力した描画像の軌跡座標が記憶され、表示装置6により
それが可視的に表示される。
First, the image storage device 15 stores the locus coordinates of the drawn image input from the contact position detection device 1, and the display device 6 visually displays them.

さて、接触位置座標検出装置10に描画像の軌跡座標が
入力され、ゾーン判定手段11でこの軌跡座標の属する
座標が決定され、ゾーン内最大最小座標判定手段12で
この軌跡座標がこのゾーン内ですでに検出された座標よ
り最大または最小の場合にそれがゾーン内最大最小座標
記憶装置13に記憶される。消去位置を示す軌跡の座標
がすべて検出された後に、ゾーンの境界線とゾーン内最
大最小座標記憶装置13に記憶されているこのゾーン内
の最大、最小座標により囲まれる矩形領域に対応する画
像記憶装置15内の領域の描画像が矩形領域消去装置1
4により消去される。
Now, the trajectory coordinates of the drawn image are input to the contact position coordinate detection device 10, the zone determination means 11 determines the coordinates to which this trajectory coordinate belongs, and the zone maximum and minimum coordinate determination means 12 determines whether this trajectory coordinate is within this zone. If the coordinate is larger or smaller than the previously detected coordinates, it is stored in the in-zone maximum or minimum coordinate storage device 13. After all the coordinates of the locus indicating the erased position have been detected, an image is stored corresponding to a rectangular area surrounded by the zone boundary line and the maximum and minimum coordinates in this zone stored in the zone maximum and minimum coordinate storage device 13. The drawn image of the area in the device 15 is rectangular area erasing device 1
4 is erased.

次に、画像記憶装置15内の領域の消去過程の原理を第
4図に基づき説明する。第4図に示すようにX軸、Y軸
で示される二次元平面上に人力位置座標(x、  y)
が表わされる。まず、Y軸はn個のゾーン100に分割
される。次に入力位置座標(x、、y)に対’しZff
iLSy<zH,なるゾーンz1が求められる。ただし
、ziLn  Z ihはそれぞれゾーンz8の下側境
界、上側境界のy座標値である。
Next, the principle of the process of erasing an area within the image storage device 15 will be explained based on FIG. As shown in Figure 4, the human power position coordinates (x, y) are plotted on a two-dimensional plane indicated by the X-axis and Y-axis.
is expressed. First, the Y-axis is divided into n zones 100. Next, for the input position coordinates (x, y), Zff
A zone z1 where iLSy<zH is obtained. However, ziLn Z ih are the y-coordinate values of the lower and upper boundaries of zone z8, respectively.

求められたziに対してゾーン内最大値最小値記憶装置
13の21に対応する最大値X ismx  および最
小値x!、、1ifiと入力座標Xとが比較され、X〉
X ismxのときXはxll、にされ、X < X 
i、i、のときXはXi*inにされる。
For the obtained zi, the maximum value X ismx and the minimum value x! corresponding to 21 in the zone maximum and minimum value storage device 13 are obtained. ,,1ifi and the input coordinates X are compared, and X〉
When X ismx, X is set to xll, and X < X
When i, i, X is set to Xi*in.

消去領域を取り囲む軌跡が完成後にX5tnおよびX1
11aKの両者が存在するゾーンについてZ iL+Z
 ih+  X isi*およびx118の四辺からな
る矩形部分に対応する画像記憶装置15内の領域が消去
される。第4図で符号50の閉曲線は入力位置座標を与
える図形であり、符号75の凹多角形で囲まれた斜線の
施された領域が消去される領域である。
X5tn and X1 after the trajectory surrounding the erased area is completed
Regarding the zone where both 11aK exist, Z iL + Z
The area in the image storage device 15 corresponding to the rectangular portion consisting of the four sides of ih+Xisi* and x118 is erased. In FIG. 4, a closed curve 50 is a figure that provides input position coordinates, and a hatched area surrounded by a concave polygon 75 is an area to be erased.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、平板上の二次元座標を接触により指定する接
触位置座標指定手段からの二次元の位置信号を検出する
位置座標検出装置と、この位置信号の移動にしたがって
その位置信号の描画軌跡を演算する演算手段と、この描
画軌跡を表示する表示手段とを備え、上記演算手段は、
消去モードが指定されたときには、上記位置座標検出装
置に入力される位置信号の描画軌跡で囲まれる部分を消
去する手段を含む描画像表示装置で、前述の問題点を解
決するための手段として、上記消去する手段は上記位置
信号の二次元座標の一方の座標軸に垂直な直線で区画さ
れた領域を同定する領域同定手段と、この領域同定手段
で同定された領域を、この領域に含まれる上記位置信号
の他方の座標の最大値および最小値を示す点を通り、か
つ一方の座標軸に平行な直線で区画された領域として近
イ以的に定義する領域定義手段と、この領域定義手段に
より定義された゛領域内の表示画像を消去する手段とを
備えたことを特徴とする。
The present invention provides a position coordinate detection device that detects a two-dimensional position signal from a contact position coordinate specifying means that specifies two-dimensional coordinates on a flat plate by contact, and a drawing locus of the position signal according to the movement of the position signal. The calculation means includes a calculation means for calculating and a display means for displaying the drawing trajectory, and the calculation means comprises:
As a means for solving the above-mentioned problem, the drawn image display device includes means for erasing a portion surrounded by the drawing locus of the position signal input to the position coordinate detection device when the erase mode is specified. The erasing means includes a region identifying means for identifying a region defined by a straight line perpendicular to one coordinate axis of the two-dimensional coordinates of the position signal, and a region identified by the region identifying means to An area definition means for defining an area defined by a straight line passing through a point indicating the maximum value and minimum value of the other coordinate of the position signal and parallel to one coordinate axis, and defined by this area definition means. and means for erasing the displayed image within the area.

〔作用〕[Effect]

描画像の消去される領域を接触による軌跡で与えると、
この軌跡が一方の座標軸に垂直な直線によって切断され
て、区分された図形が生成される。
If the area of the drawn image to be erased is given by the trajectory caused by contact, then
This locus is cut by a straight line perpendicular to one of the coordinate axes to generate segmented figures.

さらに区分された図形の周辺上の点のうち他方の座標の
最大値および最小値をとる点を通り、一方の座標軸に平
行な直線が求められる。
Furthermore, a straight line parallel to one of the coordinate axes is determined, passing through a point on the periphery of the divided figure that takes the maximum and minimum values of the other coordinate.

この四本の直線により囲まれた矩形の集合した図形内の
領域上の描画像が描画像消去手段により消去される。
The drawn image on the area within the figure, which is a collection of rectangles surrounded by these four straight lines, is erased by the drawn image erasing means.

この消去手段は指定された領域に厳密に対応する形状で
はないが、この近似を行うことにより、ソフトウェアは
著しく簡単化され、実行処理時間は短くなる。装置の使
用目的に応じて、その近似を実用上問題のない程度に設
定することができる。
Although this erasing means does not have a shape that exactly corresponds to the designated area, by making this approximation, the software is significantly simplified and the execution processing time is shortened. Depending on the intended use of the device, the approximation can be set to a level that poses no problem in practice.

〔実施例〕〔Example〕

以下、本発明実施例装置を図面に基づいて説明する。 DESCRIPTION OF THE PREFERRED EMBODIMENTS A device according to an embodiment of the present invention will be described below with reference to the drawings.

第1図はこの実施例装置の構成を示すブロック構成図で
ある。第2図はこの実施例装置の動作を示すフローチャ
ートである。
FIG. 1 is a block configuration diagram showing the configuration of the apparatus of this embodiment. FIG. 2 is a flowchart showing the operation of this embodiment device.

まず、この実施例装置の構成を第1図に基づいて説明す
る。この実施例装置は接触位置座標検出装置1と、アナ
ログ・デジタル変換器(以下、A・D変換器という。)
2と、CPU31、RAM32およびROM33を備え
るマイクロコンピュータ3と、画像記憶装置4と表示装
置5とを備える。接触位置座標検出装置1の出力はA−
D変換器2の入力に接続され、A−D変換器2の出力は
CPU3Iの第一の人力に接続される。CP U31の
第二の人出力はRAM32の入出力に接続され、CP 
U31の第三の入出力はRAM33の人出力に接続され
、CPU31の第四の入出力は画像記憶装置4の第一の
入出力に接続され、画像記憶装置4の出力は表示装置5
の入力に接続される。
First, the configuration of this embodiment device will be explained based on FIG. This embodiment device includes a contact position coordinate detection device 1 and an analog/digital converter (hereinafter referred to as an A/D converter).
2, a microcomputer 3 including a CPU 31, a RAM 32, and a ROM 33, an image storage device 4, and a display device 5. The output of the contact position coordinate detection device 1 is A-
It is connected to the input of the D converter 2, and the output of the A-D converter 2 is connected to the first power of the CPU 3I. The second output of CPU U31 is connected to the input/output of RAM32, and
The third input/output of U31 is connected to the human output of RAM33, the fourth input/output of CPU31 is connected to the first input/output of image storage device 4, and the output of image storage device 4 is connected to display device 5.
connected to the input of

次に、この実施例装置の動作を第1図および第2図に基
づいて説明する。ROM33にはCP U31を制御す
るプログラムが書き込まれておりCPU31ではこのプ
ログラムに従ってA−D変換器2からのX、Y座標の取
り込みおよびRAM32との間のデータの授受が行われ
て演算処理が実行され、必要に応じて画像記憶装置4に
データが書き込まれる。また、接触位置座標検出装置l
では接触位置座標に応じた大きさのアナログ電気信号が
生成されてA−D変換器2に供給される。
Next, the operation of this embodiment device will be explained based on FIGS. 1 and 2. A program for controlling the CPU 31 is written in the ROM 33, and the CPU 31 takes in the X and Y coordinates from the A-D converter 2 and transfers data to and from the RAM 32 to execute arithmetic processing according to this program. The data is written to the image storage device 4 as necessary. In addition, a contact position coordinate detection device l
Then, an analog electrical signal having a magnitude corresponding to the contact position coordinates is generated and supplied to the AD converter 2.

次に、ROM33に書き込まれているプログラムを第2
図のフローチャートに基らいて説明する。
Next, the program written in ROM33 is transferred to the second
This will be explained based on the flowchart shown in the figure.

まず、RAM32上にあるゾーン内最大値最小値記憶テ
ーブルのすべてにrOJが書込まれる(ステップ■)。
First, rOJ is written into all of the zone maximum and minimum value storage tables on the RAM 32 (step 2).

次に、A−D変換器2がらx、y座標が読み込まれる(
ステップ■)。ひきつづき、i= y / Z oの演
算によりゾーン番号iが求められる(ステップ■)、た
だしzoはゾーンの幅としiは整数値とする。次に、R
AM32上のゾーン内最大値最小値記憶テーブルよりゾ
ーンiに対すルX taint  X iam+tが読
み出される(ステップ■)。
Next, the x and y coordinates are read from the A-D converter 2 (
Step ■). Continuing, the zone number i is obtained by calculating i=y/Zo (step ■), where zo is the width of the zone and i is an integer value. Next, R
The value X taint X iam+t for zone i is read from the in-zone maximum value and minimum value storage table on the AM 32 (step ■).

ステップ■からステップ■の過程でXと比較され、X 
< X 1.i、またはx!IIi+s=0のときニX
 =m+nニXが代入され、またx>X immxのと
きにはXis□にXが代入される。これによりゾーン内
の最大値最小値が更新される。ひきつづき、軌跡座標の
入力の終了が判定され(ステップ■)で、ステップ[相
]によりすべてのゾーンについてゾーン内最大値最小値
テーブルからX i、i□ X11+111Xが取り出
されゾーンの境界線とX1ll!RおよびXtllll
llXで囲まれる領域に対応する画像記憶装置4のデー
タはすべてOにされる(ステップ@)。
In the process from step ■ to step ■, it is compared with
<X1. i, or x! When IIi+s=0, d
=m+n dX is substituted, and when x>X immx, X is substituted into Xis□. This updates the maximum and minimum values within the zone. Continuing on, it is determined that the input of trajectory coordinates has ended (step ■), and in step [phase], X i, i□ R and Xtllll
All data in the image storage device 4 corresponding to the area surrounded by llX are set to O (step @).

〔発明の効果〕〔Effect of the invention〕

本発明は、描画像で囲まれた形にほぼ近い形を適度な実
行時間内に再現して、この形の範囲内の描画像の部分消
去が行われる。これにより、消去される部分は厳密に指
定されたものではないが、表示された描画像を部分的に
消去することができる実用的に有用な装置が得られる。
According to the present invention, a shape substantially close to the shape surrounded by the drawn image is reproduced within a reasonable execution time, and a portion of the drawn image within the range of this shape is erased. This provides a practically useful device that can partially erase a displayed drawn image, although the portion to be erased is not strictly specified.

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

第1図は本発明実施例装置の構成を示すプロ。 り構成図。 第2図は本発明実施例装置の動作を示すフローチャート
。 第3図は本発明の原理を示すプロ・ツク構成図。 第4図は本発明で実現される消去領域を示す模弐図。 ■、lO・・・接触位置座標検出装置、2・・・A−D
変換器、3・・・マイクロコンピュータ、4.15・・
・画像記憶装置、5.16・・・表示装置、11・・・
ゾーン判定手段、12・・・ゾーン内最大最小座標判定
手段、13・・・ゾーン内最大最小座標記憶手段、14
・・・矩形領域消去装置。
FIG. 1 is a diagram showing the configuration of an apparatus according to an embodiment of the present invention. Configuration diagram. FIG. 2 is a flowchart showing the operation of the apparatus according to the embodiment of the present invention. FIG. 3 is a block diagram of a program showing the principle of the present invention. FIG. 4 is a schematic diagram showing an erasing area realized by the present invention. ■, lO...Touch position coordinate detection device, 2...A-D
Converter, 3...Microcomputer, 4.15...
・Image storage device, 5.16...Display device, 11...
Zone determination means, 12... Zone maximum and minimum coordinate determination means, 13... Zone maximum and minimum coordinate storage means, 14
...Rectangular area eraser.

Claims (1)

【特許請求の範囲】[Claims] (1)平板上の二次元座標を接触により指定する接触位
置座標指定手段からの二次元の位置信号を検出する位置
座標検出装置と、 この位置信号の移動にしたがってその位置信号の描画軌
跡を演算する演算手段と、 この描画軌跡を表示する表示手段と を備え、 上記演算手段は、消去モードが指定されたときには、上
記位置座標検出装置に入力される位置信号の描画軌跡で
囲まれる部分を消去する手段を含む 描画像表示装置において、 上記消去する手段は、 上記位置信号の二次元座標の一方の座標軸に垂直な直線
で区画された領域を同定する領域同定手段と、 この領域同定手段で同定された領域を、この領域に含ま
れる上記位置信号の他方の座標の最大値および最小値を
示す点を通り、かつ一方の座標軸に平行な直線で区画さ
れた領域として近似的に定義する領域定義手段と、 この領域定義手段により定義された領域内の表示画像を
消去する手段と を備えたことを特徴とする描画像表示装置。
(1) A position coordinate detection device that detects a two-dimensional position signal from a contact position coordinate specifying means that specifies two-dimensional coordinates on a flat plate by contact, and calculates a drawing locus of the position signal according to the movement of the position signal. and a display means for displaying the drawn locus, and the arithmetic means erases a portion surrounded by the drawn locus of the position signal input to the position coordinate detection device when an erase mode is specified. In the drawing image display device, the erasing means includes a region identifying means for identifying a region defined by a straight line perpendicular to one coordinate axis of the two-dimensional coordinates of the position signal; A region definition that approximately defines the region defined by a straight line that passes through a point indicating the maximum and minimum values of the other coordinate of the position signal included in this region and is parallel to one coordinate axis. A drawn image display device comprising: means for erasing a displayed image within an area defined by the area defining means.
JP59279201A 1984-12-28 1984-12-28 Plotted picture display device Granted JPS61157928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59279201A JPS61157928A (en) 1984-12-28 1984-12-28 Plotted picture display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59279201A JPS61157928A (en) 1984-12-28 1984-12-28 Plotted picture display device

Publications (2)

Publication Number Publication Date
JPS61157928A true JPS61157928A (en) 1986-07-17
JPH0434791B2 JPH0434791B2 (en) 1992-06-09

Family

ID=17607840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59279201A Granted JPS61157928A (en) 1984-12-28 1984-12-28 Plotted picture display device

Country Status (1)

Country Link
JP (1) JPS61157928A (en)

Also Published As

Publication number Publication date
JPH0434791B2 (en) 1992-06-09

Similar Documents

Publication Publication Date Title
JPS61157928A (en) Plotted picture display device
JPS5957390A (en) Pattern inputting device
JPH01191928A (en) Data input device
JPH01273123A (en) Coordinate input method by touch panel
JP2822672B2 (en) Graphic drawing method and apparatus
JPH02244384A (en) Image data correcting system
JPS63241625A (en) Line drawing input device
JPS63142468A (en) Display processing system for hatching pattern
JPS63211466A (en) Graphic input device
JPS59171990A (en) Image correction system for image display
JPH0736606A (en) Waveform data analysis system
JPH04245576A (en) Locus display device in graphic rotation
JPH08335277A (en) Graphic processor
JPH02140882A (en) Picking method for graphic display device
JPS6395527A (en) Data input control method
JPS5852736A (en) Graphic display system
JPH03136173A (en) Graphic editing device
JPS6353679A (en) Automatic arrangement system for character to be drawn
JPH03242689A (en) Image display device
JPS59165191A (en) Drawing device of handwriting pattern
JPH01276370A (en) Display area shift device
JPS63104191A (en) Drawn picture processor
JPS63136279A (en) Smooth shading system
JPH04137129A (en) System for calculating window display position
JPH05250455A (en) Graphic containment deciding system in graphic display device