基于视觉的零件尺寸测量方法

摘    要

模仿人的眼睛看事物,将物体看作是一幅图像来获得物体的尺寸信息,依靠视觉来采集图像信息是基于视觉的零件尺寸测量主要研究的过程。这些年来,基于视觉零件尺寸的测量方法技术已经深入到各行各业。它融入了各个学科的能源技术,成为了一门综合性的现代测量技术学科。实现了高精度测量,及微小物体测量。

本设计主要以一个方形工件为实例进行视觉测量,并且通过图像灰度化、二值化以及图像边缘检测来获取物体的实际尺寸。着重深入研究图像处理,并以图像标定和图像处理为主。同时本文详细论述基于视觉的零件尺寸测量技术的应用,并侧重于图像处理的计算过程,通过Matlab程序计算与二维图像绘制,实现了基于视觉的零件尺寸在线测量系统。主要研究以下内容:

1、介绍视觉测量的基本意义、现状即以发展空间,确定设计的解决方案,阐述基于视觉的零件尺寸测量技术,对其技术在线测量方案进行理论分析和实验验证,证明它的可行性;

2、分析获取图像的标定技术,采用标准件标定方法并且对整个测量系统标定,通过实验获得的数据进一步验证系统测量的精确度;

3、通过对图像处理算法的分析,利用Matlab程序,实现图像预处理和像素边缘检测。深入分析图像数据处理和亚像素边缘定位技术,提高计算速度和计算精度。

关键词:基于视觉;零件尺寸;图像处理;边缘检测;灰度化

Based on The

Isual Component Size Measurement

ABSTRACT

Parts size measuring based on vision is the main research is to

simulate human visual function to process the image to extract information from

the objective things to understand, eventually acquire data needed for the

actual size. In recent years, based on the visual component size measurement

technology in the field of measurement in recent years the rapid development of

new technology. It is based on the modern optics, the integration of computer,

laser technology, image processing and analysis technology such as modern

science and technology is a body comprehensive measuring technique.

In this paper, we

use part size measurement based on visual method to measure the mechanical

parts of 2 d geometry, through image processing and Matlab programming drawing

two-dimensional curve analysis of mechanical parts processing. Emphatically study the key technology in the process of image

processing and system calibration problems, achieve sub-pixel locating on the

edge of mechanical parts size, further realize high precision of component

size.Parts size measuring based on vision application in part size measurement

is discussed in detail, and focuses on the process of image processing method,

through the Matlab calculation and two-dimensional image rendering, parts size

online measuring system based on vision is achieved. The main

research content below:

1.Introduce the

basic concept of topic, the research background and significance of the

development and the existing problems at home and abroad, clear solutions to

this topic, this paper based on the visual parts dimension measurement

technology, the technology of online measurement scheme wake the theoretical

analysis and experimental verification, to prove the feasibility of it

2.Analysis of

image calibration technology, the use of standard calibration method and the

whole measurement system calibration, data obtained through the experiment to

verify the accuracy of measurement system.

3.Through the analysis of the image processing algorithm, using

Matlab, the realization of image preprocessing and pixel edge detection.In-depth analysis of the image

data processing and the subpixel edge location technology, improve the

calculation speed and calculation accuracy.

Key Word: based on visual; parts size; image processing ;edge detection;gary

目    录

第一章  绪论.............................................................1

1.1基于视觉系统概述 ...................................................1

1.1.1基于视觉系统基本概念..........................................1

1.1.2基于视觉技术的优越性..........................................1

1.1.3基于视觉系统关键技术..........................................2

1.2基于视觉的研究意义..................................................3

1.3基于视觉的国内外发展现状............................................3

第二章  图像采集系统的组成及设计......................................4

2.1系统的组成原理框架结构 .............................................4

2.2系统的光学设备......................................................5

2.2.1硬件设备摄像头的选择..........................................5

2.2.2图像数据采集卡................................................6

2.2.3照明设备......................................................7

第三章  图像处理及尺寸测量方案........................................8

3.1图像处理的概念......................................................8

3.2系统定标............................................................9

3.2.1定标的概念及原理..............................................9

3.2.2成像原理.....................................................10

3.2.3选取恰当的定标方法...........................................10

3.3图像预处理.........................................................12

3.3.1图像的灰度转换...............................................13

3.3.2图像的二值化.................................................14

3.4图像边缘检测.......................................................19

3.4.1图像边缘检测的论述...........................................19

3.4.2 边缘检测的基本算子..........................................19

第四章  方形件的视觉尺寸测量.........................................23

4.1方形件的系统定标...................................................23

4.2方形件的图像处理...................................................23

4.2.1方形件灰度处理...............................................23

4.2.2方形件的二值化处理...........................................24

4.2.3方形件的边缘检测.............................................25

4.3方形件的测量结果...................................................26

第五章  尺寸测量的误差和误差分析.....................................28

5.1误差及误差原由.....................................................28

5.2减少误差的方法.....................................................28

第六章  总结............................................................30

参考文献.................................................................31

附录A....................................................................33

A.1图像灰度化处理程序.................................................33

A.2图像二值化程序.....................................................33

A.3图像一般梯度边缘检测处理程序.......................................34

A.4图像Cany边缘检测程序..............................................35

A.5图像的像素提取.....................................................38

致  谢...................................................................40

matlab图片测量尺寸_基于视觉的零件尺寸测量方法相关推荐

  1. 三维点云可以导航吗_基于视觉高精定位的“室内AR导航”技术点解析

    自1967年卫星导航技术开放民用以来,经过50多年发展,导航定位已广泛应用于交通物流.地理信息.高精度测量等多种行业中,提升了现代社会的运营效率,也为个人生活和出行都带来巨大便利. 不过,尽管导航定位 ...

  2. 计算机视觉 马尔_基于视觉AI的智能车牌识别相机,识别更精准功能更强大

    原标题:基于视觉AI的智能车牌识别相机,识别更精准功能更强大 通常来说,车牌识别相机是通过对图像的识别判断从而完成车辆信息采集的,市面上常见的车牌识别相机大部分采用的是OCR识别和视觉AI智能识别. ...

  3. pil 获取图像尺寸_从命令行获取图像尺寸

    pil 获取图像尺寸 The command line is a gold mine if you come from the perspective of a UI lover.  Getting ...

  4. 13寸笔记本电脑尺寸_如何判断行李箱的尺寸?标准行李箱尺寸对照表(13~32寸)

    行李箱已经成为家庭必备的一件物品,很多时候都会用到行李箱,最晚就是大学时期,肯定会准备一个行李箱,有些人第一次买不知道如何判断行李箱的尺寸,今天小编就教大家怎么自己确定行李箱的尺寸. 如何判断行李箱的 ...

  5. vb 设置打印机 任意尺寸_打印照片怎么设置尺寸

    本文力图以最易实现的方式给大家介绍打印照片如何设置尺寸. 方法/步骤 一.右键点击照片,选择打印,进入Windows打印图片.操作如下: ①选择打印机: ②选择打印纸张幅面: ③选择打印质量: ④选择 ...

  6. 基于单片机自动升旗系统_基于视觉定位的机器人全自动冲击系统

    产品图片 产品图片 01 产品简介 产品集成了力学冲击实验机.全自动冷却机.视觉定位.机器人.分拣收集装置及信息管理软件等系统,在人工进行批量试样的上料.组批及任务下达后,自动进行试样的降温保温.上料 ...

  7. python编码尺寸_基于Python批量生成指定尺寸缩略图代码实例

    这篇文章主要介绍了基于Python批量生成指定尺寸缩略图代码实例,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下 最近我们商城上架的应用越来越丰富了. ...

  8. c++ 图片验证码识别_基于tensorflow 实现端到端的OCR:二代身份证号识别

    最近在研究OCR识别相关的东西,最终目标是能识别身份证上的所有中文汉字+数字,不过本文先设定一个小目标,先识别定长为18的身份证号,当然本文的思路也是可以复用来识别定长的验证码识别的. 本文实现思路主 ...

  9. opencv 图片边缘渐变_基于OpenCV的图像卡通化

    点击上方"小白学视觉",选择加"星标"或"置顶" 重磅干货,第一时间送达 本期将创建一个类似于Adobe Lightroom的Web应用程序 ...

  10. matlab 点云特征_基于点云的3D障碍物检测

    击上方"新机器视觉",选择加"星标"或"置顶" 重磅干货,第一时间送达 基于点云的3D障碍物检测 主要有以下步骤: 点云数据的处理 基于点云 ...

最新文章

  1. Debian上网的问题小结
  2. Coursera algorithm II PA4
  3. SSE,MSE,RMSE,R-square指标讲解
  4. linux 多域名访问数据库,Linux下虚拟域名的实现
  5. 你好,面试官 | 你觉得MySQL自增主键连续吗?
  6. scrapy使用meta在各个模块的组件之间传递数据
  7. pytorch cpu版本安装_pytorch深度学习框架--gpu和cpu的选择
  8. android无缝切换播放器,android 视频 无缝切换 无缝播放 surfaceview
  9. HDU - 6464 免费送气球(线段树二分)
  10. 使用aliyun镜像源下载镜像及仓库搭建
  11. 能上天的代码? NASA 火星无人机飞行控制系统开源了
  12. 华为宣布人事调整:余承东调离华为云
  13. 「 JVM基础 」Java双亲委派机制
  14. Spring Cloud的负载均衡Spring Cloud Ribbon和Spring Cloud Feign
  15. linux dd copy all partitions,dd 命令详解
  16. SRI-Subresource Integrity
  17. Joomla安装示范数据,永远安装不完的解决方法
  18. 零基础如何备考系统集成项目管理工程师?
  19. 低压抽屉柜常见故障处理方法_低压开关柜的常见故障及处理方法
  20. 如何在ubuntu16.04上安装eclipse

热门文章

  1. 计算机驱动程序检测,检测到计算机制造商图形驱动程序对于显卡驱动程序
  2. C# ILDASM 使用
  3. B站新规下的视频码率压制方案
  4. 工业设计与钣金工艺是怎么相互相成的
  5. android checkboxpreference属性,如何更改android中CheckBoxPreference标题的文本颜色?
  6. 【转】乱码翻译全攻略
  7. Windows 10 VMware Workstation Server服务启动一段时间后自动异常关闭
  8. access mysql知乎_Access数据库如何使用?
  9. 一级倒立摆MATLAB仿真程序(搬运)
  10. 传说中的世界500强面试题-数学能力(2)