Correlation matching of feature points in one dimension. Can be used for instance to correlate peak positions in two spectra.
Constructor | Description | ||
Full Usage:
CorrelationMatching1D(windowSize, array1, array2)
Parameters:
int
-
Size of the correlation window.
array1 : float[]
-
The first array (for instance: a spectrum).
array2 : float[]
-
The second array (for instance: a spectrum).
|
|
||
Full Usage:
CorrelationMatching1D(windowSize, maxDistance, array1, array2)
Parameters:
int
-
Size of the correlation window.
maxDistance : float
-
The maximum distance to consider points as correlated.
array1 : float[]
-
The first array (for instance, a spectrum).
array2 : float[]
-
The second array (for instance, a spectrum).
|
|
Instance member | Description |
Full Usage:
this.DistanceMax
|
Gets or sets the maximum distance to consider points as correlated. Default is 0 (consider all points). |
Full Usage:
this.Match
Parameters:
IEnumerable<int>
-
Set of feature points for the first array.
points2 : IEnumerable<int>
-
Set of feature points for the second array.
Returns: int[][]
|
Matches two sets of feature points computed from the given arrays (for instance, peak positions).
|
Full Usage:
this.Match
Parameters:
int[]
-
Feature points of the first array (that was given in the constructor).
points2 : int[]
-
Feature points of the second array (that was given in the constructor).
Returns: int[][]
A Nx2 matrix of correlating feature points.
|
Matches two sets of feature points computed from the given arrays.
|
Full Usage:
this.Normalization
|
Gets or sets the normalization treatment of the values in the windows, before the correlation value is calculated. Default is NormalizationMethod.Variance |
Full Usage:
this.WindowSize
|
Gets or sets the size of the correlation window. |
Static member | Description |
Full Usage:
CorrelationMatching1D.Normalize(y, count, sy, syy, normalization)
Parameters:
float[]
count : int
sy : float
syy : float
normalization : NormalizationMethod
|
|