当前位置:网站首页>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')
边栏推荐
- 第一章:喝汽水,阶梯电费计算,阶梯电费计算函数,个人所税,求解平方根不等式,简化求解平方根不等式,求解调和级数不等式,解不等式:d<1+1/2-1/3+1/4+1/5-1/6+..士1/n
- Detailed explanation of shuttle unity interworking principle
- What is the content of game modeling
- UE source code analysis: uccharactermovementcomponent - rootmotion
- FPGA 学习笔记:Vivado 2019.1 工程创建
- Use of aggregate functions
- BOC protected tryptophan porphyrin compound (TAPP Trp BOC) Pink Solid 162.8mg supply - Qiyue supply
- FPGA learning notes: vivado 2019.1 project creation
- Recommend a GIF processing artifact less than 300K - gifsicle (free download)
- Chapter 2: 4-digit Kaplan number, search even digit Kaplan number, search n-digit 2-segment sum square number, m-digit ingenious square number without 0, specify the number to form a 7-digit square nu
猜你喜欢

2022-06-30 网工进阶(十四)路由策略-匹配工具【ACL、IP-Prefix List】、策略工具【Filter-Policy】

Chapter 2: find the classical solution of the maximum Convention and the least common multiple of a and B, find the conventional solution of the maximum Convention and the least common multiple of a a

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

Chapter 1: find the factorial n of n!

Xctf attack and defense world crypto advanced area best_ rsa

第一章:求n的阶乘n!

Detailed explanation of shuttle unity interworking principle

Sentinel source code analysis part II - sentinel dashboard console startup and configuration

Chapter 1: seek common? Decimal and S (D, n)

PR 2021 quick start tutorial, material import and management
随机推荐
Cross compile opencv with contrib
Basic principle of LSM tree
FPGA learning notes: vivado 2019.1 project creation
[disease identification] machine vision lung cancer detection system based on Matlab GUI [including Matlab source code 1922]
第一章:求n的阶乘n!
Zhang Fei hardware 90 day learning notes - personal records on day 2, please see my personal profile / homepage for the complete
2022-06-30 網工進階(十四)路由策略-匹配工具【ACL、IP-Prefix List】、策略工具【Filter-Policy】
Sentinel source code analysis part II - sentinel dashboard console startup and configuration
The earliest record
QT -- qfileinfo file information reading
Part 28 supplement (XXVIII) busyindicator (waiting for elements)
Chapter 2: find the classical solution of the maximum Convention and the least common multiple of a and B, find the conventional solution of the maximum Convention and the least common multiple of a a
Zhang Fei hardware 90 day learning notes - personal record on day 5. Please see my personal profile / homepage for the complete record
第一章:递归求n的阶乘n!
Thesis study - 7 Very Deep Convolutional Networks for Large-Scale Image Recognition (3/3)
Today I am filled with emotion
Free hand account sharing in September - [cream Nebula]
Summary of learning materials and notes of Zhang Fei's actual combat electronics 1-31
Difference between surface go1 and surface GO2 (non professional comparison)
Phpstudy set LAN access