Skip to content

DaisukeNakajima001/BPA_Library_iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BPA_Library for iOS

Overview

This project modifies the Ball Pivoting Algorithm (BPA) module from Open3D to make it compatible with PCL (Point Cloud Library) and usable in iOS projects. The library enables high-quality mesh reconstruction from point clouds.

BPA Bunny Example

Features

  • Optimized for PCL: The BPA module has been adapted to work seamlessly with PCL.
  • iOS-ready: The library is tailored for iOS development and can be built using an appropriate toolchain.
  • Efficient mesh reconstruction: Generates meshes from input point clouds.

Requirements

This project depends on several third-party libraries. Their source code is not included in this repository. Please acquire and build these libraries separately:

Installation

Step 1: Install dependencies

  1. PCL: Follow the build instructions at PCL GitHub.
  2. Boost: Download and build Boost from Boost.org.
  3. FLANN: Follow the instructions at FLANN GitHub.
  4. Qhull: Build Qhull from Qhull.org.
  5. LZ4: Download and build LZ4 from LZ4 GitHub.

Step 2: Build the BPA library

Use the provided CMakeLists.txt file to build the library for iOS. Ensure that the necessary toolchain and dependencies are correctly set up.

mkdir build-ios
cd build-ios
cmake -DCMAKE_TOOLCHAIN_FILE=../iOS.cmake ..
make

Usage

Integrate the resulting static library into your iOS project. Use the BallPivoting class and the RunBPA function to perform mesh reconstruction from point clouds and their normals.

Example

Below is an example output of the Ball Pivoting Algorithm applied to a point cloud:

BPA Bunny Example

The above image showcases the reconstructed mesh of a bunny model generated using this library.

License

This project is licensed under the MIT License.

Open3D License

This project includes modifications to the Ball Pivoting Algorithm (BPA) module from Open3D, which is licensed under the MIT License. The original license is as follows:

MIT License

Copyright (c) 2018-2024 Intel Corporation and the Open3D contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For the full text, see the Open3D LICENSE.

Acknowledgments

  • Open3D: Original BPA module source.
  • PCL: Used for point cloud operations.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors