#include <despiker.h>
|
| | DeSpiker (VT maxgrubbs=VT(5)) |
| |
| virtual | ~DeSpiker () |
| |
| bool | deSpike (VT *, IT sz) const |
| | fixes all spikes. returns whether any change made
|
| |
| IT | getSpikeIdx (const VT *, IT sz, VT *newvalptr=0) const |
| |
| bool | hasSpike (const VT *, IT sz) const |
| | returns whether there is at least one spike
|
| |
◆ DeSpiker()
template<class VT, class IT>
◆ ~DeSpiker()
template<class VT, class IT>
◆ deSpike()
template<class VT, class IT>
| bool DeSpiker< VT, IT >::deSpike |
( |
VT * | vals, |
|
|
IT | sz ) const |
|
inline |
fixes all spikes. returns whether any change made
◆ getSpikeIdx()
template<class VT, class IT>
| IT DeSpiker< VT, IT >::getSpikeIdx |
( |
const VT * | vals, |
|
|
IT | sz, |
|
|
VT * | newvalptr = 0 ) const |
|
inline |
returns index of first spike. if provided, will fill newvalptr with suggested replacement value
◆ hasSpike()
template<class VT, class IT>
| bool DeSpiker< VT, IT >::hasSpike |
( |
const VT * | vals, |
|
|
IT | sz ) const |
|
inline |
returns whether there is at least one spike
◆ maxgrubbs_
template<class VT, class IT>
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2026