ClassifyPattern RemoveImageItemUsingId Method Cognex VisionPro 9.22

Removes the image item with the specified image id from Images Collection.

Namespace: Cognex.Vision.ViDiEL
Assembly: Cognex.Vision.ViDiELClassify.Net (in Cognex.Vision.ViDiELClassify.Net.dll) Version: 9.22.2.0
Syntax

public void RemoveImageItemUsingId(
	string imageId
)

Parameters

imageId
Type: System String
The image id in the Images collection to remove.
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the supplied image id is not found in the collection.
Remarks

If the pattern is trained, and the image item id is in the LabeledImages, the pattern will become untrained.

If the image item id is used in the LabeledImages, the train item will be removed as well.

Changed Raised when the value of this property changes. The following state flags may be affected:

See Also