Forum

Author Topic: How to select points corresponding to a object in photos by python script.  (Read 1883 times)

michio

  • Newbie
  • *
  • Posts: 2
    • View Profile
Hello Agisoft,

I try to following process by python script.
- Generate dense point clouds by using series of photo
- Select points of objects (such as a vehicle) which appears in a photo from dense point cloud.
- Export selected points (such as a vehicle) to file.

Is it possible to use “selectMaskedPoints” for this purpose? 

Thank you in advance for your reply.

-Michio

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: How to select points corresponding to a object in photos by python script.
« Reply #1 on: December 11, 2019, 12:25:53 PM »
Hello Michio,

If you have masks applied to the images which corresponds to the objects of interest, then you can select masked points, crop selected points and export the resulting point cloud. After that use restore points operation and repeat for the next mask/object.
Best regards,
Alexey Pasumansky,
Agisoft LLC

michio

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: How to select points corresponding to a object in photos by python script.
« Reply #2 on: December 12, 2019, 03:56:59 AM »
Dear Alexey

Thank you for your replay.
I will try “selectMaskedPoints" funtion.

Thank you for you help.

- Michio