OpendTect
7.0
|
Tracker that tracks Min/Max & Zero crossings between valueseries. More...
Public Types | |
enum | CompareMethod { None , SeedTrace , AdjacentParent } |
Public Member Functions | |
EventTracker () | |
~EventTracker () | |
void | allowAmplitudeSignChange (bool) |
float | allowedVariance () const |
float | amplitudeThreshold () const |
void | fillPar (IOPar &) const override |
TypeSet< float > & | getAllowedVariances () |
TypeSet< float > & | getAmplitudeThresholds () |
CompareMethod | getCompareMethod () const |
float | getRangeStep () const |
bool | isAmplitudeSignChangeAllowed () const |
bool | isOK () const override |
void | normalizeSimilarityValues (bool yn) |
bool | normalizesSimilarityValues () const |
const Interval< float > & | permittedRange () const |
float | quality () const override |
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 () override |
VSEvent::Type | trackEvent () const |
const char * | type () override |
bool | useAbsThreshold () const |
bool | usePar (const IOPar &) override |
void | useSimilarity (bool yn) |
bool | usesSimilarity () const |
Public Member Functions inherited from 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 |
Protected Member Functions inherited from ValSeriesTracker | |
ValSeriesTracker () | |
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 | ( | ) |
EventTracker::~EventTracker | ( | ) |
void EventTracker::allowAmplitudeSignChange | ( | bool | ) |
float EventTracker::allowedVariance | ( | ) | const |
float EventTracker::amplitudeThreshold | ( | ) | const |
|
static |
|
overridevirtual |
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.
|
overridevirtual |
Reimplemented from ValSeriesTracker.
|
protected |
void EventTracker::normalizeSimilarityValues | ( | bool | yn | ) |
bool EventTracker::normalizesSimilarityValues | ( | ) | const |
const Interval<float>& EventTracker::permittedRange | ( | ) | const |
|
inlineoverridevirtual |
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 |
|
overridevirtual |
Calculates a new value for targetdepth_.
Implements ValSeriesTracker.
VSEvent::Type EventTracker::trackEvent | ( | ) | const |
|
inlineoverridevirtual |
Implements ValSeriesTracker.
bool EventTracker::useAbsThreshold | ( | ) | const |
|
overridevirtual |
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-2024