This interface defines an object that can be used for segmentation.
Assembly: Cognex.Vision.ELCore.Net (in Cognex.Vision.ELCore.Net.dll) Version: 9.10.0.0
The ISegment type exposes the following members.
| Name | Description | |
|---|---|---|
| Execute | Executes the segmenter on the supplied image and region. | |
| 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. | |
| Train | Trains the segmenter based on the current train database. |
| Name | Description | |
|---|---|---|
| ChangedEventSuspended | Indicates if raising the ChangedEvent has been suspended. | |
| Classes | Gets the Class item collection which is assigned to the segmenter results. | |
| Database | Gets the database which contains the training data. | |
| Trained | Gets the trained state of the operator. |
| Name | Description | |
|---|---|---|
| Changed | The actual event. |