This Point spread function (PSF) plays a crucial role in many computational imaging applications, such as shape from focus/defocus, depth estimation, and fluorescence microscopy. However, the mathematical model of the defocus process is still unclear. In this work, we develop an alternative method to estimate the precise mathematical model of the point spread function to describe the defocus process. We first derive the mathematical algorithm for the PSF which is used to generate the simulated focused images for different focus depth. Then we compute the loss function of the similarity between the simulated focused images and real focused images where we design a novel and efficient metric based on the defocus histogram to evaluate the difference between the focused images. After we solve the minimum value of the loss function, it means we find the optimal parameters for the PSF. We also construct a hardware system consisting of a focusing system and a structured light system to acquire the all-in-focus image, the focused image with corresponding focus depth, and the depth map in the same view. The three types of images, as a dataset, are used to obtain the precise PSF. Our experiments on standard planes and actual objects show that the proposed algorithm can accurately describe the defocus process. The accuracy of our algorithm is further proved by evaluating the difference among the actual focused images, the focused image generated by our algorithm, the focused image generated by others. The results show that the loss of our algorithm is 40% less than others on average.
翻译:点扩散函数( PSF) 在许多计算成像应用中发挥着关键作用, 例如从焦点/ 焦点、 深度估计和荧光显微镜中生成的形状。 然而, 脱焦过程的数学模型仍然不清楚 。 在这项工作中, 我们开发了一种替代方法来估计点扩散函数的精确数学模型来描述脱焦过程。 我们首先为 PSF 得出数学算法, 用于为不同焦点深度生成模拟焦点图像。 然后我们计算模拟焦点图像和真实焦点图像之间的相似性损失函数, 在那里我们根据脱焦图像来设计一种新颖而高效的衡量标准度来评估焦点图像之间的差异。 在我们解决了损失函数的最小值之后, 这意味着我们为 PSF 找到最佳参数。 我们还建立了一个硬件系统, 由焦点系统和结构化的光谱系统组成, 以获得全焦点图像、 焦点深度相应的图像和同一观点的深度地图。 三种图像类型, 以数据集为基础, 用来获取精确的 PSFFF 。 我们关于标准航空和实际目标的实验, 显示我们图像的精度分析结果, 显示我们所生成的精度, 的精度分析结果 。 以显示我们平均的精度分析结果的精度显示的精度, 由我们所生成的精度显示的精度显示的精度, 。 我们的精度显示我们所生成的精度 的精度, 。