X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FRelativePositionPropImageFilter.txx;h=3ee1d0f24c38b15a6589a1611eadba46ddcefc61;hb=b8e5890d37dfd64409b9694f73c0be164a089e64;hp=56a27d41cc60356d512238f9b467ad7aae80b919;hpb=f5fbb8b3c473ceced4864212387ebe26929c4696;p=clitk.git diff --git a/itk/RelativePositionPropImageFilter.txx b/itk/RelativePositionPropImageFilter.txx index 56a27d4..3ee1d0f 100644 --- a/itk/RelativePositionPropImageFilter.txx +++ b/itk/RelativePositionPropImageFilter.txx @@ -1,10 +1,27 @@ +/*========================================================================= + 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://www.centreleonberard.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 +===========================================================================*/ /*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: $RCSfile: RelativePositionPropImageFilter.txx,v $ Language: C++ - Date: $Date: 2010/06/30 05:58:56 $ - Version: $Revision: 1.1 $ + Date: $Date: 2010/07/12 06:57:25 $ + Version: $Revision: 1.2 $ Copyright (c) Insight Software Consortium. All rights reserved. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. @@ -16,6 +33,7 @@ =========================================================================*/ #ifndef _RelativePositionPropImageFilter_txx #define _RelativePositionPropImageFilter_txx + #include "RelativePositionPropImageFilter.h" #include "itkNeighborhoodOperatorImageFilter.h" @@ -23,7 +41,6 @@ #include "itkZeroFluxNeumannBoundaryCondition.h" #include "itkProgressAccumulator.h" #include "itkImageFileWriter.h" - #include "itkSimpleContourExtractorImageFilter.h" #include "itkUnaryFunctorImageFilter.h" @@ -33,7 +50,7 @@ namespace itk template void RelativePositionPropImageFilter - ::GenerateInputRequestedRegion() throw (InvalidRequestedRegionError) + ::GenerateInputRequestedRegion() { // call the superclass' implementation of this method Superclass::GenerateInputRequestedRegion (); @@ -69,8 +86,6 @@ namespace itk ::GenerateData() { - // std::cout <<"GenerateData" << std::endl; - this->AllocateOutputs(); computeDirection(); typename InputImageType::ConstPointer input = this->GetInput(); @@ -114,7 +129,6 @@ namespace itk if(!m_Fast) { - DD(m_Fast); for(int i=0;i