Skip to content
Snippets Groups Projects
Commit d55a8165 authored by Mathieu Deltorre's avatar Mathieu Deltorre
Browse files

*correction indice tableaux histogram

parent 11242342
Branches
Tags
No related merge requests found
...@@ -629,7 +629,8 @@ namespace otb ...@@ -629,7 +629,8 @@ namespace otb
sum = 0; sum = 0;
for(j=i-36;j<i;++j) for(j=i-36;j<i;++j)
{ {
sum+=lHistogram[i-j]*m_HistogramGaussianWeights[j+36]; sum+=lHistogram[i-j-1]*m_HistogramGaussianWeights[j+36];
//std::cout << "Histo Ori index: " << i-j << " histo gauss: " << j+36 << std::endl;
} }
if(sum>max) if(sum>max)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment