JP2847987B2 - Vector data smoothing method and apparatus - Google Patents

Vector data smoothing method and apparatus

Info

Publication number
JP2847987B2
JP2847987B2 JP4315391A JP4315391A JP2847987B2 JP 2847987 B2 JP2847987 B2 JP 2847987B2 JP 4315391 A JP4315391 A JP 4315391A JP 4315391 A JP4315391 A JP 4315391A JP 2847987 B2 JP2847987 B2 JP 2847987B2
Authority
JP
Japan
Prior art keywords
angle
average value
vector
equation
group
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 - Lifetime
Application number
JP4315391A
Other languages
Japanese (ja)
Other versions
JPH04280382A (en
Inventor
肇 川上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4315391A priority Critical patent/JP2847987B2/en
Publication of JPH04280382A publication Critical patent/JPH04280382A/en
Application granted granted Critical
Publication of JP2847987B2 publication Critical patent/JP2847987B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、例えば部品が写る画像
にエッジ検出オペレータを作用させて合成されるエッジ
画像から求まる該部品の輪郭上を通過する点列から該部
品の輪郭形状を検出するとき、該点列が含む雑音を低減
させる処理等で必要となる、点列が表わす曲線を平滑化
するベクトルデータの平滑化方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention detects a contour shape of a part from a sequence of points passing over the contour of the part obtained from an edge image synthesized by, for example, operating an edge detection operator on an image of the part. The present invention relates to a vector data smoothing method and apparatus for smoothing a curve represented by a point sequence, which is required in a process for reducing noise included in the point sequence.

【0002】[0002]

【従来の技術】この種の従来技術として、文献〔矢野健
太郎(編)、:数学小辞典、PP,232−233、共
立出版(株)、昭和43年11月1日、初版6刷〕に示
されている重心を利用して、例えば図3に例示する輪郭
100が通過する点列となるベクトルデータ
2. Description of the Related Art As a prior art of this kind, a document [Kentaro Yano (ed.): Mathematical Dictionary, PP, 232-233, Kyoritsu Shuppan Co., Ltd., November 1, 1968, first edition, 6th edition] Using the indicated center of gravity, for example, vector data as a sequence of points through which the contour 100 illustrated in FIG. 3 passes

【0003】[0003]

【数1】 (Equation 1)

【0004】を平滑化する手法がある。この従来の手法
では、例えば適当な正の偶数Wを用いて
There is a technique for smoothing the data. In this conventional method, for example, using an appropriate positive even W

【0005】[0005]

【数2】 (Equation 2)

【0006】により算出される局所的なThe local calculated by

【0007】[0007]

【数3】 (Equation 3)

【0008】を[0008]

【0009】[0009]

【数4】 (Equation 4)

【0010】の平滑後のベクトルデータとする。 The vector data after the smoothing is used.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、前述し
た従来技術では例えばW=2として
However, in the prior art described above, for example, W = 2

【0012】[0012]

【数5】 (Equation 5)

【0013】を平滑化した場合、例えば式(2)で算出
される
In the case where is smoothed, for example, it is calculated by equation (2).

【0014】[0014]

【数6】 (Equation 6)

【0015】に関してRegarding

【0016】[0016]

【数7】 (Equation 7)

【0017】が成り立つため、例えばSince the following holds, for example,

【0018】[0018]

【数8】 (Equation 8)

【0019】が半径Rの円周上に分布するとき、When is distributed on the circumference of radius R,

【0020】[0020]

【数9】 (Equation 9)

【0021】となる効果により、平滑後の輪郭形状10
1は図4に例示する様に面積が小さくなるという問題が
生じる。
The smoothed contour shape 10
No. 1 has a problem that the area becomes small as illustrated in FIG.
Occurs.

【0022】本発明の目的はベクトルデータが表わす輪
郭形状の面積を減少させることなく
An object of the present invention is to reduce the area of a contour shape represented by vector data without reducing the area.

【0023】[0023]

【数10】 (Equation 10)

【0024】を平滑化する技術を提供することである。Is to provide a technique for smoothing the image.

【0025】[0025]

【課題を解決するための手段】第1の発明のベクトルデ
ータの平滑化方法は、注目ベクトルの近傍に存在するベ
クトル群の動径成分群に関する平均値を動径成分とし、
前記ベクトル群の角度成分群をソートし、ソート後の該
角度成分群から、極座標を複数個の角度区間に分割した
後、該角度区間に角度平均値が存在すると仮定して、角
度成分群の平均値である角度平均値を算出し、算出した
角度平均値に対応する分散値を算出し、前記角度平均値
と分散値の有効無効を判定するという処理を、前記角度
区間毎に繰り返した後、前記複数の有効な分散値のう
ち、最小の分散値に対応する角度平均値を角度成分とす
る極座標で表わされるベクトルを、前記注目ベクトルを
平滑化したベクトルとすることを特徴とする。
According to a first aspect of the present invention, there is provided a method of smoothing vector data, wherein an average value of a radial component group of a vector group existing near a vector of interest is defined as a radial component;
Sort the angle component group of the vector group, and
Polar coordinates are divided into multiple angle sections from the angle component group
Later, assuming that an angle average exists in the angle section, the angle
Calculated and calculated the angle average value that is the average value of the degree component group
Calculating a variance value corresponding to the angle average value;
The process of determining whether the variance value is valid or invalid
After repeating for each interval, the plurality of valid variance values
Further, a vector represented by polar coordinates having an angle average value corresponding to a minimum variance value as an angle component is a vector obtained by smoothing the vector of interest.

【0026】第2の発明のベクトルデータの平滑化装置
は、ベクトルデータを極座標形式で記憶する極座標ベク
トル記憶手段と、前記極座標ベクトル記憶手段の各出力
ベクトルデータの近傍ベクトル群に関する動径成分群と
角度成分群とをそれぞれ抽出する近傍データ抽出手段
と、前記動径成分群の平均値を算出する動径平均値算出
手段と、前記角度成分群をソートするソート手段と、前
記ソート手段の出力データで定まる複数個の角度区間毎
に、ソート後の角度成分群から、極座標を複数個の角度
区間に分割した後、該角度区間に角度平均値が存在する
と仮定 して、角度成分群の平均値である角度平均値を算
出し、算出した角度平均値に対応する分散値を算出し、
前記角度平均値と分散値の有効無効を判定するという処
理を、前記角度区間毎に繰り返した後、前記複数の有効
な分散値のうち、最小の分散値に対応する角度平均値
算出する角度平均値算出手段とを具備することを特徴と
する。
According to a second aspect of the present invention, there is provided a vector data smoothing apparatus, comprising: a polar vector storage means for storing vector data in a polar coordinate format; and a radial component group related to a neighborhood vector group of each output vector data of the polar vector storage means. Neighborhood data extracting means for extracting each of the angle component groups; radial average value calculating means for calculating an average value of the radial component groups; sorting means for sorting the angle component groups; and output data of the sorting means a plurality of each angular interval, from the angle component groups after sorting, the polar plurality of angles determined by
After being divided into sections, there is an angle average value in the angle section
And calculate the angle average value, which is the average value of the angle component group.
Out, and calculate a variance value corresponding to the calculated angle average value,
Processing for determining whether the angle average value and the variance value are valid or invalid.
After repeating the process for each of the angle sections,
Angle average value calculating means for calculating an angle average value corresponding to the minimum variance value among the various variance values .

【0027】[0027]

【作用】本発明の原理は、ベクトルデータを極座標形式
で平滑化するものである。
The principle of the present invention is to smooth vector data in a polar coordinate format.

【0028】即ち、例えばThat is, for example,

【0029】[0029]

【数11】 [Equation 11]

【0030】が与えられたとき、第1段階としてWhen given, as a first step

【0031】[0031]

【数12】 (Equation 12)

【0032】を次式で極座標(ri θi )で表わす。Is expressed by polar coordinates (r i θ i ) in the following equation.

【0033】[0033]

【数13】 (Equation 13)

【0034】第2段階として適当な正の偶数Wを用いて
動径成分の平均値ρ i
As a second step, the average value ρ i of the radial component is calculated using an appropriate positive even number W.

【0035】[0035]

【数14】 [Equation 14]

【0036】で算出する。Is calculated.

【0037】第3段階として角度ψとθi との距離di
(ψ)を上記角度ψとθi の位置関係により次式で定義
する。
The distance between the angle ψ and theta i as the third stage d i
(Ψ) is defined by the following equation based on the positional relationship between the angles ψ and θ i .

【0038】[0038]

【数15】 (Equation 15)

【0039】[0039]

【数16】 (Equation 16)

【0040】第4段階として適当な正の偶数Wを用いて
定まる角度成分θi の近傍角度データ {θi-W/2 ,θ i-w/2+1 ,…,θ i+w/2 } (10) を次の様にソートする。
As the fourth stage, neighboring angle data {θ iW / 2 , θ iw / 2 + 1 ,..., Θ i + w / 2 } of the angle component θ i determined using an appropriate positive even number W (10) Are sorted as follows.

【0041】 π≧a0 ≧a1 ≧…≧ap ≧0≧ap-1 ≧…≧an-1 ≧−π (11) 但し n=W+1 (12) 第5段階として式(10)に示した近傍データの平均値
ψi が、図2に例示するn+1個の区間Rのいずれかに
存在するとする。ここに、各区間は次式で記述される。
The π ≧ a 0 ≧ a 1 ≧ ... ≧ a p ≧ 0 ≧ a p-1 ≧ ... ≧ a n-1 ≧ -π (11) where n = W + 1 (12) wherein a fifth step (10) It is assumed that the average value ψ i of the neighborhood data shown in FIG. 2 exists in any of the (n + 1) sections R illustrated in FIG. Here, each section is described by the following equation.

【0042】[0042]

【数17】 [Equation 17]

【0043】第6段階として平均値ψi が、区間R
n-p-1 に存在すると仮定し、式(8),(9)を用いる
ことにより
In the sixth step, the average value ψ i
Assuming that it exists in np-1 , and using equations (8) and (9),

【0044】[0044]

【数18】 (Equation 18)

【0045】 And

【0046】[0046]

【数19】 [Equation 19]

【0047】をそれぞれ Each

【0048】[0048]

【数20】 (Equation 20)

【0049】で算出し、Calculated by

【0050】[0050]

【数21】 (Equation 21)

【0051】が(16)式を満たす場合にWhen the expression ( 16) is satisfied,

【0052】[0052]

【数22】 (Equation 22)

【0053】の値が有効であるとする。Assume that the value is valid.

【0054】[0054]

【数23】 (Equation 23)

【0055】第7段階として平均値ψi が区間Rn-p
存在すると仮定し、距離d0 (ψi )を式(9−2)で
算出しなければならないので、式(15)に示すS1
2 を S1 ←S1 −2π S2 ←S2 −4・π・a0 +(2π)3 (17) で更新した後、式(14)により
As a seventh step, assuming that the average value ψ i exists in the section R np , the distance d 0i ) must be calculated by the equation (9-2). After updating 1 and S 2 with S 1 ← S 1 -2π S 2 ← S 2 -4 · π · a 0 + (2π) 3 (17),

