31#ifndef ClutterMapOP_H_
32#define ClutterMapOP_H_
34#include <andre/DetectorOp.h>
37#include <drain/util/ReferenceMap.h>
68 ClutterOp(
double decay=0.5,
double gamma=1.0,
const std::string & quantity =
"CLUTTER",
const std::string & file =
"cluttermaps/cluttermap-${NOD}-${quantity}.h5") :
77 parameters.link(
"decay", this->decay = decay,
"per 1000m");
78 parameters.link(
"gamma", this->gamma = gamma,
"brightness");
79 parameters.link(
"quantity", this->quantity = quantity,
"CLUTTER|OBSTACLE|...");
80 parameters.link(
"file", this->file = file,
"path syntax");
95 const Hi5Tree & getClutterMap(
const PolarODIM & odim)
const;
103 mutable Hi5Tree clutterMap;
map_t parameters
Parameters (name -> linked variable), typically linked to member variables of the derived class.
Definition BeanLike.h:313
Based on pre-computed clutter map, scales the clutter probability for desired sweeps.
Definition ClutterOp.h:54
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:68
virtual void runDetection(const DataSet< PolarSrc > &src, PlainData< PolarDst > &dst, DataSet< PolarDst > &aux) const
Process as sweep (data in one elevation angle)
Definition ClutterOp.cpp:114
void setClutterMap(const std::string &filename) const
Loads a clutter map.
Definition ClutterOp.cpp:52
void setQuantities(const std::string &s)
Sets basic quantities and quality quantities. These sets are separated by '/'.
Definition DataSelector.cpp:299
A map of radar data, indexed by quantity code (DBZH, VRAD, etc).
Definition Data.h:1293
Base class for anomaly detectors.
Definition DetectorOp.h:49
bool REQUIRE_STANDARD_DATA
Set to true if operator expects fixed background intensities instead of "nodata" defined by the Polar...
Definition DetectorOp.h:212
bool UNIVERSAL
If true, applies also to quantities str than the one used in detection. The detection and the accumul...
Definition DetectorOp.h:177
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 AltitudeOp.cpp:42