CogOCVMaxRunParams ClassCognex VisionPro
This class encapsulates the run time parameters used by Execute(CogImage8Grey, ICogRegion, CogOCVMaxRunParams).
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.Implementation CogSerializableObjectBase
        Cognex.VisionPro.Implementation CogSerializableChangedEventBase
          Cognex.VisionPro.OCVMax CogOCVMaxRunParams

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax

[SerializableAttribute]
public class CogOCVMaxRunParams : CogSerializableChangedEventBase, 
	IDisposable

The CogOCVMaxRunParams type exposes the following members.

Constructors

  NameDescription
Public methodCogOCVMaxRunParams 
Public methodCogOCVMaxRunParams(CogOCVMaxRunParams)
Protected methodCogOCVMaxRunParams(SerializationInfo, StreamingContext)
Top
Methods

  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose 
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize (Overrides Object Finalize .)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetCharacterCount(CogOCVMaxLineIterator)
Gets the number of characters in the specified line of the specified paragraph of this object's internal arrangement description.
Public methodGetCharacterCount(Int32, Int32)
Gets the number of characters in the specified line of the specified paragraph of this object's internal arrangement description.
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetConfidenceThreshold(Int32)
Gets the confidence threshold for the specified paragraph.
Public methodGetConfidenceThreshold(CogOCVMaxParagraphIterator)
Gets the confidence threshold for the specified paragraph.
Public methodGetConfusionThreshold(Int32)
Gets the confusion threshold for the specified paragraph.
Public methodGetConfusionThreshold(CogOCVMaxParagraphIterator)
Gets the confusion threshold for the specified paragraph.
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetKeysetCharacterKeys(CogOCVMaxCharacterIterator)
Gets an array of integers that correspond to the key set for the specified character position within the specified line within the specified paragraph. Each element of this array is the key value of a character that may occur at this position.
Public methodGetKeysetCharacterKeys(Int32, Int32, Int32)
Gets an array of integers that correspond to the key set for the specified character position within the specified line within the specified paragraph. Each element of this array is the key value of a character that may occur at this position.
Public methodGetKeysetCharacters(CogOCVMaxCharacterIterator)
Gets a string that corresponds to the key set for the specified character position within the specified line within the specified paragraph. Each individual character in this string may occur at this position.
Public methodGetKeysetCharacters(Int32, Int32, Int32)
Gets a string that corresponds to the key set for the specified character position within the specified line within the specified paragraph. Each individual character in this string may occur at this position.
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetLineCount(Int32)
Gets the number of lines in the specified paragraph of this object's internal arrangement description.
Public methodGetLineCount(CogOCVMaxParagraphIterator)
Gets the number of lines in the specified paragraph of this object's internal arrangement description.
Protected methodGetObjectData (Overrides CogSerializableObjectBase GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetParagraphCount
Gets the number of paragraphs described by this run parameters object.
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVerificationType(CogOCVMaxCharacterIterator)
Gets the type of verification to be performed on the specified character position.
Public methodGetVerificationType(Int32, Int32, Int32)
Gets the type of verification to be performed on the specified character position.
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnChanged(Int64)
This method should be called internally whenever the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Protected methodOnChanged(CogChangedEventArgs)
This method may be called internally whenever a derived object's state may have changed and the derived object expresses this change via a derived CogChangedEventArgs class.
(Inherited from CogSerializableChangedEventBase.)
Public methodResumeAndRaiseChangedEvent
Re-enables raising of the Changed event after SuspendChangedEvent has been called, and raises the Changed event 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 CogSerializableChangedEventBase.)
Public methodSetArrangementFromPattern
Copies the arrangement from the specified pattern into this run parameters object.
Public methodSetConfidenceThreshold(Int32, Double)
Sets the confidence threshold for the specified paragraph.
Public methodSetConfidenceThreshold(CogOCVMaxParagraphIterator, Double)
Sets the confidence threshold for the specified paragraph.
Public methodSetConfusionThreshold(Int32, Double)
Sets the confusion threshold for the specified paragraph.
Public methodSetConfusionThreshold(CogOCVMaxParagraphIterator, Double)
Sets the confusion threshold for the specified paragraph.
Public methodSetKeyset(CogOCVMaxCharacterIterator,  Int32 )
Sets the key set for the specified character position within the specified line within the specified paragraph.
Public methodSetKeyset(CogOCVMaxCharacterIterator, String)
Sets the key set for the specified character position within the specified line within the specified paragraph.
Public methodSetKeyset(Int32, Int32, Int32,  Int32 )
Sets the key set for the specified character position within the specified line within the specified paragraph.
Public methodSetKeyset(Int32, Int32, Int32, String)
Sets the key set for the specified character position within the specified line within the specified paragraph.
Public methodSetVerificationType(CogOCVMaxCharacterIterator, CogOCVMaxVerificationTypeConstants)
Sets the type of verification to be performed on the specified character position.
Public methodSetVerificationType(Int32, Int32, Int32, CogOCVMaxVerificationTypeConstants)
Sets the type of verification to be performed on the specified character position.
Public methodSuspendChangedEvent
Temporarily suspends the raising of the Changed event. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.
(Inherited from CogSerializableChangedEventBase.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberSfComputePoses
This bit will be set in the EventArgs of a Changed event every time the value returned by ComputePoses may have changed.
Public fieldStatic memberSfEarlyAcceptThreshold
This bit will be set in the EventArgs of a Changed event every time the value returned by EarlyAcceptThreshold may have changed.
Public fieldStatic memberSfEarlyFailThreshold
This bit will be set in the EventArgs of a Changed event every time the value returned by EarlyFailThreshold may have changed.
Public fieldStatic memberSfGetCharacterCount
This bit will be set in the EventArgs of a Changed event every time the value returned by GetCharacterCount may have changed.
Public fieldStatic memberSfGetConfidenceThreshold
This bit will be set in the EventArgs of a Changed event every time the value returned by GetConfidenceThreshold may have changed.
Public fieldStatic memberSfGetConfusionThreshold
This bit will be set in the EventArgs of a Changed event every time the value returned by GetConfusionThreshold may have changed.
Public fieldStatic memberSfGetKeysetCharacterKeys
This bit will be set in the EventArgs of a Changed event every time the value returned by GetKeysetCharacterKeys may have changed.
Public fieldStatic memberSfGetLineCount
This bit will be set in the EventArgs of a Changed event every time the value returned by GetLineCount may have changed.
Public fieldStatic memberSfGetParagraphCount
This bit will be set in the EventArgs of a Changed event every time the value returned by GetParagraphCount may have changed.
Public fieldStatic memberSfGetVerificationType
This bit will be set in the EventArgs of a Changed event every time the value returned by GetVerificationType may have changed.
Public fieldStatic memberSfImageSearchParams
This bit will be set in the EventArgs of a Changed event every time the value returned by ImageSearchParams may have changed.
Public fieldStatic memberSfKeySearchParams
This bit will be set in the EventArgs of a Changed event every time the value returned by KeySearchParams may have changed.
Protected fieldStatic memberSfNextSf
Public fieldStatic memberSfRegionMode
This bit will be set in the EventArgs of a Changed event every time the value returned by RegionMode may have changed.
Public fieldStatic memberSfRunPose
This bit will be set in the EventArgs of a Changed event every time the value returned by RunPose may have changed.
Public fieldStatic memberSfStartPoseSearchParams
This bit will be set in the EventArgs of a Changed event every time the value returned by StartPoseSearchParams may have changed.
Public fieldStatic memberSfTimeout
This bit will be set in the EventArgs of a Changed event every time the value returned by Timeout may have changed.
Public fieldStatic memberSfTimeoutEnabled
This bit will be set in the EventArgs of a Changed event every time the value returned by TimeoutEnabled may have changed.
Top
Properties

  NameDescription
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventBase.)
Public propertyComputePoses
Gets or sets the result poses to be computed.
Public propertyEarlyAcceptThreshold
Gets or sets the threshold for early acceptance of a potential line match as the true instance of the line in the image.
Public propertyEarlyFailThreshold
Gets or sets the threshold for early failure of a potential line match as the true instance of the line in the image.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyImageSearchParams
Gets or sets the search parameters used for pattern alignment in the image.
Public propertyKeySearchParams
Gets or sets the search parameters used for alignment of each keyset relative to its neighbor.
Public propertyRegionMode
Gets or sets how the pRegion parameter to Execute(CogImage8Grey, ICogRegion, CogOCVMaxRunParams) is applied to the input image.
Public propertyRunPose
When this property is not NULL, the search process assumes that the strings will be found very close to this pose.
Public propertyStartPoseSearchParams
Gets or sets the search parameters used for pattern alignment in the image when a run pose is being used.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.)
Public propertyTimeout
Gets or sets the maximum amount of time in milliseconds that execution of tuning can take.
Public propertyTimeoutEnabled
Gets or sets whether the pattern is allowed to time out when executing or tuning with these run parameters.
Top
Events

  NameDescription
Public eventChanged
This event is raised when one or more parts of the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Top
See Also