首页> 外国专利> CONTROL METHOD FOR COLOR LIGHTING OF VISION SYSTEM BY RANDOM SEARCH ALGORITHM

CONTROL METHOD FOR COLOR LIGHTING OF VISION SYSTEM BY RANDOM SEARCH ALGORITHM

机译:基于随机搜索算法的视觉系统彩色照明控制方法

摘要

The present invention relates to a method for controlling color lighting of a vision system using a random search algorithm and, more specifically, to a method for automatically setting an optimum lighting condition in the least amount of time by analyzing a camera image in a grey level to apply a random search algorithm to search for a point having maximum sharpness. The method for controlling color lighting of a vision system using a random search algorithm includes the steps of: setting a minimum range and a maximum range of each element for an input voltage; generating a change rate by generating random numbers in the minimum range and the maximum range; determining whether the change rate is out of a boundary condition by substituting the change rate for a current voltage; acquiring a digital image of a pixel unit from an inspection object image which is irradiated onto a camera, and then converting the digital image to grey level image to calculate sharpness, and acquiring minus sharpness; comparing minus sharpness for a current input voltage and the minus sharpness acquired by supplying the input voltage including the random numbers to determine suitability of the random numbers; resetting the input voltage if it is determined that the random numbers are suitable; and repeating the above steps until a termination condition is met.
机译:技术领域本发明涉及一种使用随机搜索算法来控制视觉系统的彩色照明的方法,并且更具体地,涉及一种通过分析灰度级的照相机图像而在最短的时间内自动设置最佳照明条件的方法。应用随机搜索算法来搜索具有最大清晰度的点。使用随机搜索算法控制视觉系统的彩色照明的方法包括以下步骤:为输入电压设置每个元件的最小范围和最大范围;通过产生最小范围和最大范围内的随机数来产生变化率;通过将变化率替换为当前电压来确定变化率是否超出边界条件;从照射到照相机上的检查对象图像中获取像素单元的数字图像,然后将该数字图像转换为灰度图像以计算清晰度,并获得负清晰度。比较当前输入电压的负锐度和通过提供包括随机数的输入电压而获得的负锐度,以确定随机数的适用性;如果确定随机数合适,则重置输入电压;并重复上述步骤,直到满足终止条件为止。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号