Skip to content
Snippets Groups Projects
Commit 0a68e00d authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

Merge branch 'mantis-1056' into develop

parents 8c3e5c99 506d0fa3
No related branches found
No related tags found
No related merge requests found
...@@ -140,7 +140,7 @@ private: ...@@ -140,7 +140,7 @@ private:
variance[itBand] += (size[0] * size[1] - 1) * (statsEstimator->GetCovariance())(itBand, itBand); variance[itBand] += (size[0] * size[1] - 1) * (statsEstimator->GetCovariance())(itBand, itBand);
} }
//Increment nbSamples //Increment nbSamples
nbSamples += size[0] * size[1] * nbBands; nbSamples += size[0] * size[1];
} }
//Divide by the number of input images to get the mean over all layers //Divide by the number of input images to get the mean over all layers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment