eVision .NET API
Loading...
Searching...
No Matches
eVision.EasyDeepLearning.EClassificationResult Class Reference

An EClassificationResult object represents the result of a classification. More...

Inheritance diagram for eVision.EasyDeepLearning.EClassificationResult:
Collaboration diagram for eVision.EasyDeepLearning.EClassificationResult:

Public Member Functions

 EClassificationResult ()
 Constructs a non-valid EClassificationResult.
 EClassificationResult (eVision.EasyDeepLearning.EClassificationResult other)
 Copy constructor of an EClassificationResult object.
bool IsValid ()
 Indicates whether the result was produced by EClassifier.
float GetProbability (string label)
 Gets the probability corresponding to the given label.
int GetRanking (string label)
 Gets the ranking corresponding to the given label. The ranking goes from 1 (most probable label) to EDeepLearningTool.NumLabels (least probable label).
string GetLabel (int labelId)
 Classification label. The labels are indexed from 0 to EClassificationResult.NumLabels.
eVision.ERGBColor GetLabelColor (int i)
 Color of a label.
eVision.ERGBColor GetLabelColor (string label)
 Color of a label.
bool HasGroundtruth ()
 Whether the result has a ground truth.
bool HasHeatmap ()
 Whether the result contains a heatmap.
eVision.EImageC24 GetColorizedHeatmap (eVision.EasyDeepLearning.EHeatmapColormap colormap)
 Colorized heatmap with no transparency.
eVision.EImageC24 GetColorizedHeatmap ()
 Colorized heatmap with no transparency.
eVision.EImageC24A GetColorizedHeatmapWithTransparency (float alpha, eVision.EasyDeepLearning.EHeatmapColormap colormap)
 Colorized heatmap with transparency.
eVision.EImageC24A GetColorizedHeatmapWithTransparency (float alpha)
 Colorized heatmap with transparency.
eVision.EImageC24A GetColorizedHeatmapWithTransparency ()
 Colorized heatmap with transparency.
eVision.EImageC24A GetColorizedHeatmapWithTransparency (float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap)
 Colorized heatmap with transparency.
eVision.EImageC24A GetColorizedHeatmapWithTransparency (float minAlpha, float maxAlpha)
 Colorized heatmap with transparency.
void DrawHeatmap (eVision.EDrawAdapter graphicsContext, float zoomX, float zoomY, float panX, float panY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (eVision.EDrawAdapter graphicsContext, float zoomX, float zoomY, float panX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (eVision.EDrawAdapter graphicsContext, float zoomX, float zoomY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (eVision.EDrawAdapter graphicsContext, float zoomX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (eVision.EDrawAdapter graphicsContext)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (eVision.EDrawAdapter graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX, float zoomY, float panX, float panY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (eVision.EDrawAdapter graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX, float zoomY, float panX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (eVision.EDrawAdapter graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX, float zoomY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (eVision.EDrawAdapter graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (eVision.EDrawAdapter graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (IntPtr graphicsContext, float zoomX, float zoomY, float panX, float panY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (IntPtr graphicsContext, float zoomX, float zoomY, float panX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (IntPtr graphicsContext, float zoomX, float zoomY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (IntPtr graphicsContext, float zoomX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (IntPtr graphicsContext)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (IntPtr graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX, float zoomY, float panX, float panY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (IntPtr graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX, float zoomY, float panX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (IntPtr graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX, float zoomY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (IntPtr graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (IntPtr graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
bool HasOODScore ()
 Whether the result contains an OOD score.
bool IsOOD ()
 Whether the result is OOD.
void DrawHeatmap (System.Drawing.Graphics graphicsContext, float zoomX, float zoomY, float panX, float panY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (System.Drawing.Graphics graphicsContext, float zoomX, float zoomY, float panX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (System.Drawing.Graphics graphicsContext, float zoomX, float zoomY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (System.Drawing.Graphics graphicsContext, float zoomX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (System.Drawing.Graphics graphicsContext)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (System.Drawing.Graphics graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX, float zoomY, float panX, float panY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (System.Drawing.Graphics graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX, float zoomY, float panX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (System.Drawing.Graphics graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX, float zoomY)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (System.Drawing.Graphics graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap, float zoomX)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.
void DrawHeatmap (System.Drawing.Graphics graphicsContext, float minAlpha, float maxAlpha, eVision.EasyDeepLearning.EHeatmapColormap colormap)
 Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Properties

int BestLabelId [get]
 Gets the most probable label id.
string BestLabel [get]
 Gets the most probable label.
float BestProbability [get]
 Gets the probability associated with the most probable label.
int NumLabels [get]
 Number of labels for which we have a probability or a ranking.
string GroundtruthLabel [get]
 Ground truth label.
eVision.EImageBW8 Heatmap [get]
 Heatmap.
float OODScore [get]
 Get the OOD score.
float OODThreshold [get, set]
 Get the OOD threshold.

Detailed Description

An EClassificationResult object represents the result of a classification.

The most probable label and its probability are accessible through the methods EClassificationResult.BestLabel and EClassificationResult.BestProbability. The probability and ranking of all labels are accessible through the EClassificationResult.GetProbability and EClassificationResult.GetRanking methods.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ EClassificationResult() [1/2]

eVision.EasyDeepLearning.EClassificationResult.EClassificationResult ( )

Constructs a non-valid EClassificationResult.

◆ EClassificationResult() [2/2]

eVision.EasyDeepLearning.EClassificationResult.EClassificationResult ( eVision.EasyDeepLearning.EClassificationResult other)

Copy constructor of an EClassificationResult object.

Parameters
otherReference to the EClassificationResult object that should be copied

Member Function Documentation

◆ DrawHeatmap() [1/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( eVision.EDrawAdapter graphicsContext)

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.

◆ DrawHeatmap() [2/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( eVision.EDrawAdapter graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map

◆ DrawHeatmap() [3/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( eVision.EDrawAdapter graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

◆ DrawHeatmap() [4/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( eVision.EDrawAdapter graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX,
float zoomY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.

◆ DrawHeatmap() [5/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( eVision.EDrawAdapter graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX,
float zoomY,
float panX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ DrawHeatmap() [6/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( eVision.EDrawAdapter graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX,
float zoomY,
float panX,
float panY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ DrawHeatmap() [7/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( eVision.EDrawAdapter graphicsContext,
float zoomX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

◆ DrawHeatmap() [8/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( eVision.EDrawAdapter graphicsContext,
float zoomX,
float zoomY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.

◆ DrawHeatmap() [9/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( eVision.EDrawAdapter graphicsContext,
float zoomX,
float zoomY,
float panX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ DrawHeatmap() [10/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( eVision.EDrawAdapter graphicsContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ DrawHeatmap() [11/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( IntPtr graphicsContext)

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [12/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( IntPtr graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [13/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( IntPtr graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [14/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( IntPtr graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX,
float zoomY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [15/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( IntPtr graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX,
float zoomY,
float panX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [16/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( IntPtr graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX,
float zoomY,
float panX,
float panY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [17/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( IntPtr graphicsContext,
float zoomX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [18/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( IntPtr graphicsContext,
float zoomX,
float zoomY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [19/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( IntPtr graphicsContext,
float zoomX,
float zoomY,
float panX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [20/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( IntPtr graphicsContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [21/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( System.Drawing.Graphics graphicsContext)

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [22/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( System.Drawing.Graphics graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [23/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( System.Drawing.Graphics graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [24/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( System.Drawing.Graphics graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX,
float zoomY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [25/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( System.Drawing.Graphics graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX,
float zoomY,
float panX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [26/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( System.Drawing.Graphics graphicsContext,
float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap,
float zoomX,
float zoomY,
float panX,
float panY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [27/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( System.Drawing.Graphics graphicsContext,
float zoomX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [28/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( System.Drawing.Graphics graphicsContext,
float zoomX,
float zoomY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [29/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( System.Drawing.Graphics graphicsContext,
float zoomX,
float zoomY,
float panX )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawHeatmap() [30/30]

void eVision.EasyDeepLearning.EClassificationResult.DrawHeatmap ( System.Drawing.Graphics graphicsContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap.EHeatmapColormap_Jet colormap with a 0.5 transparency.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ GetColorizedHeatmap() [1/2]

eVision.EImageC24 eVision.EasyDeepLearning.EClassificationResult.GetColorizedHeatmap ( )

Colorized heatmap with no transparency.

◆ GetColorizedHeatmap() [2/2]

eVision.EImageC24 eVision.EasyDeepLearning.EClassificationResult.GetColorizedHeatmap ( eVision.EasyDeepLearning.EHeatmapColormap colormap)

Colorized heatmap with no transparency.

Parameters
colormapColor map

◆ GetColorizedHeatmapWithTransparency() [1/5]

eVision.EImageC24A eVision.EasyDeepLearning.EClassificationResult.GetColorizedHeatmapWithTransparency ( )

Colorized heatmap with transparency.

When a minimum and maximum alpha values are given, the transparency value for a pixel will depend on the value of the heatmap at that pixel. The range of heatmap values [0, 255] will be mapped to the range [minAlpha, maxAlpha].

◆ GetColorizedHeatmapWithTransparency() [2/5]

eVision.EImageC24A eVision.EasyDeepLearning.EClassificationResult.GetColorizedHeatmapWithTransparency ( float alpha)

Colorized heatmap with transparency.

When a minimum and maximum alpha values are given, the transparency value for a pixel will depend on the value of the heatmap at that pixel. The range of heatmap values [0, 255] will be mapped to the range [minAlpha, maxAlpha].

Parameters
alphaTransparency to apply everywhere

◆ GetColorizedHeatmapWithTransparency() [3/5]

eVision.EImageC24A eVision.EasyDeepLearning.EClassificationResult.GetColorizedHeatmapWithTransparency ( float alpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap )

Colorized heatmap with transparency.

When a minimum and maximum alpha values are given, the transparency value for a pixel will depend on the value of the heatmap at that pixel. The range of heatmap values [0, 255] will be mapped to the range [minAlpha, maxAlpha].

Parameters
alphaTransparency to apply everywhere
colormapColor map

◆ GetColorizedHeatmapWithTransparency() [4/5]

eVision.EImageC24A eVision.EasyDeepLearning.EClassificationResult.GetColorizedHeatmapWithTransparency ( float minAlpha,
float maxAlpha )

Colorized heatmap with transparency.

When a minimum and maximum alpha values are given, the transparency value for a pixel will depend on the value of the heatmap at that pixel. The range of heatmap values [0, 255] will be mapped to the range [minAlpha, maxAlpha].

Parameters
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.

◆ GetColorizedHeatmapWithTransparency() [5/5]

eVision.EImageC24A eVision.EasyDeepLearning.EClassificationResult.GetColorizedHeatmapWithTransparency ( float minAlpha,
float maxAlpha,
eVision.EasyDeepLearning.EHeatmapColormap colormap )

Colorized heatmap with transparency.

When a minimum and maximum alpha values are given, the transparency value for a pixel will depend on the value of the heatmap at that pixel. The range of heatmap values [0, 255] will be mapped to the range [minAlpha, maxAlpha].

Parameters
minAlphaMinimum transparency value.
maxAlphaMaximum transparency value.
colormapColor map

◆ GetLabel()

string eVision.EasyDeepLearning.EClassificationResult.GetLabel ( int labelId)

Classification label. The labels are indexed from 0 to EClassificationResult.NumLabels.

Parameters
labelIdId of the label

◆ GetLabelColor() [1/2]

eVision.ERGBColor eVision.EasyDeepLearning.EClassificationResult.GetLabelColor ( int i)

Color of a label.

Parameters
iIndex of the label for which to get the color (between 0 and EClassificationResult.NumLabels - 1)

The label color is controlled at the tool level. To change a color in a result, change the label color in the tool.

◆ GetLabelColor() [2/2]

eVision.ERGBColor eVision.EasyDeepLearning.EClassificationResult.GetLabelColor ( string label)

Color of a label.

Parameters
labelLabel for which to get the color

The label color is controlled at the tool level. To change a color in a result, change the label color in the tool.

◆ GetProbability()

float eVision.EasyDeepLearning.EClassificationResult.GetProbability ( string label)

Gets the probability corresponding to the given label.

Parameters
labelThe label

◆ GetRanking()

int eVision.EasyDeepLearning.EClassificationResult.GetRanking ( string label)

Gets the ranking corresponding to the given label. The ranking goes from 1 (most probable label) to EDeepLearningTool.NumLabels (least probable label).

Parameters
labelThe label

◆ HasGroundtruth()

bool eVision.EasyDeepLearning.EClassificationResult.HasGroundtruth ( )

Whether the result has a ground truth.

◆ HasHeatmap()

bool eVision.EasyDeepLearning.EClassificationResult.HasHeatmap ( )

Whether the result contains a heatmap.

◆ HasOODScore()

bool eVision.EasyDeepLearning.EClassificationResult.HasOODScore ( )

Whether the result contains an OOD score.

◆ IsOOD()

bool eVision.EasyDeepLearning.EClassificationResult.IsOOD ( )

Whether the result is OOD.

◆ IsValid()

bool eVision.EasyDeepLearning.EClassificationResult.IsValid ( )

Indicates whether the result was produced by EClassifier.

A default constructed EClassificationResult is not valid.

Property Documentation

◆ BestLabel

string eVision.EasyDeepLearning.EClassificationResult.BestLabel
get

Gets the most probable label.

◆ BestLabelId

int eVision.EasyDeepLearning.EClassificationResult.BestLabelId
get

Gets the most probable label id.

◆ BestProbability

float eVision.EasyDeepLearning.EClassificationResult.BestProbability
get

Gets the probability associated with the most probable label.

◆ GroundtruthLabel

string eVision.EasyDeepLearning.EClassificationResult.GroundtruthLabel
get

Ground truth label.

◆ Heatmap

eVision.EImageBW8 eVision.EasyDeepLearning.EClassificationResult.Heatmap
get

Heatmap.

◆ NumLabels

int eVision.EasyDeepLearning.EClassificationResult.NumLabels
get

Number of labels for which we have a probability or a ranking.

◆ OODScore

float eVision.EasyDeepLearning.EClassificationResult.OODScore
get

Get the OOD score.

◆ OODThreshold

float eVision.EasyDeepLearning.EClassificationResult.OODThreshold
getset

Get the OOD threshold.