31 #ifndef ClutterMapOP_H_
32 #define ClutterMapOP_H_
34 #include <andre/DetectorOp.h>
35 #include "data/Data.h"
36 #include "data/DataSelector.h"
38 #include "drain/util/ReferenceMap.h"
69 ClutterOp(
double decay=0.5,
double gamma=1.0,
const std::string & quantity =
"CLUTTER",
const std::string & file =
"cluttermaps/cluttermap-${NOD}-${quantity}.h5") :
70 DetectorOp(__FUNCTION__,
"Reads a ground clutter map and scales it to sweeps.",
"nonmet.clutter.ground"){
72 REQUIRE_STANDARD_DATA =
false;
75 dataSelector.setQuantities(
"");
76 dataSelector.setMaxCount(1);
78 parameters.link(
"decay", this->decay = decay,
"per 1000m");
79 parameters.link(
"gamma", this->gamma = gamma,
"brightness");
80 parameters.link(
"quantity", this->quantity = quantity,
"CLUTTER|OBSTACLE|...");
81 parameters.link(
"file", this->file = file,
"path syntax");
93 void setClutterMap(
const std::string & filename)
const;
96 const Hi5Tree & getClutterMap(
const PolarODIM & odim)
const;
104 mutable Hi5Tree clutterMap;
Based on pre-computed clutter map, scales the clutter probability for desired sweeps.
Definition: ClutterOp.h:55
ClutterOp(double decay=0.5, double gamma=1.0, const std::string &quantity="CLUTTER", const std::string &file="cluttermaps/cluttermap-${NOD}-${quantity}.h5")
Default constructor.
Definition: ClutterOp.h:69
A map of radar data, indexed by quantity code (DBZH, VRAD, etc).
Definition: Data.h:1213
Base class for anomaly detectors.
Definition: DetectorOp.h:49
Essential class for storing radar data.
Definition: Data.h:302
Metadata structure for single-radar data (polar scans, volumes and products).
Definition: PolarODIM.h:45
Namespace for images and image processing tools.
Definition: AccumulationArray.cpp:45
Definition: DataSelector.cpp:44