![]() | FloatComplex1DCorrelation Class |
Namespace: CenterSpace.NMath.Core
The FloatComplex1DCorrelation type exposes the following members.
Name | Description | |
---|---|---|
![]() | FloatComplex1DCorrelation(FloatComplex, Int32) |
Constructs a correlation instance and defines the correlation kernel, and input signal data length.
|
![]() | FloatComplex1DCorrelation(FloatComplexVector, Int32) |
Constructs a correlation instance and defines the correlation kernel, and input signal data length.
|
![]() | FloatComplex1DCorrelation(FloatComplex, Int32, Int32, Int32) |
Constructs a correlation instance and defines the correlation kernel with a given offset and stride.
|
Name | Description | |
---|---|---|
![]() | DataLength |
Gets the length of the correlation data.
(Inherited from CorrelationBase.) |
![]() | KernelLength |
Gets the length of the correlation kernel.
(Inherited from CorrelationBase.) |
![]() | KernelShape |
Gets the shape of the convolution kernel.
(Inherited from CorrelationBase.) |
![]() | Length |
Gets the length of the correlation.
(Inherited from CorrelationBase.) |
Name | Description | |
---|---|---|
![]() | Clone |
Creates a deep copy of this correlation instance.
|
![]() | Correlate(FloatComplex) |
Computes the correlation between the stored correlation kernel, and the vector data.
|
![]() | Correlate(FloatComplexVector) |
Computes the correlation between the stored correlation kernel, and the vector data.
|
![]() | Correlate(FloatComplex, FloatComplex) |
Computes the correlation between the stored correlation kernel, and the vector data.
|
![]() | Correlate(FloatComplexVector, FloatComplexVector) |
Computes the correlation between the stored correlation kernel, and the vector data.
|
![]() | Dispose |
Clean up resources.
(Inherited from CorrelationBase.) |
![]() | Finalize |
Provides non-deterministic destruction of underlying unmanaged resources.
(Inherited from CorrelationBase.) |
![]() | TrimConvolution |
Creates a clipped view into the correlation. This does not create a copy of the input correlation.
|
![]() | TrimCorrelationT |
Creates a windowed view into the correlation. This does not create a copy of the input correlation.
(Inherited from CorrelationBase.) |
Name | Description | |
---|---|---|
![]() | kerneloffset_ |
Offset into correlation kernel.
(Inherited from CorrelationBase.) |
![]() | kernelstride_ |
Correlation kernel stride.
(Inherited from CorrelationBase.) |
![]() | mode_ |
Mode is either automatic, fft, or direct sum.
(Inherited from CorrelationBase.) |
FloatComplexVector kernel = new FloatComplexVector(1, 2, 3, 1); FloatComplexVector data = new FloatComplexVector(1, 2, 3, 4, 5, 6); FloatComplex1DCorrelation corr = new FloatComplex1DCorrelation(kernel, data.Length); FloatComplexVector correlation = corr.Correlate(data); FloatComplexVector corr_full_kernel_overlap = corr.TrimConvolution(correlation, CorrelationBase.Windowing.FullKernelOverlap); FloatComplexVector corr_centered = corr.TrimConvolution(correlation, CorrelationBase.Windowing.CenterWindow); // correlation = [1 5 11 18 25 32 32 17 6] // corr_centered = [11 18 25 32 32 17] // corr_full_kernel_overlap = [18 25 32]