]> Creatis software - clitk.git/blobdiff - segmentation/clitkConnectedComponentLabeling.cxx
Merge branch 'master' of tux.creatis.insa-lyon.fr:clitk
[clitk.git] / segmentation / clitkConnectedComponentLabeling.cxx
index bc2fcb196ee404249e0e7eaa01e79e2773f51b5a..c601e9ff6c1c979cbdf7130194f5c7c27a4f51f0 100644 (file)
@@ -3,7 +3,7 @@
 
   Authors belong to:
   - University of LYON              http://www.universite-lyon.fr/
-  - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
+  - Léon Bérard cancer center       http://www.centreleonberard.fr
   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
 
   This software is distributed WITHOUT ANY WARRANTY; without even
 
   - BSD        See included LICENSE.txt file
   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-======================================================================-====*/
+===========================================================================**/
 
 // clitk
 #include "clitkConnectedComponentLabeling_ggo.h"
 #include "clitkConnectedComponentLabelingGenericFilter.h"
+#include "clitkMemoryUsage.h"
 
 //--------------------------------------------------------------------
 int main(int argc, char * argv[])
 {
+  //  clitk::PrintMemory(true, "start");
 
   // Init command line
   GGO(clitkConnectedComponentLabeling, args_info);
   CLITK_INIT;
 
   // Filter
+  //clitk::PrintMemory(true, "before filter");
   typedef clitk::ConnectedComponentLabelingGenericFilter<args_info_clitkConnectedComponentLabeling> FilterType;
   FilterType::Pointer filter = FilterType::New();
 
   filter->SetArgsInfo(args_info);
+  //clitk::PrintMemory(true, "before update");
   try {
     filter->Update();
   } catch(std::runtime_error e) {
     std::cout << e.what() << std::endl;
   }
 
+  //clitk::PrintMemory(true, "after filter");
+
   return EXIT_SUCCESS;
 } // This is the end, my friend
 //--------------------------------------------------------------------