From 9708071242aaed66ed81d39eaba5baaf4fe12feb Mon Sep 17 00:00:00 2001 From: OTB Bot <otbbot@orfeo-toolbox.org> Date: Fri, 2 Dec 2011 19:55:42 +0100 Subject: [PATCH] STYLE --- .../Classification/otbKMeansClassification.cxx | 3 --- Applications/Utils/otbReadImageInfo.cxx | 10 +++++----- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Applications/Classification/otbKMeansClassification.cxx b/Applications/Classification/otbKMeansClassification.cxx index 7e2b154de0..0daf81dce1 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 2a500b70be..7c17b628fc 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()); -- GitLab