36#include <drain/image/Image.h>
39#include "FuzzyDetectorOp.h"
102 functor.set(::abs(zdrAbsThreshold), -::abs(zdrAbsThreshold), 0.0);
112 if (rhoHVthreshold.min > rhoHVthreshold.max){
113 functor.set(rhoHVthreshold);
115 else if (rhoHVthreshold.min < rhoHVthreshold.max){
116 functor.set(rhoHVthreshold.max, rhoHVthreshold.min);
119 functor.set(rhoHVthreshold.max, 0.8 * rhoHVthreshold.max);
166 void init(
double dbzPeak,
double vradDevMax,
double rhoHVmax,
double zdrDevMin,
double windowWidth,
double windowHeight);
174 ftor_t & functor = bank.clone<ftor_t>();
176 if (dbzParam.min < dbzParam.max){
177 functor.set(dbzParam);
179 else if (dbzParam.min > dbzParam.max){
180 functor.set(dbzParam.max, dbzParam.min);
184 functor.set(dbzParam.min+15.0, dbzParam.max-15.0);
210 ftor_t & functor = bank.clone<ftor_t>();
211 functor.set(vradDevThreshold-1.0, vradDevThreshold+1.0);
261 if (dbzParam.min > dbzParam.max){
262 functor.set(dbzParam);
264 else if (dbzParam.min < dbzParam.max){
265 functor.set(dbzParam.max, dbzParam.min);
269 functor.set(dbzParam.min+5.0, dbzParam.max-5.0);
278 ftor_t & functor = bank.clone<ftor_t>();
279 functor.set(vradDevThreshold+1.0, vradDevThreshold-1.0);
const std::string description
Brief, human-readable description of this bean.
Definition BeanLike.h:309
map_t parameters
Parameters (name -> linked variable), typically linked to member variables of the derived class.
Definition BeanLike.h:313
virtual const std::string & getName() const
Return the name of an instance.
Definition BeanLike.h:89
const map_t & getParameters() const
Returns the parameter map (const access).
Definition BeanLike.h:116
const std::string name
Name of this bean, typically also the name of the (derived) class.
Definition BeanLike.h:306
A base class for fuzzy functions; also an unary functor.
Definition Fuzzy.h:62
A smooth symmetric peak function that resembles the Gaussian bell curve. Diminishes quicker than Fuzz...
Definition Fuzzy.h:495
A simple linear transition from 0 to 1 .
Definition Fuzzy.h:170
A basic triangular peak function with linear around the peak.
Definition Fuzzy.h:279
LogSourc e is the means for a function or any program segment to "connect" to a Log.
Definition Log.h:326
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
DOC: Add class description.
Definition DualPolBioMetOp.h:133
BirdOp(const BirdOp &op)
Copy constructor.
Definition DualPolBioMetOp.h:158
BirdOp(double dbzPeak=-10.0, double vradDevMin=1.0, double rhoHVmax=0.99, double zdrAbsMin=1.0, double windowWidth=2500, double windowHeight=5.0)
Definition DualPolBioMetOp.h:148
virtual void init(double dbzPeak, double vradDevMax, double rhoHVmax, double zdrDevMin, double windowWidth, double windowHeight)
Definition DualPolBioMetOp.cpp:47
A map of radar data, indexed by quantity code (DBZH, VRAD, etc).
Definition Data.h:1293
DOC: Add class description.
Definition DualPolBioMetOp.h:62
DualPolBioMetOp(const std::string &name, const std::string &description, const std::string &classCode)
Constructor.
Definition DualPolBioMetOp.h:68
virtual drain::Fuzzifier< double > & getFuzzifierZDR(LocalFunctorBank &bank) const override
Fuzzifier of ZDR is designed to detect objects that have horizontal or vertical span.
Definition DualPolBioMetOp.h:99
DualPolBioMetOp(const DualPolBioMetOp &op)
Copy constructor.
Definition DualPolBioMetOp.h:73
virtual drain::Fuzzifier< double > & getFuzzifierRHOHV(LocalFunctorBank &bank) const override
Fuzzifier of RHOHV shows response on values lower than 1.0.
Definition DualPolBioMetOp.h:108
Base class for BirdOp and InsectOp.
Definition FuzzyDetectorOp.h:79
DOC: Add class description.
Definition DualPolBioMetOp.h:229
InsectOp(const InsectOp &op)
Copy constructor.
Definition DualPolBioMetOp.h:250
InsectOp(double dbzMax=0.0, double vradDevMax=+5.0, double rhoHVmax=0.99, double zdrAbsMin=3.0, double windowWidth=2500, double windowHeight=5.0)
Definition DualPolBioMetOp.h:244
DOC: Add class description.
Definition FuzzyDetectorOp.h:54
Namespace for images and image processing tools.
Definition AccumulationArray.cpp:45
Definition AltitudeOp.cpp:42