Questions tagged [open3d]

Open3D is an open-source library that supports rapid development of software that deals with 3D data. The Open3D frontend exposes a set of carefully selected data structures and algorithms in both C++ and Python.

Open3D is an open-source library that supports rapid development of software that deals with 3D data. The Open3D frontend exposes a set of carefully selected data structures and algorithms in both C++ and Python.

The website is here: http://www.open3d.org

352 questions
3
votes
3 answers

Intersection between 2d image point and 3d mesh

Given: Mesh, Source Camera - I have intrinsic and extrinsic parameters, Image coordinate 2d Output: 3D point, which is the intersection of a ray from camera center, through the 2d point on the image plane and the mesh. (I'm trying to find the 3d…
Ilan Aizelman WS
  • 1,630
  • 2
  • 21
  • 44
3
votes
1 answer

open3d compute distance between mesh and point cloud

For a study project, I try to get into point cloud comparison. to keep it short, I have a CAD file (.stl) and several point clouds created by a laser scanner. now I want to calculate the difference between the CAD file and each point cloud. first I…
Marc M
  • 51
  • 2
  • 4
3
votes
1 answer

Filtering pointcloud

I wish to filter a pointcloud, loaded with opend3d, as efficiently as possible. Currently, I perform a downsampling of the points before making a mesh out of them and using .contains on an inclusion volume mesh I did manually. Something like this: …
Juan Solana
  • 127
  • 3
  • 10
3
votes
2 answers

How to add texture to a mesh in python Open3d?

I am working with a triangle meshes with python Open3d and I want to add a texture mapping to my mesh (I didn't find it in the documentation), this is an example code with simple cube mesh: import numpy as np import open3d as…
Nadav Geva
  • 31
  • 1
  • 1
  • 4
3
votes
1 answer

Pointcloud to image in open3d

I want to create image out of point cloud (.ply), using open3d. I have no problem with reading and visualizing it but can't find anything on saving it as png or jpg. My code, visualizing cloud: cloud =…
3
votes
1 answer

STL to pointcloud

i am trying to convert stl file into points using open3d lib. mesh = o3d.io.read_triangle_mesh("./stl.stl") pcd = o3d.geometry.PointCloud() pcd.points = mesh.vertices pcd.colors = mesh.vertex_colors pcd.normals = mesh.vertex_normals The problem is…
Svatos
  • 33
  • 1
  • 5
3
votes
2 answers

Consistent normal calculation of a point cloud

Is there a library in python or c++ that is capable of estimating normals of point clouds in a consistent way? In a consistent way I mean that the orientation of the normals is globally preserved over the surface. For example, when I use python…
Day_Dreamer
  • 3,311
  • 7
  • 34
  • 61
2
votes
1 answer

Load the same .obj file by using Open3D and Trimesh respectively leading to different number of vertices

To read the mesh file xxxxx.obj I use Open3D and Trimesh module respectively by these codes: import open3d as o3d import trimesh mesh = o3d.io.read_triangle_mesh(meshfile) print(mesh) mesh_ = trimesh.load_mesh(meshfile) print(mesh_) output…
2
votes
0 answers

How to load texture in Open3D

I'm posting this even though a similar question exists: How to add texture to a mesh in python Open3d? as some classes and their definition have changed with v.0.16.0. I have been trying to visualize 3D models in Open3D-Python by using the following…
SHASHANK N
  • 47
  • 5
2
votes
2 answers

Installed open3d lib but the library is not loading

I am in the process of setting up my m1 pro max laptop. I have downloaded python, and I am installing all the required libs through pip. I am having problems installing open 3d lib. When I run this: import sys print(sys.version) import…
delway
  • 51
  • 3
2
votes
2 answers

Installing Open3d-Ml with Pytorch (on MacOs)

I created a virtualenv with python 3.10 and installed open3d and PyTorch according to the instructions on open3d-ml webpage: Open3d-ML but when I tested it with import open3d.ml.torch I get the error: Exception: Open3D was not built with PyTorch…
Bruce
  • 415
  • 2
  • 19
2
votes
1 answer

Open3D registration with ICP shows error of 0 and returns the input transformation

I try to use the ICP algorithm of open3d to find a transformation that minimizes the distance between 2 point clouds and loosely followed their tutorial page: http://www.open3d.org/docs/latest/tutorial/pipelines/icp_registration.html (I use Ubuntu…
Sheradil
  • 407
  • 3
  • 14
2
votes
1 answer

How to get the perimeter of the cross-section between mesh and plane by python?

I use a plane to cut the mesh through meshcut and get a cut surface. The contour of this section is represented by discrete points, how can I get the perimeter of this contour? The profile of this section is similar to an ellipse but not a regular…
daisy
  • 21
  • 2
2
votes
0 answers

Python/Open3D: How to set axis labels, ticks, and control the window size etc

I am trying to use Open3D to plot a large .laz file. I am looking to do the following: a) ways to set the labels for X,Y,Z axes b) See the dimensions of the X/Y/Z axes (the "ticks") c) Get back the control to the python/spyder (without waiting for…
SEU
  • 1,304
  • 4
  • 15
  • 36
2
votes
1 answer

How to create a basic gui with pointcloud updates using Open3D?

I'm updating a point cloud from a depth camera stream and I'd like to create a basic UI for a bounding box to crop the point cloud. I've made progress using open3d.visualization.VisualizerWithKeyCallback but I haven't figured out a way to get access…
George Profenza
  • 50,687
  • 19
  • 144
  • 218
1 2
3
23 24