34 #include <andre/DetectorOp.h>
35 #include "data/Data.h"
36 #include "drain/image/Image.h"
37 #include "drain/image/Window.h"
38 #include "drain/imageops/ImageOp.h"
56 GliderOp(
const std::string & name,
const std::string & description,
const std::string & classCode) :
57 DetectorOp(name, description, classCode), dbzPeak(+5), VRAD_FLIP(
false), zdrAbsMin(+2.0) {
59 dataSelector.setQuantities(
"DBZH:VRAD:VRADH:RHOHV:ZDR");
60 dataSelector.setMaxCount(1);
83 this->parameters.copyStruct(op.getParameters(), op, *
this);
108 void runDetection(
const DataSet<PolarSrc> & src, PlainData<PolarDst> & dstProb, DataSet<PolarDst> & dstAux)
const;
124 void applyOperator(
const ImageOp & op,
Image & tmp,
const std::string & feature,
const Data<PolarSrc> & src, PlainData<PolarDst> & dstData, DataSet<PolarDst> & dstProductAux)
const;
149 BirdOp(
double dbzPeak = 0.0,
double vradDevMin = 3.0,
double rhoHVmax = 0.8,
double zdrAbsMin = 1.0,
double windowWidth = 2500,
double windowHeight = 5.0) :
151 GliderOp(__FUNCTION__,
"Estimates bird probability from DBZH, VRAD, RhoHV and ZDR.",
"nonmet.biol.bird"){
153 init(dbzPeak, vradDevMin, rhoHVmax, zdrAbsMin, windowWidth, windowHeight);
159 this->parameters.copyStruct(op.getParameters(), op, *
this);
167 void init(
double dbzPeak = -5.0,
double vradDevMin = 5.0,
double rhoHVmax = 0.7,
double zdrDevMin = 2.0,
double windowWidth = 2500,
double windowHeight = 5.0);
178 InsectOp(
double dbzPeak = -10.0,
double vradDevMax = +5.0,
double rhoHVmax = 0.7,
double zdrAbsMin = 3.0,
double windowWidth = 2500,
double windowHeight = 5.0) :
179 GliderOp(__FUNCTION__,
"Estimates probability from DBZH, VRAD, RhoHV and ZDR.",
"nonmet.biol.insect"){
180 init(dbzPeak, vradDevMax, rhoHVmax, zdrAbsMin, windowWidth, windowHeight);
186 this->parameters.copyStruct(op.getParameters(), op, *
this);
191 void init(
double dbzPeak = -5.0,
double vradDevMax = +5.0,
double rhoHVmax = 0.7,
double zdrDevMin = 2.0,
double windowWidth = 2500,
double windowHeight = 5.0);
Base class for image processing functions.
Definition: ImageOp.h:49
Class for multi-channel digital images. Supports dynamic typing with base types (char,...
Definition: Image.h:184
Base class for configurations applied in image processing windows, e.g. for operators of type WindowO...
Definition: Window.h:56
BirdOp(double dbzPeak=0.0, double vradDevMin=3.0, double rhoHVmax=0.8, double zdrAbsMin=1.0, double windowWidth=2500, double windowHeight=5.0)
Definition: BirdOp.h:149
Base class for anomaly detectors.
Definition: DetectorOp.h:49
GliderOp(const GliderOp &op)
Definition: BirdOp.h:82
Namespace for images and image processing tools.
Definition: AccumulationArray.cpp:45
Definition: DataSelector.cpp:44