Table of Contents

Method Compute

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Compute(OdometryFrame, OdometryFrame, OutputArray)

Computes the rigid transformation between two prepared frames so that Rt * src = dst.

public bool Compute(OdometryFrame srcFrame, OdometryFrame dstFrame, OutputArray Rt)

Parameters

srcFrame OdometryFrame

src frame ("original" image).

dstFrame OdometryFrame

dst frame ("rotated" image).

Rt OutputArray

Rigid transformation output (4x4).

Returns

bool

true on success, false if failed to find the transformation.

Compute(InputArray, InputArray, OutputArray)

Computes the rigid transformation between two depth images so that Rt * src = dst.

public bool Compute(InputArray srcDepth, InputArray dstDepth, OutputArray Rt)

Parameters

srcDepth InputArray

source depth ("original" image).

dstDepth InputArray

destination depth ("rotated" image).

Rt OutputArray

Rigid transformation output (4x4).

Returns

bool

true on success, false if failed to find the transformation.

Compute(InputArray, InputArray, InputArray, InputArray, OutputArray)

Computes the rigid transformation between two RGB-D frames so that Rt * src = dst.

public bool Compute(InputArray srcDepth, InputArray srcRGB, InputArray dstDepth, InputArray dstRGB, OutputArray Rt)

Parameters

srcDepth InputArray

source depth ("original" image).

srcRGB InputArray

source RGB.

dstDepth InputArray

destination depth ("rotated" image).

dstRGB InputArray

destination RGB.

Rt OutputArray

Rigid transformation output (4x4).

Returns

bool

true on success, false if failed to find the transformation.