Forum

Author Topic: Dense Cloud Generation?  (Read 1429 times)

tailong

  • Newbie
  • *
  • Posts: 3
    • View Profile
Dense Cloud Generation?
« on: August 29, 2022, 07:25:55 PM »
Hi all,

I am trying to build a dense cloud using the API based off of GUI parameters (quality=medium, depthfiltering=mild, do not reuse depth maps, calculate point colors, calculate point confidence)

How can I recreate this in python? I'm a little confused as createDepthMaps seems to be its own thing. Do I keep arguments such as workitem_size_cameras default?

ppant

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: Dense Cloud Generation?
« Reply #1 on: August 30, 2022, 12:43:35 AM »
hey tailong you need to build a depth map and dense point cloud.

Code: [Select]
chunk.buildDepthMaps(downscale=4, filter_mode=Metashape.MildFiltering,reuse_depth=False)
chunk.buildDenseCloud(point_colors=True)

Best Wishes