A segmentation position result represents a single segmented character.
Inheritance Hierarchy
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: 69.0.0.0
Syntax
The CogOCRMaxSegmenterPositionResult type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogOCRMaxSegmenterPositionResult |
Construct a default CogOCRMaxSegmenterPositionResult object.
| |
| CogOCRMaxSegmenterPositionResult(CogOCRMaxSegmenterPositionResult) |
Constructs a deep copy of the supplied CogOCRMaxSegmenterPositionResult object.
| |
| CogOCRMaxSegmenterPositionResult(SerializationInfo, StreamingContext) |
Serialization constructor for CogOCRMaxSegmenterPositionResult.
|
Methods
| Name | Description | |
|---|---|---|
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetClassName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetComponentName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetConverter |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultEvent |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultProperty |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEditor |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetObjectData |
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.) | |
| GetProperties |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetProperties( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetString |
Returns a string which represents this CogOCRMaxSegmenterPositionResult.
| |
| GetString(String) |
Returns a string which represents this CogOCRMaxSegmenterPositionResult.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| CellRect |
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.
| |
| Character |
The segmented character from the result. The result Key.CharacterCode
will be set to either Unknown (0XF800) or Space (0x20).
| |
| IsSpace |
True if the segmented character is a space.
| |
| MarkRect |
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.
| |
| SpaceScore |
The score of the segmented character, if the segmented character is a
space. The score is in the range [0, 1]. See also
CogSpaceScoreModeConstants.
|
Remarks
See Also