Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: antoineSIG on February 11, 2021, 07:46:24 PM

Title: List of Tweaks ?
Post by: antoineSIG on February 11, 2021, 07:46:24 PM
Is there a list of Tweaks ?

I try to add "main/dense_cloud_max_neighbors" parameter but it doesn't work in 1.7.1 version.

Best regards.
Title: Re: List of Tweaks ?
Post by: Alexey Pasumansky on February 11, 2021, 07:59:13 PM
Hello antoineSIG,

For the new (default) depth maps in the version 1.7 you should use the following tweak:
BuildDepthMaps/pm_max_neighbors

For old depth maps (could be enabled by setting BuildDepthMaps/pm_enable tweak value to False):
BuildDepthMaps/max_neighbors
Title: Re: List of Tweaks ?
Post by: Costas on February 13, 2021, 12:49:39 PM
I'm a little confused Alexey.

I'm using Agisoft Photogrammetric Kit for Topcon v.1.7.0

I can set main/dense_cloud_max_neighbors = 850 but if i try to set the parameter for the NEW depth maps in version 1.7 as you said to BuildDepthMaps/pm_max_neighbors i get an error that "this parameter is not found"

Why is that?

Is my program using the OLD or the NEW depth maps?

If it indeed still uses the NEW depth maps is the main/dense_cloud_max_neighbors tweak working for me?
Title: Re: List of Tweaks ?
Post by: Alexey Pasumansky on February 13, 2021, 05:42:13 PM
Hello Costas,

I think I have misread the original post. The dense_cloud_max_neighbors tweak in 1.7 version should be modified to BuildDenseCloud/max_neighbors and it doesn't depend on the new/old depth maps generation algorithm (by default NEW depth maps are generated).

Do you have a possibility to update to APK version 1.7.1? I suggest to do that, as dense cloud noise filtering has been improved in this version.
Title: Re: List of Tweaks ?
Post by: Costas on February 23, 2021, 01:17:44 PM
Hello Alexey,

I still got the error when trying to set BuildDenseCloud/max_neighbors in v.1.7.0.

Today i updated to v.1.7.1 and the previous "main/dense_cloud_max_neighbors" was transofrmed automatically to BuildDenseCloud/max_neighbors  ;D

I have one question though.

I set Dense Cloud max neighbors = 850 (as i had similar problems sometimes with this post https://www.agisoft.com/forum/index.php?topic=11558.0).

The questions is what value should i set for Depth Maps max neighbors? I now have BuildDepthMaps/pm_max_neighbors=850.
Is there any correlation between values in Dense cloud max neighbors and Depth Maps max neighbors? Should they be the same, or half, or double etc? What is the best practice to set these values?
Title: Re: List of Tweaks ?
Post by: dyoung on April 11, 2021, 08:53:46 PM
I have the same question as Costas

Is there any correlation between values in Dense cloud max neighbors and Depth Maps max neighbors? Should they be the same, or half, or double etc? What is the best practice to set these values?

Any suggestions? Thanks!
Title: Re: List of Tweaks ?
Post by: dronesurveyconsultancy on April 14, 2021, 07:39:27 PM
Any update on this?
Title: Re: List of Tweaks ?
Post by: christian.thau on May 12, 2021, 09:53:12 AM
Hi all,

I'd like to bring this question up again. Does anybody have recommendations regarding values for the max neighbors when generating depth maps?

Thanks
Christian