JPH07129767A - Line segment sampling method - Google Patents

Line segment sampling method

Info

Publication number
JPH07129767A
JPH07129767A JP27245793A JP27245793A JPH07129767A JP H07129767 A JPH07129767 A JP H07129767A JP 27245793 A JP27245793 A JP 27245793A JP 27245793 A JP27245793 A JP 27245793A JP H07129767 A JPH07129767 A JP H07129767A
Authority
JP
Japan
Prior art keywords
histogram
line segment
points
point
image
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
JP27245793A
Other languages
Japanese (ja)
Other versions
JP3344791B2 (en
Inventor
Hideaki Yamagata
秀明 山形
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP27245793A priority Critical patent/JP3344791B2/en
Publication of JPH07129767A publication Critical patent/JPH07129767A/en
Application granted granted Critical
Publication of JP3344791B2 publication Critical patent/JP3344791B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To sample a line segment with high accuracy and to shorten the processing time by generating a histogram, for a point where the endpoint of an image interscets with all straight lines connecting two points in the image, and sampling the straight line connecting a point which takes the maximum value of the histogram to a point which takes a second maximum value as the line segment. CONSTITUTION:An edge candidate point image shown with a black point can be acquired as the process result of an edge candidate point sampling part. A line segment sampling part finds the point where the straight line connecting the two points for all combination of the two points of the edge candidate point image crosses the endpoint, and generates the histogram representing the number of times of appearance of an intersection. For example, the histogram 2 of the intersections C1, C2 of the straight line 1 passing the points p1, p2 and the endpoint is increased. An intersection histogram can be acquired by repeating such processing on the combination of all edge candidate points. The straight line L1 connecting the point (a) taking the maximum value to the point (b) taking the second maximum value is sampled as the line segment, then, the endpoint coordinate o the line segment is outputted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像中の特徴点の情報
から画像中の線分を抽出する技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for extracting a line segment in an image from information on characteristic points in the image.

【0002】[0002]

【従来の技術】画像中の特徴点の情報から線分を抽出す
る場合、一般的にハフ変換や最小2乗近似法が用いられ
ている。しかし、かかる方法では処理が遅い、処理に莫
大なメモリを必要とする、あるいは抽出精度が不十分で
ある等の問題がある。
2. Description of the Related Art When extracting a line segment from information on a feature point in an image, generally, the Hough transform or the least square approximation method is used. However, such a method has problems that the processing is slow, a huge memory is required for the processing, or the extraction accuracy is insufficient.

【0003】このような問題に鑑み、画像中の2つの特
徴点の間を結ぶ直線のX,Y座標軸に対する切片につい
てのヒストグラムより、画像中の線分を抽出する方法
(以下、方法A)が提案されている(BEHZAD K
AMAGAR−PARSI,BEHROOZ KAMA
GAR−PARSI,and NATHAN S.NETA
NYAHU,「A nonparametric Method for Fittin
g a Straight Line toa Noisy Image」,IEEE
TRANSACTION ON PATTERNANAL
YSIS AND MACHINEINTELLIGEN
CE,Vol.11,no.9,SEPTEMBER 198
9)。
In view of such a problem, there is a method (hereinafter, method A) for extracting a line segment in an image from a histogram of an intercept of a straight line connecting two feature points in the image with respect to X and Y coordinate axes. Proposed (BEHZAD K
AMAGAR-PARSI, BEHROOZ KAMA
GAR-PARSI, and NATHAN S. NETA
NYAHU, "A nonparametric Method for Fittin
ga Straight Line toa Noisy Image ", IEEE
TRANSACTION ON PATTERNAL NAL
YSIS AND MACHINE INTELLIGEN
CE, Vol. 11, no.9, SEPTEMBER 198
9).

【0004】[0004]

【本発明が解決しようとする課題】上記文献に述べられ
た方法Aは、従来の一般的な方法に比べて、比較的短い
処理時間、少ないメモリで線分の抽出を行なうことがで
きるという利点を持っている。しかし、基準軸(X,Y
座標軸)に平行な線分の抽出が不可能、基準軸と傾きの
近い線分の抽出誤差が大きいという問題がある。さら
に、上記文献には、画像中から1本の線分を抽出する場
合しか述べらておらず、画像中から複数の線分を抽出す
る方法については言及がないため、複数の線分を抽出す
る目的に直ちに適用することはできない。
The method A described in the above document is advantageous in that the line segment can be extracted with a relatively short processing time and a small memory as compared with the conventional general method. have. However, the reference axes (X, Y
There is a problem that a line segment parallel to the coordinate axis) cannot be extracted, and a line segment with a tilt close to the reference axis has a large extraction error. Further, the above-mentioned document describes only the case of extracting one line segment from the image, and does not refer to the method of extracting the plurality of line segments from the image. It cannot be applied immediately to the purpose.

【0005】本発明の目的は、比較的短い処理時間及び
少ないメモリで、画像中の線分を精度良く抽出すること
ができ、また画像中から複数の線分を逐次的に抽出でき
る方法を提供することにある。
An object of the present invention is to provide a method capable of extracting a line segment in an image with high accuracy and a plurality of line segments sequentially extracted from the image with a relatively short processing time and a small memory. To do.

【0006】[0006]

【課題を解決するための手段】請求項1記載の発明の線
分抽出方法は、画像中の2点を結ぶ全ての直線について
画像の端点と交差する点のヒストグラムを作成し、ヒス
トグラムの最大値をとる点と、2番目に大きな値をとる
点とを結ぶ直線を線分として抽出することを特徴とする
ものである。
According to the line segment extracting method of the present invention, a histogram of points intersecting the end points of the image is created for all straight lines connecting two points in the image, and the maximum value of the histogram is generated. It is characterized in that a straight line that connects the point that takes a point with the point that takes the second largest value is extracted as a line segment.

【0007】請求項2記載の発明の線分抽出方法は、複
数の辺で囲まれた多角形の画像中の2点を結ぶ全ての直
線について画像の端点と交差する点のヒストグラムを作
成し、作成したヒストグラムの最大値をとる点と、該点
を含まない辺についてのヒストグラムの最大値をとる点
とを結ぶ直線を線分として抽出することを特徴とするも
のである。
According to the line segment extraction method of the present invention, a histogram of points intersecting the end points of the image is created for all straight lines connecting two points in the polygonal image surrounded by a plurality of sides, It is characterized in that a straight line connecting a point having the maximum value of the created histogram and a point having the maximum value of the histogram on the side not including the point is extracted as a line segment.

【0008】請求項3記載の発明の線分抽出方法は、画
像中の2点を結ぶ全ての直線について画像の端点と交差
する点のヒストグラムαを作成し、このヒストグラムα
の最大値をとる点を通る全ての直線について画像の端点
と交差する点のヒストグラムβを作成し、このヒストグ
ラムβの最大値をとる点と2番目に大きい値をとる点と
を結ぶ直線を線分として抽出することを特徴とするもの
である。
According to the line segment extraction method of the present invention, a histogram α of points intersecting the end points of the image is created for all straight lines connecting two points in the image, and this histogram α
Create a histogram β of points that intersect the end points of the image for all straight lines passing through the maximum value of, and connect the straight line connecting the maximum value of this histogram β and the point with the second largest value. It is characterized in that it is extracted as a minute.

【0009】請求項4記載の発明の線分抽出方法は、複
数の辺で囲まれた多角形の画像中の2点を結ぶ全ての直
線について画像の端点と交差する点のヒストグラムαを
作成し、このヒストグラムαの最大値をとる点を通る全
ての直線の画像の端点と交差する点のヒストグラムβ
を、該点を含まない辺について作成し、ヒストグラムα
の最大値をとる点とヒストグラムβの最大値をとる点と
を結ぶ直線を線分として抽出することを特徴とするもの
である。
According to the line segment extraction method of the present invention, a histogram α of points intersecting the end points of the image is created for all straight lines connecting two points in a polygonal image surrounded by a plurality of sides. , The histogram β of the points that intersect with the end points of the image of all the straight lines that pass through the point of maximum value of this histogram α
Is generated for an edge that does not include the point, and the histogram α
It is characterized in that a straight line connecting the point having the maximum value of and the point having the maximum value of the histogram β is extracted as a line segment.

【0010】請求項5記載の発明は、請求項3または4
項記載の発明の線分抽出方法において、1本の線分を抽
出した際に作成したヒストグラムαより、抽出した線分
に相当するヒストグラムを削除し、残ったヒストグラム
を用いて次の線分を前に抽出した線分と同様の方法によ
り抽出することを特徴とするものである。
The invention according to claim 5 is the invention according to claim 3 or 4.
In the line segment extraction method of the invention described in the paragraph, the histogram corresponding to the extracted line segment is deleted from the histogram α created when one line segment is extracted, and the next line segment is extracted using the remaining histogram. It is characterized in that it is extracted by the same method as the line segment extracted previously.

【0011】請求項6記載の発明は、請求項3または4
記載の発明の線分抽出方法において、1本の線分を抽出
した際に作成したヒストグラムαからヒストグラムβを
差し引き、残ったヒストグラムをヒストグラムαとして
用い、次の線分を前に抽出した線分と同様の方法により
抽出することを特徴とするものである。
The invention according to claim 6 is the invention according to claim 3 or 4.
In the line segment extraction method of the invention described, the histogram β is subtracted from the histogram α created when one line segment is extracted, the remaining histogram is used as the histogram α, and the next line segment is extracted before. It is characterized by being extracted by a method similar to.

【0012】請求項7記載の発明は、請求項5記載の発
明の線分抽出方法において、ヒストグラムαから抽出し
た線分に相当するヒストグラムを削除して残ったヒスト
グラムの最大値がある所定の閾値より小さくなった場合
に、線分の抽出処理を終了することを特徴とするもので
ある。
According to a seventh aspect of the invention, in the line segment extracting method according to the fifth aspect of the invention, the histogram corresponding to the line segment extracted from the histogram α is deleted, and the maximum value of the remaining histogram is a predetermined threshold value. The feature is that the line segment extraction process is terminated when the size becomes smaller.

【0013】請求項8記載の発明は、請求項6記載記載
の発明の線分抽出方法において、ヒストグラムαからヒ
ストグラムβを差し引いて残ったヒストグラムの最大値
がある所定の閾値より小さくなった場合に、線分の抽出
処理を終了することを特徴とするものである。
According to an eighth aspect of the invention, in the line segment extracting method according to the sixth aspect of the invention, when the maximum value of the histogram remaining after subtracting the histogram β from the histogram α becomes smaller than a predetermined threshold value, The line segment extraction process is terminated.

【0014】請求項9記載の発明は、請求項4記載の発
明の線分抽出方法において、ヒストグラムαの最大値を
とる点が含まれる辺については、抽出された線分に相当
するヒストグラムをヒストグラムαより削除し、残った
ヒストグラムを改めてヒストグラムαとして用い、ヒス
トグラムαの最大値をとる点が含まれない辺について
は、ヒストグラムαよりヒストグラムβを差し引いて残
ったヒストグラムを改めてヒストグラムαとして用い、
次の線分を前に抽出した線分と同様の方法によって抽出
することを特徴とするものである。
According to a ninth aspect of the present invention, in the line segment extracting method according to the fourth aspect, for a side including a point having the maximum value of the histogram α, a histogram corresponding to the extracted line segment is used as a histogram. After deleting from α, the remaining histogram is used again as the histogram α, and for the side that does not include the point having the maximum value of the histogram α, the histogram β is subtracted from the histogram α and the remaining histogram is used as the histogram α again.
The feature is that the next line segment is extracted by the same method as the line segment extracted previously.

【0015】請求項10記載の発明は、請求項1乃至9
のいずれか1項に記載の発明の線分抽出方法において、
抽出した線分に対応する画像中の点の座標のヒストグラ
ムを作成し、このヒストグラムより線分の端点を検出す
ることを特徴とするものである。
The invention according to a tenth aspect is the first to ninth aspects.
In the line segment extraction method of the invention described in any one of
It is characterized in that a histogram of the coordinates of points in the image corresponding to the extracted line segment is created, and the end points of the line segment are detected from this histogram.

【0016】[0016]

【作用】請求項1の発明の方法によれば、画像中の全て
の2点間を結ぶ直線と画像の端点(枠)との交差する点
のヒストグラムが作成される。このヒストグラムの最大
値をとる点と、次に大きい値をとる点とを結ぶ直線が線
分として抽出されるが、この線分は一般に画像中の点の
集合を最もよく表現する線分とみなすことができる。
According to the method of the first aspect of the present invention, the histogram of the points where the straight line connecting all two points in the image and the end point (frame) of the image intersect is created. A straight line connecting the point with the maximum value of this histogram and the point with the next largest value is extracted as a line segment, and this line segment is generally regarded as the line segment that best represents the set of points in the image. be able to.

【0017】そして、前記方法Aと違い基準軸を用いな
いので、特定の方向の線分の抽出が不可能になったり、
あるいは抽出精度が極端に悪化するといった不都合も避
けられる。
Unlike the method A, since the reference axis is not used, it becomes impossible to extract a line segment in a specific direction.
Alternatively, it is possible to avoid the disadvantage that the extraction accuracy is extremely deteriorated.

【0018】ここでヒストグラムに関して説明する。2
点間を結ぶ直線と画像の端点との交差に着目して線分を
抽出する場合、最も普通に考えられる方法は、2点間を
結ぶ1つの直線は画像の端点と2つの点で交差するの
で、1本の直線についての2個の交差点のペアとして、
各ペア毎の出現頻度のヒストグラムを作成し、その値が
最大となった交差点のペアを検出し、その2点を結ぶ直
線を線分として抽出する方法であろう。この2次元のヒ
ストグラムを用いる方法は、後述のように、複数の線分
を抽出する場合に有利な面はあるが、しかし、ヒストグ
ラムの作成のために非常にサイズの大きなメモリを必要
とし、そのアクセス時間も増加するため処理時間も遅く
なるという問題がある。
Here, the histogram will be described. Two
When extracting a line segment by paying attention to the intersection between the straight line connecting the points and the end point of the image, the most common method is that one straight line connecting the two points intersects the end point of the image at two points. So, as a pair of two intersections about one straight line,
It may be a method of creating a histogram of the appearance frequency of each pair, detecting the pair of intersections having the maximum value, and extracting the straight line connecting the two points as a line segment. This method using a two-dimensional histogram has an advantage in extracting a plurality of line segments, as described later, but it requires a very large memory for creating the histogram. Since the access time also increases, the processing time becomes slow.

【0019】これに対し、請求項1の発明の方法におい
て作成するヒストグラムは、2点間を結ぶ直線と画像の
端点との交差する点(個々の点)毎の出現回数を表わす
1次元のヒストグラムであるので、ヒストグラム作成に
必要なメモリのサイズははるかに小さくなり、そのアク
セス時間も減少するので処理時間も速くなるという利点
がある。
On the other hand, the histogram created by the method according to the first aspect of the present invention is a one-dimensional histogram representing the number of appearances at each point (individual point) where the straight line connecting the two points and the end point of the image intersect. Therefore, there is an advantage that the size of the memory required for creating the histogram is much smaller and the access time is also reduced, so that the processing time is also faster.

【0020】請求項2の発明の方法によれば、請求項1
の発明と同様に、2点間を結ぶ直線と画像の端点と交差
する個々の点毎の出現頻度の1次元ヒストグラムが作成
され、このヒストグラムをもとに線分が抽出される。た
だし、この発明にあっては、複数の辺からなる多角形の
枠で囲まれているた画像を対象としているので、抽出す
べき線分は、異なった2辺上の点を通るはずである。し
たがって、作成したヒストグラムの最大値をとる点と、
この点を含まない辺についてのヒストグラムの最大値を
とる点とを結ぶ直線が、画像中の点の集合を最もよく表
わす線分として抽出される。
According to the method of the invention of claim 2, claim 1
Similarly to the invention of (1), a one-dimensional histogram of the appearance frequency of each point intersecting the straight line connecting the two points and the end point of the image is created, and the line segment is extracted based on this histogram. However, in the present invention, since an image surrounded by a polygonal frame having a plurality of sides is targeted, a line segment to be extracted should pass through points on two different sides. . Therefore, the point that takes the maximum value of the created histogram,
A straight line that connects the point having the maximum value in the histogram on the side not including this point is extracted as a line segment that best represents the set of points in the image.

【0021】請求項3の発明の方法によれば、請求項1
の発明の方法と同様に、画像中の2点を結ぶ直線と画像
の端点との交差する点の出現頻度のヒストグラムαが作
成される。
According to the method of the invention of claim 3, claim 1
Similar to the method of the invention described above, a histogram α of the appearance frequency of the points where the straight line connecting the two points in the image and the end points of the image intersect is created.

【0022】ここで、ヒストグラムαは交差する個々の
点の出現頻度を表わす1次元ヒストグラムであるので、
その最大値をとる点と次に大きい値をとる点とが、同じ
2点間を結ぶ直線と画像の端点との交差する点のペアで
ある保証はない(これが上記2次元のヒストグラムに比
べて不利な点である)。画像中の点の集合を最もよく表
わす1本目の線分に限れば、その2点がペアをなす点で
ある確率は十分に高いので、線分を1本だけ抽出する場
合には、実際的に1次元ヒストグラムだけを用いて線分
を抽出しても問題は起こらない。しかし、2本以上の線
分を逐次的に抽出する場合、2本目以降の線分について
は、ペアをなさない2点間を結ぶ直線が誤って抽出され
る危険性が増加する。
Here, since the histogram α is a one-dimensional histogram representing the frequency of appearance of each intersecting point,
There is no guarantee that the point that takes the maximum value and the point that takes the next largest value are the pair of points where the straight line connecting the same two points and the end point of the image intersect (this is more than the two-dimensional histogram above). This is a disadvantage). If the first line segment that most represents the set of points in the image is limited, the probability that the two points form a pair is sufficiently high. Therefore, when extracting only one line segment, it is practical. There is no problem even if the line segment is extracted using only the one-dimensional histogram. However, when two or more line segments are sequentially extracted, the risk of erroneously extracting a straight line connecting two unpaired points is increased for the second and subsequent line segments.

【0023】このような問題を解消するため、この発明
の方法によれば、画像中の2点間を結ぶ直線のうちで、
ヒストグラムαの最大値をとる点を通る直線に限定し
て、画像の端点と交差する点の出現頻度のヒストグラム
βが作成される。そして、このヒストグラムβの最大値
を通る点(これはヒストグラムαの最大値をとる点と一
致する)と、次に大きい値をとる点とを結ぶ直線が、線
分として抽出される。ヒストグラムβは、最大値を必ず
通る直線に関するものであるので、2番目に大きい値を
とる点は、必ず最大値をとる点とペアをなす点であり、
したがって上記問題は回避される。
In order to solve such a problem, according to the method of the present invention, among the straight lines connecting two points in the image,
The histogram β of the appearance frequency of the points intersecting with the end points of the image is created by limiting to the straight line passing through the point having the maximum value of the histogram α. Then, a straight line connecting a point passing through the maximum value of the histogram β (which coincides with the maximum value of the histogram α) and a point having the next largest value is extracted as a line segment. Since the histogram β is related to a straight line that always passes through the maximum value, the point that takes the second largest value is a point that always pairs with the point that takes the maximum value.
Therefore, the above problem is avoided.

【0024】請求項4の発明によれば、請求項2の発明
の方法と同様に、画像中の2点間を結ぶ直線と画像の端
点との交差する個々の点の出現頻度を表わす1次元のヒ
ストグラムαが作成される。次に、画像中の2点間を結
ぶ直線のうちで、ヒストグラムαの最大値をとる点を通
る直線に限定して、画像の端点との交差する点の出現頻
度を表わす1次元のヒストグラムβが、ヒストグラムα
の最大値をとる点を含まない辺に関して作成される。そ
して、ヒストグラムαの最大値をとる点と、ヒストグラ
ムβの最大値をとる点とを結ぶ直線が、線分として抽出
される。
According to the invention of claim 4, as in the method of the invention of claim 2, one-dimensional representing the appearance frequency of each point where the straight line connecting two points in the image and the end point of the image intersect. A histogram α of is created. Next, of the straight lines connecting the two points in the image, the one-dimensional histogram β representing the appearance frequency of the points intersecting the end points of the image is limited to the straight line passing through the point having the maximum value of the histogram α. But the histogram α
Created for edges that do not contain points that take the maximum of. Then, a straight line connecting the point having the maximum value of the histogram α and the point having the maximum value of the histogram β is extracted as a line segment.

