From 60c5b5c699be63c0bba2093f3f353e415fbcec5f Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Thu, 29 Sep 2011 07:25:08 +0200 Subject: [PATCH] Remove VertebralBody --- segmentation/clitkExtractMediastinumFilter.txx | 7 +++++++ 1 file changed, 7 insertions(+) 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); -- 2.47.1