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
0
votes
1 answer

finding arc length in a curve created by numpy array

I have a NumPy array that can be used to create a curve the array looks like this. curve=np.asarray([0,0,0], [0.5,0,0], [0.8,0.2,0], [1,0.5,0], [1.2,0.7,0]) If I connect them up it will look like the following figure The points are the vertices on…
yihao ren
  • 369
  • 1
  • 4
  • 15
0
votes
0 answers

Error LNK2019 unresolved external symbol __imp_freopen referenced in function qh_initflags

I am using Visual Studio to run this code. https://gist.github.com/UnaNancyOwen/731238a6a5c916a28e43731494d1d2cb. I get these three errors while compiling. Error LNK2019 unresolved external symbol __imp_freopen referenced in function…
Rajani
  • 1
  • 1
0
votes
1 answer

Convert 32 bytes binary big endian file (LiDAR data) to python list or array

I have a LiDAR data set that is in 32 bytes binary big endian format and I need to convert it to python list or array then convert it to a PCD file. I'm currently using the following code, but it is only for 16 byte. What modification should I make…
yihao ren
  • 369
  • 1
  • 4
  • 15
0
votes
1 answer

Open3D, GLFW Error. No GLXFBConfigs returned

I want to visualize a pointcloud with open3d: open3d.visualization.draw_geometries([geo]) where geo is a point cloud. However, upon running the above code, I get the following: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to…
zendevil
  • 899
  • 4
  • 13
  • 26
0
votes
0 answers

Flat a point cloud (ply) to RGB image

I am trying to convert a ply to a RGB Image. I can extract pcd.colors and pcd.points from the file, but how I can flat it to an RGB image. np.asarray(pcd.colors) np.asarray(pcd.points) My problem is the above function give me a (1250459,3) array…
R2D2
  • 61
  • 7
0
votes
1 answer

How to translate camera in Open3d

In Open3D, we can rotate the camera in a Visualization window using our mouse. But how do we translate it? Ideally there is an intuitive keyboard + mouse way, but also the programmatic way is welcome.
user3180
  • 1,369
  • 1
  • 21
  • 38
0
votes
1 answer

Error when I try to assign triangles in open3D

i'm trying to do this: mesh = o3d.geometry.TriangleMesh() mesh.vertices=o3d.utility.Vector3dVector(vertices) mesh.triangles=o3d.utility.Vector3dVector(triangles) but i got this error: TypeError: (): incompatible function arguments. The following…
0
votes
1 answer

Open3d: How do I create an icosphere/geodesic polyhedron sphere?

I tried to create an icosphere in open3d. I tried the "create_sphere" function within TriangleMesh, but for some reason the mesh is made out of rectangles rather than triangles: import open3d as o3d a =…
JobHunter69
  • 1,706
  • 5
  • 25
  • 49
0
votes
1 answer

Quickly creating Scipy sparse matrix from adjacency list

I am trying to create a networkx graph from an adjacency list. I am currently doing the following which is slow. I looked into the scipy.sparse matrix options and as far as I could tell none were in the same format as what I am working with. It is…
Alberto MQ
  • 373
  • 2
  • 16
0
votes
2 answers

Blank screen when generating point cloud from image with Open3D

So I tried creating a point cloud with the Open3D library in python and in the end, it's basically just the 2 lines as referenced in here, but when I run my code (see below) all I get is a white screen popping up. I've ran it in Jupyter notebook,…
Megamind
  • 3
  • 1
  • 3
0
votes
0 answers

How Can Convert Point Cloud to Hdf5

I can convert any data to hdf5. But I have a 3D data and I am having trouble converting it to hdf5 correctly... There are 3 different things I need to create with stl file for hdf5. Because the production must not be suitable for Modelnet40. 1.Data…
0
votes
1 answer

How do I transform 3D coordinates to a new normal vector?

I have a series of coordinates, all coplanar to the same plane with a specific normal vector. I have also defined two vectors perpendicular to the normal vector that describe "up/down" and "left/right" within that 3D plane. The center of the plane…
DrRonne
  • 73
  • 8
0
votes
1 answer

Open3d Color Points interactively

I'd like to color my points based on a sliding threshold. I know we can do depth.colors = o3d.utility.Vector3dVector(my_numpy_array) But I'd like to be able to adjust the value interactively. I am using the python version of open3d.
Alberto MQ
  • 373
  • 2
  • 16
0
votes
1 answer

Convert CV Mat object to std::vector without loop

I have a RGB CV::Mat object and I want to convert it to std::vector to be used in open3d pointcloud color, is it possible to do this without loop? Thanks.
Tim
  • 47
  • 7
0
votes
1 answer

Open3D ERROR ComputeHalfEdges failed. Duplicated half-edges

Does anyone know how I can process a triangle mesh to allow conversion into a HalfEdgeTriangleMesh. I am trying to use the get_boundaries in HalfEdge to detect edges, which is not an included function in TriangleMesh The last line gives the…
Alberto MQ
  • 373
  • 2
  • 16
1 2 3
23
24