X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractLungFilter.txx;h=e4aa902ee6cd2f81d91de731506a34b6dad6baab;hb=0bbf0c26e4e2b917143315bec9ce1c52a357a500;hp=f291739d09cab2f346ca6f2aae46ab72493c0fca;hpb=c8d53d40ac8f5f83843193c51ac1787a8f38ee90;p=clitk.git diff --git a/segmentation/clitkExtractLungFilter.txx b/segmentation/clitkExtractLungFilter.txx index f291739..e4aa902 100644 --- a/segmentation/clitkExtractLungFilter.txx +++ b/segmentation/clitkExtractLungFilter.txx @@ -38,6 +38,7 @@ ExtractLungFilter(): clitk::FilterBase(), itk::ImageToImageFilter() { + SetNumberOfSteps(10); // Default global options this->SetNumberOfRequiredInputs(2); SetPatientMaskBackgroundValue(0); @@ -154,7 +155,6 @@ GenerateOutputInformation() { input = dynamic_cast(itk::ProcessObject::GetInput(0)); Superclass::GenerateOutputInformation(); -// MaskImagePointer output = this->GetOutput(0); // Get input pointers input = dynamic_cast(itk::ProcessObject::GetInput(0)); @@ -166,6 +166,9 @@ GenerateOutputInformation() return; } + // Set Number of steps + SetNumberOfSteps(9); + //-------------------------------------------------------------------- //-------------------------------------------------------------------- StartNewStep("Set background to initial image");