# refocus_TAO_LightFieldImg **Repository Path**: rxdj/refocus_LightFieldImg ## Basic Information - **Project Name**: refocus_TAO_LightFieldImg - **Description**: Lytro光场相机实现重对焦C++语言实现 - **Primary Language**: C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 13 - **Forks**: 6 - **Created**: 2017-07-22 - **Last Updated**: 2023-07-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #refocus_TAO_LightFieldImg Lytro光场相机实现重对焦C语言实现 作者:Rididck 838895480@qq.com 主要参考文献(该文献有开源matlab代码): Tao M W, Hadap S, Malik J, et al. Depth from combining defocus and correspondence using light-field cameras[C]//Proceedings of the IEEE International Conference on Computer Vision. 2013: 673-680. imgData/ 下为输入的光场图像,Lorikeet为Lytro Illum拍摄图像。 camData/ 下为Lytro Illum微透镜坐标。 代码主要针对Lytro illum 二代相机拍摄图像进行处理,以光场工具包解码后的彩色图像为输入; 同样适用于Lytro 一代相机,需要改动的参数为:微透镜个数、微透镜对应的元像素个数,图像尺寸、微透镜坐标可以通过光场工具包解码白图像得到。 获取重对焦图像后简单做了一个交互demo,通过鼠标点击显示重对焦效果。 开源供相互学习,如有错误,望不吝赐教。