Commit d235c3a6 authored by Vincent Rabaud's avatar Vincent Rabaud

define the default remapping in the right scope

parent 0b1599d8
...@@ -309,9 +309,8 @@ BRISK::generateKernel(std::vector<float> &radiusList, std::vector<int> &numberLi ...@@ -309,9 +309,8 @@ BRISK::generateKernel(std::vector<float> &radiusList, std::vector<int> &numberLi
{ {
indexChange.resize(points_ * (points_ - 1) / 2); indexChange.resize(points_ * (points_ - 1) / 2);
indSize = (unsigned int)indexChange.size(); indSize = (unsigned int)indexChange.size();
}
for (unsigned int i = 0; i < indSize; i++) for (unsigned int i = 0; i < indSize; i++)
{
indexChange[i] = i; indexChange[i] = i;
} }
const float dMin_sq = dMin_ * dMin_; const float dMin_sq = dMin_ * dMin_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment