![]() |
Microscopy Image Browser
2.82
MIB
|
windv(vector, window size, AsInSmooth) vectorized version of windv() smooths a vector using a window of +/- window size window size is reduced at the edges More...
Functions | |
function vector2 = | windv (vector1, w_size, AsInSmooth) |
windv(vector, window size, AsInSmooth) vectorized version of windv() smooths a vector using a window of +/- window size window size is reduced at the edges More... | |
windv(vector, window size, AsInSmooth) vectorized version of windv() smooths a vector using a window of +/- window size window size is reduced at the edges
function vector2 = windv | ( | vector1, | |
w_size, | |||
AsInSmooth | |||
) |
windv(vector, window size, AsInSmooth) vectorized version of windv() smooths a vector using a window of +/- window size window size is reduced at the edges
vector1 | vector to smooth |
w_size | a number with a window size to use; w_size==1 gives average window of 3 points, w_size==2 gives average window of 5 points |
AsInSmooth | an optional switch how to handle the end points. When AsInSmooth == 1 the results are similar to the Matlab smooth function of the curve fitting toolbox |
Referenced by mibCalcCurveLength(), mibCalcShifts(), and mibRunningAverageSmoothPoints().