CogOCRMaxSegmenterPositionResult ClassCognex VisionPro
A segmentation position result represents a single segmented character.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.Implementation CogSerializableObjectBase
        Cognex.VisionPro.OCRMax CogOCRMaxSegmenterPositionResult

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

[SerializableAttribute]
public class CogOCRMaxSegmenterPositionResult : CogSerializableObjectBase

The CogOCRMaxSegmenterPositionResult type exposes the following members.

Constructors

  NameDescription
Public methodCogOCRMaxSegmenterPositionResult 
Construct a default CogOCRMaxSegmenterPositionResult object.
Public methodCogOCRMaxSegmenterPositionResult(CogOCRMaxSegmenterPositionResult)
Constructs a deep copy of the supplied CogOCRMaxSegmenterPositionResult object.
Protected methodCogOCRMaxSegmenterPositionResult(SerializationInfo, StreamingContext)
Serialization constructor for CogOCRMaxSegmenterPositionResult.
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 methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
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.)
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
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.)
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 methodGetString 
Returns a string which represents this CogOCRMaxSegmenterPositionResult.
Public methodGetString(String)
Returns a string which represents this CogOCRMaxSegmenterPositionResult.
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 propertyCellRect
The cell rectangle of the segmented character. The cell rectangle is specified in the selected space coordinates of the image used for segmentation. The cell rectangle is a bounding box that encloses not only all of the foreground (e.g. ink) pixels of a character image, but also typically additional padding region. Cell rectangles are typically height of the full line of text containing the character. Ideally, all of the cell rectangles in a line of text touch their adjacent neighbors.
Public propertyCharacter
The segmented character from the result. The result Key.CharacterCode will be set to either Unknown (0XF800) or Space (0x20).
Public propertyIsSpace
True if the segmented character is a space.
Public propertyMarkRect
The mark rectangle of the segmented character. The mark rectangle is specified in the selected space coordinates of input image used for segmentation. The mark rectangle of a character is a tight bounding box enclosing all of foreground (e.g. ink) pixels in the character image.
Public propertySpaceScore
The score of the segmented character, if the segmented character is a space. The score is in the range [0, 1]. See also CogSpaceScoreModeConstants.
Top
Remarks

See Also