




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、基于混合遗传算法的图像增强技术摘要:在图像增强之中,塔布斯提出了归一化不完全函数表示常用的几种使用的非线性变换函数对图像进行研究增强。但如何确定Beta系数功能仍然是一个问题。在图像增强处理和利用遗传算法快速算法的搜索能力进行自适应变异和搜索我们提出了一种混合遗传将微分进化算法。最后利用仿真实验证明了该方法的有效性。关键词:图像增强;混合遗传算法;自适应增强.介绍在图像形成,传递或转换过程,由于其他客观因素,如系统噪声,不足或过度曝光,相对运动等的影响会使图像通常与原始图像之间有差别(简称退化或退化)。退化图像通常模糊或信息的提取通过机器后减少甚至是错误的,它必须采取一些改进措施。图像增强技术
2、是在其目的是为了提高图像的质量这个意义上提出的。模糊图像增强情况是根据图像使用各种特殊技术集锦的一些信息图像,减少或消除不相关的信息,来强调整体或局部特征的目标图像。图像增强方法仍没有统一的理论,图像增强技术可分为三类别:点运算,与空间频率增强方法增强法。本文介绍了根据图像特征自动调整自适应图像增强方法,称为混合遗传算法。为了实现图像的自适应增强它结合了差分进化自适应搜索算法,自动确定的参数值的变换函数。.图像增强技术图像增强是图像的某些特征,如轮廓,对比,强调或突出的边缘等为了便于检测和进一步的分析和处理. 增强将不会增加图像中的信息数据,但会选择适当的动态范围的功能的扩展,使得这些特点更容
3、易检测或确定,为后续的分析和处理的检测打下良好的基础。图像增强方法包括点运算,空间滤波,频域滤波类别。点运算包括对比度拉伸,直方图建模,并限制噪声和图像减影技术。空间滤波器包括低通滤波,中值滤波,高通滤波器(锐化)。频率滤波器包括同态滤波,多尺度多分辨率图像增强中的应用1。.差分进化算法差分进化(DE)首次提出了强硬的价值,并与其他进化算法进行比较,DE算法具有强大的空间搜索能力,易实现,容易理解。DE算法是一种新型的搜索算法,它首先是在搜索空间中随机产生初始种群,然后计算之间的任何差异向量的两个成员,所不同的添加到向量的第三个成员,通过该方法,形成一个新的个人。如果你发现新的个体成员比原来的
4、好,然后替换原来的个体,自我的形成。DE操作作为遗传算法一样,它结论突变,交叉和选择,但方法是不同的。我们假设组的大小是P,矢量维D,我们可以表达的目标向量为(1): xi=xi1,xi2,xiD (i =1,P) (1)变异向量可以表示为(2): i=1,.,P (2),是三个从群中随机选择的个人 ,其中,r1r2r3i。F是一系列的 0,2 之间的实际类型的用于控制影响的常数因子差异向量,通常被称为比例因子。 显然,矢量之间的区别越小则干扰也越小,这意味着如果组接近最佳值,扰动会自动降低。 DE算法的选择操作是一个“贪婪”的选择模式,当且仅当新的矢量Ui比目标向量Xi更好更健全,Ui将被保
5、留到下一组。否则,目标向量Xi留在原来的组,再次作为下一代的父矢量。 .图像增强图像的混合遗传算法 增强是获得快速对象检测的基础,因此有必要寻找实时性能好的算法。对不同系统的实际要求,许多算法需要确定的参数和人工阈值。它可以使用一个非完全Beta函数来完全覆盖典型变换式的图像增强,但确定Beta函数参数仍有许多亟待解决的问题。本节介绍了一种Beta功能,因为根据适用的图像增强的方法,自适应混合遗传算法的搜索的能力,自动确定变换命令的参数值来实现图像增强的自适应功能。 图像增强的目的是提高图像质量,是在指定的比较突出的特点恢复退化图像细节等。一个共同的特征的退化图像通常是对比的下侧呈明亮的,暗淡
6、或灰色浓。低对比度退化图像可拉伸达到一种动态的直方图增强,如灰度变化。我们用 Ixy来说明点(x,y)的灰度级它可以是由(3)表示。 Ixy=f(x,y) (3)其中:“f”为一个线性或非线性函数。在一般情况下,灰图像有四个非线性的翻译6 7,可以是如图1所示。我们采用归一化的 Beta函数自动适应4类图像增强转变曲线。(4)中定义: (4)其中: (5)对于不同的,值,我们可以从(4)及(5)中得到响应曲线。 图1 四种传统的翻译该混合算法可以利用前面的部分自适应差分进化算法搜索最佳函数来确定的值,然后每个像素灰度值为函数,相应的图1转化,产生理想的图像增强。详细描述如下:假设原始图像的像素
7、(x,y)的像素的灰度水平,表示为式(4),记为,这里是图像域。增强的图像由Ixy表示。首先,图像的灰度值在(6)中归到0,1。 (6)其中:imax和imin表示图像灰度的最大值和最小值。定义非线性变换函数f(U)(0U1)变换成源图像GXY=f(GXY),其中,0GXY1。最后,我们使用了混合遗传算法来确定适当的Beta函数f(U)的最佳参数和。 V.实验和分析在模拟中,我们使用两种不同类型的灰度图像退化;程序执行了50次,人口大小为30,进化600次。结果表明,提出的方法可以非常有效地提高不同退化图像类型。 a) 原始图像 b) 增强图像 图2 单个图像增强过程 a) 原始图像 b) 增
8、强图像 图3 移动对象增强过程图2,原始图像为320×320的大小,它是对比度低,和更为模糊的一些细节,特别的,外围和其他细节很不明显,视觉效果差,使用文中提出的方法部分,克服了以上的一些问题,并得到令人满意的图像效果,如图5(b)显示,该视觉效果得到明显改善。从直方图看来,图像的强度分布的范围是比较均匀,光明与黑暗的灰色区域的分布更合理了。混合遗传算法自动确定函数曲线的非线性变换,从曲线可以得出值9.837,5.7912,它符合图3的C级,跨越压缩变换的中间区域,这与直方图相一致,整体的原始图像低对比度,在中间区域两端压缩拉伸区域与人的视觉一致,增强效果明显提高。图3,原始图像的大
9、小320×25,整体强度低,使用文中提出的方法得到b图像,我们可以看到地上,椅子和衣服和其他细节的分辨率和对比度比原始图像有明显改善,原始图像的灰度分布集中在较低的区域,其增强的灰度图像的灰度均匀,图3(a)之前和之后基本的变换和非线性变换是一样的,即,图像暗区伸展的值是5.9409, 9.5704,非线性变换的图像退化类型推断是正确的,增强视觉效果和良好的图像增强效应。图像还没有一个统一的评价标准则很难评价图像质量的提高,有共同峰值信号噪声比(PSNR)方面的评价,但峰值信噪比不反映人类视觉系统误差。因此,我们利用边缘保护指数与对比增长指数评价实验结果。edgel保护指数(EPI)
10、的定义如下(7): (7) 对比度增加指数(CII)定义如下: (8) 在图4中,我们比较了小波变换算法得到评估表 TABLE I。 a) 原始图像 b) 通过小波变换的 c) 通过算法增强图像 图像增强 图4 不同工艺的比较 表1 两种方法的比较 图4(a,c)显示原始图像和差分进化算法增强的结果,可以看出,对比度明显提高,更清晰的图像细节,边缘特征更为突出。(B,C)表明,基于小波变换的混合遗传算法的图像比较增强:基于小波变换的增强方法,以提高图像细节部分的视觉效果是在原始图像的改进,但增强不明显;基于自适应混合遗传算法变换的图像增强效果非常好,图像细节,纹理,清晰的结果相比提高了,基于小
11、波变换,大大提高了图像分析后处理的能力。增强实验利用小波变换“sym4”小波,增强差分进化算法实验,它的参数和值分别为5.9409,9.5704。对于一个256×256大小的图像变换的自适应混合遗传算法在MATLAB 7软件中的图像增强,计算时间约为2秒,操作很快。从表一中客观的评价标准可以看出,无论是从边缘保护指数,或以提高对比度指数,基于自适应混合遗传算法相比传统的小波变换方法具有较大的增强,这是本节介绍的方法的客观优势。从以上分析,我们可以看到,这种方法是有用的和有效的。.结论在本文中,为了保持完整性的视角的图像信息,利用混合遗传算法来进行图像增强,从实验结果可以看出,基于混合
12、遗传算法的图像增强方法具有明显的效果。与其他进化算法相比,该算法的混合遗传算法突出表现在它是简单的,鲁棒性和快速收敛,在每次运行时发现它几乎是最佳的解决方案,该混合遗传算法只有几个参数需要设置和相同的一组参数可以用在许多不同的问题。应用混合遗传算法的快速搜索能力对于一个给定的测试图像的自适应变异进行搜索,最终确定变换函数的最佳参数值。与穷举法相比,显着减少时间求解,解决了计算的复杂性。因此,所提出的这个图像增强方法具有一定的实用价值。参考文献1 HE Binetal., Visual C+ Digital Image Processing M, Posts & Telecom Pres
13、s, 2001,4:4734772 Storn R, Price K. Differential Evolutiona Simple and Efficient Adaptive Scheme for Global Optimization over Continuous SpaceR. International Computer Science Institute, Berlaey, 1995.3 Tubbs J D. A note on parametric image enhancement J.Pattern Recognition.1997, 30(6):617-621.4 TAN
14、G Ming, MA Song De, XIAO Jing. Enhancing Far Infrared Image Sequences with Model Based Adaptive Filtering J . CHINESE JOURNAL OF COMPUTERS, 2000, 23(8):893-896.5 ZHOU Ji Liu, LV Hang, Image Enhancement Based on A New Genetic Algorithm J. Chinese Journal of Computers, 2001, 24(9):959-964.6 LI Yun, LI
15、U Xuecheng. On Algorithm of Image Constract Enhancement Based on Wavelet Transformation J. Computer Applications and Software, 2008,8.7 XIE Mei-hua, WANG Zheng-ming, The Partial Differential Equation Method for Image Resolution Enhancement J. Journal of Remote Sensing, 2005,9(6):673-679.Application
16、Of Digital Image Processing In The Measurement Of Casting Surface RoughnessTian Xiaojing, Wang Xiaoyu, Wang Longji Dalian Jiaotong University, Liaoning, CHN, tzyDong Huajun 1 Dalian Jiaotong University, Liaoning, CHN, tzy 2.CEET Pinggao Group Company Limited, Henan, CHN, huajundong4025Ahstract- This
17、 paper presents a surface image acquisition system based on digital image processing technology. The image acquired by CCD is pre-processed through the procedure of image editing, image equalization, the image binary conversation and feature parameters extraction to achieve casting surface roughness
18、 measurement. The three-dimensional evaluation method is taken to obtain the evaluation parametersand the casting surface roughness based on feature parameters extraction. An automatic detection interface of casting surface roughness based on MA TLAB is compiled which can provide a solid foundation
19、for the online and fast detection of casting surface roughness based on image processing technology.Keywords-casting surface; roughness measurement; image processing; feature parameters.INTRODUCTIONNowadays the demand for the quality and surface roughness of machining is highly increased, and the ma
20、chine vision inspection based on image processing has become one of the hotspot of measuring technology in mechanical industry due to their advantages such as non-contact, fast speed, suitable precision, strong ability of anti-interference, etc 1,2. As there is no laws about the casting surface and
21、the range of roughness is wide, detection parameters just related to highly direction can not meet the current requirements of the development of the photoelectric technology, horizontal spacing or roughness also requires a quantitative representation. Therefore, the three-dimensional evaluation sys
22、tem of the casting surface roughness is established as the goal 3,4, surface roughness measurement based on image processing technology is presented. Image preprocessing is deduced through the image enhancement processing, the image binary conversation. The three-dimensional roughness evaluation bas
23、ed on the feature parameters is performed . An automatic detection interface of casting surface roughness based on MA TLAB is compiled which provides a solid foundation for the online and fast detection of casting surface roughness.II. CASTING SURFACE IMAGE ACQUISITION SYSTEMThe acquisition system i
24、s composed of the sample carrier, microscope, CCD camera, image acquisition card and the computer. Sample carrier is used to place tested castings. According to the experimental requirements, we can select a fixed carrier and the sample location can be manually transformed, or select curing specimen
25、s and the position of the sampling stage can be changed. Figure 1 shows the whole processing procedure.,Firstly,the detected castings should be placed in the illuminated backgrounds as far as possible, and then through regulating optical lens, setting the CCD camera resolution and exposure time, the
26、 pictures collected by CCD are saved to computer memory through the acquisition card. The image preprocessing and feature value extraction on casting surface based on corresponding software are followed. Finally the detecting result is output.III. CASTING SURFACE IMAGE PROCESSINGCasting surface imag
27、e processing includes image editing, equalization processing, image enhancement and the image binary conversation,etc. The original and clipped images of the measured casting is given in Figure 2. In which a) presents the original image and b) shows the clipped image.A. Image EnhancementImage enhanc
28、ement is a kind of processing method which can highlight certain image information according to some specific needs and weaken or remove some unwanted informations at the same time5.In order to obtain more clearly contour of the casting surface equalization processing of the image namely the correct
29、ion of the image histogram should be pre-processed before image segmentation processing. Figure 3 shows the original grayscale image and equalization processing image and their histograms. As shown in the figure, each gray level of the histogram has substantially the same pixel point and becomes mor
30、e flat after gray equalization processing. The image appears more clearly after the correction and the contrast of the image is enhanced. Fig.2 Casting surface image Fig.3 Equalization processing imageB. Image SegmentationImage segmentation is the process of pixel classification in essence. It is a
31、very important technology by threshold classification. The optimal threshold is attained through the instmction thresh = graythresh (II). Figure 4 shows the image of the binary conversation. The gray value of the black areas of the Image displays the portion of the contour less than the threshold (0
32、.43137), while the white area shows the gray value greater than the threshold. The shadows and shading emerge in the bright region may be caused by noise or surface depression.Fig4 Binary conversationIV. ROUGHNESS PARAMETER EXTRACTIONIn order to detect the surface roughness, it is necessary to extra
33、ct feature parameters of roughness. The average histogram and variance are parameters used to characterize the texture size of surface contour. While unit surface's peak area is parameter that can reflect the roughness of horizontal workpiece.And kurtosis parameter can both characterize the roug
34、hness of vertical direction and horizontal direction. Therefore, this paper establishes histogram of the mean and variance, the unit surface's peak area and the steepness as the roughness evaluating parameters of the castings 3D assessment. Image preprocessing and feature extraction interface is
35、 compiled based on MATLAB. Figure 5 shows the detection interface of surface roughness. Image preprocessing of the clipped casting can be successfully achieved by this software, which includes image filtering, image enhancement, image segmentation and histogram equalization, and it can also display
36、the extracted evaluation parameters of surface roughness. Fig.5 Automatic roughness measurement interfaceV. CONCLUSIONSThis paper investigates the casting surface roughness measuring method based on digital Image processing technology. The method is composed of image acquisition, image enhancement,
37、the image binary conversation and the extraction of characteristic parameters of roughness casting surface. The interface of image preprocessing and the extraction of roughness evaluation parameters is compiled by MA TLAB which can provide a solid foundation for the online and fast detection of cast
38、ing surface roughness.REFERENCE1 Xu Deyan, Lin Zunqi. The optical surface roughness research pro gress and direction 1. Optical instruments 1996, 18 (1): 32-37.2 Wang Yujing. Turning surface roughness based on image measurement D. Harbin: Harbin University of Science and Technology3 BRADLEY C. Autom
39、ated surface roughness measurement1. The International Journal of Advanced Manufacturing Technology ,2000,16(9) :668-674.4 Li Chenggui, Li xing-shan, Qiang XI-FU 3D surface topography measurement method J. Aerospace measurement technology, 2000, 20(4): 2-10.5 Liu He. Digital image processing and app
40、lication M. China Electric Power Press, 2005数字图像处理在铸件表面粗糙度测量中的应用Tian Xiaojing, Wang Xiaoyu, Wang Longji 大连交通大学,辽宁,中国,tzyDong Huajun 1大连交通大学,辽宁,中国,tzy 2.CEET平高集团有限公司,河南,中国, huajundong4025摘要本文提出了一种表面图像采集基于数字图像处理技术的系统。由CCD获得的图像的步骤是通过预先处理图像编辑,图像均衡,图像二进制对话和特征参数的提取,实现铸件表面粗糙度测量。三维评价方法是得到评价参数和铸件表面粗糙度的特征参数的提
41、取。一种基于MA TLAB的铸造表面粗糙度自动检测接口程序,可以提供一个坚实的基础在线和快速的基于图像处理技术的铸造表面粗糙度检测。关键词铸造表面粗糙度测量;图像处理;特征参数.介绍如今在质量和加工表面粗糙度的高度增加的需求下,由于如非接触,热点速度快,适用于精度高,抗干扰能力强等的优点,基于图像处理的机器视觉检测已成为机械工业中主要测量技术之一1,2。由于没有规定和限制,铸件表面粗糙度的范围是广泛的,检测参数与高度方向光电技术的发展,不能满足目前的要求,水平间距或粗糙度也需要一个定量表示。因此,基于图像处理技术的表面粗糙度测量方法,对铸造表面粗糙度建立三维评价体系为目标 3,4 。通过图像增
42、强处理,推导出图像的预处理和图像二值谈话。三维粗糙度是基于特征参数进行评价的。一种基于MA TLAB的铸造表面粗糙度自动检测界面的编制提供了坚实的在线快速铸造表面粗糙度检测。.铸件表面图像采集系统采集系统由采样载体,显微镜,CCD摄像头,图像采集卡和计算机组成。样品载体是用来测试铸件。根据实验要求,我们可以选择一个固定的载体,采样位置可以手动转换,选择固化试样与采样阶段的位置是可以改变的。图1显示了整个加工过程,首先,检测到铸件应尽可能放置在明亮的背景下,然后通过调节光学透镜,设置CCD摄像机分辨率和曝光时间,对CCD采集到的图片通过采集卡保存到计算机内存。根据相应的软件对铸件表面进行图像预处理和特征值提取,最后检测结果输出。 图1 铸造图像采集系统.铸件表面图像处理铸件表面图像处理主要包括图像编辑,均衡处理,图像增强和图像二值谈话等。原始的图像测量铸件图2中给出。其中(a)显示了原始图像和(b)显示剪辑图像。A. 图像增强图像增强是一种处理方法,可以突出某些图像信息,根据特定的需要同时可以削弱
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 美发店租工位合同范本
- 2025至2030中国男式纯棉内衣行业市场占有率及投资前景评估规划研究报告
- 广东省梅州市养老院消防安全测试题十(含答案)
- 珠宝鉴定专业试题及答案
- 河北省劳动合同模板
- 商铺委托经营管理合同格式范本
- 变电站基建安全题库及答案解析
- 安全生产员A证考试题库及答案解析
- 江苏省安全教育b证题库及答案解析
- 安全生产题库及及答案解析
- 肾动脉狭窄介入治疗讲课件
- 征迁岗位笔试题目及答案
- 2025-2030年中国拆船行业市场现状供需分析及投资评估规划分析研究报告
- DB13T 5470-2021 30%氧气-氦气混合气中氧气及杂质的检测色谱法
- T/SHPTA 033-2022聚氯乙烯软制品用钙锌复合热稳定剂
- T/CHES 42-2020水质涕灭威、克百威和甲萘威的测定液相色谱法
- 黑河市重点中学2025届八下数学期末统考模拟试题含解析
- 上门灭蚊合同范例
- 认识多面绘画-绘画的工具与材料 课件-2023-2024学年高一下学期美术人美版(2019)选择性必修1 绘画
- 2025-2030中国微藻行业市场发展趋势与前景展望战略研究报告
- 双休背景下的自律学习的重要性课件-高一下学期自律的力量主题班会
评论
0/150
提交评论