Table of Contents

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

unregisteredCameraMatrix InputArray

the camera matrix of the depth camera.

registeredCameraMatrix InputArray

the camera matrix of the external camera.

registeredDistCoeffs InputArray

the distortion coefficients of the external camera.

Rt InputArray

the rigid body transform between the cameras.

unregisteredDepth InputArray

the input depth data.

outputImagePlaneSize Size

the image plane dimensions of the external camera (width, height).

registeredDepth OutputArray

the result of transforming the depth into the external camera.

depthDilation bool

whether or not the depth is dilated to avoid holes and occlusion errors (optional).