Forum

Author Topic: renderMask()  (Read 3396 times)

vkam

  • Newbie
  • *
  • Posts: 26
    • View Profile
renderMask()
« on: September 27, 2023, 04:30:20 AM »
Hello,

What does the chunk.model.renderMask() function actually generate?  Is it point cloud confidence (from requested point of view)?

I am looking for a way to generate point cloud confidence data at camera location, so I can mask camera RGBD images based on confidence.  Any help would be appreciated.  I am using Metashape 2.0 pro version.

Thanks!

Vkam


Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14753
    • View Profile
Re: renderMask()
« Reply #1 on: September 27, 2023, 01:22:27 PM »
Hello Vkam,

This function works in a similar way as GUI operation Import Masks -> From Model:
https://agisoft.freshdesk.com/support/solutions/articles/31000163388-automatic-masking-from-the-model

Basically you can say that the existing mesh model is projected on the image and mask is applied to the empty areas (that do not contain projected mesh elements).
Best regards,
Alexey Pasumansky,
Agisoft LLC

vkam

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: renderMask()
« Reply #2 on: September 27, 2023, 09:05:47 PM »
Hi Alex,

Thanks for your response.  Is there a way to generate confidence numbers for a camera location, that go along with the depth values for camera RGBD data?

Vkam

vkam

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: renderMask()
« Reply #3 on: October 05, 2023, 09:09:08 PM »
Still looking for help on this if anyone knos.

vkam