SoSeismicComputeEnvelope Method (SoBufferObject, SoBufferObject, Int32, Int32) |
Compute envelope (amplitude) attribute on a set of seismic traces.
Namespace: OIV.Inventor.Algorithms
public int ComputeEnvelope( SoBufferObject sourceBufferObject, SoBufferObject targetBufferObject, int traceSize, int numTrace )
Should contain the real part of the complex trace (original trace data).
should contain the imaginary part of the complex trace (Hilbert transform of trace data). Note: targetBufferObject will be overwritten with the result values.
Number of samples in each trace (must be same for all traces).
Number of traces.
amp(t) = sqrt( re^2(t) + im^2(t))
This function can be redefined to support a different type of OIV.Inventor.Devices.SoBufferObject.
By default the OIV.Inventor.Devices.SoCpuBufferObject CPU version will be used.
Data stored in buffers must be of type float.