Giter Club home page Giter Club logo

ofxpcl's Introduction

ofxPCL - custom

Description

update:

original:

System

  • This was tested on OSX 10.10.5 with OF 0.9.3 and Xcode 6.4.
  • Does not work on OSX 10.8.3, because PCL does not want to install.

Examples

  • ICP (Interactive Iterative Closest Point):
    taken from http://pointclouds.org/documentation/tutorials/iterative_closest_point.php It is an algorithm used to minimize the difference between two clouds of points. The example shows how to find the transformation matrix between two point clouds and use it to move cloud A in the same place as cloud B. ICP can only finding the transformation matrix when the difference between the two clouds is not too big.

  • PCA (Principal Component Analysis):
    taken from http://pointclouds.org/documentation/tutorials/normal_estimation.php It is a statistical procedure that extracts the most important features of a dataset. The example shows how to get the bounding box and finds the direction along which the point data varies the most. PCA has it's limits, it lacks up and down orientation information. That's why you can see the direction line flip after 180หš rotation.

  • SAC_IA (Sample Consensus Initial Alignment):
    taken from http://pointclouds.org/documentation/tutorials/template_alignment.php This example does not work yet. Somehow the 2 point clouds do not return any reasonable transformation matrix and fitness score.

Setup New Project

  • Don't use Project Generator to add ofxPCL to your project. It seems to take super long. Instead add ofxPCL by hand.

  • Drag the .h files from ../../../addons/ofxPCL/src in to your Xcode project, without copying them

  • Add all PCL dynamic library files (dylib) from ofxPCL/libs/pcl/lib to your xcode projects Build Phases -> Link Binary With Libraries section.

  • This will also automatically add this line to your Build Settings -> Library Search Paths: $(SYSTEM_APPS_DIR)/of_v0.9.3_osx_release/addons/ofxPCL/libs/pcl/lib

  • Also the dylibs will now appear in the left hand navigator area.

  • Add the following lines to your Build Settings -> User Header Search Path:
    ../../../addons/ofxPCL/libs/pcl/include/pcl-1.7
    ../../../addons/ofxPCL/libs/pcl/include
    ../../../addons/ofxPCL/libs/pcl/include/flann
    ../../../addons/ofxPCL/libs/pcl/include/eigen3

Hints

  • When copying one of the example folders in to a new location you might have to run the project through project generator to have all other addons be linked correctly. Then follow the setup steps to add ofPCL

Screenshots

  • Here are some screenshots of my project setup:

ofxpcl's People

Contributors

stephanschulz avatar luzhouheng avatar

Watchers

James Cloos avatar Jung-Hyun Ian Byun 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.