diff --git a/Code/OBIA/otbPersistentImageToOGRDataFilter.txx b/Code/OBIA/otbPersistentImageToOGRDataFilter.txx index ad2061f9ade278322be2fd4fdbc1a497274f4ad1..2c63732a92e268abe0f0a966c62dce258456f0d3 100644 --- a/Code/OBIA/otbPersistentImageToOGRDataFilter.txx +++ b/Code/OBIA/otbPersistentImageToOGRDataFilter.txx @@ -31,7 +31,6 @@ namespace otb - template<class TImage> PersistentImageToOGRDataFilter<TImage> ::PersistentImageToOGRDataFilter() : m_FieldName("DN"), m_FileName(""), m_TileNum(0) diff --git a/Code/OBIA/otbStreamingVectorizedSegmentationOGR.h b/Code/OBIA/otbStreamingVectorizedSegmentationOGR.h index 8d0f97e27369ad20633d599caff965f4a05efe0a..a611e44627d70a3507aaad95af59313a87fd39c5 100644 --- a/Code/OBIA/otbStreamingVectorizedSegmentationOGR.h +++ b/Code/OBIA/otbStreamingVectorizedSegmentationOGR.h @@ -136,7 +136,7 @@ public: itkGetObjectMacro(SegmentationFilter, SegmentationFilterType); /*itkSetMacro(FieldName, std::string); - itkGetMacro(FieldName, std::string);*/ + itkGetMacro(FieldName, std::string); */ void SetStartLabel(const LabelPixelType & label) { diff --git a/Testing/Code/OBIA/otbStreamingVectorizedSegmentationOGR.cxx b/Testing/Code/OBIA/otbStreamingVectorizedSegmentationOGR.cxx index 7c9ba46cacf57c40e1b7a25d99a6252c7ea516fa..2b0892c0bc48d5d23802b7f580192adf59273193 100644 --- a/Testing/Code/OBIA/otbStreamingVectorizedSegmentationOGR.cxx +++ b/Testing/Code/OBIA/otbStreamingVectorizedSegmentationOGR.cxx @@ -85,7 +85,7 @@ int otbStreamingVectorizedSegmentationOGR(int argc, char * argv[]) //New mean shift filter /*typedef otb::MeanShiftConnectedComponentSegmentationFilter - < ImageType, LabelImageType, LabelImageType > SegmentationFilterType;*/ + < ImageType, LabelImageType, LabelImageType > SegmentationFilterType; */ typedef otb::MeanShiftImageFilter2<ImageType,ImageType,ImageType,KernelType> MeanShiftFilterType; @@ -119,7 +119,7 @@ int otbStreamingVectorizedSegmentationOGR(int argc, char * argv[]) /*filter->GetSegmentationFilter()->SetMeanShiftFilter(meanShiftFilter); filter->GetSegmentationFilter()->SetMaskExpression(maskexpression); filter->GetSegmentationFilter()->SetConnectedComponentExpression(segmentationexpression); - filter->GetSegmentationFilter()->SetMinimumObjectSize(minobjectsize);*/ + filter->GetSegmentationFilter()->SetMinimumObjectSize(minobjectsize); */ filter->SetInput(reader->GetOutput()); //filter->GetStreamer()->SetNumberOfLinesStrippedStreaming(atoi(argv[3])); @@ -132,7 +132,7 @@ int otbStreamingVectorizedSegmentationOGR(int argc, char * argv[]) //filter->GetSegmentationFilter()->GetFunctor().SetExpression("distance<15"); filter->SetFileName(argv[2]); - filter->Initialize(); //must do this after SetFileName ... + filter->Initialize(); //must do this after SetFileName ... filter->Update();