【0056】[0056]

【数24】 (Equation 24)

【0057】とAnd

【0058】[0058]

【数25】 (Equation 25)

【0059】を算出し、Is calculated,

【0060】[0060]

【数26】 (Equation 26)

【0061】が(18)式を満たす場合にWhen the expression (18) is satisfied,

【0062】[0062]

【数27】 [Equation 27]

【0063】の値が有効であるとする。Assume that the value of is valid.

【0064】[0064]

【数28】 [Equation 28]

【0065】第8段階として、同様の処理を区間R
n-p+1 からRn までの各区間に関してRn-p+1 ,R
n-p+2 ,Rn の順にくり返す。
As an eighth stage, similar processing is performed in the section R
For each section from n-p + 1 to R n , R n-p + 1 , R
repeated in the order of the n-p + 2, R n .

【0066】第9段階として、平均値ψi が区間R
n-p-2 に存在すると仮定し、距離dn-1 (ψi )を式
(8−2)で算出しなければならないので、式(15)
に示すS1 とS2 を S1 ←S1 −2π S2 ←S2 −4・π・an-1 +(2π)2 (19) で更新した後、式(14)により
As a ninth stage, the average value ψ i
Since the distance d n-1i ) has to be calculated by equation (8-2), assuming that the distance exists at np-2 , equation (15)
After updating S 1 and S 2 shown in ( 1) by S 1 ← S 1 -2π S 2 ← S 2 -4 · π · an -1 + (2π) 2 (19),

