An eVision.EasyDeepLearning.EUnsupervisedSegmenterResult object represents the result of a eVision.EasyDeepLearning.EUnsupervisedSegmenter tool. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs a non-valid eVision.EasyDeepLearning.EUnsupervisedSegmenterResult. | |
| None | __init__ (self, eVision.EasyDeepLearning.EUnsupervisedSegmenterResult other) |
| Copy constructor of an eVision.EasyDeepLearning.EUnsupervisedSegmenterResult object. | |
| bool | IsComplete (self) |
| Indicates whether the result is complete and ready to be used. | |
| bool | IsValid (self) |
| Indicates whether the result was produced by a eVision.EasyDeepLearning.EUnsupervisedSegmenter object. | |
| bool | IsDefective (self) |
| Indicates whether the result is defective/not good based on the threshold of the unsupervised segmentation tool that produced the result (see eVision.EasyDeepLearning.EUnsupervisedSegmenter.ClassificationThreshold). | |
| bool | IsGood (self) |
| Indicates whether the result is good based on the threshold of the unsupervised segmentation tool that produced the result (see eVision.EasyDeepLearning.EUnsupervisedSegmenter.ClassificationThreshold). | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY) |
| Draws the segmentation (with transparency). | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX) |
| Draws the segmentation (with transparency). | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY) |
| Draws the segmentation (with transparency). | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX) |
| Draws the segmentation (with transparency). | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter) |
| Draws the segmentation (with transparency). | |
Protected Member Functions | |
| float | _ClassificationScore__getter (self) |
| \cond | |
| float | _Error__getter (self) |
| \cond | |
| eVision.EImageBW8 | _SegmentationMap__getter (self) |
| \cond | |
| eVision.ERegion | _Region__getter (self) |
| \cond | |
Properties | |
| ClassificationScore = property(_ClassificationScore__getter, None) | |
| \endcond | |
| Error = property(_Error__getter, None) | |
| \endcond | |
| SegmentationMap = property(_SegmentationMap__getter, None) | |
| \endcond | |
| Region = property(_Region__getter, None) | |
| \endcond | |
An eVision.EasyDeepLearning.EUnsupervisedSegmenterResult object represents the result of a eVision.EasyDeepLearning.EUnsupervisedSegmenter tool.
Remarks:
License(s): BasicTypes
| None eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.__init__ | ( | self | ) |
Constructs a non-valid eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.
| None eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.__init__ | ( | self, | |
| eVision.EasyDeepLearning.EUnsupervisedSegmenterResult | other ) |
Copy constructor of an eVision.EasyDeepLearning.EUnsupervisedSegmenterResult object.
| other | Reference to the eVision.EasyDeepLearning.EUnsupervisedSegmenterResult object that should be copied |
|
protected |
\cond
Score that is used for classification of the image.
Remarks:
The classification score is the value which is compared to the classification threshold of the eVision.EasyDeepLearning.EUnsupervisedSegmenter to decide whether the corresponding image is good or defective.
|
protected |
\cond
Error of the image.
Remarks:
The error is the quantity that is minimized on good images during training.
|
protected |
\cond
Returns the segmented region. The segmented region corresponds to the pixels that have a value strictly higher than 0 in the segmentation map (see eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.SegmentationMap).
|
protected |
\cond
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.
| None eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw | ( | self, | |
| eVision.EDrawAdapter | None | 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 eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.SegmentationMap).
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| None eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw | ( | self, | |
| eVision.EDrawAdapter | None | 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 eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.SegmentationMap).
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| None eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw | ( | self, | |
| eVision.EDrawAdapter | None | 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 eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.SegmentationMap).
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| 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, so as to provide isotropic zooming. |
| None eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw | ( | self, | |
| eVision.EDrawAdapter | None | 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 eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.SegmentationMap).
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| 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, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.Draw | ( | self, | |
| eVision.EDrawAdapter | None | 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 eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.SegmentationMap).
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| 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, so as 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. |
| bool eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.IsComplete | ( | self | ) |
Indicates whether the result is complete and ready to be used.
| bool eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.IsDefective | ( | self | ) |
Indicates whether the result is defective/not good based on the threshold of the unsupervised segmentation tool that produced the result (see eVision.EasyDeepLearning.EUnsupervisedSegmenter.ClassificationThreshold).
| bool eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.IsGood | ( | self | ) |
Indicates whether the result is good based on the threshold of the unsupervised segmentation tool that produced the result (see eVision.EasyDeepLearning.EUnsupervisedSegmenter.ClassificationThreshold).
| bool eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.IsValid | ( | self | ) |
Indicates whether the result was produced by a eVision.EasyDeepLearning.EUnsupervisedSegmenter object.
A default constructed eVision.EasyDeepLearning.EUnsupervisedSegmenterResult is not valid.
|
static |
\endcond
Score that is used for classification of the image.
Remarks:
The classification score is the value which is compared to the classification threshold of the eVision.EasyDeepLearning.EUnsupervisedSegmenter to decide whether the corresponding image is good or defective.
|
static |
\endcond
Error of the image.
Remarks:
The error is the quantity that is minimized on good images during training.
|
static |
\endcond
Returns the segmented region. The segmented region corresponds to the pixels that have a value strictly higher than 0 in the segmentation map (see eVision.EasyDeepLearning.EUnsupervisedSegmenterResult.SegmentationMap).
|
static |
\endcond
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.