ISegment InterfaceCognex VisionPro 9.21

This interface defines an object that can be used for segmentation.

Namespace: Cognex.Vision.ELCore
Assembly: Cognex.Vision.ELCore.Net (in Cognex.Vision.ELCore.Net.dll) Version: 9.21.0.0
Syntax

public interface ISegment : IChangedEvent, 
	IObject

The ISegment type exposes the following members.

Methods

  NameDescription
Public methodExecute

Executes the segmenter on the supplied image and region.

Public methodResumeAndRaiseChangedEvent

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.

(Inherited from IChangedEvent.)
Public methodSuspendChangedEvent

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.

(Inherited from IChangedEvent.)
Public methodTrain

Trains the segmenter based on the current train database.

Top
Properties

  NameDescription
Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Inherited from IChangedEvent.)
Public propertyClasses

Gets the Class item collection which is assigned to the segmenter results.

Public propertyDatabase

Gets the database which contains the training data.

Public propertyTrained

Gets the trained state of the operator.

Top
Events

  NameDescription
Public eventChanged

The actual event.

(Inherited from IChangedEvent.)
Top
See Also