31 #ifndef SLIDINGWINDOWMEDIANOP_H_
32 #define SLIDINGWINDOWMEDIANOP_H_
35 #include "SlidingWindowHistogramOp.h"
87 this->dst.
put(this->
location, histogram.getMedian<
double>() );
110 dstWeight.put(
location, histogram.
getSum<
double>() / histogram.getSize() );
131 parameters.link(
"percentage", this->conf.percentage = percentage);
132 parameters.link(
"bins", this->conf.bins = bins);
T getSum() const
Sum of the samples.
Definition: Histogram.h:290
void put(size_t i, T x)
Sets the intensity in location i to x. See \address.
Definition: ImageFrame.h:192
Definition: SlidingWindowHistogramOp.h:173
Base class for median and str histogram based statistics.
Definition: SlidingWindowHistogramOp.h:67
Template for operators applying pipeline-like sliding window.
Definition: SlidingWindowOp.h:59
Point2D< int > location
Current location of this window.
Definition: Window.h:520
Definition: DataSelector.cpp:1277