Show / Hide Table of Contents
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
Type Name Description
Mat mat
Point[][] ctrs
StructureLook look
View Source

Find2DIsodoseLine(Mat, IsodoseLevel)

Declaration
public static Point[][] Find2DIsodoseLine(this Mat mat, IsodoseLevel level)
Parameters
Type Name Description
Mat mat
IsodoseLevel level
Returns
Type Description
Point[][]
View Source

Find2DIsodoseLines(Matrix, IsodoseLevel[])

Declaration
public static StructureMeta[] Find2DIsodoseLines(this Matrix matrix, params IsodoseLevel[] levels)
Parameters
Type Name Description
Matrix matrix
IsodoseLevel[] levels
Returns
Type Description
StructureMeta[]
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
Type Description
SliceContourMeta
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
Type Description
SliceContourMeta
View Source

HeatMap(Mat)

Declaration
public static Mat HeatMap(this Mat mat)
Parameters
Type Name Description
Mat mat
Returns
Type Description
Mat
View Source

Rotate90(Mat)

Declaration
public static Mat Rotate90(this Mat mat)
Parameters
Type Name Description
Mat mat
Returns
Type Description
Mat
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
Type Name Description
Mat mat
WindowLevelPreset preset
Returns
Type Description
Mat
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
Type Description
Mat
Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX