EZMap8::GetPixelPositionFromWorldPosition

Returns 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,
   EIntPoint& zmapPosition,
   EDepth8& value
) const

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

Parameters

world_position

The 3D coordinates of a world position.

zmapPosition

X and Y coordinates of the point in the ZMap.

value

Value of the pixel.

u

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

v

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

EZMap8.GetPixelPositionFromWorldPosition

Returns 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(
   E3DPoint world_position,
   out EIntPoint zmapPosition,
   out EDepth8 value
)

[Obsolete]
bool GetPixelPositionFromWorldPosition(
   E3DPoint world_position,
   out int u,
   out int v,
   out EDepth8 value
)

Parameters

world_position

The 3D coordinates of a world position.

zmapPosition

X and Y coordinates of the point in the ZMap.

value

Value of the pixel.

u

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

v

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

EZMap8.GetPixelPositionFromWorldPosition

Returns 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.

Module: open_evision.Easy3D

[Python]

GetPixelPositionFromWorldPosition(
    world_position: E3DPoint
    zmapPosition: EIntPoint
    value: EDepth8
) -> bool

Parameters

world_position

The 3D coordinates of a world position.

zmapPosition

X and Y coordinates of the point in the ZMap.

value

Value of the pixel.