diff --git a/Testing/Code/BasicFilters/otbPCAImageFilter.cxx b/Testing/Code/BasicFilters/otbPCAImageFilter.cxx index 4ce4b645906c5b06c449571989f69bcd24724820..9bf2ed93c1214348c3473dfb9e33637b6f1b951b 100644 --- a/Testing/Code/BasicFilters/otbPCAImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbPCAImageFilter.cxx @@ -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;