diff --git a/Applications/Classification/otbKMeansClassification.cxx b/Applications/Classification/otbKMeansClassification.cxx index 7e2b154de0f743fea13911bc0145615fd4cc1490..0daf81dce159d7aa0b86c4511cf43a049380c14c 100644 --- a/Applications/Classification/otbKMeansClassification.cxx +++ b/Applications/Classification/otbKMeansClassification.cxx @@ -39,7 +39,6 @@ namespace otb - namespace Wrapper { @@ -110,7 +109,6 @@ typedef LabeledImageType::PixelType LabelType; - typedef FloatVectorImageType::PixelType SampleType; typedef itk::Statistics::ListSample<SampleType> ListSampleType; typedef itk::Statistics::WeightedCentroidKdTreeGenerator<ListSampleType> TreeGeneratorType; @@ -132,7 +130,6 @@ typedef itk::UnaryFunctorImageFilter<FloatVectorImageType, LabeledImageType, KMeansFunctorType> KMeansFilterType; - class KMeansClassification: public Application { public: diff --git a/Applications/Utils/otbReadImageInfo.cxx b/Applications/Utils/otbReadImageInfo.cxx index 2a500b70bebb4cb3aa1728eba515c5c3342ab062..7c17b628fc4d49826c11c81a5bd0432893b99444 100644 --- a/Applications/Utils/otbReadImageInfo.cxx +++ b/Applications/Utils/otbReadImageInfo.cxx @@ -216,11 +216,11 @@ private: SetParameterString("time", osstime.str()); if ( IsParameterEnabled("keywordlist") ) - { - itk::OStringStream osskeywordlist; - osskeywordlist<<metadataInterface->GetImageKeywordlist() << std::endl; - SetParameterString("keyword", osskeywordlist.str()); - } + { + itk::OStringStream osskeywordlist; + osskeywordlist<<metadataInterface->GetImageKeywordlist() << std::endl; + SetParameterString("keyword", osskeywordlist.str()); + } double ullat = atof(metadataInterface->GetImageKeywordlist().GetMetadataByKey("ul_lat").c_str()); double ullon = atof(metadataInterface->GetImageKeywordlist().GetMetadataByKey("ul_lon").c_str()); double urlat = atof(metadataInterface->GetImageKeywordlist().GetMetadataByKey("ur_lat").c_str());