public class LocalSemblanceFilter
extends java.lang.Object
Reference: Hale, D., 2009, Structure-oriented smoothing and semblance, CWP-635
Modifier and Type | Class and Description |
---|---|
static class |
LocalSemblanceFilter.Direction2
2D smoothing directions correspond to eigenvectors of tensors.
|
static class |
LocalSemblanceFilter.Direction3
3D smoothing directions correspond to eigenvectors of tensors.
|
Constructor and Description |
---|
LocalSemblanceFilter(int halfWidth1,
int halfWidth2)
Constructs a local semblance filter.
|
Modifier and Type | Method and Description |
---|---|
float[] |
semblance(float[] f)
Returns local semblance for a 1D array.
|
void |
semblance(float[] f,
float[] s)
Computes local semblance for a 1D array.
|
float[][] |
semblance(LocalSemblanceFilter.Direction2 d,
EigenTensors2 t,
float[][] f)
Returns local semblance for a 2D array.
|
void |
semblance(LocalSemblanceFilter.Direction2 d,
EigenTensors2 t,
float[][] f,
float[][] s)
Computes local semblance for a 2D array.
|
float[][][] |
semblance(LocalSemblanceFilter.Direction3 d,
EigenTensors3 t,
float[][][] f)
Returns local semblance for a 3D array.
|
void |
semblance(LocalSemblanceFilter.Direction3 d,
EigenTensors3 t,
float[][][] f,
float[][][] s)
Computes local semblance for a 3D array.
|
float[] |
smooth1(float[] f)
Applies the 1st inner smoothing of this semblance filter.
|
void |
smooth1(float[] f,
float[] g)
Applies the 1st inner smoothing of this semblance filter.
|
float[][] |
smooth1(LocalSemblanceFilter.Direction2 d,
EigenTensors2 t,
float[][] f)
Applies the 1st inner smoothing of this semblance filter.
|
void |
smooth1(LocalSemblanceFilter.Direction2 d,
EigenTensors2 t,
float[][] f,
float[][] g)
Applies the 1st inner smoothing of this semblance filter.
|
float[][][] |
smooth1(LocalSemblanceFilter.Direction3 d,
EigenTensors3 t,
float[][][] f)
Applies the 1st inner smoothing of this semblance filter.
|
void |
smooth1(LocalSemblanceFilter.Direction3 d,
EigenTensors3 t,
float[][][] f,
float[][][] g)
Applies the 1st inner smoothing of this semblance filter.
|
float[] |
smooth2(float[] f)
Applies the 2nd outer smoothing of this semblance filter.
|
void |
smooth2(float[] f,
float[] g)
Applies the 2nd outer smoothing of this semblance filter.
|
float[][] |
smooth2(LocalSemblanceFilter.Direction2 d,
EigenTensors2 t,
float[][] f)
Applies the 2nd outer smoothing of this semblance filter.
|
void |
smooth2(LocalSemblanceFilter.Direction2 d,
EigenTensors2 t,
float[][] f,
float[][] g)
Applies the 2nd outer smoothing of this semblance filter.
|
float[][][] |
smooth2(LocalSemblanceFilter.Direction3 d,
EigenTensors3 t,
float[][][] f)
Applies the 2nd outer smoothing of this semblance filter.
|
void |
smooth2(LocalSemblanceFilter.Direction3 d,
EigenTensors3 t,
float[][][] f,
float[][][] g)
Applies the 2nd outer smoothing of this semblance filter.
|
public LocalSemblanceFilter(int halfWidth1, int halfWidth2)
halfWidth1
- half-width of 1st smoothing filter.halfWidth2
- half-width of 2nd smoothing filter.public void semblance(float[] f, float[] s)
f
- the array of input values.s
- the array of output semblance values.public float[] semblance(float[] f)
f
- the array of input values.public void semblance(LocalSemblanceFilter.Direction2 d, EigenTensors2 t, float[][] f, float[][] s)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the array of input values.s
- the array of output semblance values.public float[][] semblance(LocalSemblanceFilter.Direction2 d, EigenTensors2 t, float[][] f)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the array of input values.public void semblance(LocalSemblanceFilter.Direction3 d, EigenTensors3 t, float[][][] f, float[][][] s)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the array of input values.s
- the array of output semblance values.public float[][][] semblance(LocalSemblanceFilter.Direction3 d, EigenTensors3 t, float[][][] f)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the array of input values.public void smooth1(float[] f, float[] g)
f
- the input array.g
- the output array.public float[] smooth1(float[] f)
f
- the input array.public void smooth1(LocalSemblanceFilter.Direction2 d, EigenTensors2 t, float[][] f, float[][] g)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the input array.g
- the output array.public float[][] smooth1(LocalSemblanceFilter.Direction2 d, EigenTensors2 t, float[][] f)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the input array.public void smooth1(LocalSemblanceFilter.Direction3 d, EigenTensors3 t, float[][][] f, float[][][] g)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the input array.g
- the output array.public float[][][] smooth1(LocalSemblanceFilter.Direction3 d, EigenTensors3 t, float[][][] f)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the input array.public void smooth2(float[] f, float[] g)
f
- the input array.g
- the output array.public float[] smooth2(float[] f)
f
- the input array.public void smooth2(LocalSemblanceFilter.Direction2 d, EigenTensors2 t, float[][] f, float[][] g)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the input array.g
- the output array.public float[][] smooth2(LocalSemblanceFilter.Direction2 d, EigenTensors2 t, float[][] f)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the input array.public void smooth2(LocalSemblanceFilter.Direction3 d, EigenTensors3 t, float[][][] f, float[][][] g)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the input array.g
- the output array.public float[][][] smooth2(LocalSemblanceFilter.Direction3 d, EigenTensors3 t, float[][][] f)
d
- direction(s) for the first inner smoothing.t
- eigen-decomposition of a tensor field.f
- the input array.