Coder Social home page Coder Social logo

ocd's Introduction

OCD

OCD very fast point cloud outlier filter
Octree based "radius-outlier-like" point cloud filter
Based on 'Fast Radius Outlier Filter Variant for Large Point Clouds by Péter Szutor and Marianna Zichar'
https://www.mdpi.com/2306-5729/8/10/149

How to use:
Transfer the points to a numpy block.
The numpy array should be passed to the filter, which will return the points that are not outliers. (Caution: it does not keep the original order)

How to install
Use the following modules, these must be piped in first:
numpy
numba

An example of how to use it:
import ocdfilter
import open3d as o3d
import numpy as np
pcd=o3d.io.read_point_cloud('samplepointcloud.pcd',format='pcd')
ppoints=np.asarray(pcd.points)
occ=ocdfilter.obfilter(ppoints,0.5,9,12)
filteredpcd=o3d.geometry.PointCloud(o3d.utility.Vector3dVector(occ))
o3d.io.write_point_cloud('filteredpcd.pcd', filteredpcd)

ocd's People

Contributors

szppaks avatar

Stargazers

Wenfei Guan avatar

Watchers

 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.