【0025】請求項3の発明に関連した説明から理解さ
れるように、1次元のヒストグラムαの最大値をとる点
と次に大きい値をとる点とが、ペアをなす点である保証
はない。これに対して、ヒストグラムαの最大値をとる
点と、ヒストグラムβの最大値をとる点はペアをなす点
であることが保証される。したがって、この発明の方法
によれば、請求項3の発明の方法と同様、2本以上の線
分を逐次的に抽出する場合においても線分を確実に抽出
できるようになる。
As can be understood from the description related to the invention of claim 3, there is no guarantee that the point having the maximum value of the one-dimensional histogram α and the point having the next largest value form a pair. . On the other hand, it is guaranteed that the point having the maximum value of the histogram α and the point having the maximum value of the histogram β are paired points. Therefore, according to the method of the present invention, like the method of the third aspect of the present invention, even when two or more line segments are sequentially extracted, the line segment can be reliably extracted.

【0026】請求項5乃至10の発明の方法によれば、
画像中の点の集合を表わす線分を2本以上、逐次的に抽
出することができる。
According to the method of the inventions of claims 5 to 10,
Two or more line segments representing a set of points in the image can be sequentially extracted.

【0027】請求項5または6の発明の方法は、基本的
に請求項3または4の発明の方法によって線分を逐次的
に抽出するが、請求項5の発明にあっては、前の線分抽
出の際に作成されたヒストグラムαより、抽出済みの線
分に相当するヒストグラムを削除して残ったヒストグラ
ムを、次の線分の抽出のためのヒストグラムαとして用
い、請求項6の発明にあっては、前の線分抽出の際に作
成されたヒストグラムαからヒストグラムβを差し引い
て残ったヒストグラムを、次の線分の抽出のためのヒス
トグラムαとして用いる。
In the method of the invention of claim 5 or 6, basically, the line segments are sequentially extracted by the method of the invention of claim 3 or 4, but in the invention of claim 5, the previous line is extracted. The histogram corresponding to the extracted line segment is deleted from the histogram α created during the segment extraction, and the remaining histogram is used as the histogram α for extracting the next line segment. In that case, the histogram remaining after subtracting the histogram β from the histogram α created at the time of extracting the previous line segment is used as the histogram α for extracting the next line segment.

【0028】また、請求項9の発明の方法も、基本的に
は請求項4の発明の方法によって線分を逐次的に抽出す
るが、前の線分抽出の際に作成されたヒストグラムαの
最大値をとる点が含まれる辺については、抽出された線
分に相当するヒストグラムをヒストグラムαより削除
し、残ったヒストグラムを次の線分の抽出のためのヒス
トグラムαとして用い、ヒストグラムαの最大値をとる
点が含まれない辺については、ヒストグラムαよりヒス
トグラムβを差し引いて残ったヒストグラムを次の線分
の抽出のためのヒストグラムαとして用いる。
In the method of the ninth aspect of the invention, basically, the line segments are sequentially extracted by the method of the fourth aspect of the invention, but the histogram α created in the previous line segment extraction is used. For the side that includes the point with the maximum value, the histogram corresponding to the extracted line segment is deleted from the histogram α, and the remaining histogram is used as the histogram α for the extraction of the next line segment. For a side that does not include a value-taking point, the histogram β is subtracted from the histogram α and the remaining histogram is used as the histogram α for extracting the next line segment.

【0029】このように、請求項5,6または9の発明
の方法によれば、前の線分の抽出のためのヒストグラム
αまたはβから次の線分の抽出のためのヒストグラムα
を簡単な演算処理で作成することにより、ヒストグラム
作成のための処理時間を削減し、線分抽出処理の効率を
上げることができる。
As described above, according to the method of the present invention as defined in claim 5, 6 or 9, the histogram α or β for extracting the previous line segment is used to extract the histogram α for extracting the next line segment.
Is generated by a simple calculation process, the processing time for creating the histogram can be reduced and the efficiency of the line segment extraction process can be improved.

【0030】請求項7の発明の方法によれば、請求項5
の発明の方法において、ヒストグラムαから抽出した線
分に相当するヒストグラムを削除して残ったヒストグラ
ムの最大値を、あるししきい値と比較し、このしきい値
より小さくなった段階で線分抽出処理を打ち切る。ま
た、請求項8の発明の方法によれば、請求項6の発明の
方法において、ヒストグラムαからヒストグラムβを差
し引いて残ったヒストグラムを、あるしきい値と比較
し、このしきい値より小さくなった段階で線分抽出処理
を打ち切る。このようにして、抽出すべき線分だけを抽
出するように処理の終了を制御することができる。
According to the method of the invention of claim 7, claim 5
In the method of the invention, the maximum value of the histogram remaining after deleting the histogram corresponding to the line segment extracted from the histogram α is compared with a certain threshold value, and when the line segment becomes smaller than this threshold value, Abort the extraction process. Further, according to the method of the invention of claim 8, in the method of the invention of claim 6, the histogram remaining after subtracting the histogram β from the histogram α is compared with a certain threshold value and becomes smaller than this threshold value. At this stage, the line segment extraction process is terminated. In this way, the end of processing can be controlled so that only the line segment to be extracted is extracted.

【0031】請求項1乃至9の発明の方法によって抽出
される線分の端点は画像の端点と一致するが、これは線
分の本来の端点とは限らない。請求項10の発明の方法
によれば、請求項1乃至9のいずれか1項の発明の方法
により抽出された線分に対応する画像中の点の座標のヒ
ストグラムを作成し、このヒストグラムより線分の端点
をより正確に検出することができる。
The end points of the line segment extracted by the method according to the first to ninth aspects coincide with the end points of the image, but this is not necessarily the original end point of the line segment. According to the method of the invention of claim 10, a histogram of the coordinates of the points in the image corresponding to the line segment extracted by the method of the invention of any one of claims 1 to 9 is created, and this histogram twist line is drawn. The end points of the minutes can be detected more accurately.

【0032】[0032]

【実施例】以下、本発明の実施例について説明する。図
1は、以下に説明する各実施例のためのシステム構成の
一例を示す。
EXAMPLES Examples of the present invention will be described below. FIG. 1 shows an example of a system configuration for each embodiment described below.

【0033】図1において、カラー画像入力装置(カラ
ースキャナ)100によって、カラー画像の原稿を読み
取り、その画像データをRGBデータとして入力する。
輝度算出部102において、入力されたRGBデータか
ら各画素の輝度Lを次式によって算出し、入力画像の輝
度画像データを出力する。
In FIG. 1, a color image input apparatus (color scanner) 100 reads a color image original and inputs the image data as RGB data.
The brightness calculation unit 102 calculates the brightness L of each pixel from the input RGB data by the following equation, and outputs the brightness image data of the input image.

【0034】L=(R+G+B)/3 エッジ候補点抽出部104では、輝度画像中の特徴点と
して、輝度の傾斜の大きい点(エッジ候補点)を抽出す
る。以下の各実施例においては、図2に示す2次差分マ
スクを用いて、輝度画像上の各画素の2次差分値を算出
し、2次差分値が0の点をエッジ候補点として抽出す
る。
L = (R + G + B) / 3 The edge candidate point extraction unit 104 extracts a point (edge candidate point) having a large luminance slope as a feature point in the luminance image. In each of the following embodiments, the quadratic difference mask shown in FIG. 2 is used to calculate the quadratic difference value of each pixel on the luminance image, and the point having the quadratic difference value of 0 is extracted as an edge candidate point. .

【0035】例えば、各画素の輝度が図3に示すような
領域において、中央の画素について図2の2次差分マス
クを適用すると、その2次差分値Sは S=4*72−(76+76+68+68)=0 となる。したがって、この中央の点はエッジ候補点とし
て抽出される。
For example, in the area where the brightness of each pixel is as shown in FIG. 3, when the secondary difference mask of FIG. 2 is applied to the central pixel, the secondary difference value S is S = 4 * 72- (76 + 76 + 68 + 68). = 0. Therefore, this center point is extracted as an edge candidate point.

【0036】各画素の輝度が図4に示すような領域の場
合、中央の画素の2次差分値Sは、 S=4*72−(76+88+71+68)=16 となり、0でない。したがって、この中央の点はエッジ
候補点とならない。
When the brightness of each pixel is in the area shown in FIG. 4, the secondary difference value S of the central pixel is S = 4 * 72- (76 + 88 + 71 + 68) = 16, which is not zero. Therefore, this center point is not an edge candidate point.

【0037】このようにして、エッジ候補点抽出部10
4で輝度画像中のエッジ候補点を抽出しエッジ候補点画
像(エッジ点以外は白の画像)を線分抽出部106へ送
る。線分抽出部106では、本発明のアルゴリズムを用
いてエッジ候補点画像中のエッジ候補点を統合すること
により線分を抽出し、線分データ(線分の両端の座標
等)を出力する。以下、この線分抽出処理の内容につい
て各実施例別に説明する。
In this way, the edge candidate point extraction unit 10
In step 4, the edge candidate points in the luminance image are extracted, and the edge candidate point image (white image except for the edge points) is sent to the line segment extracting unit 106. The line segment extraction unit 106 extracts a line segment by integrating the edge candidate points in the edge candidate point image using the algorithm of the present invention, and outputs line segment data (coordinates at both ends of the line segment). The contents of this line segment extraction processing will be described below for each embodiment.

【0038】<実施例1>ここでは、エッジ候補点抽出
部104の処理結果として、図5に示すようなエッジ候
補点画像が得られたとする。図5において、黒の点がエ
ッジ候補点を意味する。また、この画像の例では、円形
の枠(画像の端点)があるが、枠の形状は基本的に任意
である。
<Embodiment 1> Here, it is assumed that an edge candidate point image as shown in FIG. 5 is obtained as a processing result of the edge candidate point extracting unit 104. In FIG. 5, black points mean edge candidate points. Further, in the example of this image, there is a circular frame (end point of the image), but the shape of the frame is basically arbitrary.

【0039】線分抽出部106においては、まず、エッ
ジ候補点画像の全ての2点の組み合わせについて、2点
間を結ぶ直線と、エッジ候補点画像の端点との交差する
点を求め、その交差点の出現回数のヒストグラムを作成
する。図6はその説明図である。
In the line segment extracting unit 106, first, for all combinations of two points in the edge candidate point image, a point where the straight line connecting the two points and the end point of the edge candidate point image intersect is obtained, and the intersection point Create a histogram of the number of occurrences of. FIG. 6 is an explanatory diagram thereof.

【0040】図6(A)に示すように、例えば点p1,
p2を通過する直線L1とエッジ候補点画像(図5)の
端点との交差点c1、c2のヒストグラムをインクリメ
ントする。この処理をエッジ候補点全ての組み合わせに
ついて繰り返すことより、図6(B)に示す交差点ヒス
トグラムが得られる。
As shown in FIG. 6A, for example, points p1,
The histograms of intersections c1 and c2 between the straight line L1 passing through p2 and the end points of the edge candidate point image (FIG. 5) are incremented. By repeating this processing for all combinations of edge candidate points, the intersection histogram shown in FIG. 6B is obtained.

【0041】このようにして得た交差点ヒストグラムに
おいて、最大値をとるa点と、2番目に大きい値をとる
b点とを結ぶ直線、すなわち図6(A)における直線L
1を線分として抽出し、その端点座標等を出力する。
In the intersection histogram thus obtained, a straight line connecting the point a having the maximum value and the point b having the second largest value, that is, the straight line L in FIG. 6A.
1 is extracted as a line segment, and the end point coordinates and the like are output.

【0042】<実施例2>ここでは、図7に示すエッジ
候補点画像が、線分抽出部106に入力したものとして
説明する。図7において、黒点がエッジ候補点を意味す
る。なお、この画像の例は正方形の枠(画像の端点)を
持つが、任意の多角形枠を持つ画像についても同様に処
理してよい。
<Embodiment 2> Here, it is assumed that the edge candidate point image shown in FIG. 7 is input to the line segment extracting unit 106. In FIG. 7, black points mean edge candidate points. Although the example of this image has a square frame (end points of the image), an image having an arbitrary polygonal frame may be processed in the same manner.

【0043】線分抽出部106において、まず、エッジ
候補点画像上の全ての2点の組み合わせについて、2点
間を結ぶ直線と、エッジ候補点画像の端点とが交差する
点を求め、交差点の出現回数のヒストグラムを、エッジ
候補点画像の辺A,B,C,Dそれぞれ毎に作成する。
In the line segment extracting unit 106, first, for all combinations of two points on the edge candidate point image, a point at which the straight line connecting the two points and the end point of the edge candidate point image intersect is obtained, and the intersection point A histogram of the number of appearances is created for each side A, B, C, D of the edge candidate point image.

【0044】次に、交差点ヒストグラムの最大値をとる
点と、その点の存在する辺以外の辺の中で、ヒストグラ
ムの最大値をとる点とを結ぶ線分を抽出し、その端点座
標等を出力する。
Next, a line segment connecting the point having the maximum value of the intersection histogram and the point having the maximum value of the histogram is extracted from the sides other than the side where the point exists, and the coordinates of the end points are extracted. Output.

【0045】図8は、この線分抽出の説明図である。図
7のエッジ候補点画像に対して、図8(B)に示すよう
な交差点ヒストグラムが得られたとする。交差点ヒスト
グラムの最大値をとる点は辺A上のa点である。a点が
存在しない辺B,C,Dの中でヒストグラムが最大値を
とる点は辺B上のc点である。したがって、この例で
は、a点とc点を結ぶ直線、すなわち図8(A)におけ
る直線L1が線分として抽出されることになる。
FIG. 8 is an explanatory diagram of this line segment extraction. It is assumed that an intersection histogram as shown in FIG. 8B is obtained for the edge candidate point image of FIG. The point having the maximum value in the intersection histogram is the point a on the side A. Among the sides B, C, and D where the point a does not exist, the point where the histogram has the maximum value is the point c on the side B. Therefore, in this example, the straight line connecting the points a and c, that is, the straight line L1 in FIG. 8A is extracted as the line segment.

【0046】<実施例3>ここでは、図7に示すエッジ
候補点画像が線分抽出部106に入力したものとする。
<Third Embodiment> Here, it is assumed that the edge candidate point image shown in FIG. 7 is input to the line segment extracting unit 106.

【0047】線分抽出部106において、まず、エッジ
候補点画像上の全ての2点の組み合わせについて、前記
実施例2と同様に、2点間を結ぶ直線と、エッジ候補点
画像の端点とが交差する点を求め、交差点の出現回数の
ヒストグラム(交差点ヒストグラムαと呼ぶ)を、エッ
ジ候補点画像の辺A,B,C,Dそれぞれ毎に作成す
る。ここでは、図9(B)に示す交差点ヒストグラムα
が得られたとする。
In the line segment extracting unit 106, first, for all combinations of two points on the edge candidate point image, the straight line connecting the two points and the end point of the edge candidate point image, as in the second embodiment. Intersection points are obtained, and a histogram of the number of appearances of intersections (referred to as intersection histogram α) is created for each side A, B, C, D of the edge candidate point image. Here, the intersection histogram α shown in FIG.
Is obtained.

【0048】次に、エッジ候補点画像中の2点を結ぶ直
線のうち、交差点ヒストグラムαの最大値をとる点、こ
こではa点を通る直線について、エッジ候補点画像の端
点と交差する点の出現回数のヒストグラム(交差点ヒス
トグラムβと呼ぶ)を作成する。図10は、その説明図
である。
Next, of the straight lines connecting the two points in the edge candidate point image, the point having the maximum value of the intersection histogram α, here, the straight line passing through the point a, of the points intersecting the end points of the edge candidate point image. A histogram of the number of appearances (called an intersection histogram β) is created. FIG. 10 is an explanatory diagram thereof.

【0049】図10(A)において、点p1,p2を通
過する直線L1はa点を通過するので、そのエッジ候補
点画像の端点との交差点であるa点,e点のヒストグラ
ムをインクリメントする。一方、点p3,p4を通過す
る直線L2はa点を通過しないので、そのエッジ候補点
画像の端点との交差点のヒストグラムを更新しない。同
様の操作を繰り返すことによって、ここでは図10
(B)に示す交差点ヒストグラムβが得られたとする。
In FIG. 10A, since the straight line L1 passing through the points p1 and p2 passes through the point a, the histograms of the points a and e which are the intersections with the end points of the edge candidate point image are incremented. On the other hand, since the straight line L2 passing through the points p3 and p4 does not pass through the point a, the histogram of the intersection with the end point of the edge candidate point image is not updated. By repeating the same operation, here, FIG.
It is assumed that the intersection histogram β shown in (B) is obtained.

【0050】最後に、以上のようにして得た交差点ヒス
トグラムβの最大値をとる点と、この点と別の辺上で2
番目に大きい値をとる点とを結ぶ直線、ここではa点と
c点とを結ぶ直線であるが、これを線分として抽出し、
その端点座標等のデータを出力する。
Finally, the point at which the maximum value of the intersection histogram β obtained as described above is taken, and 2 on the side different from this point.
A straight line connecting the point with the second largest value, here a straight line connecting the points a and c, is extracted as a line segment,
Data such as the end point coordinates are output.

【0051】<実施例4>ここでは、図7に示すエッジ
候補点画像が線分抽出部106に入力したとものとす
る。
<Embodiment 4> Here, it is assumed that the edge candidate point image shown in FIG. 7 is input to the line segment extracting unit 106.

