Show / Hide Table of Contents

Class KeyPointsFilter

A class filters a vector of keypoints.

Inheritance
System.Object
KeyPointsFilter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public static class KeyPointsFilter

Methods

| Improve this Doc View Source

RemoveDuplicated(IEnumerable<KeyPoint>)

Remove duplicated keypoints.

Declaration
public static KeyPoint[] RemoveDuplicated(IEnumerable<KeyPoint> keypoints)
Parameters
Type Name Description
IEnumerable<OpenCvSharp.KeyPoint> keypoints
Returns
Type Description
OpenCvSharp.KeyPoint[]
| Improve this Doc View Source

RemoveDuplicatedSorted(IEnumerable<KeyPoint>)

Remove duplicated keypoints and sort the remaining keypoints

Declaration
public static KeyPoint[] RemoveDuplicatedSorted(IEnumerable<KeyPoint> keypoints)
Parameters
Type Name Description
IEnumerable<OpenCvSharp.KeyPoint> keypoints
Returns
Type Description
OpenCvSharp.KeyPoint[]
| Improve this Doc View Source

RetainBest(IEnumerable<KeyPoint>, Int32)

Retain the specified number of the best keypoints (according to the response)

Declaration
public static KeyPoint[] RetainBest(IEnumerable<KeyPoint> keypoints, int nPoints)
Parameters
Type Name Description
IEnumerable<OpenCvSharp.KeyPoint> keypoints
System.Int32 nPoints
Returns
Type Description
OpenCvSharp.KeyPoint[]
| Improve this Doc View Source

RunByImageBorder(IEnumerable<KeyPoint>, Size, Int32)

Remove keypoints within borderPixels of an image edge.

Declaration
public static KeyPoint[] RunByImageBorder(IEnumerable<KeyPoint> keypoints, Size imageSize, int borderSize)
Parameters
Type Name Description
IEnumerable<OpenCvSharp.KeyPoint> keypoints
OpenCvSharp.Size imageSize
System.Int32 borderSize
Returns
Type Description
OpenCvSharp.KeyPoint[]
| Improve this Doc View Source

RunByKeypointSize(IEnumerable<KeyPoint>, Single, Single)

Remove keypoints of sizes out of range.

Declaration
public static KeyPoint[] RunByKeypointSize(IEnumerable<KeyPoint> keypoints, float minSize, float maxSize = 3.40282347E+38F)
Parameters
Type Name Description
IEnumerable<OpenCvSharp.KeyPoint> keypoints
System.Single minSize
System.Single maxSize
Returns
Type Description
OpenCvSharp.KeyPoint[]
| Improve this Doc View Source

RunByPixelsMask(IEnumerable<KeyPoint>, Mat)

Remove keypoints from some image by mask for pixels of this image.

Declaration
public static KeyPoint[] RunByPixelsMask(IEnumerable<KeyPoint> keypoints, Mat mask)
Parameters
Type Name Description
IEnumerable<OpenCvSharp.KeyPoint> keypoints
Mat mask
Returns
Type Description
OpenCvSharp.KeyPoint[]
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX