43#include "DetectorOp.h"
65 SpeckleOp(
double threshold=-20.0,
int area=16,
bool invertPolar=
false) :
67 DetectorOp(__FUNCTION__,
"Detects speckle noise. Universal: uses DBZ data as input, applies to all data in a sweep group.",
"noise.speckle"){
72 parameters.link(
"threshold", this->threshold = threshold,
"dBZ");
73 parameters.link(
"area", this->area = area,
"bins");
74 parameters.link(
"invertPolar", this->invertPolar = invertPolar,
"bins");
79 parameters.
copyStruct(op.getParameters(), op, *
this);
89 void runDetector(
const PlainData<PolarSrc> &src, PlainData<PolarDst> &dst)
const;
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:399
void setQuantities(const std::string &s)
Sets basic quantities and quality quantities. These sets are separated by '/'.
Definition DataSelector.cpp:282
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:216
bool UNIVERSAL
If true, applies also to quantities str than the one used in detection. The detection and the accumul...
Definition DetectorOp.h:181
Definition SpeckleOp.h:52
SpeckleOp(double threshold=-20.0, int area=16, bool invertPolar=false)
Computes sizes of segments having intensity over threshold.
Definition SpeckleOp.h:65
virtual void runDetector(const PlainData< PolarSrc > &src, PlainData< PolarDst > &dst) const
Process as sweep (data in one elevation angle)
Definition SpeckleOp.cpp:55
Namespace for images and image processing tools.
Definition AccumulationArray.cpp:45
Definition DataSelector.cpp:44