Comments (5)
Hi @longwoo ,
Thank you for reporting.
Please try the conversion in the following way.
np.asarray(pcd.points.cpu())
And DBSCAN clustering may not work. I am currently debugging.
from cupoch.
I added crop function that takes OrientedBoundingBox.
You can use it by fetching the latest "master" branch and compiling it.
from cupoch.
@neka-nat
Thank you for your quick answer. It solves my problem.
And I want to make sure that pcd.crop
is not support OrientedBoundingBox
type yet? Since it gives me
pc_ground = pcd.crop(box_ground)
TypeError: crop(): incompatible function arguments. The following argument types are supported:
1. (self: cupoch.cupoch.geometry.PointCloud, bounding_box: cupoch::geometry::AxisAlignedBoundingBox) -> cupoch.cupoch.geometry.PointCloud
Invoked with: geometry::PointCloud with 139003 points., geometry::OrientedBoundingBox
So I need to use AxisAlignedBoundingBox
as input instead of OrientedBoundingBox
.
--------------------------------------------------------------------------------------------------------------------
now I use
box_ground = x3d.geometry.OrientedBoundingBox(np.array([0.0, height_max_temp, 0.0]), np.eye(3), np.array([4.5, 0.2, max_depth]))
pc_ground = pcd.crop(box_ground.get_axis_aligned_bounding_box())
It works!
from cupoch.
Hi @longwoo ,
Thank you for reporting. Please try the conversion in the following way.
np.asarray(pcd.points.cpu())
And DBSCAN clustering may not work. I am currently debugging.
Can DBSCAN clustering work correctly ?
from cupoch.
I run the clustering.py and get the following results:
fragment has 196133 points
[2023-06-21 21:12:18.968] [debug] Precompute Neighbours
Precompute Neighbours[========================================] 100%
fragment has 196133 clusters
from cupoch.
Related Issues (20)
- Redefinition problem of 3rd party lib when use Cupoch side by side with Open3D
- Outlier Removal Not working HOT 1
- Poisson's surface reconstruction
- Getting cudaErrorMemoryAllocation out of memory HOT 6
- fastglobalregistration.cu have error HOT 1
- icp TransformationEstimationPointToPlane yields different result compare to open3d
- stdgpu::vector::size : Size out of bounds: -120 not in [0, 17527]. Clamping to 0 HOT 1
- Building SHARED_LIBS and run registration_cuda will crash.
- Implementation of LaserScanBuffer::CreateFromPointCloud(pointcloud_to_laserscan)
- Unable to Read Binary PLY File
- speed performace VS open3d HOT 1
- Error: OS call failed or operation not supported on this OS phong_shader.cu:330 HOT 1
- Check collision between a mesh and a set of points.
- The result of using ClusterDBSCAN() is wrong, it treats each point as a cluster HOT 4
- compile C++ static lib fail (master-v0.2.8.1), content of src/cupoch/visualization/shader/shader.h is wrong HOT 4
- registration_ransac_based_on_feature_matching
- cupoch is slower than open3d-cpu and open3d-gpu HOT 2
- How to set point cloud as numpy array HOT 2
- ICP algorithm have CUDA version? HOT 3
- MemoryError cph.initialize_allocator(cph.PoolAllocation, 1000000000) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cupoch.