JPS6322354B2 - - Google Patents

Info

Publication number
JPS6322354B2
JPS6322354B2 JP57186161A JP18616182A JPS6322354B2 JP S6322354 B2 JPS6322354 B2 JP S6322354B2 JP 57186161 A JP57186161 A JP 57186161A JP 18616182 A JP18616182 A JP 18616182A JP S6322354 B2 JPS6322354 B2 JP S6322354B2
Authority
JP
Japan
Prior art keywords
line segment
line
area
axis
coordinate
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
Application number
JP57186161A
Other languages
Japanese (ja)
Other versions
JPS5975358A (en
Inventor
Sakuichi Ootsuka
Juzo Tsuruta
Shoichi Nakamura
Yukio Fujiwara
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.)
Toshiba Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Toshiba Corp
Nippon Telegraph and Telephone 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 Toshiba Corp, Nippon Telegraph and Telephone Corp filed Critical Toshiba Corp
Priority to JP57186161A priority Critical patent/JPS5975358A/en
Publication of JPS5975358A publication Critical patent/JPS5975358A/en
Publication of JPS6322354B2 publication Critical patent/JPS6322354B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)

Description

【発明の詳細な説明】 本発明は手書きの文字や図形等の描画像を入力
および表示するシステムにおいて、表示されてい
る画面の一部分を曲線で囲み指定することにより
曲線内の表示画面を消去する方法に関するもので
ある。
[Detailed Description of the Invention] The present invention is a system for inputting and displaying drawn images such as handwritten characters and figures, and by enclosing and specifying a part of the displayed screen with a curve, the display screen within the curve is erased. It is about the method.

まず、従来の方法について図面を用いて説明す
る。
First, a conventional method will be explained using drawings.

第1図は部分消去法の基本アルゴリズムのフロ
ーチヤートを示す。
FIG. 1 shows a flowchart of the basic algorithm of partial elimination.

以下第1図に従つて消去すべき矩形領域の求め
方について述べる。
The method for determining the rectangular area to be erased will be described below with reference to FIG.

(1) y軸に平行な線分liの求め方 第2図に示すように、部分消去のために入力し
た曲線C1上の標本点P1〜P7中の離散的点列中の
連続した2点をPi(xi,yi),Pi+1(xi+1,yi+1)とす
るとき、(x1 (i),y1 (i)),(x2 (i),y2 (i))を2端点
とす
るy軸に平行な線分liを次式を用いて求める。
(1) How to find the line segment l i parallel to the y-axis As shown in Figure 2, in the discrete point sequence among the sample points P 1 to P 7 on the curve C 1 input for partial elimination, When two consecutive points are P i (x i , y i ), P i+1 (x i+1 , y i+1 ), (x 1 (i) , y 1 (i) ), (x 2 (i) , y 2 (i) ) as the two endpoints, find the line segment l i parallel to the y-axis using the following equation.

x^1 (i)=(xi+xi+1)/2 x^2 (i)=x^1 (i) y^1 (i)=min(yi,yi+1) y^2 (i)=max(yi,yi+1) (1) なお最終入力点PNに対しては、P1を隣接点と
して線分lNを求める。ここで、線分liの中でy1 (i)
y2 (i)の場合には不要であるので除去する。
x^ 1 (i) = (x i +x i+1 )/2 x^ 2 (i) = x^ 1 (i) y^ 1 (i) = min (y i , y i+1 ) y^ 2 (i) = max(y i , y i+1 ) (1) For the final input point P N , find the line segment l N with P 1 as the adjacent point. Here, in line segment l i, y 1 (i) =
In the case of y 2 (i), it is unnecessary and will be removed.

(2) x軸に平行な直線mkの求め方 入力点Piのy座標を小さいものから順に並べか
え、並べかえた座標をy〜1,y〜2,……,y〜Nとす
る。
(2) How to find a straight line m k parallel to the x-axis Rearrange the y coordinates of the input points P i in descending order of magnitude, and let the rearranged coordinates be y~ 1 , y~ 2 , ..., y ~ N.

