Go to the source code of this file.
template<class T >
bool filterUndef |
( |
const T * |
input, |
|
|
T * |
output, |
|
|
int |
sz |
|
) |
| |
|
inline |
Filter out undefined values and replaces them by a linear interpolation of surrounding defined values. If undefined values are found at start/end, they are replaced by the first/last defined value. Input and output may be the same.
- Returns
- true if success, false if no defined value was found.
template<class T >
bool filterUndef |
( |
const ValueSeries< T > & |
input, |
|
|
T * |
outptr, |
|
|
int |
sz |
|
) |
| |
|
inline |