We use Visual Studio 2010 to build this software, which is based on MFC multi-documents and multi-threads. The main process of designing this software is as follow: 1) Firstly, build the main frame of the software. It is easy to realize the basic interface of Windows style by programming with MFC. The most important thing in this module is adding algorithms and the functions of tool buttons to the program. 2) Secondly, implement functionality of each sub module. In this software, sub modules mainly mean sub windows. In order to have the unity of style, all sub windows use the similar toolbar. Specially, if one sub window have its own functionality, we will add button alone. 3) Thirdly, pass messages among modules. Passing messages among modules is significant in this software. The news in main program must be transmitted to the relevant sub window. The operation information in any sub windows must be transmitted to the main program, or transmitted to other sub windows. In order to make the program more efficient, we utilize multi-thread programming. With a digital holographic microscope, our software has many useful features, such as capturing the hologram of a sample (Holo View), displaying its Fourier spectrum (Fourier View), unwrapping phase map (Phase View), digital refocusing intensity information (Intensity View), drawing 2D line across the sample (2D View) and displaying three-dimensional images (Plot View). The experimental results demonstrate that a digital holographic microscope could be used much easier with the help of our software.
ACCESS THE FULL ARTICLE
Jialin Zhang, Chao Zuo, Jiasong Sun, Shijie Feng, Liguang Zhang, Yao Fan, Yan Hu, Fucheng Kong, Qian Chen, Yuzheng Zhang, Dongdong Chen, Tianyang Tao, Fei Lin, Yang Yang, Chen Tian, "Software design of a digital holographic microscope based on MFC, multi-document and multi-thread," Proc. SPIE 9672, AOPC 2015: Advanced Display Technology; and Micro/Nano Optical Imaging Technologies and Applications, 967218 (15 October 2015);