From d66ab350eb40760c6865beed4620d9d979ff2b99 Mon Sep 17 00:00:00 2001
From: Manuel Grizonnet <manuel.grizonnet@orfeo-toolbox.org>
Date: Tue, 20 Nov 2012 22:06:31 +0100
Subject: [PATCH] BUG: no reason to update filters in despeckle examples

---
 Examples/BasicFilters/FrostImageFilter.cxx | 13 -------------
 Examples/BasicFilters/LeeImageFilter.cxx   | 13 -------------
 2 files changed, 26 deletions(-)

diff --git a/Examples/BasicFilters/FrostImageFilter.cxx b/Examples/BasicFilters/FrostImageFilter.cxx
index e1aa5d4798..e57a563aa7 100644
--- a/Examples/BasicFilters/FrostImageFilter.cxx
+++ b/Examples/BasicFilters/FrostImageFilter.cxx
@@ -133,19 +133,6 @@ int main(int argc, char * argv[])
   filter->SetDeramp(atof(argv[4]));
   // Software Guide : EndCodeSnippet
 
-  //  Software Guide : BeginLatex
-  //
-  //  The filter is executed by invoking the \code{Update()} method. If the
-  //  filter is part of a larger image processing pipeline, calling
-  //  \code{Update()} on a downstream filter will also trigger update of this
-  //  filter.
-  //
-  //  Software Guide : EndLatex
-
-  // Software Guide : BeginCodeSnippet
-  filter->Update();
-  // Software Guide : EndCodeSnippet
-
   writer->SetFileName(argv[2]);
   writer->Update();
 
diff --git a/Examples/BasicFilters/LeeImageFilter.cxx b/Examples/BasicFilters/LeeImageFilter.cxx
index 7d491b374d..7d52fefff9 100644
--- a/Examples/BasicFilters/LeeImageFilter.cxx
+++ b/Examples/BasicFilters/LeeImageFilter.cxx
@@ -160,19 +160,6 @@ int main(int argc, char * argv[])
   filter->SetNbLooks(atoi(argv[4]));
   // Software Guide : EndCodeSnippet
 
-  //  Software Guide : BeginLatex
-  //
-  //  The filter is executed by invoking the \code{Update()} method. If the
-  //  filter is part of a larger image processing pipeline, calling
-  //  \code{Update()} on a downstream filter will also trigger update of this
-  //  filter.
-  //
-  //  Software Guide : EndLatex
-
-  // Software Guide : BeginCodeSnippet
-  filter->Update();
-  // Software Guide : EndCodeSnippet
-
   writer->SetFileName(argv[2]);
   writer->Update();
 
-- 
GitLab