Method RegisterDepth
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
RegisterDepth(InputArray, InputArray, InputArray, InputArray, InputArray, Size, OutputArray, bool)
Registers depth data to an external camera.
public static void RegisterDepth(InputArray unregisteredCameraMatrix, InputArray registeredCameraMatrix, InputArray registeredDistCoeffs, InputArray Rt, InputArray unregisteredDepth, Size outputImagePlaneSize, OutputArray registeredDepth, bool depthDilation = false)
Parameters
unregisteredCameraMatrixInputArraythe camera matrix of the depth camera.
registeredCameraMatrixInputArraythe camera matrix of the external camera.
registeredDistCoeffsInputArraythe distortion coefficients of the external camera.
RtInputArraythe rigid body transform between the cameras.
unregisteredDepthInputArraythe input depth data.
outputImagePlaneSizeSizethe image plane dimensions of the external camera (width, height).
registeredDepthOutputArraythe result of transforming the depth into the external camera.
depthDilationboolwhether or not the depth is dilated to avoid holes and occlusion errors (optional).