当前位置:网站首页>Photometric Stereo 光度立体法三维重建
Photometric Stereo 光度立体法三维重建
2022-08-09 19:55:00 【为为为什么】
光度立体法,可以利用多张不同光照的相同机位相机拍摄的图像建模计算出物体表面深度、法向量,本文记录基础理论。
光度立体法
光度立体法,即Photometric Stereo, 最早是由当时在MIT的人工智能实验室的Robert J. Woodham教授在1978年左右提出。他在1979年的论文《Photometric stereo: A reflectance map technique for determining surface orientation from image intensity》,以及1980年的论文《Photometric Method for Determining Surface Orientation from Multiple Images》中比较系统的阐述了整套理论框架。
实现思路
- 当相机和目标物体相对位置固定不变时,使用不同方向的光源照射同一目标物体,相机可以拍摄到目标物体带有不同明暗分布的图像,再通过求解基于朗伯反射原理的反射方程组,求解目标表面的法向分布或者深度图。
- 为图中像素值产生的过程建立和物体表面属性精确的假设模型,求解低秩矩阵解得物体属性。
基本假设
基础的光度立体法对成像提出三个基本假设
正交投影
图像的 u,v 坐标直接对应物体的 x,y 坐标值
入射光由远处的单一点光源发出
- 光线照到物体表面每一点的光的方向一致,强度一致
物体表面具有朗伯(lambertian)反射特性
- 相机接收到的光线(像素值)与物体表面属性、表面法向量、入射光角度和强度维持一种特定的关系
- 满足以下漫反射公式
其中各变量含义:
求解物体表面深度
- 将反射公式表示成图像的像素值,公式变为
- i 表示第 i 个光源,将L_i合并入\rho,用 k_{x,y} 表示(k_{x,y}=\rho L_i),因此可以假设L_i为1,当前公式为:
- 对于图像中特定像素(x,y):
- 将 k 合并入 \mathbf{N},用 \mathbf{G} 表示,\mathbf{G}=k\mathbf{N},对于第 i 个光源 (x,y)像素:
- 多个光源组成方程组(至少需要三个)
- 表示为矩阵:
- 因此有:
- 物体表面沿着 {x, y} 方向的导数与法线方向正交
- x 方向梯度向量 V1 为:
- V1与N垂直:
- 同理 V2:
- V2与 N 垂直:
- 如果有像素由于边界问题,有些像素需要使用其他方向的梯度:
- 我们还以V1,V2 为例,整理可得:
- 假设求解的点有 M 个点,那么需要求解的 z 有 M 个,n 的比值 M 个,那么可以列出 2M*M 维系数矩阵,并有等式:
- 求解这个稀疏线性方程组,便可以得到物体的深度。
相关项目
参考资料
- https://blog.csdn.net/SZU_Kwong/article/details/112757354
- https://www.jianshu.com/p/c8391a848425
- https://zhuanlan.zhihu.com/p/205778332
- https://pages.cs.wisc.edu/~csverma/CS766_09/Stereo/stereo.html
- https://www.zhihu.com/question/388447602/answer/1200616778
- https://blog.csdn.net/SZU_Kwong?type=blog
- https://xw.qq.com/cmsid/20220218A0A1Y900
边栏推荐
- Problems with compiling SIP with QGIS
- 基于光通信的6G水下信道建模综述
- Excel如何打出正负号?Excel打出正负号的方法
- What to do if Windows 11 can't find Internet Explorer
- Lyapp exponents and bifurcation diagrams for fractional chaotic systems
- Can I make a TCP connection without accept?
- Word第一页空白页怎么删除?删除Word第一页空白页方法教程
- Beat the interviewer, the CURD system can also make technical content
- SqlServer 2016 安装相关问题
- 力扣383-赎金信——哈希映射数组法
猜你喜欢

基于模糊PID控制器的水温控制系统仿真

Visual studio 2022 debugging skills introduction

线性表的定义和基本操作

LoRa Basics无线通信技术和应用案例详解
[Deep learning] pix2pix GAN theory and code implementation

大健康产业商业供应链管理系统数字化提升产业链运作效率推动供应链标准化建设
![[Graphic and textual] How to reinstall Win7 system](/img/24/3acccb93e5e219f39477dc77229a58.png)
[Graphic and textual] How to reinstall Win7 system

leetcode 二叉树的公共近祖先

SQL语句及索引的优化

Toronto Research Chemicals盐酸乙环胺应用说明
随机推荐
【Jmeter】分布式搭建
An overall security understanding and method of cyberspace based on connection and security entropy
Number of daffodils within a thousand
【高效工具】远程控制软件 ToDesk(收藏夹)
matlab neural network ANN classification
2.2 监督学习-1
力扣15-三数之和——HashSet&双指针法
What are the benefits of enterprise data integration?How do different industries solve the problem of data access?
Ankerui supports Ethernet communication, profibus communication embedded energy meter APM guiding technical requirements-Susie Week
Unity_平滑移动
Puyuan Jingdian turned losses into profits in the first half of the year, and high-end products continued to develop!Are you optimistic about "Huawei" in the instrument industry?
Beat the interviewer, the CURD system can also make technical content
Next second data: the transformation of the modern data stack brought about by the integration of lake and warehouse has begun
leetcode二叉搜索树与双向链表
Definition and Basic Operations of Sequence Tables
How to fix Windows 11 not finding files
Two methods of implementing inverted strings in C language
真香|持一建证书央企可破格录取
安科瑞无线物联网智能电表ADW300指导性技术要求-Susie 周
MySQL Notes-06 Basic SQL Operations