![]() |
OpendTect-6_4
6.4
|
Similarity Attribute More...
Classes | |
class | SimiFunc |
Public Member Functions | |
Similarity (Desc &) | |
void | initSteering () |
void | prepPriorToBoundsCalc () |
![]() | |
virtual bool | isOK () const |
bool | is2D () const |
const Desc & | getDesc () const |
Desc & | getDesc () |
const DataHolder * | getData (const BinID &relpos=BinID(0, 0), int idx=0) |
const DataHolder * | getDataDontCompute (const BinID &relpos) const |
int | nrOutputs () const |
void | enableOutput (int output, bool yn=true) |
bool | isOutputEnabled (int output) const |
void | setOutputInterestSize (bool preserve=false) |
void | enableAllOutputs (bool yn=true) |
virtual void | getCompNames (BufferStringSet &) const |
virtual bool | isSingleTrace () const |
virtual bool | usesTracePosition () const |
virtual void | setReqBufStepout (const BinID &, bool wait=false) |
virtual void | setDesBufStepout (const BinID &, bool wait=false) |
const BinID & | getReqBufStepout () const |
const BinID & | getDesBufStepout () const |
void | setDesiredVolume (const TrcKeyZSampling &) |
const TrcKeyZSampling * | getDesiredVolume () const |
void | resetDesiredVolume () |
void | setPossibleVolume (const TrcKeyZSampling &) |
virtual bool | getPossibleVolume (int outp, TrcKeyZSampling &) |
const TrcKeyZSampling * | getPossibleVolume () const |
int | getTotalNrPos (bool) |
void | setCurLineName (const char *) |
virtual void | adjust2DLineStoredVolume () |
virtual Pos::GeomID | getGeomID () const |
virtual void | setGeomID (Pos::GeomID) |
virtual int | moveToNextTrace (BinID startpos=BinID(-1,-1), bool firstcheck=false) |
void | computeNewStartPos (BinID &) |
int | alignInputs (ObjectSet< Provider > &) |
int | comparePosAndAlign (Provider *, bool, Provider *, bool, bool) |
void | resetMoved () |
void | resetZIntervals () |
virtual const SeisTrcInfo * | getCurrentTrcInfo () const |
BinID | getCurrentPosition () const |
virtual bool | setCurrentPosition (const BinID &) |
void | updateCurrentInfo () |
virtual bool | needStoredInput () const |
void | addLocalCompZIntervals (const TypeSet< Interval< int > > &) |
const TypeSet< Interval< int > > & | localCompZIntervals () const |
void | updateInputReqs (int input=-1) |
virtual void | updateStorageReqs (bool all=false) |
void | setUseSC () |
void | setSelData (const Seis::SelData *) |
void | setExtraZ (const Interval< float > &) |
void | setNeedInterpol (bool) |
void | setExactZ (const TypeSet< float > &) |
void | computeRefStep () |
void | setRefStep (float step) |
float | getRefStep () const |
void | computeRefZ0 () |
void | setRefZ0 (float z0) |
float | getRefZ0 () const |
virtual BinID | getStepoutStep () const |
ObjectSet< Provider > & | getInputs () |
BinID | getTrcInfoBid () const |
uiString | errMsg () const |
virtual void | prepSteeringForStepout (const BinID &) |
virtual bool | prepPriorToOutputSetup () |
virtual void | prepareForComputeData () |
virtual void | fillDataPackWithTrc (RegularSeisDataPack *) const |
virtual void | setRdmPaths (TypeSet< BinID > *truepath, TypeSet< BinID > *snappedpath) |
For directional attributes. More... | |
virtual void | updateCSIfNeeded (TrcKeyZSampling &) const |
virtual bool | compDistBetwTrcsStats (bool force=false) |
float | getApplicableCrlDist (bool) const |
virtual float | getDistBetwTrcs (bool, const char *linenm=0) const |
BinID | getElementStepout () const |
void | setDataUnavailableFlag (bool yn) |
bool | getDataUnavailableFlag () const |
Static Public Member Functions | |
static void | initClass () |
static const char * | attribName () |
static const char * | gateStr () |
static const char * | pos0Str () |
static const char * | pos1Str () |
static const char * | stepoutStr () |
static const char * | steeringStr () |
static const char * | browsedipStr () |
static const char * | normalizeStr () |
static const char * | extensionStr () |
static const char * | maxdipStr () |
static const char * | ddipStr () |
static const char * | extensionTypeStr (int) |
![]() | |
static Provider * | create (Desc &, uiString &errmsg) |
static uiString | prepare (Desc &) |
Protected Member Functions | |
~Similarity () | |
bool | allowParallelComputation () const |
bool | getInputOutput (int inp, TypeSet< int > &res) const |
bool | getInputData (const BinID &, int zintv) |
bool | computeData (const DataHolder &, const BinID &relpos, int z0, int nrsamples, int threadid) const |
const BinID * | reqStepout (int input, int output) const |
const BinID * | desStepout (int input, int output) const |
const Interval< float > * | reqZMargin (int input, int output) const |
const Interval< float > * | desZMargin (int input, int output) const |
bool | getTrcPos () |
![]() | |
Provider (Desc &) | |
virtual bool | checkInpAndParsAtStart () |
virtual SeisMSCProvider * | getMSCProvider (bool &) const |
virtual bool | preProcCommonToAllThreads (const DataHolder &out, const BinID &relpos) |
int | getDataIndex (int input) const |
void | fillInputRangesArray (Array2DImpl< BasicInterval< int > > &, int, const BasicInterval< int > &) |
virtual bool | setNrThreads (int idx) |
virtual int | minTaskSize () const |
virtual bool | finalizeCalculation (bool scs) |
DataHolder * | getDataHolder (const BinID &relpos) |
void | removeDataHolder (const BinID &relpos) |
void | setInput (int input, Provider *) |
void | addParent (Provider *prov) |
virtual BinDataDesc | getOutputFormat (int output) const |
virtual bool | doNotReUseDH () const |
void | computeDesInputCube (int inp, int out, TrcKeyZSampling &, bool usestepout=true) const |
void | setUsedMultTimes () |
bool | isUsedMultTimes () |
bool | isNew2DLine () const |
virtual const Interval< int > * | desZSampMargin (int input, int output) const |
virtual const Interval< int > * | reqZSampMargin (int input, int output) const |
virtual bool | getZStepStoredData (float &step) const |
virtual bool | getZ0StoredData (float &z0) const |
float | getInterpolInputValue (const DataHolder &, int inputidx, float zval) const |
float | getInterpolInputValue (const DataHolder &, int inputidx, float sample, int z0) const |
float | getInputValue (const DataHolder &, int inputidx, int sampleidx, int z0) const |
void | setOutputValue (const DataHolder &output, int outputidx, int sampleidx, int z0, float val) const |
float | getExtraZFromSampPos (float) const |
float | getExtraZFromSampInterval (int, int) const |
virtual bool | useInterTrcDist () const |
float | getZAtSample (int idx) const |
bool | zIsTime () const |
float | zFactor () const |
float | dipFactor () const |
float | inlDist () const |
float | crlDist () const |
float | lineDist () const |
float | trcDist () const |
float | maxSecureDip () const |
void | stdPrepSteering (const BinID &) |
Static Protected Member Functions | |
static Provider * | createInstance (Desc &) |
static void | updateDesc (Desc &) |
static void | updateDefaults (Desc &) |
![]() | |
static Provider * | internalCreate (Desc &, ObjectSet< Provider > &, bool &issame, uiString &) |
Similarity Attribute
Calculates the gates' distance between each other in hyperspace normalized to the gates' lengths.
If steering is enabled, it is up to the user to make sure that the steering goes to the same position as pos0 and pos1 respectively.
Similarity gate= pos0= pos1= stepout=1,1 extension=[0|90|180|Cube|Cross|AllDir|Diagonal] steering=[Yes|No]
Input: 0 Data 1 Steering
Extension: 0 90/180 Cube Cross AllDir Diagonal 1 pos0 pos0 0,0 0,0 0,0 2 pos1 pos1 0,step -step,step -step,step 3 pos0rot step,0 0,step step,step 4 pos1rot 0,-step step,step step,-step 5 -step,0 step,0 -step,-step 6 step,-step 7 0,-step 8 -step,-step 9 -step,0
Output: 0 Avg 1 Med 2 Var 3 Min 4 Max
and if dip-browser chosen: 5 Coherency-like Inline Dip (Line Dip in 2D) 6 Coherency-like Crossline Dip => in this case the extension Cross is forced
Attrib::Similarity::Similarity | ( | Desc & | ) |
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented from Attrib::Provider.
|
inlinestatic |
|
inlinestatic |
|
protectedvirtual |
The system will use the algorithm specified in this function to compute the attribute's outputs. The results will be stored as different series in the DataHolder output.
threadid | thread identifier that may be handy when using multiple threads. |
Implements Attrib::Provider.
|
inlinestatic |
|
protectedvirtual |
The system will try to supply the attribute with the desired stepout, but will not take the desired stepout into account when computing the volume that can be computed.
Reimplemented from Attrib::Provider.
|
protectedvirtual |
The gate is specified in the depth-unit of the survey (e.g. seconds, feet or meters), and is in addition to the gate specified in desZSampMargin. The system will try to supply the attribute with the desired gate, but will not take the desired gate into account when computing the volume that can be computed.
Reimplemented from Attrib::Provider.
|
inlinestatic |
|
static |
|
inlinestatic |
|
protectedvirtual |
Gets all imput data, including data for which a stepout is required
Reimplemented from Attrib::Provider.
|
protectedvirtual |
Specifies the outputs needed for calculation among all those provided by the input data; very usefull when steering used as input data
Reimplemented from Attrib::Provider.
|
protected |
|
static |
|
inlinevirtual |
Reimplemented from Attrib::Provider.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
virtual |
Z refstep is known now, this is meant to be used before possible- and desired- volumes are computed
Reimplemented from Attrib::Provider.
|
protectedvirtual |
The system will supply the attribute with the required stepout, and use it to compute the volume that can be computed.
Reimplemented from Attrib::Provider.
|
protectedvirtual |
Reimplemented from Attrib::Provider.
|
inlinestatic |
|
inlinestatic |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at 12/02/2019 10:57:25 for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019