JPH04303269A - Method and device for extracting contour line - Google Patents

Method and device for extracting contour line

Info

Publication number
JPH04303269A
JPH04303269A JP3093150A JP9315091A JPH04303269A JP H04303269 A JPH04303269 A JP H04303269A JP 3093150 A JP3093150 A JP 3093150A JP 9315091 A JP9315091 A JP 9315091A JP H04303269 A JPH04303269 A JP H04303269A
Authority
JP
Japan
Prior art keywords
image
contour line
line
contour
line segment
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.)
Pending
Application number
JP3093150A
Other languages
Japanese (ja)
Inventor
Michinao Terada
寺田 道直
Yoshihisa Ichihara
市原 義久
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.)
Okumura Corp
Original Assignee
Okumura Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Okumura Corp filed Critical Okumura Corp
Priority to JP3093150A priority Critical patent/JPH04303269A/en
Publication of JPH04303269A publication Critical patent/JPH04303269A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To extract an accurate and clear contour line even when the image of an intrinsic contour line can not be extracted from noise because of a small difference of brightness between the intrinsic contour line part and the noise part or an accurate contour line can not easily be reproduced because a reflectance on the surface of an object to be photographed is high and a belt-like wide countour line is generated with an over-brightness. CONSTITUTION:A belt-like image including a contour line is obtained by picking up (S1) an image having a specific contour line, many segments crossing the belt-like image on respective positions are set up (S2), the brightness levels of the segments on respective positions are sampled (S3) along the segments, the position indicating a maximum brightness level on each segment is regarded as a representative position, and respective representative positions on respective segments are successively connected to extract (S6) the outline.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、本来の輪郭線の部分の
明るさと、ノイズの部分の明るさとの明暗差が少なくて
、本来の輪郭線の画像をノイズから抽出しがたい画像の
場合や、撮影対象の表面の反射率が高くて、輪郭線が明
るすぎて帯状の幅のある輪郭線となって、正確な輪郭線
を再現し難い画像の場合にも、正確で鮮明な輪郭線を抽
出するための画像処理の技術に関するものである。
[Industrial Application Field] The present invention is applicable to images where there is a small difference in brightness between the brightness of the original outline and the brightness of the noise, making it difficult to extract the original outline from the noise. Accurate and clear contour lines can be obtained even in cases where the surface of the photographed object has a high reflectance and the contour line is too bright, resulting in a band-like and wide contour line, making it difficult to reproduce an accurate contour line. This invention relates to image processing technology for extracting .

【0002】0002

【従来の技術】上記分野に用いる従来の画像処理方法に
おいては、一定のスレッショルドレベルと比較して、そ
のレベル以上の信号は「1」とし、そのレベル未満の信
号は「0」とする2値化処理をすることによって、バッ
クグラウンドノイズを除去することが行われていた。こ
のような2値化処理だけでは、本来は連続した線状に表
れるべき画像であっても、暗い画像の部分は、バックグ
ラウンドノイズとの差が少ないので、とぎれとぎれの不
連続の画像となってしまうので、とぎれた線を繋ぐため
に膨張処理することが行われている。
BACKGROUND OF THE INVENTION In conventional image processing methods used in the above-mentioned fields, signals above a certain threshold level are treated as "1" and signals below that level are treated as "0". Background noise has been removed by processing. With just this kind of binarization processing, even if the image should originally appear as a continuous line, the dark parts of the image become discontinuous because there is little difference from the background noise. Therefore, dilation processing is performed to connect the broken lines.

【0003】その膨張処理とは、2値化した後の輪郭線
データを、その画素を中心にして放射状に膨張させ、隣
接する8個の画素まで取り込んで同一データとする。即
ち膨張させる。このような膨張処理を、線が繋がるまで
繰り返し行う。このとき、膨張処理の回数を少なくする
と、無駄な膨張をさせないので誤差は少ないが、輪郭線
が繋がらないと繰り返し回数を多くしなければならない
ので、処理時間がより長くなる。一方、膨張処理の回数
を多くすると処理時間が長くなるうえに、無駄な膨張に
より誤差が多くなる。
[0003] The expansion process is to expand the binarized contour line data radially around the pixel, and incorporate up to eight adjacent pixels into the same data. That is, it is expanded. This dilation process is repeated until the lines are connected. At this time, if the number of times of dilation processing is reduced, the error will be reduced because unnecessary dilation will not be performed, but if the contour lines are not connected, the number of repetitions will have to be increased, which will increase the processing time. On the other hand, increasing the number of times of expansion processing not only increases processing time but also increases errors due to unnecessary expansion.

