Show / Hide Table of Contents
View Source

Class ImageContours

Class that holds image contours on a given 3D image

Inheritance
System.Object
ImageContours
Namespace:EvilDICOM.CV.Image
Assembly:EvilDICOM.CV.dll
Syntax
public class ImageContours : object

Properties

View Source

MaxX

Declaration
public int MaxX { get; }
Property Value
Type Description
System.Int32
View Source

MaxY

Declaration
public int MaxY { get; }
Property Value
Type Description
System.Int32
View Source

MaxZ

Declaration
public int MaxZ { get; }
Property Value
Type Description
System.Int32
View Source

MinX

Declaration
public int MinX { get; }
Property Value
Type Description
System.Int32
View Source

MinY

Declaration
public int MinY { get; }
Property Value
Type Description
System.Int32
View Source

MinZ

Declaration
public int MinZ { get; }
Property Value
Type Description
System.Int32

Methods

View Source

BuildFromImage(StructureMeta, Matrix)

Creates a rough approximation of the structure inside a given 3d matrix. Useful for calculating bounds

Declaration
public static ImageContours BuildFromImage(StructureMeta sm, Matrix im)
Parameters
Type Name Description
StructureMeta sm
Matrix im
Returns
Type Description
ImageContours
View Source

DrawContourOnSlice(Mat, Int32, StructureLook)

Draws the contour in patient coordinates on the slice voxels (which are voxel coordinates)

Declaration
public Mat DrawContourOnSlice(Mat imSlice, int z, StructureLook look)
Parameters
Type Name Description
Mat imSlice
System.Int32 z

the z slice to draw the structure

StructureLook look
Returns
Type Description
Mat
View Source

DrawContourOnSlice(Int32, StructureLook)

Draws the contour in patient coordinates on the slice voxels (which are voxel coordinates)

Declaration
public Mat DrawContourOnSlice(int z, StructureLook look)
Parameters
Type Name Description
System.Int32 z

the z slice to draw the structure

StructureLook look
Returns
Type Description
Mat
View Source

GetContoursOnSliceX(Int32)

Declaration
public OpenCvSharp.Point[][] GetContoursOnSliceX(int xIdx)
Parameters
Type Name Description
System.Int32 xIdx
Returns
Type Description
OpenCvSharp.Point[][]
View Source

GetContoursOnSliceY(Int32)

Declaration
public OpenCvSharp.Point[][] GetContoursOnSliceY(int yIdx)
Parameters
Type Name Description
System.Int32 yIdx
Returns
Type Description
OpenCvSharp.Point[][]
View Source

GetContoursOnSliceZ(Int32)

Declaration
public OpenCvSharp.Point[][] GetContoursOnSliceZ(int zIdx)
Parameters
Type Name Description
System.Int32 zIdx
Returns
Type Description
OpenCvSharp.Point[][]
Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX