Performs orthogonal range seaching on the given kd-tree.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static int FindFeaturesBoxed( CvFeatureTree tr, CvMat boundsMin, CvMat boundsMax, CvMat result )
Parameters
- tr
- Type: OpenCvSharpCvFeatureTree
Pointer to kd-tree index of reference vectors. - boundsMin
- Type: OpenCvSharpCvMat
1 x d or d x 1 vector (CV_32FC1 or CV_64FC1) giving minimum value for each dimension. - boundsMax
- Type: OpenCvSharpCvMat
1 x d or d x 1 vector (CV_32FC1 or CV_64FC1) giving maximum value for each dimension. - result
- Type: OpenCvSharpCvMat
1 x m or m x 1 vector (CV_32SC1) to contain output row indices (referring to matrix passed to cvCreateFeatureTree).
Return Value
Type: Int32the number of such vectors found.
See Also