Kinfu-Nerei 3D export models

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Kinfu-Nerei 3D export models

jose soto
This post has NOT been accepted by the mailing list yet.
Hi all

I'm using the kinect to scan soil erosion and vegetation and I've been using a little the Nerei/kinfu_remake github repositori. It can export 3D captures to a .obj and a .vrml files. However, these files were written to the Visualization Toolkit. I've never worked with VTK and I really would't like to spend time to learn a new library. I don't have time to do that. I've been looking  
different ways to  read and export them to a .ply o .pcd file but didn't find anything that can help me. So, is there a module in PCL that can do this?? or other way that I've never seen??

Thanks, in advances
José Soto
Reply | Threaded
Open this post in threaded view
|

Re: Kinfu-Nerei 3D export models

VictorLamoine
Administrator
This post was updated on .
Hello,

You can convert between various file formats and file types with this tool:
https://github.com/PointCloudLibrary/pcl/blob/master/io/tools/converter.cpp

Usage: pcl_converter [OPTION] SOURCE DEST
Convert SOURCE point cloud or mesh to DEST.

Available formats types for SOURCE and DEST:
        OBJ (Wavefront)
        PCD (Point Cloud Library)
        PLY (Polygon File Format)
        STL (STereoLithography)
        VTK (The Visualization Toolkit)

Available options:
        -f, --format Specify DEST output type, available formats are ascii, binary and binary_compressed.
                     When not specified, binary is used as default.
                     OBJ only supports ascii format.
                     binary_compressed is only supported by the PCD file format.

        -c --cloud   Output DEST as a point cloud, delete all faces.
Bye
Reply | Threaded
Open this post in threaded view
|

Re: Kinfu-Nerei 3D export models

jose soto
This post has NOT been accepted by the mailing list yet.
Hi Victor, thanks for the feedback. This will help a lot,
Best