32#ifndef ANDRE_DETECTOR2_H_
33#define ANDRE_DETECTOR2_H_
36#include <main/palette-manager.h>
66 DetectorOp(
const std::string & name = __FUNCTION__,
const std::string & description =
"",
const std::string & echoClass =
"") :
97 const std::string &
getOutputQuantity(
const std::string & inputQuantity =
"")
const;
99 static bool SUPPORT_UNIVERSAL;
162 mout.
error(
"stopping");
174 mout.special(__FUNCTION__,
" now, here!");
192 void storeDebugData(
int debugLevel,
const ImageFrame & srcImage,
const std::string & label)
const;
204 unsigned short int _count;
206 mutable std::string upperCaseName;
227 void _infect(
Image & data,
int windowWidth,
int windowHeight,
double enhancement)
const;
virtual const std::string & getName() const
Return the name of an instance.
Definition BeanLike.h:82
LogSourc e is the means for a function or any program segment to "connect" to a Log.
Definition Log.h:312
Logger & error(const TT &... args)
Echoes.
Definition Log.h:416
Logger & unimplemented(const TT &... args)
Feature to be done. Special type of Logger::note().
Definition Log.h:511
Image with static geometry.
Definition ImageFrame.h:67
Class for multi-channel digital images. Supports dynamic typing with base types (char,...
Definition Image.h:184
The base class for detector and removal operators.
Definition AndreOp.h:55
void setQuantities(const std::string &s)
Sets basic quantities and quality quantities. These sets are separated by '/'.
Definition DataSelector.cpp:282
A map of radar data, indexed by quantity code (DBZH, VRAD, etc).
Definition Data.h:1215
Data structure consisting of plain data and an optional quality data.
Definition Data.h:1146
Base class for anomaly detectors.
Definition DetectorOp.h:49
virtual void writeHow(PlainData< PolarDst > &dstData) const
After running a cmd, write execution details.
Definition DetectorOp.cpp:311
const drain::image::Palette::value_type & classEntry
Index applied in the legend of the classification results.
Definition DetectorOp.h:105
virtual void computeProducts(const DataSetMap< PolarSrc > &srcVolume, DataSetMap< PolarDst > &dstVolume) const
Definition DetectorOp.h:117
DetectorOp(const std::string &name=__FUNCTION__, const std::string &description="", const std::string &echoClass="")
Definition DetectorOp.h:66
virtual void initDataDst(const PlainData< PolarSrc > &srcData, PlainData< PolarDst > &dstData, const std::string &quantity="") const
If raised, make template? Cf. Volume::initDst ?
Definition DetectorOp.cpp:235
virtual void runDetection(const DataSetMap< PolarSrc > &srcVolume, DataSetMap< PolarDst > &dstVolume) const
Definition DetectorOp.cpp:82
virtual const std::string & getOutputQuantity(const std::string &inputQuantity="") const
Returns the quantity name, by default the name of the class in upper case letters.
Definition DetectorOp.cpp:262
virtual void runDetector(const PlainData< PolarSrc > &srcData, PlainData< PolarDst > &dstProb) const
Process as sweep (data in one elevation angle)
Definition DetectorOp.h:159
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
void _enhanceDirectionally(Image &data, float medianPos, int windowWidth) const
Enhances the detection result by reinforcing sectors of strong response, attenuating others....
Definition DetectorOp.cpp:324
Essential class for storing radar data.
Definition Data.h:300
Namespace for images and image processing tools.
Definition AccumulationArray.cpp:45
Definition DataSelector.cpp:44
Definition palette-manager.h:41