EZMap8::GetPixelPositionFromWorldPosition

Returns in the u, v and value parameters the EZMap8 values corresponding to a 3D world position.
The world position is projected on the ZMap reference plane to get a position in the ZMap.
If the projected position is outside the ZMap, the method returns false.

Namespace: Euresys::Open_eVision::Easy3D

[C++]

bool GetPixelPositionFromWorldPosition(
   const E3DPoint& world_position,
   int& u,
   int& v,
   EDepth8& value
)

Parameters

world_position

The 3D coordinates of a world position.

u

Column of the ZMap pixel in [0,width[.

v

Row of the ZMap pixel in [0,height[.

value

Value of the pixel.

EZMap8.GetPixelPositionFromWorldPosition

Returns in the u, v and value parameters the EZMap8 values corresponding to a 3D world position.
The world position is projected on the ZMap reference plane to get a position in the ZMap.
If the projected position is outside the ZMap, the method returns false.

Namespace: Euresys.Open_eVision.Easy3D

[C#]

bool GetPixelPositionFromWorldPosition(
   Euresys.Open_eVision.Easy3D.E3DPoint world_position,
   ref int u,
   ref int v,
   ref Euresys.Open_eVision.EDepth8 value
)

Parameters

world_position

The 3D coordinates of a world position.

u

Column of the ZMap pixel in [0,width[.

v

Row of the ZMap pixel in [0,height[.

value

Value of the pixel.