32#ifndef DOPPLER_Inversion_WINDOW_H_
33#define DOPPLER_Inversion_WINDOW_H_
40#include "RadarWindows.h"
96 pTmp.setLocation(p.x, p.y - 1);
97 if (!this->coordinateHandler.
validate(pTmp))
99 const double d1 = src.
get<
double>(pTmp);
101 pTmp.setLocation(p.x, p.y + 1);
102 if (!this->coordinateHandler.
validate(pTmp))
104 const double d2 = src.
get<
double>(pTmp);
106 if (odimSrc.deriveDifference(d1, d2, diff)){
123 std::string functorSetup;
164 bool isDiag(
int step)
const {
A smooth symmetric peak function that resembles the Gaussian bell curve. Diminishes quicker than Fuzz...
Definition Fuzzy.h:432
A smooth symmetric peak function that resembles the Gaussian bell curve.
Definition Fuzzy.h:363
bool validate(Point2D< int > &p) const
Handles the coordinate, returning true if the position is reversible.
Definition CoordinateHandler.h:238
T get(size_t i) const
Gets the intensity at location i. See address().
Definition ImageFrame.h:254
ImageFrame that also has channels.
Definition ImageView.h:52
void setView(const ImageFrame &src)
Views the whole image.
Definition ImageView.h:65
Class for multi-channel digital images. Supports dynamic typing with base types (char,...
Definition Image.h:184
Point2D< int > location
Current location of this window.
Definition Window.h:523
Definition DopplerInversionWindow.h:46
Definition DopplerInversionWindow.h:56
Definition DopplerInversionWindow.h:253
Definition DopplerInversionWindow.h:61
drain::UnaryFunctor * functor
Handling altitude.
Definition DopplerInversionWindow.h:129
virtual void removePixel(drain::Point2D< int > &p)
Removes the pixel located at (p.x,p.y) from the window statistic/quantity.
Definition DopplerInversionWindow.cpp:170
virtual void initialize()
Sets class-specific initial values. Does not change general window state (e.g. location)....
Definition DopplerInversionWindow.cpp:60
virtual void addPixel(drain::Point2D< int > &p)
Add the pixel located at (p.x,p.y) to the window statistic/quantity.
Definition DopplerInversionWindow.cpp:128
virtual void removeTrailingValue(double x)
Handles the converted (natural-scaled) value.
Definition DopplerInversionWindow.h:138
bool getDerivative(const drain::Point2D< int > &p, double &diff, bool debug=false) const
Computes the derivative (m/s)/beam. Often rescaled with beam width.
Definition DopplerInversionWindow.h:92
virtual void addLeadingValue(double x)
Handles the converted (natural-scaled) value.
Definition DopplerInversionWindow.h:135
virtual void write()
Write the result in the target image.
Definition DopplerInversionWindow.cpp:209
virtual void clear()
Clears the applied statistics. Redefined in derived classes.
Definition DopplerInversionWindow.cpp:285
Metadata structure for single-radar data (polar scans, volumes and products).
Definition PolarODIM.h:45
Definition RadarWindows.h:84
Definition RadarWindows.h:303
Definition DataSelector.cpp:44