当前位置:网站首页>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')
边栏推荐
- 第一章: 舍罕王失算
- Titles can only be retrieved in PHP via curl - header only retrieval in PHP via curl
- Free hand account sharing in September - [cream Nebula]
- 2022 Xinjiang latest road transportation safety officer simulation examination questions and answers
- Day11 ---- 我的页面, 用户信息获取修改与频道接口
- 第一章:拓广同码小数和s(d, n)
- PR FAQ: how to set PR vertical screen sequence?
- During MySQL installation, the download interface is empty, and the components to be downloaded are not displayed. MySQL installer 8.0.28.0 download interface is empty solution
- Utilisation de base du cadre unitest
- Sentinel source code analysis part II - sentinel dashboard console startup and configuration
猜你喜欢
Free hand account sharing in September - [cream Nebula]
第二章:求a,b的最大公约与最小公倍数经典求解,求a,b的最大公约与最小公倍数常规求解,求n个正整数的的最大公约与最小公倍数
Flume learning notes
2020 intermediate financial management (escort class)
Leetcode 1189. Maximum number of balloons (special character count)
[optics] vortex generation based on MATLAB [including Matlab source code 1927]
Phpstudy set LAN access
Basic principle of LSM tree
Chapter 1: find the algebraic sum of odd factors, find the same decimal sum s (D, n), simplify the same code decimal sum s (D, n), expand the same code decimal sum s (D, n)
Chapter 20: y= sin (x) /x, rambling coordinate system calculation, y= sin (x) /x with profile graphics, Olympic rings, ball rolling and bouncing, water display, rectangular optimization cutting, R que
随机推荐
2022 - 06 - 30 networker Advanced (XIV) Routing Policy Matching Tool [ACL, IP prefix list] and policy tool [Filter Policy]
Free year-end report summary template Welfare Collection
Luogu-p1107 [bjwc2008] Lei Tao's kitten
Basic principle of LSM tree
During MySQL installation, the download interface is empty, and the components to be downloaded are not displayed. MySQL installer 8.0.28.0 download interface is empty solution
2022-06-27 网工进阶(十二)IS-IS-开销类型、开销计算、LSP的处理机制、路由撤销、路由渗透
unittest框架基本使用
Native table - scroll - merge function
04 -- QT OpenGL two sets of shaders draw two triangles
QT -- qfile file read / write operation
01 - QT OpenGL display OpenGL window
Find a line in a file and remove it
Strict data sheet of new features of SQLite 3.37.0
Pecan — Overview
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
第二十章:y= sin(x)/x,漫步坐标系计算,y= sin(x)/x 带廓幅图形,奥运五环,小球滚动与弹跳,流水显示,矩形优化裁剪,r个皇后全控nxn棋盘
NFT without IPFs and completely on the chain?
[free sharing] kotalog diary2022 plan electronic manual ledger
What is the content of game modeling
I study database at station B (4): DQL