OpendTect
6.6
|
Tracker that tracks Min/Max & Zero crossings between valueseries. More...
Public Types | |
enum | CompareMethod { None , SeedTrace , AdjacentParent } |
Public Member Functions | |
EventTracker () | |
void | allowAmplitudeSignChange (bool) |
float | allowedVariance () const |
float | amplitudeThreshold () const |
void | fillPar (IOPar &par) const |
TypeSet< float > & | getAllowedVariances () |
TypeSet< float > & | getAmplitudeThresholds () |
CompareMethod | getCompareMethod () const |
float | getRangeStep () const |
bool | isAmplitudeSignChangeAllowed () const |
virtual bool | isOK () const |
void | normalizeSimilarityValues (bool yn) |
bool | normalizesSimilarityValues () const |
const Interval< float > & | permittedRange () const |
float | quality () const |
void | setAllowedVariance (float v) |
Only used if not using absolute threshold. More... | |
void | setAllowedVariances (const TypeSet< float > &avs) |
void | setAmplitudeThreshold (float th) |
Must be set if using absolute threshold. More... | |
void | setAmplitudeThresholds (const TypeSet< float > &) |
void | setCompareMethod (CompareMethod) |
void | setPermittedRange (const Interval< float > &rg) |
void | setRangeStep (float step) |
void | setSeed (const ValueSeries< float > *, int sz, float depth) |
void | setSimilarityThreshold (float th) |
void | setSimilarityWindow (const Interval< float > &rg) |
void | setSnapToEvent (bool) |
void | setTrackEvent (VSEvent::Type ev) |
void | setUseAbsThreshold (bool abs) |
float | similarityThreshold () const |
const Interval< float > & | similarityWindow () const |
bool | snap (const Interval< float > &lrg) |
bool | snap (float threshold) |
bool | snapToEvent () const |
bool | track () |
VSEvent::Type | trackEvent () const |
const char * | type () |
bool | useAbsThreshold () const |
bool | usePar (const IOPar &par) |
void | useSimilarity (bool yn) |
bool | usesSimilarity () const |
Public Member Functions inherited from ValSeriesTracker | |
ValSeriesTracker () | |
virtual | ~ValSeriesTracker () |
virtual void | setSource (const ValueSeries< float > *, int sz, float depth) |
virtual void | setTarget (const ValueSeries< float > *, int sz, float initialdepth) |
virtual float | targetDepth () const |
virtual float | targetValue () const |
Static Public Member Functions | |
static const VSEvent::Type * | cEventTypes () |
static int | getEventTypeIdx (VSEvent::Type) |
static const char ** | sEventNames () |
static const char * | sType () |
Protected Member Functions | |
ValueSeriesEvent< float, float > | findExtreme (const ValueSeriesEvFinder< float, float > &, const Interval< float > &, float, float &, bool &, float &) const |
ValueSeriesEvent< float, float > | findExtreme (const ValueSeriesEvFinder< float, float > &, const Interval< float > &zrg, const Interval< float > &lrg, float &avgampl, bool &hasloopskips, float &troughampl) const |
bool | findMaxSimilarity (int nrtests, int step, int nrgracetests, float &res, float &maxsim, bool &flatstart) const |
bool | isTargetValueAllowed () const |
Static Protected Member Functions | |
static const char * | sKeyAllowedVariance () |
static const char * | sKeyAllowedVariances () |
static const char * | sKeyAllowSignChg () |
static const char * | sKeyAttribID () |
static const char * | sKeyCompareMethod () |
static const char * | sKeyNormSimi () |
static const char * | sKeyPermittedRange () |
static const char * | sKeySimThreshold () |
static const char * | sKeySimWindow () |
static const char * | sKeySnapToEvent () |
static const char * | sKeyTrackByValue () |
static const char * | sKeyTrackEvent () |
static const char * | sKeyUseAbsThreshold () |
static const char * | sKeyValueThreshold () |
static const char * | sKeyValueThresholds () |
Protected Attributes | |
bool | allowamplsignchg_ |
float | allowedvar_ |
TypeSet< float > | allowedvars_ |
float | ampthreshold_ |
TypeSet< float > | ampthresholds_ |
float | compareampl_ |
CompareMethod | comparemethod_ |
bool | dosnap_ |
VSEvent::Type | evtype_ |
bool | normalizesimi_ |
Interval< float > | permrange_ |
float | quality_ |
float | rangestep_ |
float | seeddepth_ |
int | seedsize_ |
const ValueSeries< float > * | seedvs_ |
float | similaritythreshold_ |
Interval< float > | similaritywin_ |
bool | useabsthreshold_ |
bool | usesimilarity_ |
Protected Attributes inherited from ValSeriesTracker | |
float | sourcedepth_ |
int | sourcesize_ |
const ValueSeries< float > * | sourcevs_ |
float | targetdepth_ |
int | targetsize_ |
float | targetvalue_ |
const ValueSeries< float > * | targetvs_ |
Tracker that tracks Min/Max & Zero crossings between valueseries.
<>
EventTracker::EventTracker | ( | ) |
void EventTracker::allowAmplitudeSignChange | ( | bool | ) |
float EventTracker::allowedVariance | ( | ) | const |
float EventTracker::amplitudeThreshold | ( | ) | const |
|
static |
|
virtual |
Reimplemented from ValSeriesTracker.
|
protected |
|
protected |
|
protected |
TypeSet<float>& EventTracker::getAllowedVariances | ( | ) |
TypeSet<float>& EventTracker::getAmplitudeThresholds | ( | ) |
CompareMethod EventTracker::getCompareMethod | ( | ) | const |
|
static |
|
inline |
bool EventTracker::isAmplitudeSignChangeAllowed | ( | ) | const |
If true, a peak can have a negative amplitude value, and a trough can have a positive amplitude value.
|
virtual |
Reimplemented from ValSeriesTracker.
|
protected |
void EventTracker::normalizeSimilarityValues | ( | bool | yn | ) |
bool EventTracker::normalizesSimilarityValues | ( | ) | const |
const Interval<float>& EventTracker::permittedRange | ( | ) | const |
|
inlinevirtual |
Reimplemented from ValSeriesTracker.
void EventTracker::setAllowedVariance | ( | float | v | ) |
Only used if not using absolute threshold.
void EventTracker::setAllowedVariances | ( | const TypeSet< float > & | avs | ) |
void EventTracker::setAmplitudeThreshold | ( | float | th | ) |
Must be set if using absolute threshold.
void EventTracker::setAmplitudeThresholds | ( | const TypeSet< float > & | ) |
void EventTracker::setCompareMethod | ( | CompareMethod | ) |
void EventTracker::setPermittedRange | ( | const Interval< float > & | rg | ) |
|
inline |
void EventTracker::setSeed | ( | const ValueSeries< float > * | , |
int | sz, | ||
float | depth | ||
) |
void EventTracker::setSimilarityThreshold | ( | float | th | ) |
void EventTracker::setSimilarityWindow | ( | const Interval< float > & | rg | ) |
void EventTracker::setSnapToEvent | ( | bool | ) |
void EventTracker::setTrackEvent | ( | VSEvent::Type | ev | ) |
void EventTracker::setUseAbsThreshold | ( | bool | abs | ) |
If on, the amplitude threshold is set by setAmplitudeThreshold(). If off, the amplitude threshold is set by (1-allowedVariance()) * compareamplitude. The compare amplitude is either extracted from the seed valseries or from source valseries.
|
static |
float EventTracker::similarityThreshold | ( | ) | const |
const Interval<float>& EventTracker::similarityWindow | ( | ) | const |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
bool EventTracker::snap | ( | const Interval< float > & | amplrg | ) |
bool EventTracker::snap | ( | float | threshold | ) |
bool EventTracker::snapToEvent | ( | ) | const |
|
inlinestatic |
|
virtual |
Calculates a new value for targetdepth_.
Implements ValSeriesTracker.
VSEvent::Type EventTracker::trackEvent | ( | ) | const |
|
inlinevirtual |
Implements ValSeriesTracker.
bool EventTracker::useAbsThreshold | ( | ) | const |
|
virtual |
Reimplemented from ValSeriesTracker.
void EventTracker::useSimilarity | ( | bool | yn | ) |
Snaps at nearest event that is in permitted range and where the amplitude meets the threshold criterion. Only needs target data.
bool EventTracker::usesSimilarity | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022