Forum

Author Topic: HeightField in buildModel  (Read 4603 times)

boulder1998

  • Newbie
  • *
  • Posts: 7
    • View Profile
HeightField in buildModel
« on: September 21, 2023, 12:48:10 PM »
Dear all,

I want to play around with some of the input parameters for certain Metashape functions such as buildModel.
In my script after matchPhotos, alignPhotos and buildDepthMaps I want to use this buildModel function.

While my scripts runs fine when using Metashape.DepthMapsData as source_data, the script does not work with Metshape.PointCloudData[/b. This seems reasonable since no Pointcloud has been created beforehand (I do this later in my script).

The same approach I use for the surface_type. While Metashape.Arbitrary works, it does not work with Metashape.HeightField. Unfortunately, I could not find any further details what is behind height field.

My question therefore is: What does HeightField mean and most importantly depend on in Python?

Cheers, boulder1998

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15122
    • View Profile
Re: HeightField in buildModel
« Reply #1 on: September 21, 2023, 06:15:50 PM »
Hello boulder1998,

Height Field mesh generation method accepts only point cloud (dense cloud) or tie points as input data and cannot work based on depth maps source.
Best regards,
Alexey Pasumansky,
Agisoft LLC