From b2a7c12437798214cca01b68d61f5b16eb1036a5 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Wed, 19 Oct 2011 13:01:14 +0200 Subject: [PATCH] Add one slice for the S1RL support --- segmentation/clitkExtractLymphStation_Supports.txx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/segmentation/clitkExtractLymphStation_Supports.txx b/segmentation/clitkExtractLymphStation_Supports.txx index 2cde97d..79abe6a 100644 --- a/segmentation/clitkExtractLymphStation_Supports.txx +++ b/segmentation/clitkExtractLymphStation_Supports.txx @@ -123,6 +123,8 @@ Support_SupInf_S1RL() MaskImagePointType p; p[0] = p[1] = p[2] = 0.0; // to avoid warning clitk::FindExtremaPointInAGivenDirection(Sternum, GetBackgroundValue(), 2, false, p); + // DD(p); + p[2] += Sternum->GetSpacing()[2]; // add one slice: start just superiorly MaskImagePointer S1RL = clitk::CropImageRemoveLowerThan(m_Working_Support, 2, p[2], true, GetBackgroundValue()); -- 2.47.1