An EClassificationResult object represents the result of a classification. More...
#include <eVision/EasyDeepLearning/EasyClassify/EClassificationResult.h>
Public Member Functions | |
| EClassificationResult () | |
| Constructs a non-valid EClassificationResult. | |
| EClassificationResult (const eVision::EasyDeepLearning::EClassificationResult &other) | |
| Copy constructor of an EClassificationResult object. | |
| virtual | ~EClassificationResult () throw () |
| eVision::EasyDeepLearning::EClassificationResult & | operator= (const eVision::EasyDeepLearning::EClassificationResult &other) |
| Assignment operator. | |
| bool | IsValid () const |
| Indicates whether the result was produced by EClassifier. | |
| int | GetBestLabelId () const |
| Gets the most probable label id. | |
| std::string | GetBestLabel () const |
| Gets the most probable label. | |
| float | GetBestProbability () const |
| Gets the probability associated with the most probable label. | |
| float | GetProbability (const std::string &label) const |
| Gets the probability corresponding to the given label. | |
| int | GetRanking (const std::string &label) const |
| Gets the ranking corresponding to the given label. The ranking goes from 1 (most probable label) to EDeepLearningTool::GetNumLabels (least probable label). | |
| int | GetNumLabels () const |
| Number of labels for which we have a probability or a ranking. | |
| std::string | GetLabel (int labelId) const |
| Classification label. The labels are indexed from 0 to EClassificationResult::GetNumLabels. | |
| eVision::ERGBColor | GetLabelColor (int i) const |
| Color of a label. | |
| eVision::ERGBColor | GetLabelColor (const std::string &label) const |
| Color of a label. | |
| bool | HasGroundtruth () const |
| Whether the result has a ground truth. | |
| std::string | GetGroundtruthLabel () const |
| Ground truth label. | |
| bool | HasHeatmap () const |
| Whether the result contains a heatmap. | |
| eVision::EImageBW8 | GetHeatmap () const |
| Heatmap. | |
| eVision::EImageC24 | GetColorizedHeatmap (eVision::EasyDeepLearning::EHeatmapColormap colormap) const |
| Colorized heatmap with no transparency. | |
| eVision::EImageC24 | GetColorizedHeatmap () const |
| Colorized heatmap with no transparency. | |
| eVision::EImageC24A | GetColorizedHeatmapWithTransparency (float alpha, eVision::EasyDeepLearning::EHeatmapColormap colormap) const |
| Colorized heatmap with transparency. | |
| eVision::EImageC24A | GetColorizedHeatmapWithTransparency (float alpha) const |
| Colorized heatmap with transparency. | |
| eVision::EImageC24A | GetColorizedHeatmapWithTransparency () const |
| Colorized heatmap with transparency. | |
| eVision::EImageC24A | GetColorizedHeatmapWithTransparency (float minAlpha, float maxAlpha, eVision::EasyDeepLearning::EHeatmapColormap colormap) const |
| Colorized heatmap with transparency. | |
| eVision::EImageC24A | GetColorizedHeatmapWithTransparency (float minAlpha, float maxAlpha) const |
| Colorized heatmap with transparency. | |
| void | DrawHeatmap (eVision::EDrawAdapter *graphicsContext, float zoomX, float zoomY, float panX, float panY) const |
| 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) const |
| 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) const |
| 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) const |
| 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) const |
| 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) const |
| 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) const |
| 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) const |
| 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) const |
| 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) const |
| Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency. | |
| void | DrawHeatmap (HDC graphicsContext, float zoomX, float zoomY, float panX, float panY) const |
| Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency. | |
| void | DrawHeatmap (HDC graphicsContext, float zoomX, float zoomY, float panX) const |
| Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency. | |
| void | DrawHeatmap (HDC graphicsContext, float zoomX, float zoomY) const |
| Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency. | |
| void | DrawHeatmap (HDC graphicsContext, float zoomX) const |
| Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency. | |
| void | DrawHeatmap (HDC graphicsContext) const |
| Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency. | |
| void | DrawHeatmap (HDC graphicsContext, float minAlpha, float maxAlpha, eVision::EasyDeepLearning::EHeatmapColormap colormap, float zoomX, float zoomY, float panX, float panY) const |
| Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency. | |
| void | DrawHeatmap (HDC graphicsContext, float minAlpha, float maxAlpha, eVision::EasyDeepLearning::EHeatmapColormap colormap, float zoomX, float zoomY, float panX) const |
| Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency. | |
| void | DrawHeatmap (HDC graphicsContext, float minAlpha, float maxAlpha, eVision::EasyDeepLearning::EHeatmapColormap colormap, float zoomX, float zoomY) const |
| Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency. | |
| void | DrawHeatmap (HDC graphicsContext, float minAlpha, float maxAlpha, eVision::EasyDeepLearning::EHeatmapColormap colormap, float zoomX) const |
| Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency. | |
| void | DrawHeatmap (HDC graphicsContext, float minAlpha, float maxAlpha, eVision::EasyDeepLearning::EHeatmapColormap colormap) const |
| Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency. | |
| bool | HasOODScore () const |
| Whether the result contains an OOD score. | |
| bool | IsOOD () const |
| Whether the result is OOD. | |
| float | GetOODScore () const |
| Get the OOD score. | |
| float | GetOODThreshold () const |
| Get the OOD threshold. | |
| void | SetOODThreshold (float threshold) |
| Set the OOD threshold. | |
| EClassificationResult (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
An EClassificationResult object represents the result of a classification.
The most probable label and its probability are accessible through the methods EClassificationResult::GetBestLabel and EClassificationResult::GetBestProbability. The probability and ranking of all labels are accessible through the EClassificationResult::GetProbability and EClassificationResult::GetRanking methods.
License(s): BasicTypes
| eVision::EasyDeepLearning::EClassificationResult::EClassificationResult | ( | ) |
Constructs a non-valid EClassificationResult.
| eVision::EasyDeepLearning::EClassificationResult::EClassificationResult | ( | const eVision::EasyDeepLearning::EClassificationResult & | other | ) |
Copy constructor of an EClassificationResult object.
| other | Reference to the EClassificationResult object that should be copied |
|
virtual | ||||||||||||
| eVision::EasyDeepLearning::EClassificationResult::EClassificationResult | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | eVision::EDrawAdapter * | graphicsContext | ) | const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | eVision::EDrawAdapter * | graphicsContext, |
| float | minAlpha, | ||
| float | maxAlpha, | ||
| eVision::EasyDeepLearning::EHeatmapColormap | colormap ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| colormap | Color map |
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | eVision::EDrawAdapter * | graphicsContext, |
| float | minAlpha, | ||
| float | maxAlpha, | ||
| eVision::EasyDeepLearning::EHeatmapColormap | colormap, | ||
| float | zoomX ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| colormap | Color map |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | eVision::EDrawAdapter * | graphicsContext, |
| float | minAlpha, | ||
| float | maxAlpha, | ||
| eVision::EasyDeepLearning::EHeatmapColormap | colormap, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| colormap | Color map |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | eVision::EDrawAdapter * | graphicsContext, |
| float | minAlpha, | ||
| float | maxAlpha, | ||
| eVision::EasyDeepLearning::EHeatmapColormap | colormap, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| colormap | Color map |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | eVision::EDrawAdapter * | graphicsContext, |
| float | minAlpha, | ||
| float | maxAlpha, | ||
| eVision::EasyDeepLearning::EHeatmapColormap | colormap, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| colormap | Color map |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | eVision::EDrawAdapter * | graphicsContext, |
| float | zoomX ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | eVision::EDrawAdapter * | graphicsContext, |
| float | zoomX, | ||
| float | zoomY ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | eVision::EDrawAdapter * | graphicsContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | eVision::EDrawAdapter * | graphicsContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | HDC | graphicsContext | ) | const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
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.
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | HDC | graphicsContext, |
| float | minAlpha, | ||
| float | maxAlpha, | ||
| eVision::EasyDeepLearning::EHeatmapColormap | colormap ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| colormap | Color map |
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.
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | HDC | graphicsContext, |
| float | minAlpha, | ||
| float | maxAlpha, | ||
| eVision::EasyDeepLearning::EHeatmapColormap | colormap, | ||
| float | zoomX ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| colormap | Color map |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
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.
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | HDC | graphicsContext, |
| float | minAlpha, | ||
| float | maxAlpha, | ||
| eVision::EasyDeepLearning::EHeatmapColormap | colormap, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| colormap | Color map |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
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.
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | HDC | graphicsContext, |
| float | minAlpha, | ||
| float | maxAlpha, | ||
| eVision::EasyDeepLearning::EHeatmapColormap | colormap, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| colormap | Color map |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
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.
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | HDC | graphicsContext, |
| float | minAlpha, | ||
| float | maxAlpha, | ||
| eVision::EasyDeepLearning::EHeatmapColormap | colormap, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| colormap | Color map |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
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.
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | HDC | graphicsContext, |
| float | zoomX ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
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.
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | HDC | graphicsContext, |
| float | zoomX, | ||
| float | zoomY ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
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.
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | HDC | graphicsContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
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.
| void eVision::EasyDeepLearning::EClassificationResult::DrawHeatmap | ( | HDC | graphicsContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draw the heatmap. By default, the heatmap will be in the EHeatmapColormap::EHeatmapColormap_Jet colormap with a 0.5 transparency.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
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.
| std::string eVision::EasyDeepLearning::EClassificationResult::GetBestLabel | ( | ) | const |
Gets the most probable label.
| int eVision::EasyDeepLearning::EClassificationResult::GetBestLabelId | ( | ) | const |
Gets the most probable label id.
| float eVision::EasyDeepLearning::EClassificationResult::GetBestProbability | ( | ) | const |
Gets the probability associated with the most probable label.
| eVision::EImageC24 eVision::EasyDeepLearning::EClassificationResult::GetColorizedHeatmap | ( | ) | const |
Colorized heatmap with no transparency.
| eVision::EImageC24 eVision::EasyDeepLearning::EClassificationResult::GetColorizedHeatmap | ( | eVision::EasyDeepLearning::EHeatmapColormap | colormap | ) | const |
Colorized heatmap with no transparency.
| colormap | Color map |
| eVision::EImageC24A eVision::EasyDeepLearning::EClassificationResult::GetColorizedHeatmapWithTransparency | ( | ) | const |
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].
| eVision::EImageC24A eVision::EasyDeepLearning::EClassificationResult::GetColorizedHeatmapWithTransparency | ( | float | alpha | ) | const |
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].
| alpha | Transparency to apply everywhere |
| eVision::EImageC24A eVision::EasyDeepLearning::EClassificationResult::GetColorizedHeatmapWithTransparency | ( | float | alpha, |
| eVision::EasyDeepLearning::EHeatmapColormap | colormap ) const |
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].
| alpha | Transparency to apply everywhere |
| colormap | Color map |
| eVision::EImageC24A eVision::EasyDeepLearning::EClassificationResult::GetColorizedHeatmapWithTransparency | ( | float | minAlpha, |
| float | maxAlpha ) const |
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].
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| eVision::EImageC24A eVision::EasyDeepLearning::EClassificationResult::GetColorizedHeatmapWithTransparency | ( | float | minAlpha, |
| float | maxAlpha, | ||
| eVision::EasyDeepLearning::EHeatmapColormap | colormap ) const |
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].
| minAlpha | Minimum transparency value. |
| maxAlpha | Maximum transparency value. |
| colormap | Color map |
| std::string eVision::EasyDeepLearning::EClassificationResult::GetGroundtruthLabel | ( | ) | const |
Ground truth label.
| eVision::EImageBW8 eVision::EasyDeepLearning::EClassificationResult::GetHeatmap | ( | ) | const |
Heatmap.
| std::string eVision::EasyDeepLearning::EClassificationResult::GetLabel | ( | int | labelId | ) | const |
Classification label. The labels are indexed from 0 to EClassificationResult::GetNumLabels.
| labelId | Id of the label |
| eVision::ERGBColor eVision::EasyDeepLearning::EClassificationResult::GetLabelColor | ( | const std::string & | label | ) | const |
Color of a label.
| label | Label 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.
| eVision::ERGBColor eVision::EasyDeepLearning::EClassificationResult::GetLabelColor | ( | int | i | ) | const |
Color of a label.
| i | Index of the label for which to get the color (between 0 and EClassificationResult::GetNumLabels - 1) |
The label color is controlled at the tool level. To change a color in a result, change the label color in the tool.
| int eVision::EasyDeepLearning::EClassificationResult::GetNumLabels | ( | ) | const |
Number of labels for which we have a probability or a ranking.
| float eVision::EasyDeepLearning::EClassificationResult::GetOODScore | ( | ) | const |
Get the OOD score.
| float eVision::EasyDeepLearning::EClassificationResult::GetOODThreshold | ( | ) | const |
Get the OOD threshold.
| float eVision::EasyDeepLearning::EClassificationResult::GetProbability | ( | const std::string & | label | ) | const |
Gets the probability corresponding to the given label.
| label | The label |
| int eVision::EasyDeepLearning::EClassificationResult::GetRanking | ( | const std::string & | label | ) | const |
Gets the ranking corresponding to the given label. The ranking goes from 1 (most probable label) to EDeepLearningTool::GetNumLabels (least probable label).
| label | The label |
| bool eVision::EasyDeepLearning::EClassificationResult::HasGroundtruth | ( | ) | const |
Whether the result has a ground truth.
| bool eVision::EasyDeepLearning::EClassificationResult::HasHeatmap | ( | ) | const |
Whether the result contains a heatmap.
| bool eVision::EasyDeepLearning::EClassificationResult::HasOODScore | ( | ) | const |
Whether the result contains an OOD score.
| bool eVision::EasyDeepLearning::EClassificationResult::IsOOD | ( | ) | const |
Whether the result is OOD.
| bool eVision::EasyDeepLearning::EClassificationResult::IsValid | ( | ) | const |
Indicates whether the result was produced by EClassifier.
A default constructed EClassificationResult is not valid.
| eVision::EasyDeepLearning::EClassificationResult & eVision::EasyDeepLearning::EClassificationResult::operator= | ( | const eVision::EasyDeepLearning::EClassificationResult & | other | ) |
Assignment operator.
| other | Reference to the EClassificationResult object used for the assignment |
| void eVision::EasyDeepLearning::EClassificationResult::SetOODThreshold | ( | float | threshold | ) |
Set the OOD threshold.
| CppWrapperInternal::WrappedClass eVision::EasyDeepLearning::EClassificationResult::wrappedClass_ |