31#ifndef RACK_FUZZY_DUALPOL_OP
32#define RACK_FUZZY_DUALPOL_OP
36#include <drain/util/Cloner.h>
38#include <drain/image/Image.h>
39#include <drain/image/Window.h>
40#include <drain/imageops/ImageOp.h>
42#include "radar/Analysis.h"
43#include "DetectorOp.h"
103 double vradDevThreshold = 2.0;
106 double zdrAbsThreshold = 2.0;
109 double gammaAdjustment = 1.0;
113 return selectorEmpty;
118 return selectorEmpty;
123 return selectorEmpty;
128 return selectorEmpty;
132 void runDetection(
const DataSet<PolarSrc> & src, PlainData<PolarDst> & dstProb, DataSet<PolarDst> & dstAux)
const;
160 void computeFuzzy(
const drain::Fuzzifier<double> & fuzzifier,
const PlainData<PolarSrc> & src, PlainData<PolarDst> & dstData, DataSet<PolarDst> & dstProduct)
const;
163 void computeFuzzyVRAD(
const drain::Fuzzifier<double> & fuzzifier,
const PlainData<PolarSrc> & src, PlainData<PolarDst> & dstData, DataSet<PolarDst> & dstProduct)
const;
171 void applyOperator(
const ImageOp & op,
const PlainData<PolarSrc> & src, PlainData<PolarDst> & dstData, DataSet<PolarDst> & dstProductAux)
const;
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
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
Identity function - returns the input value.
Definition Fuzzy.h:128
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
Base class for image processing functions.
Definition ImageOp.h:49
Base class for configurations applied in image processing windows, e.g. for operators of type WindowO...
Definition Window.h:55
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
Base class for BirdOp and InsectOp.
Definition FuzzyDetectorOp.h:79
FuzzyDetectorOp(const std::string &name, const std::string &description, const std::string &classCode)
Constructor.
Definition FuzzyDetectorOp.h:85
void applyOperator(const ImageOp &op, const PlainData< PolarSrc > &src, PlainData< PolarDst > &dstData, DataSet< PolarDst > &dstProductAux) const
Convenience function for "accumulating" detection results.
Definition FuzzyDetectorOp.cpp:134
virtual void runDetection(const DataSet< PolarSrc > &src, PlainData< PolarDst > &dstProb, DataSet< PolarDst > &dstAux) const
Process as sweep (data in one elevation angle)
Definition FuzzyDetectorOp.cpp:215
static void getGammaLookUpTable(double p, std::vector< unsigned char > &lookUpTable)
Returns a 256-element map of Gamma corrected values, scaled by 256.
Definition FuzzyDetectorOp.cpp:116
FuzzyDetectorOp(const FuzzyDetectorOp &op)
Copy constructor.
Definition FuzzyDetectorOp.h:95
DOC: Add class description.
Definition FuzzyDetectorOp.h:54
Definition AltitudeOp.cpp:42
Wrapper for derived class S, returning base class T.
Definition Cloner.h:118