Global Mapper SDK
Classifies aerial land imagery data into different types of surfaces: Water, Tree, Low Vegetation, Barren, Impervious-Other, and Impervious-Road. The classified data is returned as a new raster layer.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_LandCoverClassify
(
GM_LayerHandle_t32* aLayerList, // IN: List of imagery layers to use for land cover classification (if NULL, all loaded layers will be used)
uint32 aLayerCount, // IN: Number of layers in list (0 for all)
GM_Rectangle_t* aWorldBounds, // IN: Bounds to run land cover classification within (if NULL, whole extent of input layers will be used)
GM_LandCoverType_t8 aLandCoverType, // IN: Type of type of terrain data that is being classified, based on the its general climate and environment
boolean aUseCUDADevice, // IN: If true, will attempt to run on CUDA GPU if available, but will fall back to CPU if not. If false, will run on CPU
const char* aCustomModelName, // IN: Optional name of a custom model created by previous experimentation to use for this inference
HWND aParentWnd, // IN: Handle to parent window to attach the inference progress dialog to
GM_LayerHandle_t32* aOutputLayer, // OUT: output handle to a new raster layer
void* aReserved // IN: Reserved for future use, must be NULL
);
Comments
0 comments
Please sign in to leave a comment.