31#ifndef RACK_NONMET_OP_H_
32#define RACK_NONMET_OP_H_
36#include "FuzzyDetectorOp.h"
59 DetectorOp(__FUNCTION__,
"Detects clutter. Based on dual-pol parameter RhoHV . Optional post processing: morphological closing. Universal.",
"nonmet"){
65 parameters.link(
"threshold", this->threshold.tuple() = threshold,
"0...1[:0...1]");
66 parameters.link(
"medianWindow", this->medianWindow.tuple() = medianWindow,
"metres,degrees");
67 parameters.link(
"medianPos", this->medianPos = medianPos,
"0...1");
90 void runDetector(
const PlainData<PolarSrc> & srcData, PlainData<PolarDst> & dstProb)
const;
128 if (rhoHVthreshold.min > rhoHVthreshold.max){
129 functor.set(rhoHVthreshold);
131 else if (rhoHVthreshold.min < rhoHVthreshold.max){
132 functor.set(rhoHVthreshold.max, rhoHVthreshold.min);
135 functor.set(rhoHVthreshold.max, 0.8 * rhoHVthreshold.max);
map_t parameters
Parameters (name -> linked variable), typically linked to member variables of the derived class.
Definition BeanLike.h:313
const map_t & getParameters() const
Returns the parameter map (const access).
Definition BeanLike.h:116
Something that has width and height.
Definition Frame.h:53
A base class for fuzzy functions; also an unary functor.
Definition Fuzzy.h:62
A simple linear transition from 0 to 1 .
Definition Fuzzy.h:170
void copyStruct(const ReferenceMap &m, const T &src, T &dst, extLinkPolicy policy=RESERVE)
Experimental. Copies references and values of a structure to another.
Definition ReferenceMap.h:412
Tuple of N elements of type T.
Definition UniTuple.h:65
DOC: Add class description.
Definition NonMetOp.h:166
ChaffOp(double dbzPeak=10.0, double vradDevMax=+5.0, double rhoHVmax=0.50, double zdrAbsMin=0.5, double windowWidth=2500, double windowHeight=5.0)
Definition NonMetOp.h:181
ChaffOp(const ChaffOp &op)
Copy constructor.
Definition NonMetOp.h:187
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
Base class for BirdOp and InsectOp.
Definition FuzzyDetectorOp.h:79
DOC: Add class description.
Definition FuzzyDetectorOp.h:54
Marks bins with low RhoHV value as probable anomalies.
Definition NonMetOp.h:101
virtual drain::Fuzzifier< double > & getFuzzifierRHOHV(LocalFunctorBank &bank) const override
Fuzzifier of RHOHV shows response on values lower than 1.0.
Definition NonMetOp.h:124
Marks bins with low RhoHV value as probable anomalies.
Definition NonMetOp.h:46
virtual void runDetector(const PlainData< PolarSrc > &srcData, PlainData< PolarDst > &dstProb) const
Process as sweep (data in one elevation angle). Disabled; see runDetection() above for the equivalent...
Definition NonMetOp.cpp:42
NonMetOp(const drain::UniTuple< double, 2 > &threshold={0.7, 0.8}, const drain::UniTuple< double, 2 > &medianWindow={0.0, 0.0}, double medianThreshold=0.95)
Default constructor.
Definition NonMetOp.h:58
Definition AltitudeOp.cpp:42