python怎么批量读取点云,list相当于matlab的cell数组

import numpy as np
import open3d
from vispy import io
import numpy as np
import os
import mayavi.mlab
mesh=[[[0]*3]*10000]*14
FDI=[17,16,15,14,13,12,11,21,22,23,24,25,26,27];
for i in range(14):
mesh[i]=open3d.io.read_triangle_mesh(‘C:/Users/lixiaohu/Desktop/auto切牙数据/1234567/150451-0/tooth_0_’+str(FDI[i])+’.obj’)
mesh1= open3d.io.read_triangle_mesh(‘C:/Users/lixiaohu/Desktop/101028/101028_l/TOOTH_0.obj’)
输出结果是

mesh
Out[30]:
[TriangleMesh with 33273 points and 11091 triangles.,
TriangleMesh with 35046 points and 11682 triangles.,
TriangleMesh with 23904 points and 7968 triangles.,
TriangleMesh with 23352 points and 7784 triangles.,
TriangleMesh with 17178 points and 5726 triangles.,
TriangleMesh with 9873 points and 3291 triangles.,
TriangleMesh with 13950 points and 4650 triangles.,
TriangleMesh with 24048 points and 8016 triangles.,
TriangleMesh with 17145 points and 5715 triangles.,
TriangleMesh with 21525 points and 7175 triangles.,
TriangleMesh with 24969 points and 8323 triangles.,
TriangleMesh with 22365 points and 7455 triangles.,
TriangleMesh with 37440 points and 12480 triangles.,
TriangleMesh with 37638 points and 12546 triangles.]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值