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
srcFrameOdometryFramesrc frame ("original" image).
dstFrameOdometryFramedst frame ("rotated" image).
RtOutputArrayRigid 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
srcDepthInputArraysource depth ("original" image).
dstDepthInputArraydestination depth ("rotated" image).
RtOutputArrayRigid 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
srcDepthInputArraysource depth ("original" image).
srcRGBInputArraysource RGB.
dstDepthInputArraydestination depth ("rotated" image).
dstRGBInputArraydestination RGB.
RtOutputArrayRigid transformation output (4x4).
Returns
- bool
true on success, false if failed to find the transformation.