Skip to content
Snippets Groups Projects
Commit 97080712 authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent 4fa3a8e0
Branches
Tags
No related merge requests found
......@@ -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:
......
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment