remove unused variables in CV_KDTreeTest_CPP::findNeighbors()
This commit is contained in:
parent
29d1bce85f
commit
eb89f5207c
@ -214,8 +214,6 @@ int CV_KDTreeTest_CPP::findNeighbors( Mat& points, Mat& neighbors )
|
|||||||
const int emax = 20;
|
const int emax = 20;
|
||||||
Mat neighbors2( neighbors.size(), CV_32SC1 );
|
Mat neighbors2( neighbors.size(), CV_32SC1 );
|
||||||
int j;
|
int j;
|
||||||
vector<float> min(points.cols, static_cast<float>(minValue));
|
|
||||||
vector<float> max(points.cols, static_cast<float>(maxValue));
|
|
||||||
for( int pi = 0; pi < points.rows; pi++ )
|
for( int pi = 0; pi < points.rows; pi++ )
|
||||||
{
|
{
|
||||||
// 1st way
|
// 1st way
|
||||||
|
Loading…
x
Reference in New Issue
Block a user