【0067】[0067]

【数29】 (Equation 29)

【0068】とAnd

【0069】[0069]

【数30】 [Equation 30]

【0070】を算出し、Is calculated,

【0071】[0071]

【数31】 (Equation 31)

【0072】が(20)式を満たす場合に分散の値が有
効であるとする。
It is assumed that the value of the variance is valid when the expression (20) is satisfied.

【0073】[0073]

【数32】 (Equation 32)

【0074】第10段階として、同様の処理を区間R
n-p-3 からR0 までの各区間に関してRn-p-3 ,R
n-p-4 ,…,R0 の順にくり返す。
As a tenth step, similar processing is performed in the section R
For each section from np-3 to R0, Rnp-3 , R
Repeat np-4 , ..., R0 in this order.

【0075】第11段階として、以上で有効となってい
る分散値のうち、値が最小となる分散
As an eleventh stage, the above is effective.
Variance with the smallest value

【0076】[0076]

【数33】 [Equation 33]

【0077】に対応する平均値Average value corresponding to

【0078】[0078]

【数34】 (Equation 34)

【0079】を用いて次式により前記近傍角度データの
平均値ψi を決定する。
Determining the mean value [psi i of the neighboring angle data by the following equation using the [0079].

【0080】[0080]

【数35】 (Equation 35)

【0081】第12段階として、式(7)に示すρ i
式(23)に示すψ i を用いて、
As a twelfth step, ρ i shown in the equation (7) and
Using ψ i shown in equation (23) ,

【0082】[0082]

【数36】 [Equation 36]

【0083】の平滑後のAfter smoothing

【0084】[0084]

【数37】 (37)

【0085】を次式で求める。Is obtained by the following equation.

【0086】[0086]

【数38】 (38)

【0087】[0087]

【実施例】以下、本発明の実施例を詳細に説明する。Embodiments of the present invention will be described below in detail.

【0088】図1はベクトルデータで入力された輪郭形
状を表示する本発明のベクトルデータの平滑化装置の実
施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a vector data smoothing apparatus of the present invention for displaying a contour shape inputted by vector data.

【0089】図1においてベクトルデータ記憶手段10
は、例えばタブレットを用いて入力された輪郭上の
In FIG. 1, vector data storage means 10
Is, for example, on a contour entered using a tablet

【0090】[0090]

【数39】 [Equation 39]

【0091】を輪郭に沿って順に式(1)に示す形式で
記憶している。
Are stored in the form shown in equation (1) in order along the contour.

【0092】この装置の動作は例えば制御手段22が座
標変換手段23を起動して始まる。起動された座標変換
手段23は、式(5)を用いてベクトルデータ記憶手段
10が記憶する。
The operation of this apparatus starts, for example, when the control means 22 activates the coordinate conversion means 23. The activated coordinate conversion means 23 is stored in the vector data storage means 10 using equation (5).

【0093】[0093]

【数40】 (Equation 40)

【0094】から算出される極座標形式のThe polar coordinate format calculated from

【0095】[0095]

【数41】 [Equation 41]

【0096】を極座標ベクトル記憶手段24に記憶して
処理を終了する。
Are stored in the polar coordinate vector storage means 24, and the processing is terminated.

【0097】座標変換手段23が処理を終了すると制御
手段22は近傍データ抽出手段11を起動する。起動さ
れた近傍データ抽出手段11は、予め設定されている正
の偶数 W (25) を用いて極座標ベクトル記憶手段24が記憶する内容か
らi番目のベクトルに関する近傍動径データとして抽出
されるデータ {γi-W/2 ,γ i-W/2+1 ,…,γ i+w/2 } (26) と {θi-W/2 ,θ i-W/2+1 ,…,θ i+w/2 } (27) をそれぞれ近傍動径データ記憶手段12と近傍角度デー
タ記憶手段13に記憶して処理を終了する。
When the coordinate conversion means 23 ends the processing, the control means 22 activates the neighborhood data extraction means 11. The activated neighborhood data extraction unit 11 uses the positive even number W (25) set in advance to extract the data extracted as the proximity radial data on the i-th vector from the contents stored in the polar coordinate vector storage unit 24. γ iW / 2 , γ iW / 2 + 1 , ..., γ i + w / 2 } (26) and {θ iW / 2 , θ iW / 2 + 1 ,…, θ i + w / 2 } (27) Is stored in the proximity radial data storage means 12 and the proximity angle data storage means 13, respectively, and the process is terminated.

