JPS60174595A - Picture measurement system - Google Patents
Picture measurement systemInfo
- Publication number
- JPS60174595A JPS60174595A JP2946284A JP2946284A JPS60174595A JP S60174595 A JPS60174595 A JP S60174595A JP 2946284 A JP2946284 A JP 2946284A JP 2946284 A JP2946284 A JP 2946284A JP S60174595 A JPS60174595 A JP S60174595A
- Authority
- JP
- Japan
- Prior art keywords
- area
- calculated
- circumscribed rectangular
- rectangular area
- lengths
- 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
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明はディジタル画像処理技術を用いた。特徴パラメ
ータ計測の画像計測方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention uses digital image processing technology. This article relates to an image measurement method for measuring feature parameters.
伸長度は対象物を認識するための有効な特徴パラメータ
の一つである。従来、対象物の伸長度をめる方式の代表
的なものとして。The degree of elongation is one of the effective feature parameters for recognizing objects. Traditionally, this is a typical method for measuring the degree of elongation of an object.
■外接矩形領域のたて・よこ比を用いる。■Use the height and width ratio of the circumscribed rectangular area.
■対象物をだ円近似して、長袖と短軸をめ。■Approximate the object as an oval and note the long sleeve and short axis.
その長さの比を用いる。Use the ratio of the lengths.
がある。しかし■は処理は簡単であるが、対象物が回転
した時には正確にめられない。また■は対象物が回転し
ている場合でも正確にめられるが、処理が複雑になる問
題がある。There is. However, although the process for ■ is simple, it cannot be accurately detected when the object rotates. In addition, (2) can be accurately detected even when the object is rotating, but there is a problem in that the processing becomes complicated.
つまり、従来方式■では第1図のように対象物矩形領域
の辺の長さの比でめることができる。In other words, in the conventional method (2), it can be determined by the ratio of the lengths of the sides of the rectangular area of the object as shown in FIG.
しかし第2図のように回転している時には、細長い対象
物であるにもかかわらず、回転角度によっては辺の長さ
の比が1になってしまう場合があった。However, when the object is rotating as shown in FIG. 2, the ratio of the side lengths may become 1 depending on the rotation angle, even though the object is elongated.
本発明は処理を複雑化にすることな(、対象物の回転を
考慮して簡便な伸長度の計測方式を提供することにある
。An object of the present invention is to provide a simple method for measuring the degree of elongation without complicating the processing (taking into consideration the rotation of the object).
本発明は対象物を矩形で近似して、その長辺と短辺から
伸長度をめるものである。The present invention approximates the object as a rectangle and determines the degree of elongation from its long and short sides.
本発明により伸長度を利用したパターン認識を四則演算
のみで簡単に行うことができるので効率性が向上する。According to the present invention, pattern recognition using the degree of expansion can be easily performed using only four arithmetic operations, thereby improving efficiency.
特にある程度の伸長度を持った対象物の認識に効果があ
る。This is particularly effective in recognizing objects that have a certain degree of elongation.
本発明では第3図のように対象物を矩形で近似して長辺
、短辺の長さをA’ltl!とすれば対象物の面積Sは
S中It、−1゜
で表すもことができる。また11.II、は外接矩形領
域の辺の長さをX、、Y、とすれば
で表すことがでへる。よって伸長度は
でめることができる。In the present invention, the object is approximated by a rectangle as shown in FIG. 3, and the lengths of the long side and short side are determined by A'ltl! Then, the area S of the object can be expressed as It, -1° in S. Also 11. II can be expressed as if the lengths of the sides of the circumscribed rectangular area are X, ,Y. Therefore, the degree of elongation can be determined.
第41凶(at Tblに本発明の一実施例の処理方式
を示す。計測対象となる画像はあらかじめコア内に読込
まれているものとし、画像の大きさは256X256
とする。The processing method of an embodiment of the present invention is shown in No. 41 (at Tbl). It is assumed that the image to be measured has been read into the core in advance, and the size of the image is 256 x 256.
shall be.
また、背景濃度=0.対象物の濃度←Oとする。Also, background density = 0. Let the concentration of the object be ←O.
まず、対象物の面積S、最上点YMIN、最下点YMA
X、最左点XMIN、最右点XMAX、列合には而m8
を1増し、 さらicxとXMIN、XMAX。First, the area S of the object, the highest point YMIN, the lowest point YMA
X, the leftmost point XMIN, the rightmost point XMAX, and the column is m8
Increase by 1, then icx, XMIN, and XMAX.
YとYMIN、YMAXを比較して、それぞれ壌小値。Compare Y, YMIN, and YMAX, and find the lowest value for each.
最大値をめる。この処理をX、Yを順次増やしてX=2
56.Y=256になるまで(り返す。Calculate the maximum value. Repeat this process by increasing X and Y sequentially until X=2
56. Repeat until Y=256.
そして、XMIN、XMAX、YMIN、YMAXから
外接矩形領域の縦横の辺の長さX、、Y、をめ、この値
とSから伸長度をめる。Then, the lengths X, Y, of the vertical and horizontal sides of the circumscribed rectangular area are calculated from XMIN, XMAX, YMIN, and YMAX, and the degree of expansion is calculated from these values and S.
尚、前記実施例では対象物が一つだけ含まれているもの
として処理しているが、あらかじめ前処理により対象物
毎に異なった濃度をつけておけば。Incidentally, in the above embodiment, the processing is performed on the assumption that only one target object is included, but it is possible to apply different densities to each target object in advance through pre-processing.
同時に複数の対象物の伸長度をめることができる。It is possible to adjust the degree of elongation of multiple objects at the same time.
また、前記実施例では対象物を長方形近似してS″−=
、l、11. としたが、対象物をダ円近似するとS
Nl @ l !としてやると、伸長度は以下のように
なる
これによっても本実施例と同様の効果を表わせる更に対
象物を第5図のように近似するとlI。In addition, in the above embodiment, the object is approximated to a rectangle and S″−=
, l, 11. However, when the object is approximated by a circle, S
Nl @l! If we do this, the degree of elongation will be as follows.This also produces the same effect as in this embodiment.Furthermore, if the object is approximated as shown in FIG. 5, then lI.
会長方形近似と同じため、−((0,2146ならばハ 第5図の近似でも長方形近似と同様である。Since it is the same as the square rectangular approximation, −((0,2146 then H) The approximation in FIG. 5 is similar to the rectangular approximation.
第1図は対象物が直立している時の外接矩形領域とのI
A係を示す図、第2図は対象物が回転している時の外接
矩形領域との関係を示す図、第3図は対象物と近似した
矩形との関係を示す図、第4図は本発明の一実施例の処
理の流れ図、第5図は本発明の他の実施例の説明図であ
る。
代理人弁理士 則 近 憲 佑(ほか1名)第2図
第4図(αり
第4
第5
P。
■
□−−iFigure 1 shows the I of the circumscribed rectangular area when the object is standing upright.
Figure 2 is a diagram showing the relationship with the circumscribed rectangular area when the target object is rotating, Figure 3 is a diagram showing the relationship between the target object and an approximate rectangle, and Figure 4 is a diagram showing the A section. FIG. 5 is a flowchart of a process according to an embodiment of the present invention, and is an explanatory diagram of another embodiment of the present invention. Representative Patent Attorney Kensuke Chika (and 1 other person) Figure 2 Figure 4 (αri 4th 5th page) ■ □--i
Claims (1)
手段によりめられた外接矩形領域のたて、よこの長さ、
−J6よび面積を用いて、対象物の伸長匿をめることを
特徴とする画像計測方式。The circumscribed rectangular area of the object to be measured and the vertical and horizontal lengths of the circumscribed rectangular area determined by the means for calculating the area,
- An image measurement method characterized by measuring the elongation and concealment of an object using J6 and area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2946284A JPS60174595A (en) | 1984-02-21 | 1984-02-21 | Picture measurement system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2946284A JPS60174595A (en) | 1984-02-21 | 1984-02-21 | Picture measurement system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60174595A true JPS60174595A (en) | 1985-09-07 |
Family
ID=12276763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2946284A Pending JPS60174595A (en) | 1984-02-21 | 1984-02-21 | Picture measurement system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60174595A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112697068A (en) * | 2020-12-11 | 2021-04-23 | 中国计量大学 | Method for measuring length of bubble of tubular level bubble |
-
1984
- 1984-02-21 JP JP2946284A patent/JPS60174595A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112697068A (en) * | 2020-12-11 | 2021-04-23 | 中国计量大学 | Method for measuring length of bubble of tubular level bubble |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104376548B (en) | A kind of quick joining method of image based on modified SURF algorithm | |
Qingguo et al. | Utilizing polygon segmentation technique to extract and optimize light stripe centerline in line-structured laser 3D scanner | |
CN106340010A (en) | Corner detection method based on second-order contour difference | |
JPS60174595A (en) | Picture measurement system | |
Balslev et al. | Weighted central moments in pattern recognition | |
CN107085832A (en) | A kind of Fast implementation of the non local average denoising of digital picture | |
JPS5582380A (en) | Pattern processing unit | |
JP2981383B2 (en) | Position detection method | |
CN110298799A (en) | A kind of PCB image positioning correction method | |
CN114299283B (en) | Image-based displacement measurement method and system | |
Browne et al. | High-speed spline fitting, with application to boundary tracing in low-contrast digital images | |
Marković et al. | Improving sub-pixel estimation of laser stripe reflection center by autoconvolution on FPGA | |
JPS6363043B2 (en) | ||
JPS61239376A (en) | Device for detecting angle difference between pictures | |
JPH0130183B2 (en) | ||
Kaur et al. | Reducing SSIM (structural similarity index measure) using improved edge detection technique on grey scale images | |
JPH0335706B2 (en) | ||
CN112837355A (en) | Designation accurate matching method combining descriptors and curvatures | |
CN117197169A (en) | Structural light angle point detection method based on slope search | |
JPH02171978A (en) | Picture normalizing circuit | |
JPS6312073A (en) | Line narrowing processing system | |
JPS61201384A (en) | Recognizing device for stamped character | |
JPS6269375A (en) | Method and device for approximating broken line of line graphic form | |
JPS62204383A (en) | Extracting device for changing value of picture density | |
JPS5763410A (en) | Measuring method and device for shape of plane pattern |