【0052】線分抽出部106において、まず、エッジ
候補点画像上の全ての2点の組み合わせについて、前記
実施例2と同様に、2点間を結ぶ直線と、エッジ候補点
画像の端点とが交差する点を求め、交差点の出現回数の
ヒストグラム(交差点ヒストグラムαと呼ぶ)を、エッ
ジ候補点画像の辺A,B,C,Dそれぞれ毎に作成す
る。ここでは、図9(B)に示す交差点ヒストグラムα
が得られたとする。
In the line segment extraction unit 106, first, for all combinations of two points on the edge candidate point image, the straight line connecting the two points and the end points of the edge candidate point image, as in the second embodiment. Intersection points are obtained, and a histogram of the number of appearances of intersections (referred to as intersection histogram α) is created for each side A, B, C, D of the edge candidate point image. Here, the intersection histogram α shown in FIG.
Is obtained.

【0053】次に、エッジ候補点画像中の2点を結ぶ直
線のうち、交差点ヒストグラムαの最大値をとる点、こ
こではa点を通る直線について、このa点が含まれる辺
以外の辺(ここでは辺B,C,D)と交差する点の出現
回数のヒストグラム(交差点ヒストグラムβと呼ぶ)を
作成する。図11は、その説明図である。
Next, among the straight lines connecting the two points in the edge candidate point image, the point having the maximum value of the intersection histogram α, in this case, the straight line passing through the point a, the sides other than the side including the point a ( Here, a histogram (referred to as an intersection histogram β) of the number of appearances of points intersecting the sides B, C, and D) is created. FIG. 11 is an explanatory diagram thereof.

【0054】図11(A)において、点p1,p2を通
過する直線L1はa点を通過するので、そのエッジ候補
点画像の端点との交差点であるe点のヒストグラムをイ
ンクリメントする。ただし、a点については、辺A上の
点であるので、ヒストグラムを作成しない。一方、点p
3,p4を通過する直線L2はa点を通過しないので、
ヒストグラムを更新しない。同様の操作を繰り返すこと
によって、ここでは図10(B)に示す交差点ヒストグ
ラムβが得られたとする。
In FIG. 11A, since the straight line L1 passing through the points p1 and p2 passes through the point a, the histogram of the point e which is the intersection with the end point of the edge candidate point image is incremented. However, since the point a is a point on the side A, the histogram is not created. On the other hand, point p
Since the straight line L2 passing through 3 and p4 does not pass through the point a,
Do not update the histogram. It is assumed that the intersection histogram β shown in FIG. 10B is obtained by repeating the same operation.

【0055】最後に、交差点ヒストグラムα(図9
(B))の最大値をとるa点と、交差点ヒストグラムβ
の最大値をとる点、ここではc′点とを結ぶ線分を抽出
し、その端点座標等のデータを出力する。
Finally, the intersection histogram α (see FIG. 9)
(A) which takes the maximum value in (B)) and the intersection histogram β
The line segment connecting the point having the maximum value of, the point c'here, is extracted, and the data of the end point coordinates and the like is output.

【0056】<実施例5>ここでは、図7に示すエッジ
候補点画像が線分抽出部106に入力したものとする。
<Fifth Embodiment> Here, it is assumed that the edge candidate point image shown in FIG. 7 is input to the line segment extracting unit 106.

【0057】線分抽出部106において、まず、前記実
施例3と同じ処理によって、1本目の線分、ここではa
点とc点を結ぶ線分(1)を抽出する。この抽出処理に
ついての説明は省略する。
In the line segment extraction unit 106, first, the same process as in the third embodiment is performed, and the first line segment, here, a
A line segment (1) connecting the point and the point c is extracted. A description of this extraction processing is omitted.

【0058】この1本目の線分(1)の抽出の際に得ら
れた交差点ヒストグラムαから、線分(1)に対応する
部分を削除する。図12はその説明図である。
The portion corresponding to the line segment (1) is deleted from the intersection histogram α obtained when the first line segment (1) is extracted. FIG. 12 is an explanatory diagram thereof.

【0059】すなわち、この例では図12(A)に示す
交差点ヒストグラムαが得られているが、このヒストグ
ラムより、1本目の線分の一方の端点であるa点から両
側の極小値をとる点、ここではe点とf点を求め、両点
の間のヒストグラムを削除する。同様に、1本目の線分
(1)のもう一方の端点であるc点から両側の極小点、
ここではg点とh点を求め、両点の間のヒストグラムを
削除する。
That is, in this example, the intersection histogram α shown in FIG. 12 (A) is obtained. From this histogram, points that take local minimum values on both sides from point a, which is one end point of the first line segment. , Here, the points e and f are obtained, and the histogram between these points is deleted. Similarly, from the point c, which is the other end point of the first line segment (1), the minimum points on both sides,
Here, g point and h point are obtained, and the histogram between both points is deleted.

【0060】このようにして交差点ヒストグラムαを修
正することによって、図12(B)に示す交差点ヒスト
グラムγが得られる。
By correcting the intersection histogram α in this manner, the intersection histogram γ shown in FIG. 12B is obtained.

【0061】次に、交差点ヒストグラムαを修正した交
差点ヒストグラムγを、改めて交差点ヒストグラムαと
して用い、1本目の線分と同様の処理によって2本目の
線分を抽出する。ここでは、エッジ候補点画像中の2点
を結ぶ直線のうち、交差点ヒストグラムγの最大値をと
るb点を通る直線と、エッジ候補点画像の端点との交差
点の出現回数のヒストグラム、すなわち図10(B)に
示した交差点ヒストグラムβに対応するヒストグラムを
作成し、その最大値をとる点と、この点が存在する辺以
外の辺上にある2番目に大きな値をとる点とを結ぶ線分
を2番目の線分(2)として抽出する。この例では、図
12(B)に示すb点とd点を結ぶ線分が2本目の線分
として抽出されることになろう。
Next, the intersection histogram γ obtained by correcting the intersection histogram α is used again as the intersection histogram α, and the second line segment is extracted by the same process as the first line segment. Here, of the straight lines connecting the two points in the edge candidate point image, a histogram of the number of appearances of intersections between the straight line passing through the point b having the maximum value of the intersection histogram γ and the end point of the edge candidate point image, that is, FIG. A histogram corresponding to the intersection histogram β shown in (B) is created, and a line segment that connects the point having the maximum value and the point having the second largest value on the side other than the side where this point exists Is extracted as the second line segment (2). In this example, the line segment connecting the points b and d shown in FIG. 12B would be extracted as the second line segment.

【0062】<実施例6>ここでは、図7に示すエッジ
候補点画像が線分抽出部106に入力したものとする。
<Sixth Embodiment> Here, it is assumed that the edge candidate point image shown in FIG. 7 is input to the line segment extracting unit 106.

【0063】線分抽出部106において、まず、前記実
施例3と同じ処理により、1本目の線分、ここではa点
とc点を結ぶ線分(1)を抽出する。この抽出処理につ
いての説明は省略する。
In the line segment extracting unit 106, first, the same process as in the third embodiment is performed to extract the first line segment, here the line segment (1) connecting the points a and c. A description of this extraction processing is omitted.

【0064】次に、2本目の線分(2)の抽出を行な
う。図13はその説明図である。図13の(A)及び
(B)は、1本目の線分(1)の抽出の際に得られた交
差点ヒストグラムα及び交差点ヒストグラムβを示して
いる。
Next, the second line segment (2) is extracted. FIG. 13 is an explanatory diagram thereof. FIGS. 13A and 13B show the intersection histogram α and the intersection histogram β obtained when the first line segment (1) is extracted.

【0065】まず、交差点ヒストグラムαから交差点ヒ
ストグラムβを差し引いたヒストグラム(交差点ヒスト
グラムδと呼ぶ)を得る。ここでは、図13(C)に示
す交差点ヒストグラムδが得られる。
First, a histogram (referred to as an intersection histogram δ) obtained by subtracting the intersection histogram β from the intersection histogram α is obtained. Here, the intersection histogram δ shown in FIG. 13C is obtained.

【0066】そして、この交差点ヒストグラムδを、改
めて交差点ヒストグラムαとして用い、1本目の線分と
同様の処理によって2本目の線分を抽出する。ここで
は、エッジ候補点画像中の2点を結ぶ直線のうち、交差
点ヒストグラムδの最大値をとるb点を通る直線と、エ
ッジ候補点画像の端点との交差点の出現回数のヒストグ
ラム、すなわち図10(B)に示した交差点ヒストグラ
ムβに対応するヒストグラムを作成し、その最大値をと
る点と、この点が存在する辺以外の辺上にある2番目に
大きな値をとる点とを結ぶ線分を2番目の線分(2)と
して抽出する。この例では、図13(C)に示すb点と
d点を結ぶ線分が2本目の線分として抽出されることに
なろう。
Then, this intersection histogram δ is used again as an intersection histogram α, and the second line segment is extracted by the same processing as the first line segment. Here, of the straight lines connecting the two points in the edge candidate point image, a histogram of the number of appearances of the intersections between the straight line passing through the point b having the maximum value of the intersection histogram δ and the end point of the edge candidate point image, that is, FIG. A histogram corresponding to the intersection histogram β shown in (B) is created, and a line segment that connects the point having the maximum value and the point having the second largest value on the side other than the side where this point exists Is extracted as the second line segment (2). In this example, the line segment connecting points b and d shown in FIG. 13C would be extracted as the second line segment.

