计算机应用

• 图形图像处理(Graphics and image processi • 上一篇    下一篇

基于自适应链码的棉种周长测量

刘韶军 王库   

  1. 中国农业大学 中国农业大学
  • 收稿日期:2008-05-05 修回日期:2008-07-13 发布日期:2008-11-01 出版日期:2008-11-01
  • 通讯作者: 王库

On detection of cottonseed perimeter based on self-adaptive freeman code

Shao-jun LIU Ku WANG   

  • Received:2008-05-05 Revised:2008-07-13 Online:2008-11-01 Published:2008-11-01
  • Contact: Ku WANG

摘要: 在棉种实时检测系统中,为了识别破损棉种,必须提取棉种的边缘并计算其周长。传统的边缘提取方法有Sobel、Robert等微分算子,以及数学形态学方法和小波变换方法。但是在实时系统中,图像处理速度是影响实时性的关键因素。Freeman链码是图像处理中表示轮廓形状的方法之一,由提取的链码可以得到曲线(包括直线)的曲率、曲线的特征点等,而这些特征是图像压缩、图像重建、图像匹配的依据。由Freeman链码方法提取的图像边缘是单像素的,因此采用这种方法来计算棉种的周长。通过与Sobel、Robert等边缘提取方法进行比较,可以证明运用链码方法求周长,其搜索时间短,计算准确,尤其适用于以快速准确为目标的实时系统。

关键词: Freeman链码, 边缘提取, 图像处理, 周长计算

Abstract: To detect broken cottonseeds in cottonseeds real-time detection system, edge must be extracted and perimeter be calculated. Traditional methods of edge extraction such as Sobel, Robert, mathematical morphology and wavelet transformation are limited in real-time system due to their slow processing rate. Freeman code is one of the methods of edge description. The difference between Freeman code and other methods is that Freeman code gives the curvature and feature points and so on through relative techniques. Meanwhile, the curvature and feature points are essential to image compression and image restoration. The method of Freeman code in edge extraction was applied to cottonseed perimeter calculation. By comparison with Sobel and Robert, Freeman code method is single-pixel and proved to be quick and precise in calculating perimeter, especially in real time system.

Key words: Freeman code, edge extraction, image processing, perimeter calculation