X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractMediastinumFilter.txx;h=675718082192ea3663ada290675da3648b91a5e2;hb=595624eb4297e747630105d45017de69733caef2;hp=39e5542b5df9fdaf670c5e66bc354f103532ab0f;hpb=af27d50b51880a03745f48d7fb4fd59728e8e68f;p=clitk.git diff --git a/segmentation/clitkExtractMediastinumFilter.txx b/segmentation/clitkExtractMediastinumFilter.txx index 39e5542..6757180 100644 --- a/segmentation/clitkExtractMediastinumFilter.txx +++ b/segmentation/clitkExtractMediastinumFilter.txx @@ -263,6 +263,7 @@ GenerateOutputInformation() { MaskImagePointer bones_ant; MaskImagePointer bones_post; MaskImagePointType middle_AntPost_position; + middle_AntPost_position.Fill(NumericTraits::Zero); if (GetUseBones()) { this->StartNewStep("[Mediastinum] Ant/Post limits with bones"); @@ -340,7 +341,10 @@ GenerateOutputInformation() { // Generic RelativePosition processes output = this->ApplyRelativePositionList("Mediastinum", output); + //-------------------------------------------------------------------- + // FIXME --> do not put this limits here ! + /* // Step : SI limits It is better to do this limit *AFTER* the // RelativePosition to avoid some issue due to superior boundaries. this->StartNewStep("[Mediastinum] Keep inferior to CricoidCartilag"); @@ -357,6 +361,7 @@ GenerateOutputInformation() { } output = clitk::CropImageRemoveGreaterThan(output, 2, p[2], true, this->GetBackgroundValue()); this->template StopCurrentStep(output); + */ //-------------------------------------------------------------------- // Step: Get CCL