SmartLineSegmentOperator ClassCognex VisionPro 9.21 SR1

This class provides functionality for multi-class segmentation specific for use in SmartLineTool.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision ChangedEventShareableBase
      Cognex.Vision.SmartLine SmartLineSegmentOperator

Namespace: Cognex.Vision.SmartLine
Assembly: Cognex.Vision.SmartLine.Net (in Cognex.Vision.SmartLine.Net.dll) Version: 9.21.1.1
Syntax

public sealed class SmartLineSegmentOperator : ChangedEventShareableBase, 
	ISegment, IChangedEvent, IObject

The SmartLineSegmentOperator type exposes the following members.

Constructors

  NameDescription
Public methodSmartLineSegmentOperator

Constructs a new instance of this class.

Top
Methods

  NameDescription
Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(Object).)
Public methodExecute

Executes the segmenter on the supplied image and region.

Public methodGetHashCode
Returns the hash code of this object.
(Overrides ChangedEventShareableBase GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
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.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
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.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string representation of the object.

(Overrides Object ToString .)
Public methodTrain

Trains the segmenter based on the current train database.

Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two SmartLineSegmentOperator objects.
Public operatorStatic memberInequality
Compares the inequality of two SmartLineSegmentOperator objects.
Top
Fields

  NameDescription
Public fieldStatic memberSfLineSegmentPaddingInPixels
Public fieldStatic memberSfTrained
Top
Properties

  NameDescription
Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Overrides ChangedEventShareableBase ChangedEventSuspended.)
Public propertyClasses

Gets the class item collection which should be assigned to the segmenter results.

Public propertyDatabase

Gets the database which contains the training data.

Public propertyHandle (Overrides ChangedEventShareableBase Handle.)
Public propertyLineSegmentPaddingInPixels
Get

Gets the value of the padding around the training shape in order to provide more pixel information for the segmentation algorithm.

Public propertyTrained

Gets the trained state of the operator.

Top
Events

  NameDescription
Public eventChanged

The actual event.

(Overrides ChangedEventShareableBase Changed.)
Top
See Also