X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=filters%2FclitkSplitImageGenericFilter.h;h=a32530133e4751301125040566347247e8f11bfc;hb=8abe9edbdc63a33f8fbb1f321073b762e08be9aa;hp=359464cb31cabf33651c01c6bc7b46949d1850b3;hpb=9bcf64b7f7c5a7f0a39843df634c05b5d9e4e237;p=clitk.git diff --git a/filters/clitkSplitImageGenericFilter.h b/filters/clitkSplitImageGenericFilter.h index 359464c..a325301 100644 --- a/filters/clitkSplitImageGenericFilter.h +++ b/filters/clitkSplitImageGenericFilter.h @@ -1,18 +1,22 @@ -/*------------------------------------------------------------------------- +/*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv - Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de - l'Image). All rights reserved. See Doc/License.txt or - http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - --------------------------------------------------------------------------*/ + 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 - /** ------------------------------------------------------------------- * @file clitkSplitImageGenericFilter.h @@ -53,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 @@ -63,6 +69,8 @@ namespace clitk { template void InitializeImageType(); int mSplitDimension; bool m_Verbose; + bool m_Png; + double m_Window, m_Level; }; // end class SplitImageGenericFilter //--------------------------------------------------------------------