计算机工程与应用
計算機工程與應用
계산궤공정여응용
COMPUTER ENGINEERING AND APPLICATIONS
2014年
4期
166-169,195
,共5页
王刚%石守东%郑凯辉
王剛%石守東%鄭凱輝
왕강%석수동%정개휘
绕距测量%阈值分割%形态学处理%正交最小二乘法%曲线拟合
繞距測量%閾值分割%形態學處理%正交最小二乘法%麯線擬閤
요거측량%역치분할%형태학처리%정교최소이승법%곡선의합
distance measurement%threshold segmentation%morphology processing%the orthogonal least square method%curve fitting
针对网线绕距测量,提出了一种基于图像处理和正交最小二乘曲线拟合的方法。运用彩色空间模型分别提取两条不同颜色的双绞线并将其灰度化。运用阈值分割的方法将图像二值化,运用图像形态学处理填充双绞线内部的孔洞简单修复图像。通过正交最小二乘曲线拟合的方法,拟合出双绞线的中心线,得到两条双绞线的交点并且最终求得网线绕距。实验表明,提出的方法能简单有效地计算出网线绕距。
針對網線繞距測量,提齣瞭一種基于圖像處理和正交最小二乘麯線擬閤的方法。運用綵色空間模型分彆提取兩條不同顏色的雙絞線併將其灰度化。運用閾值分割的方法將圖像二值化,運用圖像形態學處理填充雙絞線內部的孔洞簡單脩複圖像。通過正交最小二乘麯線擬閤的方法,擬閤齣雙絞線的中心線,得到兩條雙絞線的交點併且最終求得網線繞距。實驗錶明,提齣的方法能簡單有效地計算齣網線繞距。
침대망선요거측량,제출료일충기우도상처리화정교최소이승곡선의합적방법。운용채색공간모형분별제취량조불동안색적쌍교선병장기회도화。운용역치분할적방법장도상이치화,운용도상형태학처리전충쌍교선내부적공동간단수복도상。통과정교최소이승곡선의합적방법,의합출쌍교선적중심선,득도량조쌍교선적교점병차최종구득망선요거。실험표명,제출적방법능간단유효지계산출망선요거。
To measure the distance which two reticles twist around one section, a kind of method which is based on image processing and the orthogonal least squares curve fitting is put forward. The method picks up two different colors of reti-cles by using color space model and makes it in gray level. The threshold segmentation is used in the image binary prog-ress. Using the image morphology processing is to fill in the part of holes. So the images are repaired simply. The result can be received by fitting out the centre line of two reticles. The centre lines are obtained by the method of the orthogonal least squares curve fitting. The points of intersection which two lines meet can be got. Ultimately the distance can be achieved. Experiments show that the proposed method can calculate the distance effectively which two reticles twist around one section.