diff --git a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx index 2f8ed9400be03dba5e6cc1c98865bc7b51e51839..c1497a0e6538ae0f3d7a0c0f2d59ed45c76549d7 100644 --- a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx @@ -75,7 +75,7 @@ int otbImageToSIFTKeyPointSetFilterOutputAscii(int argc, char * argv[]) outfile << "Number of SIFT key points: " << filter->GetOutput()->GetNumberOfPoints() << std::endl; while( pIt!=filter->GetOutput()->GetPoints()->End() ) { - outfile << pIt.Value() << "["; + outfile << "[" << std::fixed << std::setprecision(2) << pIt.Value()[0] << ", " << std::setprecision(2) << pIt.Value()[1] << "]["; unsigned int lIterDesc=0; while (lIterDesc < pDataIt.Value().Size())