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

An EUnsupervisedSegmenterResult object represents the result of a EUnsupervisedSegmenter tool. More...

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

Public Member Functions

 EUnsupervisedSegmenterResult ()
 Constructs a non-valid EUnsupervisedSegmenterResult.
 EUnsupervisedSegmenterResult (eVision.EasyDeepLearning.EUnsupervisedSegmenterResult other)
 Copy constructor of an EUnsupervisedSegmenterResult object.
bool IsComplete ()
 Indicates whether the result is complete and ready to be used.
bool IsValid ()
 Indicates whether the result was produced by a EUnsupervisedSegmenter object.
bool IsDefective ()
 Indicates whether the result is defective/not good based on the threshold of the unsupervised segmentation tool that produced the result (see EUnsupervisedSegmenter.ClassificationThreshold).
bool IsGood ()
 Indicates whether the result is good based on the threshold of the unsupervised segmentation tool that produced the result (see EUnsupervisedSegmenter.ClassificationThreshold).
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the segmentation (with transparency).
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX)
 Draws the segmentation (with transparency).
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY)
 Draws the segmentation (with transparency).
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX)
 Draws the segmentation (with transparency).
void Draw (eVision.EDrawAdapter drawAdapter)
 Draws the segmentation (with transparency).
void Draw (IntPtr graphicsContext, float zoomX, float zoomY, float panX, float panY)
 Draws the segmentation (with transparency).
void Draw (IntPtr graphicsContext, float zoomX, float zoomY, float panX)
 Draws the segmentation (with transparency).
void Draw (IntPtr graphicsContext, float zoomX, float zoomY)
 Draws the segmentation (with transparency).
void Draw (IntPtr graphicsContext, float zoomX)
 Draws the segmentation (with transparency).
void Draw (IntPtr graphicsContext)
 Draws the segmentation (with transparency).
void Draw (System.Drawing.Graphics graphicsContext, float zoomX, float zoomY, float panX, float panY)
 Draws the segmentation (with transparency).
void Draw (System.Drawing.Graphics graphicsContext, float zoomX, float zoomY, float panX)
 Draws the segmentation (with transparency).
void Draw (System.Drawing.Graphics graphicsContext, float zoomX, float zoomY)
 Draws the segmentation (with transparency).
void Draw (System.Drawing.Graphics graphicsContext, float zoomX)
 Draws the segmentation (with transparency).
void Draw (System.Drawing.Graphics graphicsContext)
 Draws the segmentation (with transparency).

Properties

float ClassificationScore [get]
 Score that is used for classification of the image.
float Error [get]
 Error of the image.
eVision.EImageBW8 SegmentationMap [get]
 Returns the segmentation map. The segmentation map is a grayscale image where all defective pixels have a value strictly higher than 0. The value of a pixel is proportional to the importance of the defect at that position.
eVision.ERegion Region [get]
 Returns the segmented region. The segmented region corresponds to the pixels that have a value strictly higher than 0 in the segmentation map (see EUnsupervisedSegmenterResult.SegmentationMap).

Detailed Description

An EUnsupervisedSegmenterResult object represents the result of a EUnsupervisedSegmenter tool.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ EUnsupervisedSegmenterResult() [1/2]

eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.EUnsupervisedSegmenterResult ( )

Constructs a non-valid EUnsupervisedSegmenterResult.

◆ EUnsupervisedSegmenterResult() [2/2]

eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.EUnsupervisedSegmenterResult ( eVision.EasyDeepLearning.EUnsupervisedSegmenterResult other)

Copy constructor of an EUnsupervisedSegmenterResult object.

Parameters
otherReference to the EUnsupervisedSegmenterResult object that should be copied

Member Function Documentation

◆ Draw() [1/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( eVision.EDrawAdapter drawAdapter)

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).

◆ Draw() [2/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX )

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

◆ Draw() [3/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY )

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
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, so as to provide isotropic zooming.

◆ Draw() [4/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY,
float panX )

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
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, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [5/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
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, so as 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.

◆ Draw() [6/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( IntPtr graphicsContext)

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

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.

◆ Draw() [7/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( IntPtr graphicsContext,
float zoomX )

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

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.

◆ Draw() [8/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( IntPtr graphicsContext,
float zoomX,
float zoomY )

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

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, so as 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.

◆ Draw() [9/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( IntPtr graphicsContext,
float zoomX,
float zoomY,
float panX )

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

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, so as 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.

◆ Draw() [10/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( IntPtr graphicsContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

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, so as 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.

◆ Draw() [11/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( System.Drawing.Graphics graphicsContext)

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

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.

◆ Draw() [12/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( System.Drawing.Graphics graphicsContext,
float zoomX )

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

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.

◆ Draw() [13/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( System.Drawing.Graphics graphicsContext,
float zoomX,
float zoomY )

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

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, so as 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.

◆ Draw() [14/15]

void eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw ( System.Drawing.Graphics graphicsContext,
float zoomX,
float zoomY,
float panX )

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

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, so as 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.

◆ Draw() [15/15]

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

Draws the segmentation (with transparency).

To indicate the importance of the defect at a given pixel, the segmentation is drawn using a gradient going from yellow (least important) to red (maximum importance) (See EUnsupervisedSegmenterResult.SegmentationMap).

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, so as 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.

◆ IsComplete()

bool eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.IsComplete ( )

Indicates whether the result is complete and ready to be used.

◆ IsDefective()

bool eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.IsDefective ( )

Indicates whether the result is defective/not good based on the threshold of the unsupervised segmentation tool that produced the result (see EUnsupervisedSegmenter.ClassificationThreshold).

◆ IsGood()

bool eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.IsGood ( )

Indicates whether the result is good based on the threshold of the unsupervised segmentation tool that produced the result (see EUnsupervisedSegmenter.ClassificationThreshold).

◆ IsValid()

bool eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.IsValid ( )

Indicates whether the result was produced by a EUnsupervisedSegmenter object.

A default constructed EUnsupervisedSegmenterResult is not valid.

Property Documentation

◆ ClassificationScore

float eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.ClassificationScore
get

Score that is used for classification of the image.

The classification score is the value which is compared to the classification threshold of the EUnsupervisedSegmenter to decide whether the corresponding image is good or defective.

◆ Error

float eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Error
get

Error of the image.

The error is the quantity that is minimized on good images during training.

◆ Region

eVision.ERegion eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Region
get

Returns the segmented region. The segmented region corresponds to the pixels that have a value strictly higher than 0 in the segmentation map (see EUnsupervisedSegmenterResult.SegmentationMap).

◆ SegmentationMap

eVision.EImageBW8 eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.SegmentationMap
get

Returns the segmentation map. The segmentation map is a grayscale image where all defective pixels have a value strictly higher than 0. The value of a pixel is proportional to the importance of the defect at that position.