1
Python and Java API / Re: Masked point cloud with masks on certain photos only
« on: June 10, 2024, 10:23:10 AM »
Thanks Alexey!
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.
chunk.buildDem(source_data=Metashape.PointCloudData, interpolation=Metashape.DisabledInterpolation) # first DEM
chunk.elevation.label = "Initial Elevation"
chunk.buildDem(source_data=Metashape.PointCloudData, interpolation=Metashape.Extrapolated, classes=Metashape.Ground) # ground DEM to subtract to the other
chunk.elevation.label = "Ground Elevation"
chunk.elevation = None
chunk.transformRaster(source_data=Metashape.ElevationData, subtract=True, ...)