Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Creation of the bin files given path to ply file #11

Closed
tamireiny opened this issue Mar 25, 2018 · 5 comments
Closed

Creation of the bin files given path to ply file #11

tamireiny opened this issue Mar 25, 2018 · 5 comments

Comments

@tamireiny
Copy link

Hello,

Can you provide source code for creating the FEST features (the bin files) given a point cloud (ply file)?
Seems to me that It can help anyone trying to use FGR.

Thanks a lot,
Tamir

@syncle
Copy link
Collaborator

syncle commented Mar 25, 2018

Hi Tamir,

I think you meant to say FPFH feature. The quick answer we can give you is using Open3D or using PCL. Please check it from this link to extract FPFH features from ply file. FYI, fast global registration will be part of Open3D.

@tamireiny
Copy link
Author

tamireiny commented Mar 27, 2018

Hi Jaesik,

Thanks for the quick answer before.

I wrote a python script that creates the FPFH feautre using Open3D, this part seems to go well. I am writing the bin file according to the instructions mentioned, and when using read_features (matlab version) it seems that nothing is returned.

Also, it seems that I need to set several parameters:
voxel_down_sample: factor
estimate_normals: radius, max_nn
compute_fpfh_feature:radius, max_nn

I saw in each of FGR synthetic folders (i.e airwise_no_noise_01_rot_05) the file alignment.config.
I was not able to match between these file values to the parameters I mentioned above,

Can you please take a look at the python script link?
Many thanks,
Tamir

@syncle
Copy link
Collaborator

syncle commented Mar 27, 2018

I think the link for the python script is broken.

Here is a guideline for parameter tuning. From #7,

We recommend 1:2:5 for radius of downsampling voxel size, normal estimation, and feature estimation.

When we generated synthetic dataset, we have normalized the scale of the geometry, so it is not absolute scale for radius. Therefore, it is not metric scale. What we did is we normalize the scale of the geometries, and use the relative scale that meets 1:2:5 rule.

@syncle
Copy link
Collaborator

syncle commented Mar 27, 2018

and please check out trouble shooting.

@tamireiny
Copy link
Author

Here is a code that creates the FPFH features given ply file.
https://www.dropbox.com/s/vb9729csxin87br/create_fpfh_from_ply.py?dl=0
You are welcome to publish it if you find it useful

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants