Giter Site home page Giter Site logo

wolfv / osm_pc_mapping Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 2.0 41.79 MB

Might map OSM outlines to pointclouds in the future

CMake 2.24% C++ 48.47% C 0.70% TeX 1.93% Python 0.45% Makefile 2.78% HTML 42.74% CSS 0.62% JavaScript 0.07% Groff 0.01%

osm_pc_mapping's Introduction

OSM_PC_Mapping

Might map OSM outlines to pointclouds in the future

###Bundler Parser### Compile:

catkin build bundler_parser

Run:

Camera Query:

devel/lib/bundler_parser/parse_bundler --alsologtostderr --colorlogtostderr --file=[full_path]/file_name.out --query=camera --indices="1 3 12"

3D Point Query:

devel/lib/bundler_parser/parse_bundler --alsologtostderr --colorlogtostderr --file=[full_path]/file_name.out --query=3dpoint --indices="1 5 8"

###Point Cloud Segmentation### Compile:

catkin build pc_segmentation

Run:

Segment Point Cloud:

devel/lib/pc_segmentation/segment_pc --alsologtostderr --colorlogtostderr --bundler_file=[full_path]/file_name.out --outline_file_path=[storage_path] --show_cameras=true --show_cloud=true --show_normals=false --segmentation_threshold=0.001 --search_radius=0.4

Point Cloud matching

Dependencies:

numpy
python-pcl
opencv-python
scipy
matplotlib

Obtaining Ground truth

Execute osm/visualization.py

Filtering

In folder ransac, cmake ., make and then executable filters will yield filtered output from test_pcd.pcd and save it as filtered_output.pcd.

Corners are found by using corner_extract.py on filtered output.

Then corners can be matched by using match_corners.py (note long runtime since dumb bruteforce method).

ICP

In libpointmatcher folder, executables are placed in libpointmatcher/examples.

Execute ./pmicp --config config.yaml --initTranslation 70,100 ../data/cl.csv ../data/cl2.csv to generate a mapping based on a Point-to-Point ICP.

The results can be inspected by opening ParaView and looking at the resulting visttep-files.

osm_pc_mapping's People

Contributors

vanurag avatar wolfv avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Forkers

vanurag whigg

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.