Comments (8)
I would also be interested in the details. Especially for the gt.info file.
from overlappredator.
Hello, do you know how the gt.log file is generated? Looking forward to your reply! @JosefT-TuDortmund
from overlappredator.
Yes, I managed to generate them. I did it the following way:
- First as a prerequisite you need to have all the transformations that align your point clouds in the world coordinate system. For the 3DMatch dataset they are stored in the cloud_bin_{id}.info.txt files.
- The gt.log file essentially holds the pairwise relative transformations to align two point clouds. this can look like this:
0 1 60
9.96926560e-01 6.68735757e-02 -4.06664421e-02 -1.15576939e-01
-6.61289946e-02 9.97617877e-01 1.94008687e-02 -3.87705398e-02
4.18675510e-02 -1.66517807e-02 9.98977765e-01 1.14874890e-01
0.00000000e+00 0.00000000e+00 0.00000000e+00 1.00000000e+00
The Transformation aligns the first point cloud (here idx 0) with the second (here indx 1). The 60 is the total number of point clouds in the sequence. Lets say you have the transformations for point cloud 0 and point cloud 1 given as T0 and T1. Then you can calculate the relative transformation as:
Trel = np.linalg.inv(T0) @ T1 # in python
For gt_info.log however, I am also clueless. Hope that this helps you :)
from overlappredator.
1.That is to say, if I have the rotation matrix and translation matrix of two frame point clouds in the world coordinate system, can I get the gt.log file? But I have another question: shouldn't the. log file be a log output file?
2.But I found out that the transformation matrix in the cloud_bin_{id}.info.txt files cannot correspond one-to-one with the transformation matrix in the gt.log file,and I am not quite sure about what does the first line in the cloud_bin_{id}.info.txt file mean.
from overlappredator.
Yes, the gt.log file corresponds to the relative transformations between the point clouds when they are aligned in the world coordinate system. Idk, how the original generation process of the .log files was. Perhaps the authors of the paper/code can bring some light into this discussion?
For me, the calculation of the relative transformations given the absolute poses within the cloud_bin_{id}.info.txt files worked fine as I described before.
For the first line, the first two numbers are indices for the point clouds. The third number is the total number of point clouds for the scene.
from overlappredator.
Thank you. So I can understand that the generation of the gt.log file is not related to the cloud_bin_{id}.info.txt file, right?
About the gt.info file, some materials say that it is the Covariance matrix of the transformation matrix, but I don't understand it. @JosefT-TuDortmund
from overlappredator.
And I also found a problem: when I visualized the 3DMatch.pkl file, I found that the corresponding rotation matrix and the rotation matrix of the same pair of point cloud keyframes in the gt.log file were not the same, shouldn't they be the same? @JosefT-TuDortmund
from overlappredator.
For anyone who wish to know the meaning of gt.log file, please see http://redwood-data.org/indoor/fileformat.html
For anyone who wish to know how to compute the relative pose, I provide a concrete example based on @JosefT-TuDortmund 's answer.
src_trans = np.loadtxt(src_trans_path, skiprows=1, usecols=None) # load a *.info.txt file
tgt_trans = np.loadtxt(tgt_trans_path, skiprows=1, usecols=None) # load a *.info.txt file
trans_full = np.matmul(np.linalg.inv(tgt_trans), src_trans)
assert np.abs(trans_full[:3, :3] - rot).sum() < 1e-2 # rot is the true rotation provided in gt.log or configs/indoor/3DMatch.pkl
@lcxiha So I can understand that the generation of the gt.log file is not related to the cloud_bin_{id}.info.txt file, right?
The statement is not correct.
from overlappredator.
Related Issues (20)
- ModelLoNet dataset HOT 1
- Demo .py [Alignment ouptuts identity transfortmation matrix] HOT 1
- Ambiguous overlap ratio for Modelnet and ModelLoNet
- how to get ground truth transformation?
- The content of the pth file HOT 1
- The gt-info and gt.log files HOT 1
- Coordinate system of data HOT 3
- The role of cal_overlap.py
- Question about overlap ratio in 3DMatch.pkl
- I want to know where to download 3dmatch dataset in .pth format? HOT 2
- how to generate the format of the pth file HOT 1
- Run with Rotated 3DMatch and 3DLomatch Dataset
- Questions about producing the newest results with the newest codes
- export the model to torchscript?
- Cannot download dataset or model weights HOT 2
- Training is done with a warning message from the Scikit-Learn library
- There is no .pth file in the checkpoints folder HOT 1
- Requirements not match
- RT is a prerequisite for the model HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from overlappredator.