Table of Contents

Method LeaveBiggestComponent

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

LeaveBiggestComponent(IReadOnlyList<ImageFeatures>, IReadOnlyList<MatchesInfo>, float)

Finds the indices, within features, of the images belonging to the largest connected component of the pairwise-matches graph.

public static int[] LeaveBiggestComponent(IReadOnlyList<ImageFeatures> features, IReadOnlyList<MatchesInfo> pairwiseMatches, float confThreshold)

Parameters

features IReadOnlyList<ImageFeatures>

Features of the source images

pairwiseMatches IReadOnlyList<MatchesInfo>

Pairwise matches of images

confThreshold float

Confidence threshold

Returns

int[]