Forum

Author Topic: Total number of points in spare point cloud  (Read 3053 times)

Seb_B

  • Newbie
  • *
  • Posts: 38
    • View Profile
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

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
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)
Best regards,
Alexey Pasumansky,
Agisoft LLC

Seb_B

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Total number of points in spare point cloud
« Reply #2 on: March 25, 2015, 06:14:24 PM »
Thanks!