]> Creatis software - clitk.git/blobdiff - filters/clitkSplitImageGenericFilter.h
build segmentation by default as it is needed for vv
[clitk.git] / filters / clitkSplitImageGenericFilter.h
index 7e84de7d49577d65a185ebfb459d1639f7a1a1c4..a32530133e4751301125040566347247e8f11bfc 100644 (file)
@@ -1,3 +1,20 @@
+/*=========================================================================
+  Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
+
+  Authors belong to: 
+  - University of LYON              http://www.universite-lyon.fr/
+  - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
+  - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
+
+  This software is distributed WITHOUT ANY WARRANTY; without even
+  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+  PURPOSE.  See the copyright notices for more information.
+
+  It is distributed under dual licence
+
+  - BSD        See included LICENSE.txt file
+  - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
+======================================================================-====*/
 #ifndef clitkSplitImageGenericFilter_H
 #define clitkSplitImageGenericFilter_H
 /**
@@ -40,6 +57,8 @@ namespace clitk {
     // Set methods
     void SetSplitDimension (int dim) { mSplitDimension = dim; }
     void SetVerbose (const bool v) { m_Verbose = v; }
+    void SetPng (const bool v) { m_Png = v; }
+    void SetWindowLevel(const double w, const double l){ m_Window = w; m_Level = l;}
 
    //--------------------------------------------------------------------
     // Main function called each time the filter is updated
@@ -50,6 +69,8 @@ namespace clitk {
     template<unsigned int Dim> void InitializeImageType();
     int  mSplitDimension;
     bool m_Verbose;
+    bool m_Png;
+    double m_Window, m_Level;
 
   }; // end class SplitImageGenericFilter
 //--------------------------------------------------------------------