Forum

Author Topic: Gradual Selection  (Read 12680 times)

aphextwin

  • Newbie
  • *
  • Posts: 34
    • View Profile
Gradual Selection
« on: January 31, 2013, 06:46:03 PM »
Is it possible to perform a gradual selection on a mesh with python? I couldn?t find something in the reference :-/

alainfx

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Gradual Selection
« Reply #1 on: January 20, 2014, 01:54:53 PM »
Hi,

Same question here.

We use multi-frame chunks.
For a single frame, we can manually use this to clean geometry :
-Edit-->Gradual Selection-->Connected component size-->Level 95%
-Delete selected.

But we have a lot of frames, it would be very tedious to do it manually.
Is there a way to use python for this ?

Thanks.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15160
    • View Profile
Re: Gradual Selection
« Reply #2 on: January 20, 2014, 02:04:31 PM »
Hello,

Unfortunately, such options are not yet supported.

Best regards,
Alexey Pasumansky,
Agisoft LLC

alainfx

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Gradual Selection
« Reply #3 on: January 20, 2014, 02:26:01 PM »
Thanks.

Arggll, 1500 frames by hand (1 minute of final movie)...


Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15160
    • View Profile
Re: Gradual Selection
« Reply #4 on: January 20, 2014, 07:05:39 PM »
Hello alainfx,

Probably, we will implement the access to connected components filtering via Python in the upcoming update. However, there will be a max number of faces in the component and not percentage as an argument.
Best regards,
Alexey Pasumansky,
Agisoft LLC

alainfx

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Gradual Selection
« Reply #5 on: January 21, 2014, 01:13:37 PM »
Thanks !

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15160
    • View Profile
Re: Gradual Selection
« Reply #6 on: January 21, 2014, 07:23:25 PM »
Hello alainfx,

Please check the new build 1812 and chunk.model.removeComponents() method. As argument it should be given threshold number of faces for the connected components.
Best regards,
Alexey Pasumansky,
Agisoft LLC

alainfx

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Gradual Selection
« Reply #7 on: January 21, 2014, 08:57:08 PM »
Excellent, thanks !