求めたy〜kの中に同一の値のものが2つ以上存
在すれば1つだけを残し、番号をつけ直して、y
,y2,……,yM(M≦N)とする。つぎに求
めたykをy座標に持つx軸に平行なM本の直線
mkを求め、第3図に示すように(M−1)本の
帯状領域に分割する。
If there are two or more with the same value in the calculated y ~ k , leave only one and renumber it, y
1 , y 2 , ..., y M (M≦N). Next, M straight lines parallel to the x-axis with the obtained y k as the y-coordinate.
m k is determined and divided into (M-1) strip regions as shown in FIG.

(3) 帯状領域内の消去すべき矩形の求め方 第4図に示すように直線mkとmk+1の間を横切
る線分lに対して、xの順にl′1,l′2,……,l′2R
と番号をつける。なお、ここではx座標が同じで
ある線分l′が複数本存在しても独立した線分とし
て番号をつける。
(3) How to find a rectangle to be erased within a strip area As shown in Figure 4, for a line segment l that crosses between straight lines m k and m k+1 , l' 1 , l' 2 in the order of x. ,...,l′ 2R
and number it. Note that even if there are multiple line segments l' having the same x coordinate, they are numbered as independent line segments.

l′jのx座標をx′jとするとき、消去すべき矩形
領域は xnio=x′2j-1 xnax=x′2j (1≦j≦R) ynio=yk ynax=yk+1(1≦k≦M−1) となり、斜線を施した領域がこれに該当する。
When the x coordinate of l' j is x' j , the rectangular area to be erased is x nio = x' 2j-1 x nax = x' 2j (1≦j≦R) y nio = y k y nax = y k+1 (1≦k≦M−1), and the shaded area corresponds to this.

第5図は以上述べた部分消去処理を実現する従
来の回路の構成を示すブロツク図で、1はタブレ
ツト等の座標検出装置(以下タブレツトとい
う。)、2はx,y座標出力を標本化するサンプ
ラ、3はペンタツチ検出回路、4は(1)式で示す線
分を算出する線分算出器、5はサンプル点のy座
標を小さいものから順に記録するy座標記録回
路、6は線分算出器4で求められた線分の端点座
標を記憶する線分記憶回路、7はy座標記録回路
5から出力された2つのy座標の間に含まれるx
軸に平行な直線mkの線分liのx座標を抽出する線
分抽出回路、8はy座標記録回路5から与えられ
るy座標と線分抽出回路7から出力されるx座標
値から消去領域を判定する消去領域指定回路、9
はビデオメモリである。また図中、実線は座標値
等の信号の流れ、破線は制御信号の流れを示す。
FIG. 5 is a block diagram showing the configuration of a conventional circuit that implements the above-mentioned partial erasure process, where 1 is a coordinate detection device such as a tablet (hereinafter referred to as a tablet), and 2 is a device for sampling x and y coordinate outputs. Sampler, 3 is a pen-touch detection circuit, 4 is a line segment calculator that calculates the line segment shown by equation (1), 5 is a y-coordinate recording circuit that records the y-coordinates of sample points in ascending order, and 6 is a line segment calculator. A line segment memory circuit stores the coordinates of the end points of the line segment determined by the device 4, and 7 indicates the x value included between the two y coordinates output from the y coordinate recording circuit 5.
A line segment extraction circuit extracts the x coordinate of a line segment l i of a straight line m k parallel to the axis, and 8 is erased from the y coordinate given from the y coordinate recording circuit 5 and the x coordinate value output from the line segment extraction circuit 7. Erase area designation circuit for determining area, 9
is the video memory. Further, in the figure, solid lines indicate the flow of signals such as coordinate values, and broken lines indicate the flow of control signals.

この装置を動作させるには、まずタブレツト1
に消去しようとする領域を示す曲線を入力する。
このときペンタツチ検出回路3がペンタツチを検
出し、サンプラ2、線分算出器4、線分記憶回路
6を動作させ、線分記憶回路6に逐次線分の座標
が記録される。消去領域の入力が終了し、ペンを
あげるとペンタツチ検出回路3はこれを検出し、
サンプラ2、線分算出器4、線分記憶回路6の動
作を止め、線分抽出回路7の動作を開始させる。
線分抽出回路7は、y座標記録回路5からx軸に
平行な直線mkのy座標を読み出し、その帯状領
域内に存在する線分liを抽出するために、線分記
憶回路6に記憶されている全ての線分liの座標値
を読み出して比較演算を行い帯状領域内に存在す
る線分のx座標を消去領域指定回路8に伝達す
る。消去領域指定回路8で帯状領域内の消去領域
を算出し、当該領域のビデオメモリを消去する。
To operate this device, first
Enter the curve that represents the area you want to erase.
At this time, the pen-touch detection circuit 3 detects the pen-touch, operates the sampler 2, the line segment calculator 4, and the line segment storage circuit 6, and the coordinates of the line segment are sequentially recorded in the line segment storage circuit 6. When the input of the erase area is completed and the pen is lifted, the pen touch detection circuit 3 detects this,
The operation of the sampler 2, line segment calculator 4, and line segment storage circuit 6 is stopped, and the operation of the line segment extraction circuit 7 is started.
The line segment extraction circuit 7 reads the y-coordinate of a straight line m k parallel to the x-axis from the y-coordinate recording circuit 5, and inputs the y-coordinate to the line segment storage circuit 6 in order to extract the line segment l i existing within the band-shaped area. The coordinate values of all the stored line segments l i are read out, a comparison operation is performed, and the x-coordinates of the line segments existing within the band-shaped area are transmitted to the erasure area specifying circuit 8 . An erasure area specifying circuit 8 calculates an erasure area within the strip area and erases the video memory of the area.

このように従来の装置においては一帯状領域内
に存在する線分を抽出するため線分記憶回路6に
記憶されている全ての線分を読み出し判定を行
い、かつ各帯状領域についてこの操作をくり返す
必要があるため、入力標本点数が増すと急激に処
理時間が増加し、操作性が悪化する欠点があつ
た。
In this way, in the conventional device, in order to extract line segments existing within a band-shaped area, all line segments stored in the line segment storage circuit 6 are read and judged, and this operation is repeated for each band-shaped area. Since it is necessary to return the data, processing time increases rapidly as the number of input sample points increases, resulting in poor operability.

本発明はこれらの欠点を解決するためになされ
たもので、隣接する帯状領域に存在する線分の多
くは同一線分か或いは番号が相前後する線分であ
ることを利用して、一つの帯状領域を処理する毎
にその帯状領域に存在する線分の番号を記憶し、
次の帯状領域に存在する線分を上記の記憶してい
る番号をもとに検索し、検索時間の短縮を図ろう
とするもので、以下図面につき詳細に説明する。
The present invention was made to solve these drawbacks, and takes advantage of the fact that many of the line segments existing in adjacent strip areas are the same line segment or line segments with consecutive numbers. Every time a strip area is processed, the number of the line segment existing in that strip area is memorized,
This method attempts to shorten the search time by searching for a line segment existing in the next strip area based on the above-mentioned stored numbers, and will be described in detail below with reference to the drawings.

第6図は隣接する2つの帯状領域に存在する線
分の相互関係を示す説明図であり、x軸に平行な
直線mk-1とmkとの帯状領域に存在する線分li及び
liと、直線mkとmk+1との帯状領域に存在する線分
との関係が、線分li+1は番号が相前後し、ljは同一
線分であることを示している。
FIG. 6 is an explanatory diagram showing the interrelationship of line segments existing in two adjacent band-shaped areas, and is an explanatory diagram showing the mutual relationship of line segments existing in two adjacent band -shaped areas, and line segments l i and
The relationship between l i and the line segments existing in the strip area of straight lines m k and m k+1 is that line segments l i+1 have consecutive numbers, and l j are the same line segment. ing.

第7図は本発明の一実施例の構成を示すブロツ
ク図であり、第5図に示した従来の部分消去処理
回路に線分カウンタ10及び線分番号記憶回路1
1を付加したものである。
FIG. 7 is a block diagram showing the configuration of an embodiment of the present invention, in which a line segment counter 10 and a line segment number storage circuit 1 are added to the conventional partial erase processing circuit shown in FIG.
1 is added.

まず、線分カウンタ10について説明する。線
分カウンタ10は消去領域の入力時に動作し、直
線群に属する直線mkと線分l1とが交差する(端点
を含む)数を計測・記録するために設けられたも
のである。原理的には、直線mkが存在するy座
標の交差線分数が記憶できれば十分であるが、実
施例では、構成を簡略化するためにすべてのy座
標値に対応してy座標の個数だけ線分数を計測・
保持するためのカウンタが設けてある。線分カウ
ンタ10を動作させるには、従来回路と同様に、
まず、線分算出器4が標本点列の入力にしたがい
線分l1の端点座標を算出し、その結果を線分記憶
回路6に出力すると同時に線分カウンタ10にも
出力する。次いで、線分カウンタ10は線分算出
器4から出力された線分l1の2端点y座標信号
(y^1 (i)およびy^2 (i);ただし、y^1 (i)<y^2 (i)とする
)によ
つて、 y^1 (i)≦y≦y^2 (i) に対応するカウンタの内容に1だけ加算する動作
を行い、その結果を保持する。ここで、線分l1
l2が第8図に示すように入力された場合を考える
と、線分l2が入力された直後の線分カウンタ状態
は第9図に示すようになり、またl2が入力された
後には第10図に示すようになる。なお、カウン
トされた結果は、消去領域の入力動作が完了した
後、後述する線分抽出回路7が動作する際に参照
される。換言すると、線分抽出回路7がy座標値
を指定すると、そのy座標に対応するカウンタの
内容が線分抽出回路7に出力される。
First, the line segment counter 10 will be explained. The line segment counter 10 operates when an erasure area is input, and is provided to measure and record the number of intersections (including end points) of the straight line m k belonging to the straight line group and the line segment l 1 . In principle, it is sufficient to memorize the number of intersecting line segments of the y-coordinates where the straight line m k exists, but in this embodiment, in order to simplify the configuration, only the number of y-coordinates is stored corresponding to all y-coordinate values. Measure the number of line segments
A counter is provided for holding. To operate the line segment counter 10, as in the conventional circuit,
First, the line segment calculator 4 calculates the coordinates of the end points of the line segment l1 according to the input of the sample point sequence, and outputs the result to the line segment storage circuit 6 and at the same time to the line segment counter 10. Next, the line segment counter 10 receives the two end point y-coordinate signals of the line segment l 1 output from the line segment calculator 4 (y^ 1 (i) and y^ 2 (i) ; however, y^ 1 (i) < y^ 2 (i) ), performs an operation of adding 1 to the contents of the counter corresponding to y^ 1 (i) ≦y≦y^ 2 (i) , and holds the result. Here, line segment l 1 and
Considering the case where l 2 is input as shown in Figure 8, the line segment counter state immediately after line segment l 2 is input is as shown in Figure 9, and after l 2 is input, is as shown in FIG. Note that the counted result is referred to when the line segment extraction circuit 7, which will be described later, operates after the erasure area input operation is completed. In other words, when the line segment extraction circuit 7 specifies a y-coordinate value, the contents of the counter corresponding to the y-coordinate are output to the line segment extraction circuit 7.

次に、線分番号記憶回路11について述べる。
線分番号記憶回路11は、線分抽出回路7が各帯
状領域に存在する線分番号を抽出する際に用いる
一時記憶回路で、 線分抽出回路7が指定する線分番号を記憶す
る、 記憶中の線分番号を線分抽出回路7に出力す
る、 線分抽出回路7が指定する線分番号を記憶か
ら消去する、 線分抽出回路7が指定する線分番号がすべに
記憶されているか否かを検索し、線分抽出回路
7にその結果を出力する、 機能を有する。各処理時点で線分番号記憶回路1
1にどのようなデータ(線分番号)が記憶される
かは、線分抽出回路7の動作に付随しているの
で、以下、線分抽出回路7が各帯状領域で線分を
抽出する過程を説明する。最初の帯状領域(即ち
y1≦y≦y2)に対しては従来の回路と同様に線分
記憶回路6に記憶されている全ての線分(l1〜lN
を検索する。このとき抽出された線分の番号すべ
てを線分番号記憶回路11に記憶する。
Next, the line segment number storage circuit 11 will be described.
The line segment number storage circuit 11 is a temporary storage circuit used when the line segment extraction circuit 7 extracts line segment numbers existing in each strip area, and stores the line segment number specified by the line segment extraction circuit 7. Output the line segment numbers inside to the line segment extraction circuit 7, Delete the line segment numbers specified by the line segment extraction circuit 7 from memory, Check whether all line segment numbers specified by the line segment extraction circuit 7 are stored. It has the function of searching whether or not it is true or not and outputting the result to the line segment extraction circuit 7. Line segment number storage circuit 1 at each processing time
What kind of data (line segment number) is stored in 1 depends on the operation of the line segment extraction circuit 7, so below we will explain the process by which the line segment extraction circuit 7 extracts line segments in each strip area. Explain. The first swath (i.e.
y 1 ≦y≦y 2 ), all the line segments (l 1 to l N ) stored in the line segment storage circuit 6 are processed as in the conventional circuit.
Search for. All line segment numbers extracted at this time are stored in the line segment number storage circuit 11.

2番目以降の帯状領域については以下の手順で
線分の抽出を行う。第11図は2つの隣接する帯
状領域A及びBにおいて、帯状領域Aの記憶情報
から帯状領域Bに存在する線分を抽出するための
説明図である。
For the second and subsequent band-shaped regions, line segments are extracted using the following procedure. FIG. 11 is an explanatory diagram for extracting a line segment existing in a strip area B from the stored information of the strip area A in two adjacent strip areas A and B.

図において直線mk-1とmkで挾まれる帯状領域
Aの処理が終了した時点を考える。この時点で線
分番号記憶回路11には番号a,b,c,dが記
憶されている。直線mkとmk+1で挾まれる帯状領
域Bの処理を行うには、まず直線mkに対応する
y座標ykの線分カウンタ10の値Kを読み出す。
In the figure, consider the point in time when processing of a band-shaped region A sandwiched between straight lines m k-1 and m k is completed. At this point, numbers a, b, c, and d are stored in the line segment number storage circuit 11. To process the strip area B sandwiched between straight lines m k and m k+1 , first, the value K of the line segment counter 10 at the y coordinate y k corresponding to the straight line m k is read out.

次に線分番号記憶回路11に記憶されている番
号の線分を検索し、 yk=y^2 (i)である線分についてはその番号を消
去する。このとき消去した数K1を記憶してお
く。
Next, the line segment with the number stored in the line segment number storage circuit 11 is searched, and for the line segment where y k =y^ 2 (i) , that number is deleted. At this time, remember the number K1 erased.

)において番号を消去した場合には、消去
した番号の前後(±1)の番号の線分を線分記
憶回路6から読み出して調べ、yk=y^1 (i)である
線分が存在すれば新たにその番号を線分番号記
憶回路11に記憶する。
), the line segments with numbers before and after the erased number (±1) are read out from the line segment memory circuit 6 and checked, and a line segment with y k = y^ 1 (i) exists. Then, that number is newly stored in the line segment number storage circuit 11.

以上の操作が終了した時点で線分番号記憶回路
11に記憶されている個数をn1とし、n=K−
K1とおくとき、 n=n1 ……(2) であれば帯状領域Bに存在する線分を全て抽出し
たことになる。もし、n>n1であれば、このとき
始めて(2)式を満すまで線分記憶回路6に記憶され
ている全ての線分を検索し、帯状領域Bに存在す
る線分を抽出する。
When the above operations are completed, the number stored in the line segment number storage circuit 11 is set as n1 , and n=K-
When K 1 is set, if n=n 1 (2), then all line segments existing in band-shaped region B have been extracted. If n>n 1 , all the line segments stored in the line segment storage circuit 6 are searched from this time until the equation (2) is satisfied, and the line segments existing in the band-shaped area B are extracted. .

第11図について具体的な数字をあげると、線
分mkに対して線分カウンタ10に記憶されてい
る数Kは6である。帯状領域Bを処理する以前の
初期状態において線分番号記憶回路11にはa,
b,c,dの4個の番号が記憶されている。前項
の処理に従いb,cが消去される(即ちK1=2)
のでn=K−K1=4となる。一方、この時点で
線分番号記憶回路11に記憶されている個数n1
2であるので、 n−n1=2 となる。よつて、この場合には2本の線分を線分
記憶回路6の全体を検索して求めることになり、
e,fが抽出される。
To give concrete numbers regarding FIG. 11, the number K stored in the line segment counter 10 for line segment m k is six. In the initial state before processing the strip area B, the line segment number storage circuit 11 stores a,
Four numbers b, c, and d are stored. b and c are deleted according to the process in the previous section (i.e. K 1 = 2)
Therefore, n=K-K 1 =4. On the other hand, since the number n 1 stored in the line segment number storage circuit 11 at this point is 2, n-n 1 =2. Therefore, in this case, the two line segments are found by searching the entire line segment storage circuit 6.
e and f are extracted.

