Commit 4990f546 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

Merge branch 'mantis-1056' into release-5.0

parents 4c7fa848 506d0fa3
......@@ -140,7 +140,7 @@ private:
variance[itBand] += (size[0] * size[1] - 1) * (statsEstimator->GetCovariance())(itBand, itBand);
}
//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
......
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