EZMap::ZMapToImage
Converts a 2D coordinate in the EZMap
space to image (sub)pixel space.
- (x,y) is the ZMap position (which has the same scale as the world space).
- (u,v) is the corresponding pixel position (with its origin in the upper left corner of the image). All values are expressed in floating point numbers. Returns true if the pixel position is inside the image limits.
Namespace: Euresys::Open_eVision::Easy3D
[C++]
bool ZMapToImage(
const EPoint
& xy,
EPoint
& uv
) const
[[deprecated("Use the overload taking EPoint
as arguments instead.")]]
bool ZMapToImage(
float x,
float y,
float& u,
float& v
) const
Parameters
xy
X and Y coordinates of the pixel as an EPoint
.
uv
horizontal and vertical coordinates of the pixel as an EPoint
.
x
Position along horizontal axis in the ZMap space.
y
Position along vertical axis in the ZMap space.
u
Column of the pixel as a floating point value.
v
Row of the pixel as a floating point value.
EZMap.ZMapToImage
Converts a 2D coordinate in the EZMap
space to image (sub)pixel space.
- (x,y) is the ZMap position (which has the same scale as the world space).
- (u,v) is the corresponding pixel position (with its origin in the upper left corner of the image). All values are expressed in floating point numbers. Returns true if the pixel position is inside the image limits.
Namespace: Euresys.Open_eVision.Easy3D
[C#]
bool ZMapToImage(
EPoint
xy,
ref EPoint
uv
)
[Obsolete("Use the overload taking EPoint
as arguments instead.")]
bool ZMapToImage(
float x,
float y,
ref float u,
ref float v
)
Parameters
xy
X and Y coordinates of the pixel as an EPoint
.
uv
horizontal and vertical coordinates of the pixel as an EPoint
.
x
Position along horizontal axis in the ZMap space.
y
Position along vertical axis in the ZMap space.
u
Column of the pixel as a floating point value.
v
Row of the pixel as a floating point value.
EZMap.ZMapToImage
Converts a 2D coordinate in the EZMap
space to image (sub)pixel space.
- (x,y) is the ZMap position (which has the same scale as the world space).
- (u,v) is the corresponding pixel position (with its origin in the upper left corner of the image). All values are expressed in floating point numbers. Returns true if the pixel position is inside the image limits.
Module: open_evision.Easy3D
Parameters
xy
X and Y coordinates of the pixel as an EPoint
.
uv
horizontal and vertical coordinates of the pixel as an EPoint
.