Forum

Author Topic: Get coordinates of dense cloud points  (Read 2018 times)

Jove

  • Newbie
  • *
  • Posts: 2
    • View Profile
Get coordinates of dense cloud points
« on: February 14, 2019, 11:28:09 PM »
Hello!

Code: [Select]
dense_cloud = chunk.dense_cloud
dense_cloud.selectPointsByColor(color=[255,255,255], tolerance=99, channels='RGB')

I need to get access (get coordinates) of selected points.
How can I get it?

Jove

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Get coordinates of dense cloud points
« Reply #1 on: February 15, 2019, 12:51:18 PM »
The only way I see is:
1. Assign class to selected points.
2. Export assigned class points to file.
3. Import points coordinates from file by own program.

Is there an easier way, whitout shamanic dance with a tambourine?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14816
    • View Profile
Re: Get coordinates of dense cloud points
« Reply #2 on: February 15, 2019, 02:40:18 PM »
Hello Jove,

Currently is it not possible to access the dense cloud points directly via Python API.
Best regards,
Alexey Pasumansky,
Agisoft LLC