Citation: | Minshan Jiang, Nannan Zhang, Xuedian Zhang, et al. Applications of hybrid search strategy in microscope autofocus[J]. Opto-Electronic Engineering, 2017, 44(7): 685-694. doi: 10.3969/j.issn.1003-501X.2017.07.004 |
[1] | Yazdanfar S, Kenny K B, Tasimi K, et al. Simple and robust image-based autofocusing for digital microscopy[J]. Optics Express, 2008, 16(12): 8670–8677. doi: 10.1364/OE.16.008670 |
[2] | Han J W, Kim J H, Lee H T, et al. A novel training based au-to-focus for mobile-phone cameras[J]. IEEE Transactions on Consumer Electronics, 2011, 57(1): 232–238. doi: 10.1109/TCE.2011.5735507 |
[3] | Park B K, Kim S S, Chung D S, et al. Fast and accurate auto focusing algorithm based on two defocused images using discrete cosine transform[J]. Proceedings of SPIE, 2008, 6817: 68170D. |
[4] | Subbarao M, Surya G. Depth from defocus: a spatial domain approach[J]. International Journal of Computer Vision, 1994, 13(3): 271–294. doi: 10.1007/BF02028349 |
[5] |
黄德天. 基于图像技术的自动调焦方法研究[D]. 长春: 中国科学院大学(长春光学精密机械与物理研究所), 2013: 15–20.
Huang Detian. Study on auto-focusing method using image technology[D]. Changchun: Changchun Institute of Optics, Fine Mechanics and Physics, Chinese Academy of Sciences, 2013: 15–20. |
[6] | Subbarao M, Choi T S, Nikzad A. Focusing techniques[J]. Optical Engineering, 1993, 32(11): 2824–2836. doi: 10.1117/12.147706 |
[7] | Marrugo A G, Millán M S, Abril H C. Implementation of an image based focusing algorithm for non-mydriatic retinal imaging[C]. Proceedings of the 2014 Ⅲ International Congress of Engineering Mechatronics and Automation, 2014: 1–3. |
[8] |
彭娟. 基本恒定类表面模型及操作算子的研究[D]. 桂林: 桂林电子科技大学, 2010: 11–20. |
[9] | 赵志彬, 刘晶红.基于图像处理的航空成像设备自动调焦设计[J].液晶与显示, 2010, 25(6): 863–868. Zhao Zhibin, Liu Jinghong. Auto-focusing method for airborne image equipment based on image processing[J]. Chinese Journal of Liquid Crystals and Displays, 2010, 25(6): 863–868. |
[10] |
郭德伟. 基于新一代GPS的表面粗糙度规范与评定技术研究[D]. 桂林: 桂林电子科技大学, 2008: 1–30. |
[11] | 谢小甫, 周进, 吴钦章.基于无参考结构清晰度的自适应自动对焦方法[J].光电工程, 2011, 38(2): 84–89. Xie Xiaofu, Zhou Jin, Wu Qinzhang. An adaptive autofocus method using no-reference structural sharpness[J]. Opto-Electronic Engineering, 2011, 38(2): 84–89. |
[12] |
蒋婷. 基于图像处理的自动对焦理论和技术研究[D]. 武汉: 武汉理工大学, 2008: 20–25. |
[13] | Liu Shuxin, Liu Manhua, Yang Zhongyuan. An image au-to-focusing algorithm for industrial image measurement[J]. EURASIP Journal on Advances in Signal Processing, 2016, 2016: 70. doi: 10.1186/s13634-016-0368-5 |
[14] |
蒋凤林. 基于数字图像处理的自动调焦算法研究[D]. 哈尔滨: 哈尔滨理工大学, 2008: 9–25. |
[15] |
莫春红. 基于图像处理的自动调焦技术研究[D]. 西安: 中国科学院研究生院(西安光学精密机械研究所), 2013: 20–30. |
[16] |
刘兴宝. 基于数字图像处理的自动对焦技术研究[D]. 绵阳: 中国工程物理研究院, 2007: 1–30. |
Abstract: Auto-focusing is one of the key technologies in the area of robot vision, digital imaging systems and precision optical instrument. With the continuous development of science and technology and improved application demands, it is more and more urgent to develop an auto-focusing with high precision, fast speed and good stability. While the existing auto-focusing techniques can’t meet the above requirements, a further study on auto-focusing makes a very important practical significance. The depth from defocus method and the depth from focus method are two typical passive auto-focusing methods of autofocus method based on digital image processing. The depth from defocus method is popularly used in depth estimation and scene reconstruction, which can measure the position of samples by just a few images. Therefore, the efficiency of the method is high. However, the accuracy of the depth from defocus method is relatively low because the small number of images is collected by the method. The depth from focus methods are based on the fact that the image formed by an optical system is focused at a particular distance whereas objects at other distances are blurred or defocused. Very high accuracy can be achieved by depth from focus methods. In order to achieve efficient autofocusing, several commonly used search algorithms are studied, and a new low-computational search algorithm is presented, which combines the mountain-climb search strategy with the approximation function strategy to realize the hybrid search algorithm accurate and efficient autofocus. In this algorithm, the mountain-climb search strategy adopts the two-stage algorithm of rough and fine focusing stage. In the rough focusing stage, the large step distance takes into account the fastness of the algorithm, and the gray variance function is used to approach the focusing position quickly. In the fine focusing stage, the small step distance takes into account the sensitivity of the algorithm and the Laplacian function is used to locate the focusing position accurately. The algorithm narrows the focus interval by comparing three pictures and in the range uses the approximation function strategy to fit the best focus position. This method makes greatly improve the search accuracy. The experimental results indicate that this the algorithm can make the search accuracy better than 1 μm. And the method only needs to capture 17 pictures, reducing the number of image acquisition and evaluation. As a result, the time of the autofocus system is shortened and the search efficiency of the algorithm is improved.
Mountain climbing search algorithm.
Laplacian focus evaluation function curve and the global focus within the scope of 3 times fit diagram.
Extreme point near the small range of 3 times fit diagram.
Flow chart of focusing process.
Microscope autofocus system.
Two different samples and their images. (a) The PCB circuit board. (b) The focus image of PCB. (c) The defocus image of PCB. (d) The longitudinal specimens of pumpkin stem. (e) The focus image of longitudinal specimens of pumpkin stem. (f) The focus image of longitudinal specimens of pumpkin stem.
The search process of rough focusing stage. (a) The search process of PCB. (b) The search process of longitudinal specimens of pumpkin stem.
The search process of fine focusing stage. (a) The search process of PCB. (b) The search process of longitudinal specimens of pumpkin stem.
The curve fitting process diagram of PCB circuit board. (a1)~ (a3) Curve fitting near the extreme point. (b1)~ (b3) Analysis the extreme points.
The curve fitting process diagram of pumpkin stem longitudinal specimens. (a1)~ (a3) Curve fitting near the extreme point. (b1)~ (b3) Analysis the extreme points.