From 910d799ec56f8648ca0b29905c35d2c3f284e3de Mon Sep 17 00:00:00 2001 From: OTB Bot <otbbot@orfeo-toolbox.org> Date: Thu, 19 Apr 2012 19:57:54 +0200 Subject: [PATCH] STYLE --- Code/BasicFilters/otbMeanShiftImageFilter2.h | 2 -- Code/OBIA/otbFusionOGRTileFilter.txx | 8 ++++---- Code/OBIA/otbPersistentImageToOGRDataFilter.txx | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Code/BasicFilters/otbMeanShiftImageFilter2.h b/Code/BasicFilters/otbMeanShiftImageFilter2.h index f833aca148..6aa0ba58ff 100644 --- a/Code/BasicFilters/otbMeanShiftImageFilter2.h +++ b/Code/BasicFilters/otbMeanShiftImageFilter2.h @@ -102,7 +102,6 @@ class NormL2 }; - template <class TInputImage, class TOutputImage, class TKernel = KernelUniform, class TNorm = NormL2, class TOutputMetricImage = TOutputImage, class TOutputIterationImage = otb::Image<unsigned int, TInputImage::ImageDimension> > class ITK_EXPORT MeanShiftImageFilter2 : public itk::ImageToImageFilter<TInputImage, TOutputImage> @@ -239,7 +238,6 @@ private: // }; - /** Range bandwidth */ RealType m_RangeBandwidth; diff --git a/Code/OBIA/otbFusionOGRTileFilter.txx b/Code/OBIA/otbFusionOGRTileFilter.txx index 16cce76db2..f473330262 100644 --- a/Code/OBIA/otbFusionOGRTileFilter.txx +++ b/Code/OBIA/otbFusionOGRTileFilter.txx @@ -88,7 +88,7 @@ FusionOGRTileFilter<TImage> { /*std::cout<< " column tile number : " << x*y <<std::endl; itk::TimeProbe chrono; - chrono.Start();*/ + chrono.Start(); */ //First compute the intersection between polygons and the streaming line (upper stream) std::vector<FeatureStruct> upperStreamFeatureList; @@ -253,7 +253,7 @@ FusionOGRTileFilter<TImage> } /*chrono.Stop(); - std::cout<< "Column fusion tile took " << chrono.GetTotal() << " sec"<<std::endl;*/ + std::cout<< "Column fusion tile took " << chrono.GetTotal() << " sec"<<std::endl; */ } //end for x } //end for y @@ -268,7 +268,7 @@ FusionOGRTileFilter<TImage> { /*std::cout<< " line tile number : " << x*y <<std::endl; itk::TimeProbe chrono; - chrono.Start();*/ + chrono.Start(); */ //First compute the intersection between polygons and the streaming line (upper stream) std::vector<FeatureStruct> upperStreamFeatureList; @@ -431,7 +431,7 @@ FusionOGRTileFilter<TImage> /*chrono.Stop(); - std::cout<< "line fusion tile took " << chrono.GetTotal() << " sec"<<std::endl;*/ + std::cout<< "line fusion tile took " << chrono.GetTotal() << " sec"<<std::endl; */ } //end for x } //end for y diff --git a/Code/OBIA/otbPersistentImageToOGRDataFilter.txx b/Code/OBIA/otbPersistentImageToOGRDataFilter.txx index 3a348ebe4e..ea349399d8 100644 --- a/Code/OBIA/otbPersistentImageToOGRDataFilter.txx +++ b/Code/OBIA/otbPersistentImageToOGRDataFilter.txx @@ -154,7 +154,7 @@ PersistentImageToOGRDataFilter<TImage> /*char ** options = NULL; char * opt = "SPATIALITE=YES"; options = CSLAddString(options, opt ); - m_DataSource = ogrDriver->CreateDataSource(this->m_FileName.c_str(), &options[0]);*/ + m_DataSource = ogrDriver->CreateDataSource(this->m_FileName.c_str(), &options[0]); */ m_DataSource->CreateLayer("layer", oSRS ,wkbMultiPolygon, NULL); -- GitLab