当前位置:网站首页>Nerfplusplus parameter format sorting
Nerfplusplus parameter format sorting
2022-07-03 19:39:00 【Long Tailed Fox】
GitHub - Kai-46/nerfplusplus: improves over nerf in 360 capture of unbounded scenes
Output Format — COLMAP 3.7 documentation
We're running colmap It's the back , Three parameters are output :camera,images,points3D
In the official interpretation , The structure of these three parameters is as follows :



And in the nerfplusplus Format data set , What we use is such a data set :


see pose file , The discovery parameter is composed of the following format :

( To make it easier to watch, I hit enter )
see intrinsics file , It is found that the parameters are composed of the following formats :

Now I share my data conversion methods , The specific steps are: : obtain colmap file — Import ecxel— Invalid information filtering — Matrix transformation — Matrix adjustment — Segmented export , The whole process is as follows :
First of all pose file
(1)colmap export : Select export as txt Format
(2) Import excel, Invalid information filtering : Select from text in the data , This can be done in excel Auto wrap in . Import excel And then we found out , The information of each image is composed of two lines , The first line is the image pose information we need , The other line is the pixel information of the image itself , Let's get rid of the useless second line , Leave only useful information . Do this for every picture .
(3) Matrix transformation : This is the most critical ,colmap In the output mode of , Posture is quaternion QW,QX,QY,QZ Composed of . They and 3*3 The matrix transformation relation of is as follows :

Use excel It can be easily transformed , after , We readjust the table according to the following format :
(4) Export to TXT Format ( I wrote a simple code ):
import xlrd
def read_excel_data(filepath):
workbook = xlrd.open_workbook(filepath)
sheet = workbook.sheet_by_index(0)
i = '1';
for index in range(1, sheet.nrows):
row_value = sheet.row_values(index)
print(row_value)
file_handle=open('%s.txt'%(i),mode='w')
file_handle.seek(0,0)
for j in range(16):
file_handle.write(str(row_value[j]))
file_handle.write(' ')
j=0
file_handle.close()
i = str(int(i) + 1)
if __name__ == '__main__':
read_excel_data('round8.xls')
边栏推荐
- Free hand account sharing in September - [cream Nebula]
- Chapter 1: King Shehan miscalculated
- Free year-end report summary template Welfare Collection
- Latex image rotates with title
- Day11 - my page, user information acquisition, modification and channel interface
- Utilisation de base du cadre unitest
- QT -- qfileinfo file information reading
- Unittest framework is basically used
- Acquisition and transmission of parameters in automatic testing of JMeter interface
- Professional interpretation | how to become an SQL developer
猜你喜欢
![[wallpaper] (commercially available) 70 wallpaper HD free](/img/21/6802da1056a18157b15de85df60cf5.jpg)
[wallpaper] (commercially available) 70 wallpaper HD free
![[free sharing] kotalog diary2022 plan electronic manual ledger](/img/ca/1ffbfcc16e3019261f70274a89c16f.jpg)
[free sharing] kotalog diary2022 plan electronic manual ledger

Chapter 1: drinking soft drinks, step tariff calculation, step tariff calculation function, personal income tax, solving square root inequality, simplifying solving square root inequality, solving dem

Yolov3 network model building

Common text labels

05 -- QT OpenGL draw cube uniform

Day_ 18 IO stream system
![Meso tetra [P - (p-n-carbazole benzylidene imino)] phenylporphyrin (tcipp) /eu (tcipp) [pc( α- 2-oc8h17) 4] and euh (tcipp) [pc (a-2-oc8h17) 4] supplied by Qiyue](/img/5b/fc776a1982e24b82984d82be6a016f.jpg)
Meso tetra [P - (p-n-carbazole benzylidene imino)] phenylporphyrin (tcipp) /eu (tcipp) [pc( α- 2-oc8h17) 4] and euh (tcipp) [pc (a-2-oc8h17) 4] supplied by Qiyue

FPGA 学习笔记:Vivado 2019.1 工程创建

第一章:求n的阶乘n!
随机推荐
The necessity of lean production and management in sheet metal industry
Day10 -- forced login, token refresh and JWT disable
Think of new ways
CMD implements the language conversion of locale non Unicode programs
TFs and SVN [closed] - TFs vs SVN [closed]
Chapter 1: find the factorial n of n!
Web Security (VII) specific process of authentication with session cookie scheme
Counting from the East and counting from the West will stimulate 100 billion industries. Only storage manufacturers who dare to bite the "hard bone" will have more opportunities
Luogu-p1107 [bjwc2008] Lei Tao's kitten
2022-06-27 advanced network engineering (XII) IS-IS overhead type, overhead calculation, LSP processing mechanism, route revocation, route penetration
第一章:求所有阶乘和数,大奖赛现场统分程序设计,三位阶乘和数,图形点扫描,递归求n的阶乘n!,求n的阶乘n!,舍罕王失算
Find a line in a file and remove it
03 -- QT OpenGL EBO draw triangle
2022-06-25 advanced network engineering (XI) IS-IS synchronization process of three tables (neighbor table, routing table, link state database table), LSP, cSNP, psnp, LSP
Chapter 1: recursively find the factorial n of n!
Day10 ---- 强制登录, token刷新与jwt禁用
If the warehouse management communication is not in place, what problems will occur?
Kubernetes cluster builds efk log collection platform
Chapter 2: find the box array, complete number in the specified interval, and improve the complete number in the specified interval
Summary of learning materials and notes of Zhang Fei's actual combat electronics 1-31