CogOCVResult ClassCognex VisionPro
Default interface of this class provides access to the results of a single character position inspection.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.OC CogOCVResult

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

[SerializableAttribute]
public class CogOCVResult : CogObjectBase, 
	ICogNetInternal, IDisposable, ICloneable, ISerializable

The CogOCVResult type exposes the following members.

Constructors

  NameDescription
Public methodCogOCVResult 
Constructs a new instance of this class.
Public methodCogOCVResult(IntPtr)
Constructs a new instance of this class using com pointer.
Public methodCogOCVResult(CogOCVResult)
Constructs a new instance of this class as a deep copy of the given instance.
Top
Methods

  NameDescription
Protected methodClone
Returns a deep copy of this class instance. Derived classes that implement Clone should override this method; other clients who wish to clone this instance should call ICloneable.Clone. See also CogSerializer.DeepCopyObject
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 methodCreateResultGraphics
Creates a composite result graphic containing child graphics specified by the GraphicOptions which is a bitwise combination of CogOCVResultGraphicConstants.
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.)
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 methodGetConfusableFontModelInstance
The instance number of the 'nth' confusable model found. Confusable models are ordered from highest match score (worst case) to lowest match score.
Public methodGetConfusableFontModelName
The name of the 'nth' confusable model found. Confusable models are ordered from highest match score (worst case) to lowest match score.
Public methodGetConfusableFontModelScore
The match score of the 'nth' confusable model found. Confusable models are ordered from highest match score (worst case) to lowest match score.
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 methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetObjectData
Public methodGetPose
Returns the position of the found font model's origin in the selected space of the input image.
Public methodGetPoseWithRespectToPattern
Returns the determined Pose of the character location in relative to pattern space.
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 ) (Overrides CogObjectBase GetProperties( Attribute ).)
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 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.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyConfidenceScore
Confidence score of the found font model which indicates the amount that the match score for the found model is greater than the highest scoring confusable model. Models listed for this character position can not be confusable with the found model.
Public propertyConfusableFontModelCount
The number of confusable models that were found. These are the models that are confusable with the model to be verified and have a match score that is greater than or equal to (accept threshold - confusion threshold).
Public propertyFontModelInstance
The Instance of the found font model. If multiple models where listed for the pattern position then this is the instance of the highest scoring model.
Public propertyFontModelName
The Name of the found font model. If multiple models where listed for the pattern position then this is the name of the highest scoring font model.
Public propertyID
A unique ID used to identify this OCV result. This ID also corresponds to the index of this result in the CogOCVResults to which this result belongs. It also corresponds to the index for the CharacterPositions collection of the inspected pattern.
Public propertyScore
Score of the found font model which indicates how well the character in the run-time image matched the font model's image. The score is a value between zero and one where one is a perfect match.
Public propertyStatus
Status indicates whether this character position passed verification, failed due to confusion, or failed because no model was found above the accept threshold.
Top
Remarks

Interface that provides access to the results of a single character position inspection.

See Also