【0067】なお、本実施例において、1本目の線分の
抽出の際に得られた交差点ヒストグラムαの最大値をと
った点が存在する辺について、そのヒストグラムより抽
出した線分に相当するヒストグラムを差し引いたヒスト
グラムを当該辺についての修正後のヒストグラムα(図
13(C)のヒストグラムδに相当)とし、その他の辺
についてはヒストグラムαよりヒストグラムβを差し引
いた残りのヒストグラムを修正後のヒストグラムα(図
13(C)のヒストグラムδに相当)として、同様の2
本目の線分抽出を行なうように変形することも可能であ
る。
It should be noted that in the present embodiment, the side corresponding to the line segment extracted from the histogram for the side where the point having the maximum value of the intersection histogram α obtained at the time of extracting the first line segment exists. The histogram obtained by subtracting is used as the corrected histogram α (corresponding to the histogram δ in FIG. 13C) for the relevant side, and for the other sides, the remaining histogram obtained by subtracting the histogram β from the histogram α is the corrected histogram α. As (corresponding to the histogram δ in FIG. 13C), the same 2
It is also possible to modify so as to perform the line segment extraction of the real line.

【0068】<実施例7>ここでは、図7に示すエッジ
候補点画像が線分抽出部106に入力したものとする。
<Embodiment 7> Here, it is assumed that the edge candidate point image shown in FIG. 7 is input to the line segment extracting unit 106.

【0069】線分抽出部106において、まず、前記実
施例3と同じ処理によって、1本目の線分、ここではa
点とc点を結ぶ線分(1)を抽出する。この抽出処理に
ついての説明は省略する。
In the line segment extraction unit 106, first, the same process as in the third embodiment is performed, and the first line segment, here, a
A line segment (1) connecting the point and the point c is extracted. A description of this extraction processing is omitted.

【0070】この1本目の線分(1)の抽出の際に得ら
れた交差点ヒストグラムαから、線分(1)に対応する
部分を削除する。図12はその説明図である。
The portion corresponding to the line segment (1) is deleted from the intersection histogram α obtained when the first line segment (1) is extracted. FIG. 12 is an explanatory diagram thereof.

【0071】すなわち、この例では図12(A)に示す
交差点ヒストグラムαが得られているが、このヒストグ
ラムより、1本目の線分の一方の端点であるa点から両
側の極小値をとる点、ここではe点とf点を求め、両点
の間のヒストグラムを削除する。同様に、1本目の線分
(1)のもう一方の端点であるc点から両側の極小点、
ここではg点とh点を求め、両点間のヒストグラムを削
除する。
That is, in this example, the intersection histogram α shown in FIG. 12 (A) is obtained. From this histogram, points that take local minimum values on both sides from point a, which is one end point of the first line segment, are obtained. , Here, the points e and f are obtained, and the histogram between these points is deleted. Similarly, from the point c, which is the other end point of the first line segment (1), the minimum points on both sides,
Here, g point and h point are obtained, and the histogram between both points is deleted.

【0072】このようにして交差点ヒストグラムαを修
正することによって、図12(B)に示す交差点ヒスト
グラムγが得られる。
By correcting the intersection histogram α in this manner, the intersection histogram γ shown in FIG. 12B is obtained.

【0073】次に、交差点ヒストグラムαを修正した交
差点ヒストグラムγの最大値mが、予め定められた閾値
Thより大きいか調べ、m>Thならば、引き続き処理
を続行する。
Next, it is checked whether the maximum value m of the intersection histogram γ obtained by modifying the intersection histogram α is larger than a predetermined threshold Th, and if m> Th, the processing is continued.

【0074】ここでは、図12(B)に示す交差点ヒス
トグラムγが得られ、その最大値mは223(b点)で
ある。Th=200とすると、m>Thであるので、引
き続き処理を行なう。
Here, the intersection histogram γ shown in FIG. 12B is obtained, and its maximum value m is 223 (point b). When Th = 200, m> Th, and therefore the processing is continued.

【0075】すなわち、図12(B)の交差点ヒストグ
ラムγを改めて交差点ヒストグラムαとし、その最大値
をとる点、ここではb点を通る2点を結ぶ直線につい
て、エッジ候補点画像の端点との交差点の出現回数のヒ
ストグラムを作成し、その最大値をとる点と、2番目に
大きい値をとる点とを結ぶ線分を2本目の線分(2)と
して抽出する。図14はその説明図である。
That is, the intersection histogram γ shown in FIG. 12B is set again as an intersection histogram α, and a point having the maximum value thereof, here, a straight line connecting two points passing through the point b, intersects with the end point of the edge candidate point image. A histogram of the number of appearances of is generated, and the line segment connecting the point having the maximum value and the point having the second largest value is extracted as the second line segment (2). FIG. 14 is an explanatory diagram thereof.

【0076】図14(A)において、点p1,p2を通
過する直線L1はb点を通過するので、エッジ候補点画
像の端点との交差点であるb点,k点のヒストグラムを
インクリメントする。一方、点p3,p4を通過する直
線L2はb点を通過しないので、ヒストグラムの更新を
行なわない。このようにして図14(B)に示す交差点
ヒストグラムβが得られたとする。この場合、最大値を
とるb点と、2番目に大きい値をとるd点とを結ぶ線分
が2本目の線分(2)として抽出される。
In FIG. 14A, since the straight line L1 passing through the points p1 and p2 passes through the point b, the histograms of the points b and k which are the intersections with the end points of the edge candidate point image are incremented. On the other hand, since the straight line L2 passing through the points p3 and p4 does not pass through the point b, the histogram is not updated. It is assumed that the intersection histogram β shown in FIG. 14B is obtained in this way. In this case, the line segment connecting the point b having the maximum value and the point d having the second largest value is extracted as the second line segment (2).

【0077】このようにして線分(2)を抽出した後、
その時点での交差点ヒストグラムα、つまり、ここでは
図12(B)の交差点ヒストグラムγについて、線分
(2)の端点の両側の極小値をとる点の間を削除し、修
正された交差点ヒストグラムを作成する。図15はその
説明図である。
After extracting the line segment (2) in this way,
Regarding the intersection histogram α at that time, that is, the intersection histogram γ in FIG. 12B, the points between the minimum values on both sides of the end point of the line segment (2) are deleted, and the corrected intersection histogram is obtained. create. FIG. 15 is an explanatory diagram thereof.

【0078】図15(A)は、線分(2)を抽出した段
階での交差点ヒストグラムα(これは図12(B)に示
す交差点ヒストグラムγと同じ)である。この交差点ヒ
ストグラムより、線分(2)の端点bの両側の極小値を
とる2点間と、線分(2)の他方の端点dの両側の極小
値をとる2点間を削除することにより、図15(B)に
示す交差点ヒストグラムが得られる。このヒストグラム
の最大値mは20(i点)であり、これはTh=200
より小さいので、線分抽出処理は終了する。
FIG. 15A is an intersection histogram α at the stage when the line segment (2) is extracted (this is the same as the intersection histogram γ shown in FIG. 12B). From this intersection histogram, by deleting between the two points having the minimum values on both sides of the end point b of the line segment (2) and the two points having the minimum values on both sides of the other end point d of the line segment (2), , The intersection histogram shown in FIG. 15 (B) is obtained. The maximum value m of this histogram is 20 (point i), which is Th = 200.
Since it is smaller, the line segment extraction process ends.

【0079】もし、m>Thであれば、図15(B)の
交差点ヒストグラムを改めて交差点ヒストグラムαとし
て利用し、同様の線分抽出処理を続ける。すなわち、こ
の交差点ヒストグラムαの最大値をとる点を通過する直
線について、交差点ヒストグラムβを作成し、その最大
値をとる点と2番目に大きい値をとる点とを結ぶ線分
を、次の線分として抽出する。以下、m>Thである
間、同様の処理を続ける。
If m> Th, the intersection histogram of FIG. 15B is used again as the intersection histogram α, and the similar line segment extraction processing is continued. That is, the intersection histogram β is created for a straight line passing through the point having the maximum value of the intersection histogram α, and the line segment connecting the point having the maximum value and the point having the second largest value is defined as the next line. Extract as minutes. Hereinafter, similar processing is continued while m> Th.

【0080】<実施例8>線分抽出部106では、第1
段階として、前記実施例3(または前記の他の実施例)
と同様の処理によって線分を抽出する。このようにして
抽出された線分の端点は、いずれもエッジ候補点画像の
端点と等しいものとしている。本実施例では、線分抽出
部106において、第2段階として、第1段階で抽出し
た線分の端点を確定する処理を行なう。図16はその説
明図である。
<Embodiment 8> In the line segment extraction unit 106, the first
As a step, the embodiment 3 (or the other embodiment described above)
A line segment is extracted by the same processing as. The endpoints of the line segments extracted in this way are all equal to the endpoints of the edge candidate point image. In the present embodiment, the line segment extracting unit 106 performs the process of determining the end points of the line segment extracted in the first stage as the second stage. FIG. 16 is an explanatory diagram thereof.

【0081】図16(A)に示すa点とc点を端点とす
る線分Lが、第1段階で抽出された線分である。第2段
階では、この線分Lの上のエッジ候補点の座標のヒスト
グラムを作成する。そして、このヒストグラムの最大値
の90パーセントの値を持つ座標を検出し、それを線分
の端点とする。すなわち、図16(B)に示すヒストグ
ラムが得られた場合、j点とk点を線分Lの端点として
検出する。換言すれば、j点とk点を端点とする線分を
最終的に抽出する。
The line segment L having the end points a and c as shown in FIG. 16A is the line segment extracted in the first stage. In the second stage, a histogram of the coordinates of the edge candidate points on this line segment L is created. Then, the coordinates having a value of 90% of the maximum value of this histogram are detected and used as the end points of the line segment. That is, when the histogram shown in FIG. 16B is obtained, the points j and k are detected as the end points of the line segment L. In other words, a line segment whose end points are the points j and k is finally extracted.

【0082】なお、本実施例では、第1段階で抽出した
線分上のエッジ候補点のヒストグラムを用いたが、例え
ば、抽出した線分との距離が、ある一定の閾値以下の帯
領域内(図16(A)に破線で示した領域内)のエッジ
候補点についてヒストグラムを作成し、このヒストグラ
ムより同様にして端点を検出してもよい。
In this embodiment, the histogram of the edge candidate points on the line segment extracted in the first step is used. For example, in the band area where the distance from the extracted line segment is less than a certain threshold value. It is also possible to create a histogram for the edge candidate points (inside the area indicated by the broken line in FIG. 16A) and detect the end points in the same manner from this histogram.

【0083】さらに、交差点のヒストグラムから抽出さ
れた線分に対応する部分を抽出し、そのヒストグラムに
対応するエッジ候補点のヒストグラムを端点検出に用い
ることもできる。
Further, it is also possible to extract the portion corresponding to the line segment extracted from the intersection histogram and use the histogram of the edge candidate points corresponding to the histogram for the end point detection.

【0084】[0084]

【発明の効果】以上、説明したように、本発明によれば
次のような効果を得られる。
As described above, according to the present invention, the following effects can be obtained.

【0085】請求項1乃至10の発明によれば、画像中
の点の集合を表わす線分を精度よく抽出することができ
る。また、基準軸を用いない方法であるので、特定の方
向の線分の抽出が不可能になったり、あるいは抽出精度
が極端に悪化するといった不都合も避けられる。画像中
の2点間を結ぶ直線と画像の端点との交差する点の出現
頻度を表わす2次元のヒストグラムを用いるため、ヒス
トグラム作成のためのメモリのサイズを小さくでき、そ
のアクセスのための時間も短くできるため処理時間も高
速化できる。
According to the first to tenth aspects of the present invention, the line segment representing the set of points in the image can be accurately extracted. Further, since the method does not use the reference axis, it is possible to avoid inconvenience that it becomes impossible to extract a line segment in a specific direction, or the extraction accuracy is extremely deteriorated. Since a two-dimensional histogram representing the frequency of appearance of a point where a straight line connecting two points in an image and an end point of the image appear is used, the memory size for creating the histogram can be reduced and the time required for accessing the histogram can be reduced. Since it can be shortened, the processing time can be shortened.

【0086】請求項3または4の発明によれば、2段階
のヒストグラム作成を行なうことによって1次元ヒスト
グラムを用いる方法の弱点を補い、2本以上の線分の逐
次的抽出を目的とした場合にも、確実な線分抽出が可能
になる。
According to the third or fourth aspect of the invention, the weakness of the method of using the one-dimensional histogram is compensated by creating the histogram in two steps, and the purpose is to sequentially extract two or more line segments. Also, reliable line segment extraction is possible.

【0087】請求項5乃至10の発明の方法によれば、
画像中の点の集合を表わす線分を2本以上、逐次的に抽
出することができる。
According to the methods of the inventions of claims 5 to 10,
Two or more line segments representing a set of points in the image can be sequentially extracted.

【0088】請求項5、6または9の発明によれば、前
の線分の抽出のためのヒストグラムαまたはβから次の
線分の抽出のためのヒストグラムαを簡単な演算処理で
作成することにより、ヒストグラム作成のための処理時
間を削減し、線分抽出処理の効率を上げることができ
る。
According to the fifth, sixth or ninth aspect of the present invention, the histogram α for extracting the next line segment can be created from the histogram α or β for extracting the previous line segment by a simple calculation process. As a result, the processing time for creating the histogram can be reduced and the efficiency of the line segment extraction processing can be improved.

【0089】請求項7または8の発明によれば、ヒスト
グラムの最大値と閾値との比較結果をもとに、抽出すべ
き線分だけを抽出するように処理の終了を制御すること
ができる。
According to the invention of claim 7 or 8, it is possible to control the end of the processing so as to extract only the line segment to be extracted based on the comparison result of the maximum value of the histogram and the threshold value.

【0090】請求項10の発明によれば、画像中の点の
集合を表わす線分の、より正確な端点を検出することが
できる。
According to the tenth aspect of the invention, it is possible to detect a more accurate end point of a line segment representing a set of points in an image.

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

【図1】各実施例のためのシステム構成の一例を示す。FIG. 1 shows an example of a system configuration for each embodiment.

【図2】輝度画像のエッジ候補点を検出するための2次
差分マスクの一例を示す。
FIG. 2 shows an example of a quadratic difference mask for detecting edge candidate points in a luminance image.

【図3】輝度画像の輝度値配列の一例を示す。FIG. 3 shows an example of a brightness value array of a brightness image.

【図4】輝度画像の輝度値配列の一例を示す。FIG. 4 shows an example of a brightness value array of a brightness image.

【図5】エッジ候補点画像の一例を示す。FIG. 5 shows an example of an edge candidate point image.

【図6】(A)実施例1におけるエッジ候補点画像中の
2点を結ぶ直線と画像の端点との交差する点のヒストグ
ラムの作成の説明図である。 (B)実施例1において作成される交差点ヒストグラム
を示す。
FIG. 6A is an explanatory diagram of creating a histogram of points at which a straight line connecting two points in an edge candidate point image and an end point of the image intersect with each other in the first embodiment. (B) shows an intersection histogram created in Example 1.

【図7】エッジ候補点画像の一例を示す。FIG. 7 shows an example of an edge candidate point image.

【図8】(A)実施例2におけるエッジ候補点画像中の
点の集合を表わす線分の説明図である。 (B)実施例2において作成される交差点ヒストグラム
を示す。
FIG. 8A is an explanatory diagram of a line segment representing a set of points in an edge candidate point image according to the second embodiment. (B) shows an intersection histogram created in Example 2.

【図9】(A)実施例3におけるエッジ候補点画像中の
点の集合を表わす線分の説明図である。 (B)実施例3において作成される交差点ヒストグラム
αを示す。
FIG. 9A is an explanatory diagram of a line segment representing a set of points in an edge candidate point image according to the third embodiment. (B) shows an intersection histogram α created in the third embodiment.

【図10】(A)実施例3におけるエッジ候補点画像中
の点の集合を表わす線分及び交差点ヒストグラムβの作
成の説明のための図である。 (B)実施例3において作成される交差点ヒストグラム
βを示す。
FIG. 10A is a diagram for explaining creation of a line segment and an intersection histogram β representing a set of points in an edge candidate point image according to the third embodiment. (B) shows an intersection histogram β created in Example 3.

【図11】(A)実施例4におけるエッジ候補点画像中
の点の集合を表わす線分及び交差点ヒストグラムβの作
成の説明のための図である。 (B)実施例4において作成される交差点ヒストグラム
βを示す。
FIG. 11A is a diagram for explaining generation of a line segment and an intersection histogram β representing a set of points in an edge candidate point image in the fourth embodiment. (B) shows an intersection histogram β created in the fourth embodiment.

【図12】(A)実施例5において1本目の線分抽出の
際に作成された交差点ヒストグラムαを示す。 (B)実施例5において、交差点ヒストグラムαを修正
した交差点ヒストグラムγを示す。
FIG. 12A shows an intersection histogram α created at the time of extracting the first line segment in the fifth embodiment. (B) In Example 5, an intersection histogram γ obtained by modifying the intersection histogram α is shown.

【図13】(A)実施例6において、1本目の線分抽出
の際に作成された交差点ヒストグラムαを示す。 (B)実施例6において、1本目の線分抽出の際に作成
された交差点ヒストグラムβを示す。 (C)実施例6において、交差点ヒストグラムαから交
差点ヒストグラムβを差し引いて得られた交差点ヒスト
グラムδを示す。
FIG. 13A shows an intersection histogram α created at the time of extracting the first line segment in the sixth embodiment. (B) In the sixth embodiment, the intersection histogram β created when the first line segment is extracted is shown. (C) An intersection histogram δ obtained by subtracting the intersection histogram β from the intersection histogram α in Example 6 is shown.

【図14】(A)実施例7におけるエッジ候補点画像中
の点の集合を表わす線分と交差点ヒストグラムβの作成
の説明のための図である。 (B)実施例7において作成される交差点ヒストグラム
βを示す。
FIG. 14A is a diagram for explaining generation of a line segment representing a set of points in an edge candidate point image and an intersection histogram β according to the seventh embodiment. (B) shows an intersection histogram β created in Example 7.

【図15】(A)実施例7において、2本目の線分を抽
出した段階の交差点ヒストグラムαを示す。 (B)上記交差点ヒストグラムαより2本目の線分に相
当するヒストグラムを削除した残ったヒストグラムを示
す。
FIG. 15A shows an intersection histogram α at the stage when the second line segment is extracted in the seventh embodiment. (B) shows the remaining histogram obtained by deleting the histogram corresponding to the second line segment from the intersection histogram α.

【図16】(A)実施例8における線分上または線分の
一定距離内の点の座標のヒストグラムの作成を説明する
ための図である。 (B)実施例8において作成される線分上の点の座標の
ヒストグラムを示す。
FIG. 16A is a diagram for explaining creation of a histogram of coordinates of points on a line segment or within a certain distance of the line segment in the eighth embodiment. (B) A histogram of coordinates of points on a line segment created in Example 8 is shown.

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

