X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImageToImageGenericFilterBase.txx;h=0525ad4584710b4e0050dae08df999ed6a2448c5;hb=e008d74b0ecdc4ca2eaae8c429901a78f9ef5c31;hp=3164d0167b242d518317902f8a7791da4b3ce6af;hpb=9ae64f347a459fbb2abdd5408703aa121646c3de;p=clitk.git diff --git a/common/clitkImageToImageGenericFilterBase.txx b/common/clitkImageToImageGenericFilterBase.txx index 3164d01..0525ad4 100644 --- a/common/clitkImageToImageGenericFilterBase.txx +++ b/common/clitkImageToImageGenericFilterBase.txx @@ -1,59 +1,18 @@ /*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv - Program: vv - Module: $RCSfile: clitkImageToImageGenericFilterBase.txx,v $ - Language: C++ - Date: $Date: 2010/03/03 13:00:36 $ - Version: $Revision: 1.2 $ - Author : Joel Schaerer - David Sarrut + 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 - Copyright (C) 2008 - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr - CREATIS-LRMN 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. - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, version 3 of the License. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - - =========================================================================*/ - -// //-------------------------------------------------------------------- -// template -// void clitk::ImageToImageGenericFilterBase::SetNextOutput(typename ImageType::Pointer output) { -// if (mOutputFilenames.size()) -// { -// clitk::writeImage(output, mOutputFilenames.front(), mIOVerbose); -// mOutputFilenames.pop_front(); -// } -// if (mInputVVImages.size()) //We assume that if a vv image is set as input, we want one as the output -// mOutputVVImages.push_back(vvImageFromITK(output)); -// } -// //-------------------------------------------------------------------- - - -// //-------------------------------------------------------------------- -// template -// typename ImageType::Pointer clitk::ImageToImageGenericFilterBase::GetInput(unsigned int n) { -// if (mInputFilenames.size() > n) { -// return clitk::readImage(mInputFilenames[n], mIOVerbose); -// } -// else if (mInputVVImages.size() > n) -// return typename ImageType::Pointer(const_cast(vvImageToITK(mInputVVImages[n]).GetPointer())); -// else -// { -// assert(false); //No input, this shouldn't happen -// return typename ImageType::Pointer(NULL); -// } -// } -// //-------------------------------------------------------------------- + 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 +======================================================================-====*/