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
featuresIReadOnlyList<ImageFeatures>Features of the source images
pairwiseMatchesIReadOnlyList<MatchesInfo>Pairwise matches of images
confThresholdfloatConfidence threshold
Returns
- int[]