以上説明したように、本発明によれば、従来の
方法で部分消去を行う場合と比較すると、線分記
憶回路6を検索するために要する比較演算の回数
が1/M(ここでMはx軸に平行な直線の数)の
オーダに減少するので処理を大幅に高速化でき、
操作性が向上する利点がある。
As explained above, according to the present invention, the number of comparison operations required to search the line segment memory circuit 6 is reduced to 1/M (where M is x The number of straight lines parallel to the axis is reduced to the order of
This has the advantage of improved operability.

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

第1図は部分消去法の基本アルゴリズムのフロ
ーチヤート、第2図はy軸に平行な線分liの求め
方説明図、第3図はx軸に平行な直線mkの求め
方説明図、第4図は消去すべき矩形領域の求め方
説明図、第5図は部分消去処理を実現する従来の
回路の構成を示すブロツク図、第6図は隣接する
帯状領域に存在する線分の相互関係を示す説明
図、第7図は本発明の一実施例の構成を示すブロ
ツク図、第8図は本発明の処理を説明する模式
図、第9図及び第10図は本発明に使用する線分
カウンタの状態説明図、第11図は2つの隣接す
る帯状領域A及びBにおいて、一方の帯状領域A
の記憶情報から他方の帯状領域Bに存在する線分
を抽出するための説明図である。 1…タブレツト、2…サンプラ、3…ペンタツ
チ検出回路、4…線分算出器、5…y座標記録回
路、6…線分記憶回路、7…線分抽出回路、8…
消去領域指定回路、9…ビデオメモリ、10…線
分カウンタ、11…線分番号記憶回路。
Figure 1 is a flowchart of the basic algorithm of partial elimination, Figure 2 is a diagram explaining how to find a line segment l i parallel to the y-axis, and Figure 3 is a diagram explaining how to find a straight line m k parallel to the x-axis. , FIG. 4 is an explanatory diagram of how to find a rectangular area to be erased, FIG. 5 is a block diagram showing the configuration of a conventional circuit for realizing partial erasure processing, and FIG. FIG. 7 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 8 is a schematic diagram explaining the processing of the present invention, and FIGS. 9 and 10 are diagrams used in the present invention. FIG. 11 is an explanatory diagram of the state of the line segment counter in which one of the band-shaped areas A and B in two adjacent band-shaped areas
FIG. 3 is an explanatory diagram for extracting line segments existing in the other band-shaped region B from stored information in the above. DESCRIPTION OF SYMBOLS 1... Tablet, 2... Sampler, 3... Pen touch detection circuit, 4... Line segment calculator, 5... Y coordinate recording circuit, 6... Line segment memory circuit, 7... Line segment extraction circuit, 8...
Erase area designation circuit, 9... video memory, 10... line segment counter, 11... line segment number storage circuit.

Claims (1)

【特許請求の範囲】 1 ビデオメモリに記憶されたCRTデイスプレ
イ等の表示装置に表示された2次元画像の一部分
を消去するために、グラフイツクタブレツト等の
位置座標検出器を用い、画像の表示面と対応する
位置座標検出器の記入面に、消去領域を定めるた
めの境界線を入力し、その境界線で囲まれた内部
の領域の画像を表示された画像から消去するシス
テムにおいて、 消去領域を判別するための境界線の位置座標
を得るために、境界線が入力された順序関係を
保存し、時間的あるいは空間的に適当な間隔で
境界線の座標値を逐次検出し、表示画面を記述
する座標系(たとえばx軸とy軸)を用いて表
わされる標本点列を得る手段と、 2次元平面として記述する表示画像の座標軸
対(たとえばx軸とy軸)のなかで、第1の軸
(たとえばy軸)と平行な線分群を前記標本点
列中の2点を用いて逐次求め、求められた線分
に番号づけを行なつて記憶する手段と、 第2の軸(たとえばx軸)と平行な直線群を
前記標本点列の各点の第1の座標値(たとえば
y座標値を)用いて求める手段と、 前記の手段によつて求められた直線群に属
する各直線と前記の手段によつて求められた
線分とが交差する(端点を含む)数を計測・記
憶する手段と、 上記直線群によつて表示画面を第2の軸に平
行な帯状の領域に分割し、分割された各帯状領
域について、前記の手段によつて求められた
線分群からその帯状領域を横断する線分を検
索・抽出する手段と、 上記手段によつて抽出された線分の番号を随
時、記憶,参照および消去する手段と、 前記,の手段によつて求められた線分を
もとにして作られる、第2の軸に平行な帯状領
域内に連なる複数の矩形を対象として、矩形領
域内のビデオメモリに記憶された画像を第2の
軸の方向に一端から交互にあらかじめ定められ
た値に変換する手段と からなる部分消去の高速処理装置。
[Claims] 1. In order to erase a part of a two-dimensional image stored in a video memory and displayed on a display device such as a CRT display, a position coordinate detector such as a graphics tablet is used to display the image. In a system that inputs a boundary line to define an erasure area on the entry surface of a position coordinate detector corresponding to the surface, and erases the image of the internal area surrounded by the boundary line from the displayed image, the erasure area In order to obtain the position coordinates of the boundary line for determining the boundary line, the order relationship in which the boundary line is input is saved, the coordinate values of the boundary line are sequentially detected at appropriate intervals in time or space, and the display screen is A means for obtaining a sequence of sample points expressed using a coordinate system to be described (e.g. means for successively finding a group of line segments parallel to an axis (for example, the y-axis) using two points in the sample point sequence, numbering and storing the found line segments; means for obtaining a group of straight lines parallel to the x-axis) using the first coordinate value (for example, the y-coordinate value) of each point in the sample point sequence; and each straight line belonging to the group of straight lines obtained by the means. and means for measuring and storing the number of intersections (including end points) of the line segment obtained by the above-mentioned means; means for searching and extracting line segments that cross the band-like area from the group of line segments obtained by the above-mentioned means for each of the divided band-like areas; means for storing, referencing, and erasing numbers at any time; and a plurality of rectangles connected in a strip area parallel to the second axis, which are created based on the line segments obtained by the above means. and means for converting an image stored in a video memory in a rectangular area into a predetermined value alternately from one end in the direction of a second axis.
JP57186161A 1982-10-25 1982-10-25 High speed processing method of partial erasion Granted JPS5975358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57186161A JPS5975358A (en) 1982-10-25 1982-10-25 High speed processing method of partial erasion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57186161A JPS5975358A (en) 1982-10-25 1982-10-25 High speed processing method of partial erasion

Publications (2)

Publication Number Publication Date
JPS5975358A JPS5975358A (en) 1984-04-28
JPS6322354B2 true JPS6322354B2 (en) 1988-05-11

Family

ID=16183448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57186161A Granted JPS5975358A (en) 1982-10-25 1982-10-25 High speed processing method of partial erasion

Country Status (1)

Country Link
JP (1) JPS5975358A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6379182A (en) * 1986-09-24 1988-04-09 Fuji Xerox Co Ltd Area designating method and area processor
JPH0773332B2 (en) * 1987-03-03 1995-08-02 キヤノン株式会社 Area designation method

Also Published As

Publication number Publication date
JPS5975358A (en) 1984-04-28

Similar Documents

Publication Publication Date Title
US5048107A (en) Table region identification method
JPH0750483B2 (en) How to store additional information about document images
JPS6357831B2 (en)
JP4339221B2 (en) Image construction method, fingerprint image construction apparatus and program
JPH0821057B2 (en) Document image analysis method
JPS6322354B2 (en)
JPS6257078A (en) Retrieval processing system for graphic element
JP3726442B2 (en) Image feature amount comparison device and recording medium on which image feature amount comparison program is recorded
JP2577397B2 (en) Graphic display device
JP2735197B2 (en) Graphic input device
JP2796561B2 (en) Tabular document recognition method
JPS6126718B2 (en)
JPS61221968A (en) Drawing reader
JP3655661B2 (en) Digital information record carrier and digital information reading method using the same
JP2559359B2 (en) Image structure storage method and image registration apparatus
RU2075780C1 (en) Method for thematic image decoding and device which implements said method
JP2924790B2 (en) Simple map creation method
JP2579232Y2 (en) Image data reading device
JP2808590B2 (en) Image data processing device
JPH1166230A (en) Device, method, and medium for document recognition
JPH01211082A (en) Method for retrieving and editing drawing data
JPS5875278A (en) Character and symbol recognizing device
JPH10312460A (en) Image processing method and high precision image processor
JP3037504B2 (en) Image processing method and apparatus
JPH0243220B2 (en)