Loading [MathJax]/extensions/tex2jax.js
IStatFilter.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/String.hpp>
5 #include <opals/Path.hpp>
6 #include <opals/KernelShape.hpp>
7 #include <DM/StatFeature.hpp>
8 #include <opals/GridLimit.hpp>
9 #include <opals/GridResolution.hpp>
10 #include <opals/HistoMode.hpp>
11 #include <opals/NoDataType.hpp>
12 
13 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
14  #if defined _DEBUG && !defined OPALS_NO_DEBUG
15  #pragma comment(lib, "opalsStatFilter_d.lib")
16  #else
17  #pragma comment(lib, "opalsStatFilter.lib")
18  #endif
19 #endif
20 
21 namespace opals {
22 
23  namespace opts
24  {
25  /// Options of \ref ModuleStatFilter
26  namespace StatFilter
27  {
28  /// Options of \ref ModuleStatFilter
29  using Options =
30  IGroup< Names::_,
41  >;
42  }
43  }
44 
45  /// Performs statistical filtering of raster datasets with a sliding kernel of arbitrary shape and size.
46  /** The module opalsStatFilter reads a raster image in GDAL suppurted format and produces
47  a statistically filtered output raster. For each output raster pixel a statistical
48  feature (e.g. min, max, mean, etc.) is evaluated based on a kernel neighbourhood. */
49  /// \see \ref ModuleStatFilter
50  class OPALS_API IStatFilter : virtual public IModuleBase
51  {
52 
53  public:
54  static IStatFilter* New();
55  static IStatFilter* New( IControlObject &controlObject );
56  static IStatFilter* New( const IModuleBase &parent );
57  static IStatFilter* New( const IModuleBase &parent, IControlObject &controlObject );
58 
59  virtual ~IStatFilter() {}
60 
61  /// \name Access to module-specific options.
62  ///@{
64  Options& opts() override = 0;
65  const Options& opts() const override = 0;
66  ///@}
67 
68  };
69 
70 };
A leaf that holds a value.
Definition: IOption.hpp:62
Performs statistical filtering of raster datasets with a sliding kernel of arbitrary shape and size.
Definition: IStatFilter.hpp:50
Contains the public interface of OPALS.
Definition: AbsValueOrQuantile.hpp:8
Abstract base class of all opals modules.
Definition: IModuleBase.hpp:13
Interface for retrieving status and progress information from a module run.
Definition: c++_api/inc/opals/IControlObject.hpp:30
A group of options.
Definition: IOption.hpp:136
IGroup< Names::_, IValue< Names::inFile, false, Path >, IValue< Names::outFile, false, Path >, IValue< Names::oFormat, false, String >, IValue< Names::feature, false, DM::StatFeature >, IValue< Names::kernelShape, false, KernelShape >, IValue< Names::kernelSize, false, int >, IValue< Names::limit, false, GridLimit >, IValue< Names::noData, false, NoDataType >, IValue< Names::procMode, false, HistoMode >, IValue< Names::gridSize, false, GridResolution > > Options
Options of Module StatFilter.
Definition: IStatFilter.hpp:41