From: David Sarrut Date: Thu, 29 Sep 2011 05:25:08 +0000 (+0200) Subject: Remove VertebralBody X-Git-Tag: v1.3.0~212 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=60c5b5c699be63c0bba2093f3f353e415fbcec5f;p=clitk.git Remove VertebralBody --- diff --git a/segmentation/clitkExtractMediastinumFilter.txx b/segmentation/clitkExtractMediastinumFilter.txx index e3f83dc..312fd14 100644 --- a/segmentation/clitkExtractMediastinumFilter.txx +++ b/segmentation/clitkExtractMediastinumFilter.txx @@ -329,6 +329,13 @@ GenerateOutputInformation() { this->template StopCurrentStep(output); } + //-------------------------------------------------------------------- + // Remove VertebralBody part + this->StartNewStep("[Mediastinum] Remove VertebralBody"); + MaskImagePointer VertebralBody = this->GetAFDB()->template GetImage("VertebralBody"); + clitk::AndNot(output, VertebralBody, this->GetBackgroundValue()); + this->template StopCurrentStep(output); + //-------------------------------------------------------------------- // Generic RelativePosition processes output = this->ApplyRelativePositionList("Mediastinum", output);