This class provides functionality for multi-class segmentation.
Cognex.Vision ShareableBase
Cognex.Vision ChangedEventShareableBase
Cognex.Vision.ViDiEL SegmentOperator
Namespace: Cognex.Vision.ViDiEL
Assembly: Cognex.Vision.ViDiELSegment.Net (in Cognex.Vision.ViDiELSegment.Net.dll) Version: 9.21.1.1
The SegmentOperator type exposes the following members.
| Name | Description | |
|---|---|---|
| SegmentOperator | Constructs a new instance of this class. |
| Name | Description | |
|---|---|---|
| Equals | Compares the equality of this object with another. (Overrides ChangedEventShareableBase Equals(Object).) | |
| Execute | Executes the segmenter on the supplied image and region. | |
| GetHashCode | Returns the hash code of this object. (Overrides ChangedEventShareableBase GetHashCode .) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypeMeta | Get the TypeMeta that describes the type of this object. | |
| ResumeAndRaiseChangedEvent | Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent. | |
| SuspendChangedEvent | Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent. | |
| ToString | Returns a human readable string representation of the object. | |
| Train | Trains the segmenter based on the current train database. |
| Name | Description | |
|---|---|---|
| Equality | Compares the equality of two SegmentOperator objects. | |
| Inequality | Compares the inequality of two SegmentOperator objects. |
| Name | Description | |
|---|---|---|
| SfModelHealth | ||
| SfTrained |
| Name | Description | |
|---|---|---|
| ChangedEventSuspended | Indicates if raising the ChangedEvent has been suspended. | |
| Classes | Gets the class item collection which should be assigned to the segmenter results. | |
| Database | Gets the database which contains the training data. | |
| Handle | (Overrides ChangedEventShareableBase Handle.) | |
| ModelHealth | The health of the train model. A value between 0 and 1. It will be set once Train() is called. | |
| Trained | Gets the trained state of the operator. |
| Name | Description | |
|---|---|---|
| Changed | The actual event. |
It is recommended that you use different images in the train data set to get the best trained model. Examine the ModelHealth after training to determine the health of the model.