100 カラー画像入力装置(カラースキャナ) 102 輝度算出部 104 エッジ候補点抽出部 106 線分抽出部 100 Color Image Input Device (Color Scanner) 102 Luminance Calculation Unit 104 Edge Candidate Point Extraction Unit 106 Line Segment Extraction Unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】画像中の点の集合から、その集合を代表す
る1つ以上の線分を抽出する方法であって、画像中の2
点を結ぶ全ての直線について画像の端点と交差する点の
ヒストグラムを作成し、ヒストグラムの最大値をとる点
と、2番目に大きな値をとる点とを結ぶ直線を線分とし
て抽出することを特徴とする線分抽出方法。
1. A method for extracting from a set of points in an image, one or more line segments representing the set, the method comprising:
A feature is that a histogram of points that intersect the end points of the image is created for all straight lines connecting points, and a straight line connecting the point having the maximum value of the histogram and the point having the second largest value is extracted as a line segment. The line segment extraction method.
【請求項2】複数の辺で囲まれた多角形の画像中の点の
集合から、その集合を代表する1つ以上の線分を抽出す
る方法であって、画像中の2点を結ぶ全ての直線につい
て画像の端点と交差する点のヒストグラムを作成し、作
成したヒストグラムの最大値をとる点と、該点を含まな
い辺についてのヒストグラムの最大値をとる点とを結ぶ
直線を線分として抽出することを特徴とする線分抽出方
法。
2. A method for extracting one or more line segments representing a set from a set of points in a polygonal image surrounded by a plurality of sides, and connecting all two points in the image. Create a histogram of the points that intersect the end points of the image for the straight line, and use the straight line that connects the point that takes the maximum value of the created histogram and the point that takes the maximum value of the histogram for the side that does not include the line A line segment extraction method characterized by extracting.
【請求項3】画像中の点の集合から、その集合を代表す
る1つ以上の線分を抽出する方法であって、画像中の2
点を結ぶ全ての直線について画像の端点と交差する点の
ヒストグラムαを作成し、このヒストグラムαの最大値
をとる点を通る全ての直線について画像の端点と交差す
る点のヒストグラムβを作成し、このヒストグラムβの
最大値をとる点と2番目に大きい値をとる点とを結ぶ直
線を線分として抽出することを特徴とする線分抽出方
法。
3. A method for extracting one or more line segments representing a set from a set of points in the image, the method comprising:
Create a histogram α of points that intersect the end points of the image for all straight lines connecting points, and create a histogram β of points that intersect the end points of the image for all straight lines that pass through the points that take the maximum value of this histogram α. A line segment extracting method, characterized in that a straight line connecting a point having the maximum value and a point having the second largest value of the histogram β is extracted as a line segment.
【請求項4】複数の辺で囲まれた多角形の画像中の点の
集合から、その集合を代表する1つ以上の線分を抽出す
る方法であって、画像中の2点を結ぶ全ての直線につい
て画像の端点と交差する点のヒストグラムαを作成し、
このヒストグラムαの最大値をとる点を通る全ての直線
の画像の端点と交差する点のヒストグラムβを、該点を
含まない辺について作成し、ヒストグラムαの最大値を
とる点とヒストグラムβの最大値をとる点とを結ぶ直線
を線分として抽出することを特徴とする線分抽出方法。
4. A method for extracting one or more line segments representing a set from a set of points in a polygonal image surrounded by a plurality of sides, and connecting all two points in the image. Create a histogram α of points that intersect the end points of the image for the line
Create a histogram β of points that intersect the end points of the image of all the straight lines that pass through the point where the maximum value of this histogram α is obtained, for the side that does not include this point, and set the maximum value of the histogram α and the maximum of the histogram β. A line segment extracting method, which is characterized in that a straight line connecting a value-taking point is extracted as a line segment.
【請求項5】請求項3または4項記載の線分抽出方法に
おいて、1本の線分を抽出した際に作成したヒストグラ
ムαより、抽出した線分に相当するヒストグラムを削除
し、残ったヒストグラムを用いて次の線分を前に抽出し
た線分と同様の方法により抽出することを特徴とする線
分抽出方法。
5. The line segment extraction method according to claim 3, wherein the histogram corresponding to the extracted line segment is deleted from the histogram α created when one line segment is extracted, and the remaining histogram A line segment extraction method characterized in that the next line segment is extracted by using the same method as the previously extracted line segment.
【請求項6】請求項3または4記載の線分抽出方法にお
いて、1本の線分を抽出した際に作成したヒストグラム
αからヒストグラムβを差し引き、残ったヒストグラム
をヒストグラムαとして用い、次の線分を前に抽出した
線分と同様の方法により抽出することを特徴とする線分
抽出方法。
6. The line segment extraction method according to claim 3 or 4, wherein the histogram β is subtracted from the histogram α created when one line segment is extracted, and the remaining histogram is used as the histogram α, and the next line A line segment extraction method, characterized in that a segment is extracted by the same method as the line segment extracted previously.
【請求項7】請求項5記載の線分抽出方法において、ヒ
ストグラムαから抽出した線分に相当するヒストグラム
を削除して残ったヒストグラムの最大値がある所定の閾
値より小さくなった場合に、線分の抽出処理を終了する
ことを特徴とする線分抽出方法。
7. The line segment extracting method according to claim 5, wherein when the histogram corresponding to the line segment extracted from the histogram α is deleted and the maximum value of the remaining histogram is smaller than a predetermined threshold value, the line is extracted. A line segment extraction method characterized by terminating the extraction process of the minutes.
【請求項8】請求項6記載の線分抽出方法において、ヒ
ストグラムαからヒストグラムβを差し引いて残ったヒ
ストグラムの最大値がある所定の閾値より小さくなった
場合に、線分の抽出処理を終了することを特徴とする線
分抽出方法。
8. The line segment extracting method according to claim 6, wherein when the maximum value of the remaining histogram obtained by subtracting the histogram β from the histogram α becomes smaller than a predetermined threshold value, the line segment extracting process is terminated. A line segment extraction method characterized by the above.
【請求項9】請求項4記載の線分抽出方法において、ヒ
ストグラムαの最大値をとる点が含まれる辺について
は、抽出された線分に相当するヒストグラムをヒストグ
ラムαより削除し、残ったヒストグラムを改めてヒスト
グラムαとして用い、ヒストグラムαの最大値をとる点
が含まれない辺については、ヒストグラムαよりヒスト
グラムβを差し引いて残ったヒストグラムを改めてヒス
トグラムαとして用い、次の線分を前に抽出した線分と
同様の方法によって抽出することを特徴とする線分抽出
方法。
9. The line segment extracting method according to claim 4, wherein for a side including a point having the maximum value in the histogram α, the histogram corresponding to the extracted line segment is deleted from the histogram α, and the remaining histogram Is again used as the histogram α, and for the side that does not include the point having the maximum value of the histogram α, the histogram β is subtracted from the histogram α, and the remaining histogram is used again as the histogram α, and the next line segment is extracted before. A line segment extraction method characterized by extracting in the same manner as a line segment.
【請求項10】請求項1乃至9のいずれか1項記載の線
分抽出方法において、抽出した線分に対応する画像中の
点の座標のヒストグラムを作成し、このヒストグラムよ
り線分の端点を検出することを特徴とする線分抽出方
法。
10. The line segment extracting method according to claim 1, wherein a histogram of coordinates of points in the image corresponding to the extracted line segment is created, and the end points of the line segment are extracted from the histogram. A line segment extraction method characterized by detecting.
JP27245793A 1993-10-29 1993-10-29 Line segment extraction method Expired - Fee Related JP3344791B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27245793A JP3344791B2 (en) 1993-10-29 1993-10-29 Line segment extraction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27245793A JP3344791B2 (en) 1993-10-29 1993-10-29 Line segment extraction method

Publications (2)

Publication Number Publication Date
JPH07129767A true JPH07129767A (en) 1995-05-19
JP3344791B2 JP3344791B2 (en) 2002-11-18

Family

ID=17514187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27245793A Expired - Fee Related JP3344791B2 (en) 1993-10-29 1993-10-29 Line segment extraction method

Country Status (1)

Country Link
JP (1) JP3344791B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10748026B2 (en) 2015-10-09 2020-08-18 Ihi Corporation Line segment detection method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10748026B2 (en) 2015-10-09 2020-08-18 Ihi Corporation Line segment detection method

Also Published As

Publication number Publication date
JP3344791B2 (en) 2002-11-18

Similar Documents

Publication Publication Date Title
JPS60167069A (en) Pattern recognizer
CN112396050B (en) Image processing method, device and storage medium
JPH04346182A (en) Method, program product and system for identifying polygon
KR102316165B1 (en) Apparatus and method for generating attack image of deep learning based face recognition system
CN113139905B (en) Image stitching method, device, equipment and medium
US6728407B1 (en) Method for automatically determining trackers along contour and storage medium storing program for implementing the same
JPH03154177A (en) Curve approximating method for linear graphic
US5555314A (en) Fingerprint data processing method
JPH07129767A (en) Line segment sampling method
JP3585143B2 (en) Character string extraction method and device
JPH07101455B2 (en) Line detection method and apparatus
JP2817885B2 (en) Vectorization method
WO2022104552A1 (en) Finger vein image-based authentication method and apparatus, device and storage medium
JPH02244390A (en) Stroke extracting device
JPS60117374A (en) System for approximating polygonal line of linear graphic form
JP2005352623A (en) Pattern collation device, image quality verification method, and image quality verification program
Chen et al. A New Objective Evaluation Method on Image Edge Detection
JPH0362269A (en) Method and device for approximating line image
JPS61208183A (en) Connection system for line break of diagram form
JPH0528260A (en) Contour vector extraction system
KR20220007368A (en) System and method to recognize line objects in image drawings based on image processing
JP2646585B2 (en) Linear component detector
JPH04153889A (en) Line break part recognition device for line drawing
JP2935331B2 (en) Figure recognition device
JPH0434668A (en) Image processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080830

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080830

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090830

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090830

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100830

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees