Maps the supplied two dimensional point into the
specified three dimensional space. This is
accomplished by first mapping the input two
dimensional point to pixel space. If the
range image's visible pixel mask indicates
that this pixel was not visible, then the
Visible output argument is set to false and
no further processing is performed. Otherwise,
the pixel value is read. This range
image pixel value is incremented by 0.5
to place it at a "middle" height within
the subject voxel. The resulting pixel space
coordinate triple is mapped into the
requested three dimensional space.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 80.0.0.0
Syntax
Parameters
- DstPoint3DSpaceName
- Type: System String
The destination three dimensional space name.
- SrcPoint2DSpaceName
- Type: System String
The source two dimensional space name.
- SrcPoint2D
- Type: Cognex.VisionPro3D Cog3DVect2
The source two dimensional point.
- Visible
- Type: System Boolean
True if the source two dimensional point was visible.
- DstPoint3D
- Type: Cognex.VisionPro3D Cog3DVect3
The resulting mapped three dimensional point. This will be 0,0,0 if Visible is false.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If DstPoint3DSpaceName is null. |
| ArgumentNullException | If SrcPoint2DSpaceName is null. |
| CogImageNoPixelsException | If Allocated is false. |
See Also