【0004】また、上記膨張処理の結果によって、又は
本来は明確な細い線状に表れるべき画像であっても、幅
の広い画像となってしまう部分も多々あるので、細線化
処理することが行われている。その細線化処理とは、連
結している輪郭線データを外側から内側に向かって、画
像の輪郭線の幅が1画素になるまで収縮させる。従来は
、このような、2値化処理、膨張処理、細線化処理によ
って、輪郭線を抽出することが行われている。
[0004] Furthermore, as a result of the above-mentioned dilation process, even though the image should originally appear in the form of clear thin lines, there are many parts where the image becomes wide, so line thinning processing is not recommended. It is being said. The thinning process shrinks the connected outline data from the outside to the inside until the width of the outline of the image becomes one pixel. Conventionally, contour lines have been extracted by such binarization processing, dilation processing, and thinning processing.

【0005】[0005]

【発明が解決しようとする課題】従来の2値化処理のよ
うに、一定値のスレッショルドレベルと比較するので、
前記スレッショルドレベルよりレベルの高いノイズの画
素、即ち明るいノイズは除去できなくなるという問題が
ある。また、ノイズではないのに、暗いために前記スレ
ッショルドレベル以下になる画素は、ノイズと錯誤して
除去されてしまうという問題がある。このようにして、
本来連続した線状の画像が得られるべきところが、とぎ
れとぎれの不連続の画像となってしまうという問題があ
る。
[Problem to be solved by the invention] As in conventional binarization processing, comparison is made with a constant value threshold level.
There is a problem in that pixels with noise higher than the threshold level, that is, bright noise, cannot be removed. Furthermore, there is a problem in that pixels that are not noise but fall below the threshold level due to darkness are mistaken for noise and are removed. In this way,
There is a problem in that what should originally be a continuous linear image becomes a discontinuous, discontinuous image.

【0006】前述のような、膨張処理,細線化処理では
、確かに細線状の輪郭線を抽出できるが、本来の輪郭線
の、細かな屈曲が滑らかになってしまうという誤差の問
題と、各画素について、膨張処理と細線化処理を繰り返
さなければならいので、処理時間がかかるという処理時
間の問題がある。これらの画像処理を高速で行うには、
処理速度の速い高価な画像処理装置を要するという問題
もある。そこで、本発明では、もとの輪郭線の細かな屈
曲が滑らかになることも無く、処理時間も短くできる、
能力の高い画像処理の技術を安価に提供することを目的
としている。
[0006] Although it is true that thin contour lines can be extracted with the dilation processing and thinning processing as described above, there is a problem of error in that the fine curvatures of the original contour lines are smoothed out, and each Since the dilation process and the thinning process must be repeated for each pixel, there is a problem with the processing time. To perform these image processing at high speed,
Another problem is that an expensive image processing device with high processing speed is required. Therefore, in the present invention, the fine curvature of the original contour line is not smoothed out, and the processing time can be shortened.
The aim is to provide highly capable image processing technology at low cost.

【0007】[0007]

【課題を解決するための手段】そのために、本発明の輪
郭線抽出方法においては、特定の輪郭線を持った画像を
撮像することにより(S1)、輪郭線を含む帯状画像を
得、この帯状画像を各位置で横切る多数の線分を設定し
(S2)、前記線分上の各位置における輝度レベルを前
記線分に沿ってサンプリングし(S3)、各線分上にお
いて、輝度レベルが最大値を示す位置をこの線分上の代
表位置とし(S4,S5)、前記各線分上の前記各代表
位置を順次繋いで輪郭線を抽出する(S6)という手段
を講じた。
[Means for Solving the Problems] To this end, in the contour line extraction method of the present invention, by capturing an image having a specific contour line (S1), a band-shaped image including the contour line is obtained; A large number of line segments that cross the image at each position are set (S2), the brightness level at each position on the line segment is sampled along the line segment (S3), and the brightness level is the maximum value on each line segment. The position indicating the line segment is set as a representative position on this line segment (S4, S5), and the representative positions on each line segment are sequentially connected to extract a contour line (S6).

【0008】そして、本発明の輪郭線抽出装置において
は、特定の輪郭線を持った画像を撮像して輪郭線を含む
帯状画像を得る撮像手段9と、前記帯状画像を各位置で
横切る多数の線分を設定する線分設定手段31と、前記
線分に沿って画像の輝度レベルをサンプリングするサン
プリング手段32と、各線分上における、輝度レベルの
ピーク位置をこの線分上の代表位置とする代表位置決定
手段33と、前記各線分上の前記各代表位置を順次連結
して輪郭線を再生する輪郭線再生手段34とを備えた。
The contour line extracting device of the present invention includes an imaging means 9 for capturing an image having a specific contour line to obtain a band-shaped image including the contour line, and a plurality of image pickup means 9 for capturing an image having a specific contour line to obtain a band-shaped image including the contour line; A line segment setting means 31 that sets a line segment, a sampling means 32 that samples the brightness level of an image along the line segment, and a peak position of the brightness level on each line segment is set as a representative position on this line segment. The apparatus includes representative position determining means 33 and contour line reproducing means 34 for sequentially connecting the respective representative positions on each of the line segments to reproduce the contour line.

【0009】[0009]

【作用】本発明によれば、輪郭線を含む帯状画像を、多
数の線分で横切り、それぞれの線分上の各位置における
輝度レベルを、前記線分に沿ってサンプリングして、輝
度レベルの最大値を示す位置を、この線分上の代表位置
とするので、前記線分上のバックグラウンドノイズが除
去されるとともに、最大値を示す1点のみが決定される
。そして、前記各線分上にそれぞれ1点ずつ決定された
前記各代表位置を順次繋いで輪郭線とするので、細線化
された輪郭線の画像が得られる。
[Operation] According to the present invention, a band-shaped image including a contour line is traversed by a large number of line segments, and the brightness level at each position on each line segment is sampled along the line segment. Since the position showing the maximum value is taken as the representative position on this line segment, background noise on the line segment is removed and only one point showing the maximum value is determined. Then, since each of the representative positions determined one point on each line segment is sequentially connected to form a contour line, an image of a thinned contour line is obtained.

【0010】以上の工程を、図1のフローチャートに対
応させて説明する。S1は輪郭線を含んだ帯状画像Dを
得る撮像処理工程であり、S2は前記帯状画像Dを横切
る線分Fn−Gnを設定する工程であり、S3は前記線
分Fn−Gnに沿ってサンプリングして明るさのデータ
Enを得るサンプリング工程であり、S4は最も明るさ
が最大の点の座標Jmaxを選ぶ最大値決定工程であり
、S5はn番目の線分Fn−Gnにおける最大値を示す
点の座標Jmaxの代表位置の座標Jnとする代表位置
決定工程であり、S6は各線分Fn−Gnを代表する前
記代表位置の座標Jnを全て連結して輪郭線Kを再現す
る連結処理工程である。
The above steps will be explained with reference to the flowchart shown in FIG. S1 is an imaging processing step to obtain a band-shaped image D including a contour line, S2 is a step of setting a line segment Fn-Gn that crosses the band-shaped image D, and S3 is a step of sampling along the line segment Fn-Gn. S4 is a maximum value determination step of selecting the coordinate Jmax of the point with the highest brightness, and S5 indicates the maximum value in the n-th line segment Fn-Gn. S6 is a representative position determination step in which the coordinates Jn of the representative position of the coordinate Jmax of the point are determined, and S6 is a connection processing step in which the contour line K is reproduced by connecting all the coordinates Jn of the representative position representing each line segment Fn-Gn. be.

【0011】そして、本発明の輪郭線抽出装置の作用を
図2に基づいて説明する。まず、撮像手段9によって、
特定の輪郭線を持った画像を撮像して輪郭線を含む帯状
画像Dを得て、線分設定手段31によって、前記帯状画
像Dを各位置で横切る多数の線分Fn−Gnを設定し、
サンプリング手段32によって、この線分Fn−Gnに
沿って画像の輝度レベルEnをサンプリングする。そし
て、代表位置決定手段33によって、各線分上における
、輝度レベルEnのピーク位置をこの線分上の代表位置
Jnとするので、この線分上のピーク位置以外の部分は
少々の明るさであっても全て排除される。また、この線
分上において、少しでも他の部分より明るい部分があれ
ば、その部分を代表位置とするので、各線分に対してそ
れぞれの代表位置Jnを得ることができる。よって、輪
郭線再生手段34によって、前記各線分上の前記各代表
位置Jnを順次連結すると細線化された輪郭線Kが再生
される。なお、前記撮像手段としては、画像処理がしや
すいデータの状態で画像を記録できるのに適したカメラ
であるスチールビデオカメラ(SVカメラ)を用いるこ
とができる。
[0011]The operation of the contour line extracting device of the present invention will be explained based on FIG. First, by the imaging means 9,
An image having a specific outline is captured to obtain a band-shaped image D including the outline, and a line segment setting means 31 sets a large number of line segments Fn-Gn that cross the band-shaped image D at each position,
The sampling means 32 samples the brightness level En of the image along this line segment Fn-Gn. Then, the representative position determination means 33 sets the peak position of the brightness level En on each line segment as the representative position Jn on this line segment, so that the parts other than the peak position on this line segment are slightly bright. However, all are excluded. Furthermore, if there is a part that is even slightly brighter than other parts on this line segment, that part is taken as the representative position, so that each representative position Jn can be obtained for each line segment. Therefore, by sequentially connecting each representative position Jn on each line segment by the contour line reproducing means 34, a thinned contour line K is reproduced. Note that as the imaging means, a still video camera (SV camera), which is a camera suitable for recording images in a data state that is easy to process, can be used.

【0012】0012

【実施例】以下に、本発明の輪郭線抽出方法に用いる輪
郭線抽出装置を、その実施例としてのトンネル内空断面
測定装置に基づいて詳説する。図3は前記トンネル内空
断面測定装置の構成図、図4はトンネル内における撮像
状態を示す説明図、図5はSVカメラで得たトンネル内
空断面の画像、図6は半径方向の輝度分布曲線、図7は
細線化した補正輪郭線である。各図において、
DESCRIPTION OF THE PREFERRED EMBODIMENTS Below, a contour extraction device used in the contour extraction method of the present invention will be explained in detail based on a tunnel internal cross-section measuring device as an embodiment thereof. FIG. 3 is a configuration diagram of the tunnel internal cross-section measurement device, FIG. 4 is an explanatory diagram showing the imaging state inside the tunnel, FIG. 5 is an image of the tunnel internal cross-section obtained by the SV camera, and FIG. 6 is the luminance distribution in the radial direction. The curve shown in FIG. 7 is a thinned correction contour line. In each figure,

【001
3】1は、SVカメラ9によって撮像された画像データ
が記録された磁気ディスクであり、この磁気ディスク1
には、背景画像A、校正画像B、および複数の計測画像
C1,C2,・・,Cn,・・が記録されている。2は
、前記磁気ディスク1の画像データを再生するSV再生
器、3はこのSV再生器2から出力される画像データに
基づいて画像処理して輪郭線を得るためのソフトウエア
とハードウエアを備えた画像処理ボード、4は各周辺機
器を制御するとともにデータ処理プログラムを内蔵して
いるパーソナルコンピュータ、5は撮像した画像や処理
した画像を表示するための表示装置、5’は文字データ
およびグラフィックデータを表示するCRT表示装置、
6はプリンタ、7はプロッタ、8はプログラムやデータ
記憶用のフロッピーィスク装置である。
001
3] 1 is a magnetic disk on which image data captured by the SV camera 9 is recorded;
, a background image A, a calibration image B, and a plurality of measurement images C1, C2, . . . , Cn, . . . are recorded. 2 is an SV regenerator for reproducing the image data of the magnetic disk 1; 3 is equipped with software and hardware for performing image processing on the basis of the image data output from the SV regenerator 2 to obtain a contour line. 4 is a personal computer that controls each peripheral device and has a built-in data processing program; 5 is a display device for displaying captured images and processed images; 5' is character data and graphic data; a CRT display device that displays
6 is a printer, 7 is a plotter, and 8 is a floppy disk device for storing programs and data.

【0014】前記SVカメラ9は、図4に示すように、
トンネルの中心軸の方向に光軸を合わせて設置され、レ
ーザー光線の照射装置10とともにプログラマブルコン
トーローラ11によって制御されている。
The SV camera 9, as shown in FIG.
It is installed with its optical axis aligned in the direction of the central axis of the tunnel, and is controlled by a programmable controller 11 together with a laser beam irradiation device 10.

