X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=segmentation%2FclitkFillMaskFilter.txx;h=cfe366a3bbdaba0d16bdafe1f1db2f9ae5f9fc20;hb=706d7e2dc69e12b3823cfae2f3be3f903e4d3c80;hp=70b481398d42298cedfd62e6841f5da7d15e11d2;hpb=c1fb4e570939d49098c59e151711822f19bdba10;p=clitk.git diff --git a/segmentation/clitkFillMaskFilter.txx b/segmentation/clitkFillMaskFilter.txx index 70b4813..cfe366a 100644 --- a/segmentation/clitkFillMaskFilter.txx +++ b/segmentation/clitkFillMaskFilter.txx @@ -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 @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html - ======================================================================-====*/ + ===========================================================================**/ #ifndef CLITKFILLMASKFILTER_TXX #define CLITKFILLMASKFILTER_TXX @@ -141,6 +141,7 @@ GenerateData() start2D[m_Directions[i]]=sliceIndex; desiredRegion.SetIndex( start2D ); extractFilter->SetExtractionRegion( desiredRegion ); + extractFilter->SetDirectionCollapseToSubmatrix(); extractFilter->Update( ); typename ImageSliceType::Pointer slice= extractFilter->GetOutput();