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

STYLE

parent 381aa22e
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,6 @@ namespace otb
template<class TImage>
PersistentImageToOGRDataFilter<TImage>
::PersistentImageToOGRDataFilter() : m_FieldName("DN"), m_FileName(""), m_TileNum(0)
......
......@@ -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)
{
......
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment