원시데이터 수집 시스템
선정목록으로

The Comparison of Two Kinds of Extraction Methods of Circular Manual Mark in Visual Measurement

관련 필름·전자재료 · (16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Ze-qing Liu
  2. Shuming He — Department of Artillery Engineering, Shijiazhuang Mechanical Engineering College, Shijiazhuang 050003,P. R. China;
  3. Yurong Zhang — Department of Artillery Engineering, Shijiazhuang Mechanical Engineering College, Shijiazhuang 050003,P. R. China;|||The Second Student Brigade, Shijiazhuang Mechanical Engineering College, Shijiazhuang 050003,P. R. China;
DOI
10.2991/mmebc-16.2016.324
저널
–
발행년도
2016
발행기관
–
피인용수
0
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.2991/mmebc-16.2016.324
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W2522131512

평가 내용

관련도
관련
사업분야
필름·전자재료 · (16) CPI(투명 폴리이미드)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

To solve the problem of extracting and locating the manual circular marks from complex background in the image of range visual measurement, two kinds of extraction methods of circular manual mark were studied, one was the interactive extraction method based on region of interest and the other was the extraction method based on image gray scale and geometric morphology.In this paper, the two methods are introduced at first, and then the methods are adopted to extract the circular marks from the image of visual measurement.The edge extraction and positioning results are compared, and the advantages and disadvantages of the two methods are analyzed.The result shows that the first method can extract the edge of the circular mark smoothly, but this method a lot by the image of the circular marks, while, the second method is less affected by the image of the circular mark.But the edge extracted by the second method is serrated, and part of the circular mark pixels misidentified as background, which is not in conformity with the actual situation.

본문 19,900자

본문 펼치기
## The Comparison of Two Kinds of Extraction Methods of Circular Manual Mark in Visual Measurement ### LIU Ze-qing 1, HE Shu-ming 2, ZHANG Yu-rong 1 1Department of Artillery Engineering, Shijiazhuang Mechanical Engineering College, Shijiazhuang 050003 , P. R. China ; 2The Second Student Brigade, Shijiazhuang Mechanical Engineering College, Shijiazhuang 050003 , P. R. China ; Keywords : Circular Marks; Image Extraction; Image Positing; Region of Interest (ROI); Ellipse Fitting Abstract. To solve the problem of extracting and locating the manual circular marks from complex background in the image of range visual measurement, two kinds of extraction methods of circular manual mark were studied, one was the interactive extraction method based on region of interest and the other was the extraction method based on image gray scale and geometric morphology. In this paper, the two methods are introduced at first, and then the methods are adopted to extract the circular marks from the image of visual measurement. The edge extraction and positioning results are compared, and the advantages and disadvantages of the two methods are analyzed. The result shows that the first method can extract the edge of the circular mark smoothly, but this method a lot by the image of the circular marks, while, the second method is less affected by the image of the circular mark. But the edge extracted by the second method is serrated, and part of the circular mark pixels misidentified as background, which is not in conformity with the actual situation. 1. Introduction Setting the artificial sign as the known point are commonly used in visual measurement to calibrate the inside and outside parameters of camera, firstly, the world coordinate of artificial sign can be gained by measuring in advance, and the position coordinate of artificial sign on the image should be determined by image extraction.For the problems of long measuring distance, complex background, numerous interference factors in shooting range visual measurement, selecting the circular mark as seen in Fig.1 as the marked point, the circular mark which has rotation invariance will be imaged as ellipse when shooting in certain angle, it is more stable when compared with linear or spot marks.In the situation of determined camera calibration model, the calibration accuracy of inside and outside parameters of camera is not only related to the world coordinate accuracy of marked point, but also it is related to the extracting and positioning accuracy of the marked point on the image. The circular mark will be presented as ellipse owing to the angle of shooting, the extracting of circular mark mostly relates to the testing issue of the ellipse. The Hough transform and its modified algorithm[2,3] is a common ellipse testing method, the Hough transform method need to map the image space to parameter space in order to do multidimensional statistic calculation when carrying out the ellipse testing, the computation is huge, and the computation efficiency is low. Meanwhile, when carrying out the on-site visual measurement, the image background is more complex, and it also will be affected by complex factors such as shock wave, dust raising when carrying out static explosive experiment etc., so the employment of Hough transform is relatively difficult. To solve these problems, we have studied the interactive extraction method based on the region of interest and the extraction method based on image gray scale and geometric morphology to extract and position the circular mark image accordingly.The computational complexity of these two methods are relatively low, it will be able to complete the positioning of circular mark quickly in conditions of known marked point number. Fig.1 circular marked point ### 2 Least squares edge fitting extracting method based on Region of Interest 2.1 The extracting of Region of Interest A Region of Interest When extracting target in images which have complex background, the target extracting efficiency is relatively low, and the extracting effect is relatively bad. To reduce the searching range when extracting target and the effect of complex background factors, the extracting in region of interest where target is located may be done before target extracting. Region of interest(region of interesting, ROI) means the regions that can attract the attention of human optical system in the image, video, these regions often have more outstanding features like luminance, color, shape, texture etc. when compared with the surroundings. Region of interest includes the major information and key information of image, therefore, the treatment to region of interest may replace the treatment to the original image, this can reduce the computational complexity and the degree of complexity <sup>[5]</sup> in image treating greatly. The extracting methods of region of interest mostly comprise: human-machine interactive extracting method, method based on point of attention, method based on visual attention model, method based on specific object segmentation. Wherein, human-machine interactive method is easy to operate, and easy to realize, therefore using human-machine interactive method to extract the region of interest where calibrated circle being located. 1.1.2 The interactive extracting of Region of Interest Herein, taking the region surrounded by the black edge outside the calibrated circle as the region of interest, the interactive extracting of the region of interest may be realized by artificially selecting the rectangle region where calibrated circle being located. Using the MATLAB2014b software as the image processing tool, and using waitforbuttonpress function to obtain the coordinate of position point while the mouse is clicking on the image to obtain the region being selected. B The edge extracting of circular mark Taking one circular mark among the others as a example to explain the extracting of circular marks, transforming the extracting of circular mark to the extracting of ellipse, the testing procedures of the ellipse are as follows: (1) Inputting the region of interest I1 of the circular mark, recording the position coordinates of the top left corner of the region of interest; (2) Filtering, median filtering the I1, and the influence to the edge of the ellipse by the noise may be reduced while the target information won’t loss, and the connectivity between ellipse edge pixels may be enhanced; (3) Binary processing, binary processing the image, set the background region pixel value as 0, and set the circular mark region as 1; (4) Region filling, region filling the interior of the enclosed region, and eliminating the hollow at the edge; (5) Eliminating the jamming region, testing the connected region on the image, and accounting the pixel value of each connected region as the feature area, the largest area is the region that circular mark being located, eliminating the other regions whose areas are smaller; (6) Edge extracting, as the canny operator has the characteristic of high accuracy, high arithmetic speed, using canny operator to extract the edge of circular mark; (7) According to the edge coordinates extracted in (6) and the position coordinates (x0, y0) of the top left corner, the coordinates of the circular mark edge of the original image on the image can be obtained. C Least squares edge fitting and the circular mark positing After edge extracting the circular mark, the position coordinates of all edge points can be obtained, using least squares edge fitting method to restore the shape of the circular mark. The general algebraic form of the ellipse may be represented as _ax_ <sup>2</sup> + _bxy_ + _cy_ <sup>2</sup> + _dx_ + _ey_ + _f_ =0, wherein _a, b…f_ is the coefficients of the ellipse, the above formula may be rewrote to the matrix form, i.e.  _a_    _b_    _x_ 2 _xy_ _y_ 2 _x_ _y_ 1   _c_   _d_    _e_     _f_  1   _a_  _b_  _x_ 2 _xy_ _y_ 2 _x_ _y_ 1   _c_ _d_  2 _xy_ _y_ 2 _x_ _y_ 1     1 (1 _e_ _f_  1  While the edge points ( _xi, yi_ ) of multiple ellipses are known, then,  _a_  2 2    _x_ 1 _x_ 1 _y_ 1 _y_ 1 _x_ 1 _y_ 1 1  _b_  1    2 2    _x_ 2 _x_ 2 _y_ 2 _y_ 2 _x_ 2 _y_ 2 1   _c_    1         _d_    2 2    _xi_ _x yi_ _i_ _yi_ _xi_ _yi_ 1  _e_   1  _f_  1   _a_ 2 2  _x_ 1 _x_ 1 _y_ 1 _y_ 1 _x_ 1 _y_ 1 1  _b_  _x_ 22 _x_ 2 _y_ 2 _y_ 22 _x_ 2 _y_ 2 1   _c_ 12 _x_ 1 _y_ 1 _y_ 12 _x_ 1 _y_ 1 22 _x_ 2 _y_ 2 _y_ 22 _x_ 2 _y_ 2   1  _b_  1     1  _c_  1  (2)        _d_   _d_ 2 _x y_ _y_ 2 2 2 _xi_ _x yi_ _i_ _yi_ _xi_ _yi_ 1   _e_  _i_ _i_ _i_ _i_ _i_ _i_ 1  _e_   1  _f_  1  _f_ 1 1 ,  _xx_ 1222 _xx_ 21 _yy_ 12 _yy_ 1222 _xx_ 12 _yy_ 12 11          _xi_ 2 _xi_ _yi_ _yi_ 2 _xi_ _yi_ 1  _x_ 12 _x_ 1 _y_ 1 _y_ 12 _x_ 1 _y_ 1 _x_ 22 _x_ 2 _y_ 2 _y_ 22 _x_ 2 _y_ 2       12 _x_ 1 _y_ 1 _y_ 12 _x_ 1 _y_ 1 22 _x_ 2 _y_ 2 _y_ 22 _x_ 2 _y_ 2 set _A_  2 _x_ _y_ _y_ 2 _xi_ 2 _xi_ _yi_ _yi_ 2 _x_ _i_ 2 _xi_ _yi_ _yi_ 2 _xi_ _yi_ 1 _yi_ _yi_ 2 _xi_ _yi_ ### X   a b c d e f  1  T, B   1 1  1  T then formula(2) can be represented as according to least squares method, _AX_  _B_ (3) _X_  (ATA)  1 _B_ (4) According to X, 6 coefficients of the ellipse may be obtained, while the six feature coefficients of the ellipse are known, the outline of the ellipse may be fitted, and the center of the ellipse will be  _<u>be</u>_ <u></u> <u>2</u> _xc_   4 _ac_   _<u>bd</u>_ <u></u> <u>2</u>   _yc_  4 _ac_  _<u>be</u>_ <u></u> <u>2</u> _<u>cd</u>_ _xc_  4 _ac_  _b_ 2 _<u>bd</u>_ <u></u> <u>2</u> _<u>ae</u>_ _yc_  4 _ac_  _b_ 2 _c_ 2 (5) _c_ _<u>be</u>_ <u></u> <u>2</u> 4 _ac_  _<u>bd</u>_ <u></u> <u>2</u> 4 _ac_  2 ### 3 The extracting method based on image gray scale and geometric morphology 3.1 The extracting of circular mark Preprocessing the image according to the gray scale feature of the image, then testing the edge, filling the enclosed outline, and the multiple regions including circular mark may be obtained, then eliminating the jamming region according to the area features of the circular mark. The specific processing procedures are as follows: (1) Median filtering, reducing the effect of the noise, and the edge may be more clear; (2) Transforming the image gray scale, and the contrast of the bright and dark sections on the image may be increased; (3) Edge testing the image, and multiple outlines including circular mark may be obtained; (4) Hollow region filling, filling the interior of the region with enclosed outline, and the region with opened outline will stay the same; (5) Eliminating the liner region on the image according to the circularity of the region, the circularity _C_ reflecting the extent of a ellipse being close to a circle, with its value near 1, the shape of the region nears circle, the circularity is calculated according to _C_  4  _S_ / _L_ 2, wherein, _S_ is the region area, _L_ is the perimeter <sup>[6]</sup> of the region. Setting the upper and lower threshold _C_ 1, _C_ 2, eliminating the region that _C_ - _C_ 1 and _C_ < _C_ 2. (6) Testing the connected region of the processed image, marking the region where circular mark being located, then the position region that circular mark being located can be divided. 2.2 Image positing according to the geometric morphology According to the region where the circular mark image that extracted in 2.1 being located, positing the circular mark on the image in combine with the geometric morphology of circular mark region. The position of circular mark on the image may be represented by the centroid of the circular mark region, using grey weight centroid algorithm to obtain the position coordinate <sup>[7]</sup> of its centroid. Setting the grayscale of one circular mark _S_ as _I_ 0( _x, y_ ), and its centroid as ( _x_ 0 _, y_ 0), according to grey weight centroid algorithm:   _x_ 0      _y_ 0   #  _xW_ ( _x_, _y_ #  _x_ 0  <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> <u></u> _<u>S</u>_ _W_ ( _x_, _y_ ) #  ( _x_, _y_ ) <u></u> _<u>S</u>_ _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> <u></u> _<u>S</u>_ 0  <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> ( _x_, _y_ ) #  )  ( _x_, _y_ )  _S_ ( _x_, _y_ ) #  _yW_ ( _x_, _y_ #  _y_ 0  <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> <u></u> _<u>S</u>_ _W_ ( _x_, _y_ ) #  ( _x_, _y_ ) (6) <u></u> _<u>S</u>_ _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> <u></u> _<u>S</u>_ 0  <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> ( _x_, _y_ ) #   _x_, _y_ )  _S_ ( _x_, _y_ )  Wherein, _W(x, y)_ is weight value, the grayscale value _I_ 0( _x, y_ ) may be taken as weight value, i.e. _W_ ( _x_, _y_ )= _I_ 0( _x_, _y_ )。 (7) ### 4 Extracting experiment In order to make a contrast of the extracting effect between the above two methods, taking the image of circular mark collected in the lab as an example to conduct the extracting experiment. 4.1 Least squares edge fitting extracting experiment based on Region of Interest The least squares edge fitting extracting experiment procedure and the extracting effect based on the Region of Interest are shown as Fig.2: Fig.2 Least squares edge fitting extracting experiment based on Region of Interest 4.2 The extracting experiment based on image gray scale and geometric morphology The extracting experiment procedure and its extracting effect based on the image gray scale and geometric morphology are shown as Fig.3: (a) Image filtering (b) grey level transformation (c) edge testing (d) cavity filling (e) eliminating the jamming area (f) circular mark positing Fig.3 The extracting experiment based on the image gray scale and geometric morphology (a) The edge extracting effect of method 1 (b) The edge extracting effect of method 2 Fig.4 the contrast of edge extracting effect of circular mark1 (a) The edge extracting effect of method 1 (b) The edge extracting effect of method 2 Fig.5 the contrast of edge extracting effect of circular mark5 4.3 The contrast between the extracting results of circular mark 4.3.1 The contrast of the edge extracting effect The edge extracting effect of circular mark 1 and circular mark 5 that using the above two methods is shown as Fig4 and Fig5. As seen from Fig.5(a), the extracted edge according to the method 1 is smooth ellipse, with better edge fitting effect, and the edge of the circular mark can be reflected clearly; as seen from Fig.5(a), the extracted edge according to the method 2 may reflect the true situation of the edges, however there are a few part of edge pixels will be mistaken as background owing to image segmentation etc. As can be seen from the contrast between Fig.5(a) and Fig.5(b), although regular ellipse may be extracted according to method 1, the extracted outline is in the interior of the circular mark, many pixel points of circular mark are mistaken as background, the effect of which is poor; while conducting the extracting of circular mark 5 according to the method 2, though the edges are not smooth enough, the actual edge of circular mark 5 can be able to be extracted, the circular mark may be divided from the background, with better effect in comparison with method 1. As the circular mark 1 is shooting nearly vertical, it will be imaged as a ellipse that rather regular; however as the circular mark 5 is shooting at large shooting angle, it will be imaged as a ellipse rather irregular. Therefore when using the least squares edge fitting method, there will be large difference between the extracting effect. 4.3.2 The contrast between the positing results of circular mark According to the above two circular mark extracting experiment, the position of the obtained five circular marks on the image, the positing results of five circular marks according to the two methods and the demarcating deviation Δs (  _s_ ( _x_ 1  _x_ 2 )2  ( _y_ 1  _y_ 2 )2 ) of the two methods are shown as tablet 1. Table 1 The positing results of five demarcating circular marks according to the two <u>methods</u> The method based on image gray scale and geometric morphology circul ar mark The least squares edge fitting method based on the Region of Interest deviation _x_ 1/pxl _y_ 1/pxl _x_ 2/pxl _y_ 2/pxl Δ _s/_ pxl 1 277.96 268.94 277.78 268.81 0.22 2 1067.58 115.73 1067.36 115.63 0.24 3 534.63 523.17 534.58 522.91 0.26 4 989.93 593.24 989.65 593.05 0.34 5 687.57 826.52 687.28 826.1 0.51 As can be seen from the tablet 1, the positing results of the circular mark according to the two methods are close to each other, when positing the circular mark 1, circular mark 2, and circular mark 3 with rather regular imaged ellipse shape, the largest positing deviation is 0.26 pixel; when positing the circular mark 4 and circular mark 5 with rather irregular imaged ellipse shape, the positing deviation is rather large, the largest deviation is 0.51 pixel. 5 Summary This article studies two kind of circular mark extracting method, i.e. least squares edge fitting method based on the region of interest and method based on the image gray scale and geometric morphology, using the two methods to extract and position the 5 circular marks on the image, and making a contrast between the extracting effect and positing result according the two method. As can be seen from the contrast of the edge extracting effect and the circular mark positing result, the least squares edge fitting method based on the region of interest can reduce the image processing computational complexity efficiently by extracting the region of interest, smooth ellipse edge that staying the same with the actual image of the circular mark may be obtained when the imaging of the circular mark is rather regular, however this method needs manual assistance, and the edge fitting effect will be bad when the circular mark image is irregular; the method based on the image gray scale and geometric morphology is on the basis of the image gray scale and geometric morphology of the circular mark, the outline of the circular mark may be depicted automatically according to the change of image gray scale in situations without the manual intervention, the edge extracting effect will not be effected by the image state of circular mark, however the edge extracted according to this method is serrated outline, the pixel point on the part of the circular mark is mistaken as background, there are certain deviations in comparison with the actual image situation of the circular mark at this point. References [1] Pei Yan, Wang Bin, Li Yuan. Improved Ellipse Fitting algorithm based on least squares method, Journal of Beijing University of Aeronautics and Astronautics, 34 (2008): 295-298. [2] Chen Yan Xin, Qi FeiHu A new ellipse detection method based on random Hough transform, Journal of Infrared and Millimeter Waves, 19 (2000), 43-47. [3] Xu L, Oja E. Randomized Hough Transform(RHT):basic mechanisms, algorithms and computational complexities,Computer, Vision Graphic Image Process: Image Understanding, 57 (1993):131-154. [4] C Huang, Q Liu, S Yu. Regions of interest extraction from color image based on visual saliency,The Journal of Supercomputing, 58(2011): 20-33. [5] Chen ZaiLiang The extraction method of region of interest of image, Changsha: Central South University, 2012. [6] Liu XiangLei, Tong XiaoHua, Ma Jing video image sequence oval artificial measuring target rapid identification and tracking,Journal of Surveying and Mapping, 44 (2015): 663-669. [7] Yu QiFeng, Lu Hongwei, Liu Xiaolin precision measurement and motion measurement based on the image [M]: Science Press, Beijing, 2002,pp. 120-122.

섹션 본문

섹션 본문이 없습니다.

참고문헌 2건

  1. Regions of interest extraction from color image based on visual saliency The Journal of Supercomputing · Springer Science+Business Media · 2010 10.1007/s11227-010-0532-x
  2. Randomized Hough Transform (RHT): Basic Mechanisms, Algorithms, and Computational Complexities Computer Vision and Image Understanding · Elsevier BV · 1993 10.1006/cviu.1993.1009