39 #include "PolarProductOp.h"
64 odim.product =
"FUNCTOR";
65 odim.quantity =
"UNKNOWN";
67 dataSelector.setQuantities(
"");
69 dataSelector.setMaxCount(1);
72 parameters.link(
"ftor", ftorSetup,
"Functor:a:b:c...");
75 this->allowedEncoding.link(
"type", odim.type =
"C");
76 this->allowedEncoding.link(
"gain", odim.scaling.scale = 0.1);
77 this->allowedEncoding.link(
"offset", odim.scaling.offset = 0.0);
89 std::string ftorSetup;
93 dstData.odim.area.width = (odim.area.width>0) ? odim.area.width : srcODIM.area.width;
94 dstData.odim.area.height = 1;
95 dstData.odim.rscale = (
static_cast<double>(srcODIM.area.width) * srcODIM.
rscale + srcODIM.
rstart) /
static_cast<double>(dstData.odim.area.width);
96 dstData.data.setGeometry(dstData.odim.area.width, dstData.odim.area.height);
Class for using simple function objects (like std::functor) for sequential pixel iteration.
Definition: FunctorOp.h:75
Data structure consisting of plain data and an optional quality data.
Definition: Data.h:1144
Metadata structure for single-radar data (polar scans, volumes and products).
Definition: PolarODIM.h:45
double & rscale
Beam-directional bin length [m].
Definition: PolarODIM.h:77
double rstart
The range (km) of the start of the first range bin.
Definition: PolarODIM.h:89
Base class for flat (2D) products computed in the polar coordinate system. Volume is used as input.
Definition: PolarProductOp.h:61
Namespace for images and image processing tools.
Definition: AccumulationArray.cpp:45
Definition: DataSelector.cpp:44