Table of Contents

Class RgbdNormals

Namespace
Emgu.CV.Rgbd
Assembly
Emgu.CV.dll

Object that can compute the normals in an image. It is an object as it can cache data for speed efficiency

public class RgbdNormals : SharedPtrObject, IDisposable, IAlgorithm
Inheritance
RgbdNormals
Implements
Inherited Members
Extension Methods

Constructors

RgbdNormals(int, int, DepthType, IInputArray, int, Method)

Create a new RgbdNormals object that can compute the normals in an image.

public RgbdNormals(int rows, int cols, DepthType depth, IInputArray k, int windowSize = 5, RgbdNormals.Method method = Method.Fals)

Parameters

rows int

The number of rows of the depth image normals will be computed on

cols int

The number of cols of the depth image normals will be computed on

depth DepthType

The depth of the normals (only CV_32F or CV_64F)

k IInputArray

The calibration matrix to use

windowSize int

The window size to compute the normals: can only be 1,3,5 or 7

method RgbdNormals.Method

The methods to use

Properties

AlgorithmPtr

Pointer to the native algorithm object

public nint AlgorithmPtr { get; }

Property Value

nint

Methods

Apply(IInputArray, IOutputArray)

Given a set of 3d points in a depth image, compute the normals at each point.

public void Apply(IInputArray points, IOutputArray normals)

Parameters

points IInputArray

A rows x cols x 3 matrix of CV_32F/CV64F or a rows x cols x 1 CV_U16S

normals IOutputArray

A rows x cols x 3 matrix

DisposeObject()

Release the unmanaged memory associated with this object

protected override void DisposeObject()