Skip to content
Snippets Groups Projects
Commit 24e4993b authored by Mathieu Deltorre's avatar Mathieu Deltorre
Browse files

*modif std::precision

parent b14ab902
Branches
Tags
No related merge requests found
...@@ -75,7 +75,7 @@ int otbImageToSIFTKeyPointSetFilterOutputAscii(int argc, char * argv[]) ...@@ -75,7 +75,7 @@ int otbImageToSIFTKeyPointSetFilterOutputAscii(int argc, char * argv[])
outfile << "Number of SIFT key points: " << filter->GetOutput()->GetNumberOfPoints() << std::endl; outfile << "Number of SIFT key points: " << filter->GetOutput()->GetNumberOfPoints() << std::endl;
while( pIt!=filter->GetOutput()->GetPoints()->End() ) 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; unsigned int lIterDesc=0;
while (lIterDesc < pDataIt.Value().Size()) while (lIterDesc < pDataIt.Value().Size())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment