From d404e42f49e2eb4f59fd54c81528d321abdaddfe Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Sat, 23 Jun 2012 20:25:19 +0200 Subject: [PATCH] ENH: remove useless call to Update() --- .../otbStreamingImageToOGRLayerSegmentationFilter.txx | 1 - 1 file changed, 1 deletion(-) diff --git a/Code/Segmentation/otbStreamingImageToOGRLayerSegmentationFilter.txx b/Code/Segmentation/otbStreamingImageToOGRLayerSegmentationFilter.txx index 20f08e947b..d3a0575068 100644 --- a/Code/Segmentation/otbStreamingImageToOGRLayerSegmentationFilter.txx +++ b/Code/Segmentation/otbStreamingImageToOGRLayerSegmentationFilter.txx @@ -97,7 +97,6 @@ PersistentImageToOGRLayerSegmentationFilter<TImageType, TSegmentationFilter> chrono1.Start(); m_SegmentationFilter->SetInput(extract->GetOutput()); m_SegmentationFilter->UpdateLargestPossibleRegion(); - m_SegmentationFilter->Update(); chrono1.Stop(); otbMsgDebugMacro(<<"segmentation took " << chrono1.GetTotal() << " sec"); -- GitLab