Commit 27cfe166 authored by Jonathan Guinet's avatar Jonathan Guinet

BUG: Normalize option has no effect in PCA filter.

parent 08e4c7c6
......@@ -74,7 +74,7 @@ int otbPCAImageFilterTest ( int argc, char* argv[] )
std::string outputImageName = parseResult->GetOutputImage();
const unsigned int nbComponents = parseResult->IsOptionPresent("--NumComponents") ?
parseResult->GetParameterUInt("--NumComponents") : 0;
const bool normalization = parseResult->IsOptionPresent("--NormalizeVariance");
const bool normalization = parseResult->IsOptionPresent("--Normalize");
// Main type definition
const unsigned int Dimension = 2;
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