fill-holes-pointcloud icon indicating copy to clipboard operation
fill-holes-pointcloud copied to clipboard

ValueError: cannot reshape array of size 647217 into shape (6,newaxis)

Open yhk1515 opened this issue 3 years ago • 0 comments

here is my point cloud data shape : (47353, 3)

image

When the hole filling algorithm is executed, the following error occurs.

Traceback (most recent call last): File "c:/fill-holes-pointcloud-master/fill_holes/fill_holes.py", line 356, in fill_holes(a) File "c:/fill-holes-pointcloud-master/fill_holes/fill_holes.py", line 309, in fill_holes suppress_qhull_errors=suppress_qhull_errors File "c:/fill-holes-pointcloud-master/fill_holes/fill_holes.py", line 281, in find_holes max_ratio_radius_area) File "c:/fill-holes-pointcloud-master/fill_holes/fill_holes.py", line 42, in determine_big_triangles circumradii, areas = triangle_geometries(points, tri_simplices) File "c:/fill-holes-pointcloud-master/fill_holes/fill_holes.py", line 24, in triangle_geometries triangles = np.moveaxis(triangles, (1, 0), (0, 2)).reshape((6, -1)) ValueError: cannot reshape array of size 836739 into shape (6,newaxis)

Can you tell me the solution?

yhk1515 avatar Feb 05 '22 10:02 yhk1515