Seismic attribute functions for buffers More...
#include <Inventor/algorithms/SoSeismic.h>
Public Member Functions | |
SoSeismic () | |
virtual int | computeInstPhase (SoBufferObject *sourceBufferObject, SoBufferObject *targetBufferObject, int traceSize, int numTrace) |
virtual int | computeEnvelope (SoBufferObject *sourceBufferObject, SoBufferObject *targetBufferObject, int traceSize, int numTrace) |
virtual int | computeHilbert (SoBufferObject *sourceBufferObject, SoBufferObject *targetBufferObject, int width, int height) |
int | computeInstPhase (SoCpuBufferObject *sourceBufferObject, SoCpuBufferObject *targetBufferObject, int traceSize, int numTrace) |
int | computeEnvelope (SoCpuBufferObject *sourceBufferObject, SoCpuBufferObject *targetBufferObject, int traceSize, int numTrace) |
int | computeHilbert (SoCpuBufferObject *sourceBufferObject, SoCpuBufferObject *targetBufferObject, int width, int height) |
The Seismic module provides functions for computing seismic attributes.
Examples:
SoAlgorithms, SoArithmetic, SoConversion, SoConvolution, SoDataExtract
SoSeismic::SoSeismic | ( | ) |
Constructor.
int SoSeismic::computeEnvelope | ( | SoCpuBufferObject * | sourceBufferObject, | |
SoCpuBufferObject * | targetBufferObject, | |||
int | traceSize, | |||
int | numTrace | |||
) |
Compute envelope (amplitude) attribute on a set of seismic traces.
virtual int SoSeismic::computeEnvelope | ( | SoBufferObject * | sourceBufferObject, | |
SoBufferObject * | targetBufferObject, | |||
int | traceSize, | |||
int | numTrace | |||
) | [virtual] |
Compute envelope (amplitude) attribute on a set of seismic traces.
amp(t) = sqrt( re^2(t) + im^2(t))
sourceBufferObject | Should contain the real part of the complex trace (original trace data). | |
targetBufferObject | should contain the imaginary part of the complex trace (Hilbert transform of trace data). Note: targetBufferObject will be overwritten with the result values. | |
traceSize | Number of samples in each trace (must be same for all traces). | |
numTrace | Number of traces. |
Reimplemented in SoCudaSeismic, and SoOpenCLSeismic.
int SoSeismic::computeHilbert | ( | SoCpuBufferObject * | sourceBufferObject, | |
SoCpuBufferObject * | targetBufferObject, | |||
int | width, | |||
int | height | |||
) |
Compute Hilbert transform on a set of seismic traces.
virtual int SoSeismic::computeHilbert | ( | SoBufferObject * | sourceBufferObject, | |
SoBufferObject * | targetBufferObject, | |||
int | width, | |||
int | height | |||
) | [virtual] |
Compute Hilbert transform on a set of seismic traces.
The Hilbert transform is computed by convolving sourceBufferObject with a windowed (approximate) version of the ideal Hilbert transformer.
Reimplemented in SoCudaSeismic, and SoOpenCLSeismic.
int SoSeismic::computeInstPhase | ( | SoCpuBufferObject * | sourceBufferObject, | |
SoCpuBufferObject * | targetBufferObject, | |||
int | traceSize, | |||
int | numTrace | |||
) |
Compute instantaneous phase attribute on a set of seismic traces.
virtual int SoSeismic::computeInstPhase | ( | SoBufferObject * | sourceBufferObject, | |
SoBufferObject * | targetBufferObject, | |||
int | traceSize, | |||
int | numTrace | |||
) | [virtual] |
Compute instantaneous phase attribute on a set of seismic traces.
phase(t) = arctan( im(t)/re(t))
sourceBufferObject | Should contain the real part of the complex trace (original trace data). | |
targetBufferObject | should contain the imaginary part of the complex trace (Hilbert transform of trace data). Note: targetBufferObject will be overwritten with the result values. | |
traceSize | Number of samples in each trace (must be same for all traces). | |
numTrace | Number of traces. |
Reimplemented in SoCudaSeismic, and SoOpenCLSeismic.