Table of Contents

Class Index3D

Namespace
Emgu.CV.Flann
Assembly
Emgu.CV.dll

Create index for 3D points

public class Index3D : UnmanagedObject, IDisposable
Inheritance
Index3D
Implements
Inherited Members

Constructors

Index3D(MCvPoint3D32f[], IIndexParams)

Create a flann index for 3D points

public Index3D(MCvPoint3D32f[] points, IIndexParams ip)

Parameters

points MCvPoint3D32f[]

The IPosition3D array

ip IIndexParams

The index parameters

Methods

DisposeObject()

Release the resource used by this object

protected override void DisposeObject()

NearestNeighbor(MCvPoint3D32f)

Find the approximate nearest position in 3D

public Index3D.Neighbor NearestNeighbor(MCvPoint3D32f position)

Parameters

position MCvPoint3D32f

The position to start the search from

Returns

Index3D.Neighbor

The nearest neighbor (may be an approximation, depends in the index type).

RadiusSearch(MCvPoint3D32f, double, int)

Perform a search within the given radius

public Index3D.Neighbor[] RadiusSearch(MCvPoint3D32f position, double radius, int maxResults)

Parameters

position MCvPoint3D32f

The center of the search area

radius double

The radius of the search

maxResults int

The maximum number of results to return

Returns

Neighbor[]

The neighbors found