Coder Social home page Coder Social logo

geometrycv's Introduction

GeometryCV

Point Cloud Stitching

These files, when run in sequence, will load stereo image pairs, generate point clouds, filter the point clouds, and stitch them together

Step 1: - Run StereoMatching.py by typing: - $ python StereoMatching.py - StereoMatching.py will read from the CSV file StalkLocations.csv which contains the x,z offset of each image. - The python script also loads the stereo pairs contained in the folder /images and outputs point cloud into a folder /plyClouds2. - The python script iterates through image pairs using a for-loop. To load more or fewer images, adjust the number of iterations in the for-loop.

Step 2: - Build the C++ files using make - From the build folder, run statOutlierBundled.cpp by typing: - $ ./statOutlierBundled ../plyClouds2/cloud{00..12}.ply - This will send 13 point clouds into statOutlierBundled.cpp

Step 3: - Run incrementalRegister.cpp by typing: - $ ./incrementalRegister Cloud{0..12}_inliers.pcd - The 13 files CloudXX_inliers.pcd should be automatically located in the Build folder after running statOutlierBundled.cpp - When running incrementalRegister.cpp, you may notice a delay of 30-40s. This is because the script is loading all of the pcd files at once. - Follow the prompt, pressing 'q' when appropriate. - This script will output X-1 files (i.e. outputs 12 files if you input 13 files). This is because each new cloud consists of a stitched cloud pair. - The new stitched clouds will be stored in the plyClouds2 folder under the names cloudX_registered.ply. - You can load all of the clouds into Meshlab at once for viewing.

Step 4: - Display the stitched clouds (cloudX_registered.ply) in Meshlab or any other viewer

Step 5: - To concatenate clouds, run concatenateClouds.cpp by typing: - $ ./concatenateClouds ../plyClouds2/cloud{1..12}_registered.ply - This script will voxellize the cloud to reduce the number of points. - You will see errors regarding an element 'camera' that isn't handled. It doesn't appear to be an issue.

geometrycv's People

Contributors

merrittjenkins avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.