Forum

Author Topic: Filter and Optimize Sparse Cloud: How is this Possible? How does it work?  (Read 2111 times)

MarcusR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Hello,

I'm using Metashape Professional 1.6.6. I got this Version in the Scope of Delivery from the CultArm3D Scanner from Verus (former Fraunhofer IGD). In this Version there is a Menu-Item called "CultArm3D" and there are several Scripts available. One of these Scripts is called "Filter and Optimize Sparse Cloud". I made a Video you can watch at my YouTube-Channel:

Part 1: https://youtu.be/p9FLE-zTZUk
Part 2: https://youtu.be/9P4UCBdirNA

Can anybody explain to me, how this works? What steps do I need to do to achieve this effect without the script from CultArm3D?

Thank You very much!

Greetings
Marcus

MarcusR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Filter and Optimize Sparse Cloud: How is this Possible? How does it work?
« Reply #1 on: November 17, 2025, 04:26:49 PM »
Nobody here who can Explain or understands how this works? Uh...

Corensia

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: Filter and Optimize Sparse Cloud: How is this Possible? How does it work?
« Reply #2 on: November 18, 2025, 04:09:09 AM »
We can guess but without looking inside the script, there's no definitive way to know. It's likely a automation of the Gradual Selection tools to filter the tie points. You have access to the script and can just take a look assuming you know code. Look in the C:\Users\YourName\AppData\Roaming\Agisoft\Metashape Pro\scripts\startup.py path and you should find the scripts there.

MarcusR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Filter and Optimize Sparse Cloud: How is this Possible? How does it work?
« Reply #3 on: November 20, 2025, 02:14:19 PM »
Thank you for your reply. Unfortunately, there is no script folder in the specified path.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15615
    • View Profile
Re: Filter and Optimize Sparse Cloud: How is this Possible? How does it work?
« Reply #4 on: November 20, 2025, 02:30:57 PM »
Hello Marcus,

Maybe the script is in /scripts/ subfolder of Metashape Pro installation directory then?
Best regards,
Alexey Pasumansky,
Agisoft LLC

MarcusR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Filter and Optimize Sparse Cloud: How is this Possible? How does it work?
« Reply #5 on: November 20, 2025, 02:42:54 PM »
Yes, thank you very much for answering. Yes, there ist a Script Folder (see Screenshot). I also found a Description about "Filter and Optimize Sparse Cloud" in my Documents (see Screenshot).

MarcusR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Filter and Optimize Sparse Cloud: How is this Possible? How does it work?
« Reply #6 on: November 20, 2025, 04:34:58 PM »
In the Description of the Script is written: "Filter and Optimize Sparse Cloud: Performs Gradual Selection with criterion "Reconstruction Uncertainty" and level 30, followed by "Optimize Cameras" on the current chunk"

In the Manual for Metashape I found this: (see Screenshot).

Perhaps this is what I'm looking for. I will have a Try next Week.

Does anybody have another Thought or Idea?

Appreciate it very much, thanks!

MarcusR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Filter and Optimize Sparse Cloud: How is this Possible? How does it work?
« Reply #7 on: November 20, 2025, 05:21:05 PM »
Strangely enough ther is no Script in the script-folder called "filter and optimize sparse cloud".

I've attached the two .py files I found in the script-folder of the installation directory of Metashape.

Corensia

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: Filter and Optimize Sparse Cloud: How is this Possible? How does it work?
« Reply #8 on: November 21, 2025, 04:43:50 AM »
In the script you uploaded, the "Filter and Optimize Sparse Cloud" basically does Gradual Selection using Reconstruction Uncertainty set to 30, removes those points, and then runs optimize cameras. It is the "Clean Tie Points" you found in the manual in version 2.2 but in version 1.6 it was called Gradual Selection, found in the Model Tab.
« Last Edit: November 21, 2025, 04:48:54 AM by Corensia »

MarcusR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Filter and Optimize Sparse Cloud: How is this Possible? How does it work?
« Reply #9 on: November 24, 2025, 10:13:29 AM »
Thank you very much!