1. PointSet > Subsampling - Montecarlo or Poisson
Samples: enter the number of points that you want to have in the end - usually the initial size is millions - you can see it at the bottom of the window in Vertices:
2. PointSet > Compute normals for point sets
Neighbour num: 20
Smooth iteration: 5
3. Surface Reconstruction > Poisson
Surface Reconstruction > Ball Pivoting worked for me
http://meshlabstuff.blogspot.se/2009/09/meshing-point-clouds.html
Thursday, October 24, 2013
Wednesday, October 16, 2013
Pointcloud Streaming on Ubuntu
1. compile and run the server
./bin/pcl_openni_mobile_server -p 11111
as described here:
http://www.pointclouds.org/documentation/tutorials/mobile_streaming.php
2. Download Android app
git clone https://github.com/PointCloudLibrary/mobile.git
3. Download Android SDK
android-ndk-r5b can be found here: http://developer.android.com/sdk/ndk/index.html Read its documentation, specifically the Standalone Toolchain. Assumming you read the documentation, follow steps for creating a standalone toolchain. export NDK=~/android-ndk-r5b $NDK/build/tools/make-standalone-toolchain.sh --platform=android-5 \ --install-dir=$HOME/android-toolchain android-sdk can be found here: http://developer.android.com/sdk/index.html Please install that, and add it to your path. ANDROID_SDK=~/android-sdk-linux_86 export PATH=$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools:$PATHhttp://android-cmake.googlecode.com/hg/documentation.html
4. Download android-cmake
sudo apt-get install mercurial
hg clone https://code.google.com/p/android-cmake/
http://android-cmake.googlecode.com/hg/documentation.html
5. Install boost using android-cmake scripts
http://android-cmake.googlecode.com/hg/docs/boost.htmlIntroduction -------------
Let's build boost for android. Assuming you are using the alias trick for android-cmake: export ANDTOOLCHAIN=$ANDROID_CMAKE/toolchain/android.toolchain.cmake alias android-cmake='cmake -DCMAKE_TOOLCHAIN_FILE=$ANDTOOLCHAIN 'I. Build the native code ------------------------
cd android-cmake/common-libs/boost Pull down and patch the boost libraries for android. sh ./get_boost.sh mkdir build cd build android-cmake .. make To build with for targets other than armeabi-v7a, edit the cache. (cmake-gui,ccmake)II. Use boost in your projects ----------------
See the hello-boost project under samples. find_package(Boost REQUIRED filesystem system) include_directories(${Boost_INCLUDE_DIRS}) add_library(my_target SHARED ${my_target_srcs}) target_link_libraries(my_target ${Boost_LIBRARIES})
Subscribe to:
Posts (Atom)