EConverter::Convert

Converts EDepthMap or EZMap between various formats.

Namespace: Euresys::Open_eVision::Easy3D

[C++]

void Convert(
   const EDepthMap8& DepthMapIn,
   EDepthMap16& DepthMapOut,
   Euresys::Open_eVision::Easy3D::EMapConversionMode ConversionMode
)

void Convert(
   const EDepthMap8& DepthMapIn,
   EDepthMap32f& DepthMapOut
)

void Convert(
   const EDepthMap16& DepthMapIn,
   EDepthMap8& DepthMapOut,
   Euresys::Open_eVision::Easy3D::EMapConversionMode ConversionMode
)

void Convert(
   const EDepthMap16& DepthMapIn,
   EDepthMap32f& DepthMapOut
)

void Convert(
   const EDepthMap32f& DepthMapIn,
   EDepthMap8& DepthMapOut
)

void Convert(
   const EDepthMap32f& DepthMapIn,
   EDepthMap16& DepthMapOut
)

void Convert(
   const EZMap8& ZMapIn,
   EZMap16& ZMapOut,
   Euresys::Open_eVision::Easy3D::EMapConversionMode ConversionMode
)

void Convert(
   const EZMap8& ZMapIn,
   EZMap32f& ZMapOut
)

void Convert(
   const EZMap16& ZMapIn,
   EZMap8& ZMapOut,
   Euresys::Open_eVision::Easy3D::EMapConversionMode ConversionMode
)

void Convert(
   const EZMap16& ZMapIn,
   EZMap32f& ZMapOut
)

void Convert(
   const EZMap32f& ZMapIn,
   EZMap8& ZMapOut
)

void Convert(
   const EZMap32f& MapIn,
   EZMap16& MapOut
)

Parameters

DepthMapIn

The input DepthMap (8, 16 or 32 bits)

DepthMapOut

The output DepthMap (8, 16 or 32 bits)

ConversionMode

The conversion mode from EMapConversionMode defines how to transform the pixel value from a format (8, 16 or 32 bits) to another.
EMapConversionMode_MaxDynamic maximizes the used range.
EMapConversionMode_Shift converts by bit shifting.
By default, the mode EMapConversionMode_MaxDynamic is selected.

ZMapIn

The input ZMap (8, 16 or 32 bits)

ZMapOut

The output ZMap (8, 16 or 32 bits)

MapIn

-

MapOut

-

Remarks

Conversion from or to 32bits only supports EMapConversionMode_MaxDynamic mode. The undefined values are converted to the new map undefined value. For 8 and 16 bits images, the minimum defined value is 1, so the conversion of 32 bits images to 8 or 16 bits images adapts the dynamic range between 1 and the maximum value. For conversion to 32 bits float image, the used dynamic range is between 0 and FLOATMAX.

EConverter.Convert

Converts EDepthMap or EZMap between various formats.

Namespace: Euresys.Open_eVision.Easy3D

[C#]

void Convert(
   Euresys.Open_eVision.Easy3D.EDepthMap8 DepthMapIn,
   Euresys.Open_eVision.Easy3D.EDepthMap16 DepthMapOut,
   Euresys.Open_eVision.Easy3D.EMapConversionMode ConversionMode
)

void Convert(
   Euresys.Open_eVision.Easy3D.EDepthMap8 DepthMapIn,
   Euresys.Open_eVision.Easy3D.EDepthMap32f DepthMapOut
)

void Convert(
   Euresys.Open_eVision.Easy3D.EDepthMap16 DepthMapIn,
   Euresys.Open_eVision.Easy3D.EDepthMap8 DepthMapOut,
   Euresys.Open_eVision.Easy3D.EMapConversionMode ConversionMode
)

void Convert(
   Euresys.Open_eVision.Easy3D.EDepthMap16 DepthMapIn,
   Euresys.Open_eVision.Easy3D.EDepthMap32f DepthMapOut
)

void Convert(
   Euresys.Open_eVision.Easy3D.EDepthMap32f DepthMapIn,
   Euresys.Open_eVision.Easy3D.EDepthMap8 DepthMapOut
)

void Convert(
   Euresys.Open_eVision.Easy3D.EDepthMap32f DepthMapIn,
   Euresys.Open_eVision.Easy3D.EDepthMap16 DepthMapOut
)

void Convert(
   Euresys.Open_eVision.Easy3D.EZMap8 ZMapIn,
   Euresys.Open_eVision.Easy3D.EZMap16 ZMapOut,
   Euresys.Open_eVision.Easy3D.EMapConversionMode ConversionMode
)

void Convert(
   Euresys.Open_eVision.Easy3D.EZMap8 ZMapIn,
   Euresys.Open_eVision.Easy3D.EZMap32f ZMapOut
)

void Convert(
   Euresys.Open_eVision.Easy3D.EZMap16 ZMapIn,
   Euresys.Open_eVision.Easy3D.EZMap8 ZMapOut,
   Euresys.Open_eVision.Easy3D.EMapConversionMode ConversionMode
)

void Convert(
   Euresys.Open_eVision.Easy3D.EZMap16 ZMapIn,
   Euresys.Open_eVision.Easy3D.EZMap32f ZMapOut
)

void Convert(
   Euresys.Open_eVision.Easy3D.EZMap32f ZMapIn,
   Euresys.Open_eVision.Easy3D.EZMap8 ZMapOut
)

void Convert(
   Euresys.Open_eVision.Easy3D.EZMap32f MapIn,
   Euresys.Open_eVision.Easy3D.EZMap16 MapOut
)

Parameters

DepthMapIn

The input DepthMap (8, 16 or 32 bits)

DepthMapOut

The output DepthMap (8, 16 or 32 bits)

ConversionMode

The conversion mode from EMapConversionMode defines how to transform the pixel value from a format (8, 16 or 32 bits) to another.
MaxDynamic maximizes the used range.
Shift converts by bit shifting.
By default, the mode MaxDynamic is selected.

ZMapIn

The input ZMap (8, 16 or 32 bits)

ZMapOut

The output ZMap (8, 16 or 32 bits)

MapIn

-

MapOut

-

Remarks

Conversion from or to 32bits only supports MaxDynamic mode. The undefined values are converted to the new map undefined value. For 8 and 16 bits images, the minimum defined value is 1, so the conversion of 32 bits images to 8 or 16 bits images adapts the dynamic range between 1 and the maximum value. For conversion to 32 bits float image, the used dynamic range is between 0 and FLOATMAX.