Class StructureTensor
Inheritance
StructureTensor
Assembly: TowseyLibrary.dll
Syntax
public static class StructureTensor
Methods
|
Improve this Doc
View Source
CalculateEigenValues(Double[,])
Declaration
public static double[] CalculateEigenValues(double[, ] M)
Parameters
Type |
Name |
Description |
Double[,] |
M |
|
Returns
|
Improve this Doc
View Source
CalculateStructureTensor(Double[,])
Declaration
public static double[, ] CalculateStructureTensor(double[, ] matrix)
Parameters
Type |
Name |
Description |
Double[,] |
matrix |
|
Returns
|
Improve this Doc
View Source
GetStructureTensorInfo(Double[,], Double[,])
CONSTRUCTOR
Pass both the original image and structure tensor because need to calculate derivatives as well as eigenvalues.
Cannot easily derive the partial derivatives from the structure tensor because have lost the sign info.
Declaration
public static StructureTensor.StructureTensorResult GetStructureTensorInfo(double[, ] avImage, double[, ] avStructureTensor)
Parameters
Type |
Name |
Description |
Double[,] |
avImage |
|
Double[,] |
avStructureTensor |
|
Returns
|
Improve this Doc
View Source
RidgeDetection_VerticalDirection(Double[,])
Declaration
public static StructureTensor.RidgeTensorResult RidgeDetection_VerticalDirection(double[, ] M)
Parameters
Type |
Name |
Description |
Double[,] |
M |
|
Returns
|
Improve this Doc
View Source
Test1StructureTensor()
Declaration
public static void Test1StructureTensor()
|
Improve this Doc
View Source
Test2StructureTensor()
used to test ridge detection using structure tensor.
Declaration
public static void Test2StructureTensor()