Forum

Author Topic: class names or orders of dense cloud in Python  (Read 5121 times)

ferdywallinx

  • Newbie
  • *
  • Posts: 28
    • View Profile
class names or orders of dense cloud in Python
« on: January 05, 2016, 07:40:10 PM »
Hi All,

I'm trying to create a DEM based on a classified dense point cloud in Photoscan python. The manual only states that I should state the classes as a list of int but i have no idea what integer value corresponds to what class and how this should be called. The manual only states the following:

buildDem(source=DenseCloudData, interpolation=EnabledInterpolation[, projection ][, region ][,
classes])

So what should i put after classes= to only build the dem based on ground points? The step before builddem is classifygroundpoints.


Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15438
    • View Profile
Re: class names or orders of dense cloud in Python
« Reply #1 on: January 05, 2016, 08:56:36 PM »
Hello ferdywallinx,

Here's the correspondence between dense point classes and their indices required for the buildDem() function:

Created = 0,
Unclassified = 1,
Ground = 2,
LowVegetation = 3,
MediumVegetation = 4,
HighVegetation = 5,
Building = 6,
LowPoint = 7,
ModelKeyPoint = 8,
Water = 9,
OverlapPoints = 12
Best regards,
Alexey Pasumansky,
Agisoft LLC