31 #ifndef RACK_ANALYSIS_H
32 #define RACK_ANALYSIS_H
34 #include <drain/Log.h>
35 #include <drain/TypeUtils.h>
38 #include "drain/util/Fuzzy.h"
42 #include "drain/util/Functor.h"
43 #include "drain/util/FunctorBank.h"
45 #include "drain/image/SegmentProber.h"
48 #include "drain/imageops/FunctorOp.h"
53 #include "data/ODIM.h"
54 #include "data/PolarODIM.h"
55 #include "data/Quantity.h"
79 RadarDataFunctor(
double nodataValue = 0.0,
double undetectValue = 0.0) : nodataValue(nodataValue),undetectValue(undetectValue) {
84 double operator()(
double src)
const {
87 else if (src == odimSrc.undetect)
132 double undetectValue;
175 apply(src, dst, this->functor, this->LIMIT);
Image with static geometry.
Definition: ImageChannel.h:60
Definition: SegmentProber.h:523
Class for using simple function objects (like std::functor) for sequential pixel iteration.
Definition: FunctorOp.h:135
double scaleForward(double x) const
Converts a quantity from storage scale: y = offset + gain*y .
Definition: EncodingODIM.h:225
double nodata
data[n]/what (obligatory)
Definition: EncodingODIM.h:151
Metadata structure for single-radar data (polar scans, volumes and products).
Definition: PolarODIM.h:45
Computes in polar coordinates.
Definition: Analysis.h:271
virtual void update(int i, int j)
Operation performed in each segment location (i,j). A function to be redefined in derived classes.
Definition: Analysis.h:280
Checks nodata and undetect before calling the functor.
Definition: Analysis.h:72
Definition: Analysis.h:126
Convenience (abbreviation)
Definition: Analysis.h:146
virtual void traverseChannel(const drain::image::Channel &src, drain::image::Channel &dst) const
Process the image.
Definition: Analysis.h:174
Definition: DataSelector.cpp:44
Definition: Functor.h:116