GM_LidarClassifyGraph

Use a graph / segmentation-based method to automatically assign classifications to Lidar points. While this is more computationally expensive than the other methods, it typically generates far superior results.

You would typically use this to find building and high vegetation points (i.e. replacement for GM_LidarClassifyBuildingVeg).

This method will classify all points in the specified loaded Lidar layer(s). If you want to only classify a subset of the points in a cloud, first use GM_CreateLidarQuery to build a set of the points that you want to classify, then use GM_LidarClassifyGraphFromQuery to do the classification.

Syntax

C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_LidarClassifyGraph
(
GM_LayerHandle_t32*                aLayerList,      // IN: List of layers to classify or NULL for all Lidar layers
uint32                             aLayerCount,     // IN: Number of layers in list (0 for all)
const GM_ClassifyGraphSetup_t*     aSettings,       // IN: Classification settings. If NULL is provided, default settings will be used.
void*                              aReserved        // IN: Reserved for future use, must be NULL
)