Forum

Author Topic: Java API: Filter dense cloud by confidence  (Read 1789 times)

M.Eli

  • Newbie
  • *
  • Posts: 8
    • View Profile
Java API: Filter dense cloud by confidence
« on: April 28, 2021, 09:46:41 AM »
Hey @all,

I integrate Metashape into my workflows using the Java API. Unfortunately, the documentation is a bit " sparse" but with a lot of trial and error I have always reached my goal - until now. I have to filter my dense cloud by confidence. I found a nice workflow in this forum using the Python API (https://www.agisoft.com/forum/index.php?topic=12114.0) but I am not able to reproduce using the Java API.

My question is: How to filter dense clouds by confidence using the Java API? The calculation of point confidence has been set 'true' in 'BuildDenseCloud'.

Thanks a lot and stay well,
Mel.


tlandenberger

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Java API: Filter dense cloud by confidence
« Reply #1 on: June 07, 2021, 12:26:55 PM »
Hey Mel,

I'm facing the same problem as you, did you already managed to find a solution?

M.Eli

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Java API: Filter dense cloud by confidence
« Reply #2 on: June 07, 2021, 12:34:51 PM »
Hi!

Unfortunately not... the only solution was to switch to the GUI version and do things there. Not really satisfying...  :-\

I think the filtering could also be coded natively, if we could somehow access the single points of the Dense Cloud. But even that doesn't work for me...