Represents a database which provides data for training a segmenter.
Cognex.Vision ShareableBase
Cognex.Vision ChangedEventShareableBase
Cognex.Vision.ELCore TrainDataDatabase
Namespace: Cognex.Vision.ELCore
Assembly: Cognex.Vision.ELCore.Net (in Cognex.Vision.ELCore.Net.dll) Version: 9.24.0.0
The TrainDataDatabase type exposes the following members.
| Name | Description | |
|---|---|---|
| TrainDataDatabase | Constructs a new instance of this class. |
| Name | Description | |
|---|---|---|
| Add | Adds the specified item to the database. | |
| Clear | Clears all training data items from the database. | |
| Equals | Compares the equality of this object with another. (Overrides ChangedEventShareableBase Equals(Object).) | |
| 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. | |
| Remove | Removes the specified item from the database. | |
| Replace | Replaces the specified item in the database. | |
| 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 that represents the object. | |
| Verify | Runs verification on each train data in this database if the Verifier has been set. |
| Name | Description | |
|---|---|---|
| Equality | Compares the equality of two TrainDataDatabase objects. | |
| Inequality | Compares the inequality of two TrainDataDatabase objects. |
| Name | Description | |
|---|---|---|
| SfVerifier |
| Name | Description | |
|---|---|---|
| ChangedEventSuspended | Indicates if raising the ChangedEvent has been suspended. | |
| Handle | (Overrides ChangedEventShareableBase Handle.) | |
| HasDataForTraining | Returns whether this database is ready for training. A database is ready for training when there is at least one TrainData with property IsTraining set to true and with at least one ClassItemToShapeAssignment in its Assignments. | |
| TrainingData | Gets the readonly-collection of training items in the database. | |
| Verifier | Get Gets the Verifier object to be used when running verification on this database. |
| Name | Description | |
|---|---|---|
| Changed | The actual event. | |
| ItemAdded | Occurs after an item is added to this database. | |
| ItemAdding | Occurs before an item is added to this database. | |
| ItemRemoved | Occurs after an item is removed from this database. |