This class holds feature correspondence information for a particular feature
(point, line segment, circle, etc.).
A Cog3DCrsp2D3D is a data holder class that expresses how a 2D feature(s)
(found in the acquired image from a particular
camera) corresponds to a 3D feature of the 3D model.
The feature correspondence information consists of:
- The index of the camera from which the image was acquired;
- The index of the found part instance in the acquired image. Each part found in an acquired image from camera C, must have a unique index. Each part found in an acquired image from camera C+1, must also have a unique index, however there is no requirement for the part indices across the acquired images to match.
- An Object representing the found 2D feature e.g. Cog3DVect2 or an Object representing a collection of found 2D features e.g. Cog3DVect2Collection from the acquired image. The 2D feature's pose must be in Raw2D space of the acquired image.
- The index of the 3D model feature within the 3D model feature collection
- The subfeature type (Cog3DSubfeatureConstants) within the 3D feature that corresponds to the found 2D feature(s).
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.Implementation CogSerializableObjectBase
Cognex.VisionPro3D Cog3DCrsp2D3D
Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 65.1.0.0
Syntax
The Cog3DCrsp2D3D type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Cog3DCrsp2D3D |
Construct this default
Cog3DCrsp2D3D:
| |
| Cog3DCrsp2D3D(SerializationInfo, StreamingContext) | ||
| Cog3DCrsp2D3D(Int32, Int32, Int32, Type, Object, Cog3DSubfeatureConstants) |
Construct this Cog3DCrsp2D3D with the supplied components.
|
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.) | |
| Dispose | ||
| Dispose(Boolean) | ||
| Equals | (Inherited from Object.) | |
| Finalize | (Overrides Object Finalize .) | |
| 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.) | |
| 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 | (Overrides Object ToString .) |
Properties
| Name | Description | |
|---|---|---|
| ApplicationData |
Gets/Sets an object that can be used to store application-specific information.
| |
| CameraIndex |
Gets/sets the index of the camera.
| |
| FeatureModel3DIndex |
Gets/sets the 3D model feature index (within the 3D model feature collection)
corresponding to the found 2D feature(s).
| |
| FeatureModel3DType |
Gets/sets the 3D model feature type.
| |
| FeatureRaw2D |
Gets/sets the 2D feature(s).
| |
| PartInstanceIndex |
Gets/sets the index of the found part instance.
| |
| Subfeature |
Gets/sets the subfeature type within the 3D model feature.
The found 2D feature(s) corresponds to this subfeature type.
|
Remarks
Note that the index of the found part instance is particular to the image acquired from the specified camera. The part instances with the same index number from different cameras may not correspond to the same part in the scene.
See Also