13#ifndef GDALALG_RASTER_ROUGHNESS_INCLUDED
14#define GDALALG_RASTER_ROUGHNESS_INCLUDED
16#include "gdalalg_raster_pipeline.h"
26class GDALRasterRoughnessAlgorithm
27 :
public GDALRasterPipelineStepAlgorithm
30 static constexpr const char *NAME =
"roughness";
31 static constexpr const char *DESCRIPTION =
"Generate a roughness map";
32 static constexpr const char *HELP_URL =
33 "/programs/gdal_raster_roughness.html";
35 explicit GDALRasterRoughnessAlgorithm(
bool standaloneStep =
false);
38 bool RunStep(GDALPipelineStepRunContext &ctxt)
override;
41 bool m_noEdges =
false;
48class GDALRasterRoughnessAlgorithmStandalone final
49 :
public GDALRasterRoughnessAlgorithm
52 GDALRasterRoughnessAlgorithmStandalone()
53 : GDALRasterRoughnessAlgorithm( true)
57 ~GDALRasterRoughnessAlgorithmStandalone()
override;