Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - christian.thau

Pages: [1]
1
Python and Java API / Re: List of Tweaks ?
« 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

2
Hi Alexey,

I just did a quick search within the GitHub script and there seems to be no "chunk.buildDenseCloud()" line. Am I missing something?

Best
Christian


3
Hi Alexey,

thanks for you quick reply. Yes, I am using the latest GitHub script in Metashape version 1.7.2. I will try your suggestion and see if this works.

Cheers,
Christian

4
Hi Alexey,

I'd like to bring this topic up again. Could you please elaborate on the try-except approach? Where/how exactly do we have to incorporate this piece of code in the split_in_chunks script in order to get this to work? I am sure this would be of great help to many of us here in this forum.

Thanks in advance,
Christian


In order to skip "zero resolution" chunks for the dense cloud generation, you can use try-except approach:


Code: [Select]
try:
   chunk.buildDenseCloud()
except Exception as exc:
    print("Something wrong for chunk ", chunk.label, ". Skipped error: ",exc)

Pages: [1]