【0098】近傍データ抽出手段11が処理を終了する
と、制御手段22は例えば動径平均値算出手段14を起
動する。起動された動径平均値算出手段14は、近傍動
径データ記憶手段12が記憶する内容を用いて式(7)
により算出されるρ i を動径平均値記憶手段16に記憶
して処理を終了する。
When the neighborhood data extracting means 11 completes the processing, the control means 22 activates the radial average value calculating means 14, for example. The activated radial average value calculating means 14 uses the contents stored in the neighboring radial data storage means 12 to obtain the equation (7).
The [rho i is calculated to end the storing and the processing in the radial average value storing unit 16 by.

【0099】動径平均値算出手段14が処理を終了する
と制御手段22はソート手段15を起動する。起動され
たソート手段15は近傍角度データ記憶手段13が記憶
する内容をソートしたデータを式(11)に示す形式で
順序化角度データ記憶手段17に記憶して処理を終了す
る。
When the radial average calculation means 14 finishes the processing, the control means 22 activates the sorting means 15. The activated sorting means 15 stores the data obtained by sorting the contents stored in the neighboring angle data storage means 13 in the ordered angle data storage means 17 in the format shown in Expression (11), and ends the processing.

【0100】ソート手段15が処理を終了すると制御手
段22は角度平均値算出手段18を起動する。起動され
た角度平均値算出手段18は、前述した原理の第6段階
から第12段階で説明した手順と同様に動作して順序化
角度データ記憶手段17が記憶する内容から求めた平均
値ψ i を角度平均値記憶手段19に記憶して処理を終了
する。
When the sorting means 15 completes the processing, the control means 22 activates the angle average value calculating means 18. The activated angle average value calculation means 18 operates in the same manner as the procedure described in the sixth to twelfth steps of the principle described above, and operates the average calculated from the contents stored in the ordered angle data storage means 17.
The value ψ i is stored in the angle average value storage means 19 and the processing is terminated.
I do.

【0101】角度平均値算出手段18が処理を終了する
と、制御手段22はベクトル合成手段20を起動する。
起動されたベクトル合成手段20は動径平均値記憶手段
16が記憶するρi と角度平均値記憶手段19が記憶す
るψi を用いて式(24)で合成される
When the angle average value calculating means 18 completes the processing, the control means 22 activates the vector synthesizing means 20.
The activated vector synthesizing means 20 is synthesized by Expression (24) using ρ i stored in the radial average value storing means 16 and ψ i stored in the angle average value storing means 19.

【0102】[0102]

【数42】 (Equation 42)

【0103】を表示手段21に出力して処理を終了す
る。
Is output to the display means 21 to end the processing.

【0104】ベクトル合成手段20が処理を終了すると
制御手段22は近傍データ抽出手段11から始まる処理
群を同様に起動しつづけ、すべての
When the vector synthesizing means 20 finishes the processing, the control means 22 continues to start the processing group starting from the neighborhood data extracting means 11 in the same manner,

【0105】[0105]

【数43】 [Equation 43]

【0106】のOf

【0107】[0107]

【数44】 [Equation 44]

【0108】が表示手段21に出力された段階ですべて
の処理を終了する。
When the is output to the display means 21, all the processes are completed.

【0109】上記処理において、表示手段21は例えば
CRTと現在の表示技術で構成され、入力されてくる
In the above processing, the display means 21 is constituted by, for example, a CRT and the present display technology, and is inputted.

【0110】[0110]

【数45】 [Equation 45]

【0111】を頂点位置とする多角形の線画をCRT上
に表示する。また、前記ベクトルデータ記憶手段10と
極座標ベクトル記憶手段24と近傍動径データ記憶手段
12と近傍角度データ記憶手段13と動径平均値記憶手
段16と順序化角度データ記憶手段17と角度平均値記
憶手段19は例えばメモリで構成でき、制御手段22は
例えばCPUとメモリで構成できる。
A polygonal line drawing having a vertex position is displayed on a CRT. The vector data storage means 10, the polar coordinate vector storage means 24, the proximity radial data storage means 12, the proximity angle data storage means 13, the radial average value storage means 16, the ordered angle data storage means 17, the angle average value storage The means 19 can be composed of, for example, a memory, and the control means 22 can be composed of, for example, a CPU and a memory.

【0112】[0112]

【発明の効果】以上説明した本発明により、例えば円周
上に分布するベクトルデータに対して曲率を保存した平
滑化を施すことができる。さらに、本発明で説明した角
度平均値算出手段18は一般に周期データの平均値、及
び分散を利用する装置に応用できる。
According to the present invention described above, for example, vector data distributed on the circumference can be subjected to smoothing while preserving the curvature. Further, the angle average value calculating means 18 described in the present invention can be generally applied to an apparatus using the average value and variance of periodic data.

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

【図1】本発明のベクトルデータの平滑化装置の一実施
例を示すブロック図。
FIG. 1 is a block diagram showing an embodiment of a vector data smoothing device according to the present invention.

【図2】本発明の原理を説明するための図。FIG. 2 is a diagram illustrating the principle of the present invention.

【図3】従来技術を説明するための図。FIG. 3 is a diagram for explaining a conventional technique.

【図4】従来技術を説明するための図。FIG. 4 is a diagram for explaining a conventional technique.

【符号の説明】[Explanation of symbols]

6 動径平均値記憶手段 17 順序化角度データ記憶手段 18 角度平均値算出手段 19 角度平均値算出手段 20 ベクトル合成手段 21 表示手段 22 制御手段 23 座標変換手段 24 極座標ベクトル記憶手段 6 Radial average value storage means 17 Ordered angle data storage means 18 Angle average value calculation means 19 Angle average value calculation means 20 Vector synthesis means 21 Display means 22 Control means 23 Coordinate conversion means 24 Polar coordinate vector storage means

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 注目ベクトルの近傍に存在するベクトル
群の動径成分群に関する平均値を動径成分とし、前記ベ
クトル群の角度成分群をソートし、ソート後の該角度成
分群から、極座標を複数個の角度区間に分割した後、該
角度区間に角度平均値が存在すると仮定して、角度成分
群の平均値である角度平均値を算出し、算出した角度平
均値に対応する分散値を算出し、前記角度平均値と分散
値の有効無効を判定するという処理を、前記角度区間毎
に繰り返した後、前記複数の有効な分散値のうち、最小
の分散値に対応する角度平均値を角度成分とする極座標
で表わされるベクトルを、前記注目ベクトルを平滑化し
たベクトルとすることを特徴とするベクトルデータの平
滑化方法。
1. A mean values for the radial component group vector group present in the vicinity of the target vector and the radial component, said base
Sort the angle components of the vector group, and sort the angle components after sorting.
After dividing the polar coordinates into a plurality of angle sections from the group,
Assuming that an angle average exists in the angle section, the angle component
Calculate the angle average value that is the average value of the group, and calculate the calculated angle
A variance value corresponding to the average value is calculated, and the angle average value and the variance are calculated.
The process of determining whether the value is valid or invalid is performed for each angle section.
After repeating the above, among the plurality of effective variance values,
A vector represented by polar coordinates having an angle average value corresponding to the variance value of (i) as an angle component, as a vector obtained by smoothing the vector of interest.
【請求項2】 ベクトルデータを極座標形式で記憶する
極座標ベクトル記憶手段と、前記極座標ベクトル記憶手
段の各出力ベクトルデータの近傍ベクトル群に関する動
径成分群と角度成分群とをそれぞれ抽出する近傍データ
抽出手段と、前記動径成分群の平均値を算出する動径平
均値算出手段と、前記角度成分群をソートするソート手
段と、前記ソート手段の出力データで定まる複数個の角
度区間毎に、ソート後の角度成分群から、極座標を複数
個の角度区間に分割した後、該角度区間に角度平均値が
存在すると仮定して、角度成分群の平均値である角度平
均値を算出し、算出した角度平均値に対応する分散値を
算出し、前記角度平均値と分散値の有効無効を判定する
という処理を、前記角度区間毎に繰り返した後、前記複
数の有効な分散値のうち、最小の分散値に対応する角度
平均値を算出する角度平均値算出手段とを具備すること
を特徴とするベクトルデータの平滑化装置。
2. Polar vector storage means for storing vector data in polar coordinate format, and neighborhood data extraction for extracting a radial component group and an angle component group relating to a neighborhood vector group of each output vector data of said polar vector storage means. means, the radial average value calculating means for calculating an average value of said radial component group, and sorting means for sorting the angular component groups, a plurality of each angular interval determined by the output data of said sorting means, sorting From the later angle component group, multiple polar coordinates
After dividing into angle sections, the angle average value is
Assuming that they exist, the angle plane
Calculate the average value and calculate the variance value corresponding to the calculated angle average value.
Calculate and determine whether the angle average value and variance value are valid or invalid
Is repeated for each of the angle sections,
Angle corresponding to the smallest of the valid variances of the number
Smoother vector data, characterized by comprising an angle mean value calculating means for calculating an average value.
JP4315391A 1991-03-08 1991-03-08 Vector data smoothing method and apparatus Expired - Lifetime JP2847987B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4315391A JP2847987B2 (en) 1991-03-08 1991-03-08 Vector data smoothing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4315391A JP2847987B2 (en) 1991-03-08 1991-03-08 Vector data smoothing method and apparatus

Publications (2)

Publication Number Publication Date
JPH04280382A JPH04280382A (en) 1992-10-06
JP2847987B2 true JP2847987B2 (en) 1999-01-20

Family

ID=12655905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4315391A Expired - Lifetime JP2847987B2 (en) 1991-03-08 1991-03-08 Vector data smoothing method and apparatus

Country Status (1)

Country Link
JP (1) JP2847987B2 (en)

Also Published As

Publication number Publication date
JPH04280382A (en) 1992-10-06

Similar Documents

Publication Publication Date Title
JP3841321B2 (en) Image registration method
JPH0291778A (en) Method of recognizing pattern
WO2020107326A1 (en) Lane line detection method, device and computer readale storage medium
JP2003529114A (en) Optical scanner and software for it
US9077926B2 (en) Image processing method and image processing apparatus
CN108805823B (en) Commodity image correction method, system, equipment and storage medium
JP2847987B2 (en) Vector data smoothing method and apparatus
JP2845269B2 (en) Figure shaping apparatus and figure shaping method
JP2663857B2 (en) Approximation curve generator
JPH0613213B2 (en) Block setting method for character image data compression
JP3758229B2 (en) Line segment extraction method, line segment extraction apparatus, and line segment extraction processing program
US5821938A (en) Apparatus for shaping figures to be point symmetrical
JPH05174182A (en) Method and device for document tilt angle detection
JPH05303644A (en) Grahic recognition method for picture processor
JPH0660195A (en) Curved surface display device
JP3781215B2 (en) Method for detecting feature points of image data
JPH06274613A (en) Curve approximating device
CN114170235A (en) Floor polygon plane segmentation method and system
JP4162312B2 (en) Apparatus and method for drawing inclined ellipse that simultaneously touches two straight lines on display screen, and recording medium recording program for drawing inclined ellipse that touches two straight lines on display screen simultaneously
KR100522865B1 (en) Road Extraction Method Out Of Digital Image
JP2935847B2 (en) Image processing device
JP2544529B2 (en) Graphic drawing device
JP4165175B2 (en) Figure recognition device
CN112837355A (en) Designation accurate matching method combining descriptors and curvatures
JP2000182056A (en) Picture processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981006