Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Total number of points in spare point cloud
« previous
next »
Print
Pages: [
1
]
Author
Topic: Total number of points in spare point cloud (Read 3053 times)
Seb_B
Newbie
Posts: 38
Total number of points in spare point cloud
«
on:
March 25, 2015, 05:30:36 PM »
Hello,
How I can comput the total number of points in the spare point cloud? I am a bit confused with pointCloud.point,, PointCloudPoints and PointCloudPoint!
Thanks
Logged
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 14813
Re: Total number of points in spare point cloud
«
Reply #1 on:
March 25, 2015, 05:40:21 PM »
Hello Sebastien,
Code:
[Select]
int(str(chunk.point_cloud).split("'")[1].rsplit(" ")[0])
or
Code:
[Select]
len(chunk.point_cloud.points)
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
Seb_B
Newbie
Posts: 38
Re: Total number of points in spare point cloud
«
Reply #2 on:
March 25, 2015, 06:14:24 PM »
Thanks!
Logged
Print
Pages: [
1
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Total number of points in spare point cloud
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)