【0015】まず、レーザー光線を照射していない状態
のトンネル内空の画像を背景画像Aとして撮像する。次
に、トンネル内空において、断面測定しようとする平面
上の所定距離の任意の2点を含んだ画像を校正画像Bと
して撮像する。そして、トンネル内空にレーザー光を所
定の角度ずつ分割して回転させ、その都度トンネルの内
空をSVカメラで撮影して得た複数の計測画像C1,C
2,・・,Cn,・・を磁気ディスク1に記録する。こ
の磁気ディスク1をSV再生器2にセットして画像デー
タを読みだす。読みだされた計測画像C1,C2,・・
,Cn,・・はそれぞれ前記構成画像Bに基づいて寸法
が校正されるとともに、前記背景画像Aと減算処理され
て、背景の影響が排除された画像が得られる。次に、減
算処理された複数の画像は全て加算処理されて、図5の
ようにひとつの連続した帯状画像Dを形成する。この帯
状画像Dは、トンネル内壁の表面の反射率や傾き等の差
によって、明るいところは太く、暗いところは細い帯状
になっている。
First, an image of the sky inside the tunnel in a state where no laser beam is irradiated is taken as a background image A. Next, an image containing arbitrary two points at a predetermined distance on a plane whose cross section is to be measured is captured as a calibration image B in the tunnel interior. Then, a plurality of measurement images C1, C are obtained by dividing the laser beam into the tunnel's interior at predetermined angles and rotating it, and photographing the tunnel's interior each time with an SV camera.
2,..., Cn,... are recorded on the magnetic disk 1. This magnetic disk 1 is set in the SV player 2 and image data is read out. Read measurement images C1, C2,...
, Cn, . . . are each calibrated in size based on the component image B, and are also subjected to subtraction processing from the background image A to obtain an image in which the influence of the background has been eliminated. Next, all of the subtracted images are added to form one continuous band image D as shown in FIG. 5. This band-shaped image D has a band-like shape, with bright areas being thick and dark areas being thin, depending on differences in reflectance, inclination, etc. of the surface of the tunnel inner wall.

【0016】次に、帯状の画像データから細線化した輪
郭線を得る工程を説明する。図5において、前記帯状画
像Dはトンネル内空断面の輪郭線を含んでいるが、トン
ネルの表面の状態等の影響で、明るく太い部分D1、少
し明るくて細い部分D2、その他の薄暗い部分D3等が
ある。前記太い部分D1では正確な輪郭線の形状が不明
確であり、前記少し明るい部分D2ではバックグラウン
ドノイズ等の影響の薄暗い部分D3との輝度の差が少な
く輪郭線が明瞭でない。これらの画像データは、画像処
理ボード3の画像メモリの所定の各アドレスに記憶され
ている。
Next, a process of obtaining a thinned contour line from band-shaped image data will be explained. In FIG. 5, the band-shaped image D includes the contour line of the cross section of the tunnel interior, but due to the condition of the tunnel surface, etc., there are bright and thick parts D1, slightly bright and thin parts D2, and other dim parts D3. There is. In the thick portion D1, the exact shape of the contour line is unclear, and in the slightly bright portion D2, the difference in brightness from the dim portion D3 due to the influence of background noise, etc. is small, and the contour line is not clear. These image data are stored at predetermined addresses in the image memory of the image processing board 3.

【0017】次に、図5の画像から図6に示すような半
径方向の輝度分布曲線Enを以下の演算処理によって得
る。図5において、Pはトンネルの略中心部に対応する
位置に設定した中心点であり、線分Fn −Gn は、
前記中心点Pを中心とする円において、基準半径方向R
0 からθn の角度の半径方向の線分である。前記線
分Fn −Gn で前記輪郭線Dを横切って切断し、図
6に示すように、前記線分Fn −Gn 上の各位置に
おける輝度の変化を示す輝度分布曲線Enを得る。即ち
、前記画像メモリから、前記線分Fn −Gn に対応
するアドレスの輝度データを順次読みだすことによって
、この輝度分布曲線Enを得る。次に、この輝度分布曲
線Enにおいて、輝度のピークの部分Jmaxの位置を
、前記角度θn 方向における断面位置データJnとす
る。即ち、前記角度θn の方向で読みだした線分Fn
 −Gn の輝度データの中で最大値を選び、その輝度
データを記憶しているアドレスに対応する位置データJ
n を出力するのである。
Next, a radial brightness distribution curve En as shown in FIG. 6 is obtained from the image in FIG. 5 by the following calculation process. In FIG. 5, P is the center point set at a position corresponding to approximately the center of the tunnel, and the line segment Fn - Gn is
In the circle centered on the center point P, the reference radial direction R
It is a radial line segment with an angle from 0 to θn. The outline D is cut across the line segment Fn - Gn to obtain a brightness distribution curve En showing the change in brightness at each position on the line segment Fn - Gn, as shown in FIG. That is, the brightness distribution curve En is obtained by sequentially reading out the brightness data of the addresses corresponding to the line segment Fn - Gn from the image memory. Next, in this brightness distribution curve En, the position of the portion Jmax of the brightness peak is set as cross-sectional position data Jn in the direction of the angle θn. That is, the line segment Fn read in the direction of the angle θn
- Select the maximum value among the brightness data of Gn, and position data J corresponding to the address where that brightness data is stored.
It outputs n.

【0018】以上のような処理を角度0度から角度20
0度まで1度ステップで設定した線分Fn −Gn ご
とに行い、各角度θ0 〜角度θ200 に対応した断
面位置データJ0 〜J200 を得る。このようにし
て得た断面位置データJ0 〜J200 をCRT表示
装置5’に表示すると、図7に示すような細線化された
状態に再生された輪郭線Kが得られる。以上においては
、角度0度から角度200度までの範囲を、1度ステッ
プで設定した例をを示したが、上記範囲もステップも種
々設定することが可能であることは当然である。
[0018] The above processing is performed from an angle of 0 degrees to an angle of 20 degrees.
This is performed for each line segment Fn - Gn set in steps of 1 degree up to 0 degree, and cross-sectional position data J0 to J200 corresponding to each angle θ0 to angle θ200 is obtained. When the cross-sectional position data J0 to J200 obtained in this way is displayed on the CRT display device 5', a contour line K reproduced in a thinned state as shown in FIG. 7 is obtained. In the above, an example was shown in which the range from angle 0 degrees to angle 200 degrees was set in steps of 1 degree, but it is of course possible to set the range and steps in various ways.

【0019】そして、ステップ角度を大きくした場合は
、断面位置データJn の個数が少なくなり、輪郭線K
が途切れ途切れになってしまう。そのときは、隣ある断
面位置データJn ,Jn+1 を、直線もしくは曲線
で補間すると良い。または、従来の膨張処理・細線化処
理によって破断した部分を接続し連続した輪郭線を得る
こともできる。このようにして、トンネル内空の断面を
大まかに測定したいときは、前記ステップ角度を大きく
して、データ量を減らすと、処理時間も短くできる。ま
た、測定精度を上げたいときは、前記ステップ角度を小
さくすると良い。
When the step angle is increased, the number of cross-sectional position data Jn decreases, and the contour line K
becomes intermittent. In that case, it is preferable to interpolate the adjacent cross-sectional position data Jn, Jn+1 using a straight line or a curved line. Alternatively, a continuous contour line can be obtained by connecting the broken portions by conventional dilation processing/thinning processing. In this way, when it is desired to roughly measure the cross section of the tunnel interior, the step angle is increased to reduce the amount of data, thereby reducing the processing time. Moreover, when it is desired to improve measurement accuracy, it is preferable to reduce the step angle.

【0020】次に、得られた輪郭線Kと設計断面線Lと
をCRT表示装置5’に重ねて表示するとともに、輪郭
線Kと設計断面線Lとの差の数値を表示することによっ
て、工事の作業精度を検査することができる。これらの
画像データを、前記プリンタ6、前記プロッタ7で印字
および作図し、前記フロッピーディスク装置8に記録し
て保存することができる。
Next, the obtained contour line K and design cross-section line L are displayed in a superimposed manner on the CRT display device 5', and the numerical value of the difference between the contour line K and the design cross-section line L is displayed. It is possible to inspect the accuracy of construction work. These image data can be printed and drawn by the printer 6 and the plotter 7, and recorded and stored in the floppy disk device 8.

【0021】このようにして、以上のトンネル内空断面
測定装置によれば、SVカメラ9で撮像した画像におい
ては輪郭のはっきりしない帯状の輪郭線であっても、そ
の部分の半径方向における輝度のピークの部分を抽出す
るので、細線化された明瞭な輪郭線を再生することがで
きる。また、バックグラウンドノイズに紛れてしまうよ
うな不十分な明るさの輪郭であっても、その部分の半径
方向における他の部分より少しでも明るければ、最も明
るいところが輪郭線の位置であるとして再生することが
できる。
In this way, according to the above-mentioned tunnel interior cross-section measuring device, even if the image taken by the SV camera 9 has an unclear band-like outline, the luminance in the radial direction of that part can be determined. Since the peak portion is extracted, a clear, thinned contour line can be reproduced. Also, even if the outline is not bright enough to be blended into background noise, if that part is even slightly brighter than other parts in the radial direction, the brightest part will be played as the position of the outline. be able to.

【0022】また、従来の膨張処理・細線化処理であれ
ば細かい屈曲の部分が平滑化されて不正確になるが、上
記トンネル内空断面測定装置によれば、膨張処理・細線
化処理を行うことなく、細線化された輪郭線を再現する
ことができるので、測定の精度が向上するという効果が
得られる。そして、以上の画像の処理は従来の膨張処理
・細線化処理による画像処理に比較して、短時間ででき
るので、処理時間の短縮も図れて作業能率が向上すると
いう効果も得られるのである。
[0022] In addition, in the conventional expansion processing/thinning process, finely curved parts are smoothed and become inaccurate, but according to the above-mentioned tunnel hollow cross section measurement device, the expansion processing/thinning process is performed. Since it is possible to reproduce a thinned contour line without any distortion, it is possible to obtain the effect of improving measurement accuracy. Furthermore, since the above image processing can be performed in a shorter time than conventional image processing using dilation processing and line thinning processing, it is possible to achieve the effect of shortening processing time and improving work efficiency.

【0023】[0023]

【発明の効果】このようにして、本発明の輪郭線抽出方
法によれば、もとの輪郭線の細かな屈曲が滑らかになる
ことも無い正確な輪郭線を再生することができるととも
に、輪郭線の抽出再生を、短時間でできるという効果を
奏するものである。そして、本発明の輪郭線抽出装置に
よれば、処理速度がそれほど速くない画像処理装置でも
輪郭線の再生を短時間でできるので、高性能の輪郭線抽
出装置を低コストで提供することができるという経済的
効果も得られる。
As described above, according to the contour line extraction method of the present invention, it is possible to reproduce an accurate contour line without smoothing out the small bends of the original contour line. This has the effect that lines can be extracted and reproduced in a short time. According to the contour extraction device of the present invention, contours can be reproduced in a short time even with an image processing device whose processing speed is not so fast, so a high-performance contour extraction device can be provided at low cost. There is also an economic effect.

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

【図1】本発明の輪郭線抽出方法の概略フローチャート
である。
FIG. 1 is a schematic flowchart of a contour line extraction method according to the present invention.

【図2】本発明の輪郭線抽出装置の概略構成図である。FIG. 2 is a schematic configuration diagram of a contour extraction device according to the present invention.

【図3】本発明の実施例のトンネル内空断面測定装置の
構成図である。
FIG. 3 is a configuration diagram of a tunnel internal cross-section measuring device according to an embodiment of the present invention.

【図4】本発明の実施例の撮像状態を示す説明構成図で
ある。
FIG. 4 is an explanatory configuration diagram showing the imaging state of the embodiment of the present invention.

【図5】SVカメラで撮像して得たトンネル内空断面の
画像である。
FIG. 5 is an image of a cross-section of the tunnel interior taken by an SV camera.

【図6】図5の画像の半径方法の輝度分布曲線である。FIG. 6 is a brightness distribution curve of the radial method of the image of FIG. 5;

【図7】図5の画像を細線化した補正輪郭線である。FIG. 7 is a corrected contour line obtained by thinning the image in FIG. 5;

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

