Forum

Author Topic: Dense cloud selection through python?  (Read 3815 times)

sc

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Dense cloud selection through python?
« on: March 02, 2015, 01:22:44 PM »
Is it possible to create a selection of dense cloud points through Python? let's say I wanted to select all the points that's inside my bounding box. Couldn't find anything for it in the API

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Dense cloud selection through python?
« Reply #1 on: March 02, 2015, 01:25:27 PM »
Hello sc,

Unfortunately, it is not possible in the current version of Python API.

But please note that the dense cloud is generated only inside the Bounding Box, so possibly you can resize the working volume prior to the dense cloud generation, rather then cropping already generated cloud. Of course, if such approach is applicable to your task.
Best regards,
Alexey Pasumansky,
Agisoft LLC

sc

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Dense cloud selection through python?
« Reply #2 on: March 02, 2015, 01:35:22 PM »
I split up my main chunk into smaller chunks to do be able to distribute the model creation in a networked environment, and I want to remove any points outside of the bounding box to greatly reduce the file size and the time it takes to load and save the project.
Your suggestion is viable, but I rather keep everything in one chunk as long as I can :)

cstarknyc

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Dense cloud selection through python?
« Reply #3 on: March 06, 2015, 12:29:11 AM »
Would you perhaps consider adding this feature in an upcoming revision of the API?  I think many of use would find it useful.