![]() |
sablib
|
Smoothing using moving median(implementation). More...
Go to the source code of this file.
Functions | |
| const std::vector< double > | sablib::MovingMedian (const std::vector< double > &y, const unsigned int n) |
| Performs moving median smoothing. | |
Smoothing using moving median(implementation).
Definition in file moving_median.cpp.
| const std::vector< double > sablib::MovingMedian | ( | const std::vector< double > & | y, |
| const unsigned int | n ) |
Performs moving median smoothing.
| y | The input data vector (signal to be smoothed). |
| n | Half-width of the moving median window (calculated using 2 * n + 1 points). |
| std::invalid_argument | If the size of y or n is zero. |
Definition at line 88 of file moving_median.cpp.