View Source
Class MatrixExtensions
Inheritance
System.Object
MatrixExtensions
Namespace:EvilDICOM.CV.Extensions
Assembly:EvilDICOM.CV.dll
Syntax
public static class MatrixExtensions : object
Methods
View Source
DrawAllContours(Mat, Point[][], StructureLook)
Declaration
public static void DrawAllContours(this Mat mat, Point[][] ctrs, StructureLook look)
Parameters
View Source
Find2DIsodoseLine(Mat, IsodoseLevel)
Declaration
public static Point[][] Find2DIsodoseLine(this Mat mat, IsodoseLevel level)
Parameters
Returns
| Type |
Description |
| Point[][] |
|
View Source
Find2DIsodoseLines(Matrix, IsodoseLevel[])
Declaration
public static StructureMeta[] Find2DIsodoseLines(this Matrix matrix, params IsodoseLevel[] levels)
Parameters
Returns
View Source
FindStructureContour(Matrix, Double)
Finds contours on StructureMeta model (1 inside, -1 outsize, 0 boundry)
Declaration
public static SliceContourMeta FindStructureContour(this Matrix model, double zPos)
Parameters
| Type |
Name |
Description |
| Matrix |
model |
|
| System.Double |
zPos |
|
Returns
View Source
FindZeroLevelContours(Mat, Func<Vector3, Vector3>, Int32)
Declaration
public static SliceContourMeta FindZeroLevelContours(this Mat mat, Func<Vector3, Vector3> imageToPatientFunc, int z)
Parameters
| Type |
Name |
Description |
| Mat |
mat |
|
| Func<Vector3, Vector3> |
imageToPatientFunc |
|
| System.Int32 |
z |
|
Returns
View Source
HeatMap(Mat)
Declaration
public static Mat HeatMap(this Mat mat)
Parameters
| Type |
Name |
Description |
| Mat |
mat |
|
Returns
View Source
Rotate90(Mat)
Declaration
public static Mat Rotate90(this Mat mat)
Parameters
| Type |
Name |
Description |
| Mat |
mat |
|
Returns
View Source
ShowAllSlices(Matrix)
Declaration
public static void ShowAllSlices(this Matrix m)
Parameters
| Type |
Name |
Description |
| Matrix |
m |
|
View Source
ShowSDFMatrix(Matrix)
Declaration
public static void ShowSDFMatrix(this Matrix src)
Parameters
| Type |
Name |
Description |
| Matrix |
src |
|
View Source
To2DDoubleArray(Mat)
Declaration
public static double[, ] To2DDoubleArray(this Mat mat)
Parameters
| Type |
Name |
Description |
| Mat |
mat |
|
Returns
| Type |
Description |
| System.Double[,] |
|
View Source
WindowAndLevel(Mat, WindowLevelPreset)
Declaration
public static Mat WindowAndLevel(this Mat mat, WindowLevelPreset preset)
Parameters
Returns
View Source
WindowAndLevel(Mat, Double, Double)
Declaration
public static Mat WindowAndLevel(this Mat mat, double level, double window)
Parameters
| Type |
Name |
Description |
| Mat |
mat |
|
| System.Double |
level |
|
| System.Double |
window |
|
Returns