S1    撮像処理 S2    線分を設定 S3    サンプリング処理 S4    最大値決定 S5    代表位置決定 S6    代表位置の連結処理 D      帯状画像 Fn−Gn  線分 En    輝度分布曲線 Jn    断面位置データ K      再生した輪郭線 9      撮像手段,SVカメラ 31    線分設定手段 32    サンプリング手段 33    代表位置決定手段 34    輪郭線再生手段 S1 Imaging processing S2 Set line segment S3 Sampling processing S4 Maximum value determination S5 Representative position determination S6   Consolidation processing of representative positions D Strip image Fn-Gn line segment En brightness distribution curve Jn Cross-sectional position data K Regenerated contour line 9 Imaging means, SV camera 31 Line segment setting means 32 Sampling means 33 Representative position determining means 34 Contour line reproduction means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】特定の輪郭線を持った画像を撮像すること
により輪郭線を含む帯状画像を得て、この帯状画像を各
位置で横切る多数の線分を設定し、前記線分に沿って画
像の輝度レベルをサンプリングし、各線分上において、
輝度レベルがピークを示す位置をこの線分上の代表位置
とし、前記各線分上の前記各代表位置を順次連結して輪
郭線を再生することを特徴とする輪郭線抽出方法。
Claim 1: Obtain a band-shaped image including the contour by capturing an image with a specific contour, set a number of line segments that cross this band-shaped image at each position, and Sample the brightness level of the image, and on each line segment,
A contour line extraction method characterized in that a position where the brightness level shows a peak is taken as a representative position on this line segment, and the respective representative positions on each of the line segments are successively connected to reproduce the contour line.
【請求項2】特定の輪郭線を持った画像を撮像して輪郭
線を含む帯状画像を得る撮像手段と、前記帯状画像を各
位置で横切る多数の線分を設定する線分設定手段と、前
記線分に沿って画像の輝度レベルをサンプリングするサ
ンプリング手段と、各線分上における、輝度レベルのピ
ーク位置をこの線分上の代表位置とする代表位置決定手
段と、前記各線分上の前記各代表位置を順次連結して輪
郭線を再生する輪郭線再生手段とを備えていることを特
徴とする輪郭線抽出装置。
2. Imaging means for capturing an image with a specific contour line to obtain a strip image including the contour line; and line segment setting means for setting a large number of line segments that cross the strip image at each position. sampling means for sampling the brightness level of the image along the line segment; representative position determining means for determining the peak position of the brightness level on each line segment as a representative position on the line segment; 1. A contour line extracting device comprising: contour line reproducing means for sequentially connecting representative positions to reproduce a contour line.
JP3093150A 1991-03-29 1991-03-29 Method and device for extracting contour line Pending JPH04303269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3093150A JPH04303269A (en) 1991-03-29 1991-03-29 Method and device for extracting contour line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3093150A JPH04303269A (en) 1991-03-29 1991-03-29 Method and device for extracting contour line

Publications (1)

Publication Number Publication Date
JPH04303269A true JPH04303269A (en) 1992-10-27

Family

ID=14074513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3093150A Pending JPH04303269A (en) 1991-03-29 1991-03-29 Method and device for extracting contour line

Country Status (1)

Country Link
JP (1) JPH04303269A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008294451A (en) * 2008-06-09 2008-12-04 Hitachi High-Technologies Corp Image forming method and image forming apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61147377A (en) * 1984-12-20 1986-07-05 Fuji Electric Co Ltd Image analyzer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61147377A (en) * 1984-12-20 1986-07-05 Fuji Electric Co Ltd Image analyzer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008294451A (en) * 2008-06-09 2008-12-04 Hitachi High-Technologies Corp Image forming method and image forming apparatus

Similar Documents

Publication Publication Date Title
KR100361244B1 (en) Image processing device and method, medium on which program for image processing is stored, and inspecting device
JPH03163674A (en) Method and device for removing noise
CN115937147B (en) Defect detection parameter determining method, device, equipment and storage medium
CN113706607B (en) Subpixel positioning method, computer equipment and device based on circular array diagram
JP2001070455A (en) Method for inspecting pattern width of stent surface
JP2002140713A (en) Image processing method and image processor
JPH04303269A (en) Method and device for extracting contour line
JP3963156B2 (en) Image processing apparatus and method, medium storing program for image processing, and inspection apparatus
TW200842339A (en) Mura detection method and system
JP2961140B2 (en) Image processing method
US6738503B1 (en) Notch inspection apparatus and method based on shading pattern matching
JPH0688789A (en) Method for extracting density fluctuation constitution picture element in image and method for judging concentration fluctuation mass
JPH1153564A (en) Information processor and machine-readable storage medium recorded with rotational angle detection program
JP2000283725A (en) Hollow yarn measuring device and method
JP2007183999A (en) Image processing apparatus and method, medium with program for image processing recorded thereon, and inspection apparatus
JP2000105167A (en) Address calibration method of image quality inspection device
JP2843389B2 (en) Bonding ball inspection device
JPH03125906A (en) Inspecting apparatus for defect
JPH10143673A (en) Picture processor
JP2971026B2 (en) Image processing apparatus and image processing method
JPH11185037A (en) Device and method for processing defect information
JP2546653B2 (en) Position detection method of detected surface by image processing
JPH07104933B2 (en) Image processing device
JP3048718B2 (en) Vertex detector
JP2002216139A (en) Method for detecting horizon by image processing