From 42819dd210d2f95dd19be42111362be1ab374409 Mon Sep 17 00:00:00 2001 From: Vivien Delmon Date: Fri, 11 May 2012 15:09:28 +0200 Subject: [PATCH] COMP: itk4 compatibility --- segmentation/clitkMotionMaskGenericFilter.txx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/segmentation/clitkMotionMaskGenericFilter.txx b/segmentation/clitkMotionMaskGenericFilter.txx index 992b6b8..81efecc 100644 --- a/segmentation/clitkMotionMaskGenericFilter.txx +++ b/segmentation/clitkMotionMaskGenericFilter.txx @@ -532,7 +532,11 @@ MotionMaskGenericFilter::InitializeEllips( typename itk::Vector= 4 + typename LabelType::RegionType lung_bbox = label->GetBoundingBox(); +#else typename LabelType::RegionType lung_bbox = label->GetRegion(); +#endif axes[0] = 0.95*lung_bbox.GetSize()[0]*spacing[0]/2; axes[1] = 0.3*lung_bbox.GetSize()[1]*spacing[1]/2; axes[2] = 0.95*lung_bbox.GetSize()[2]*spacing[2]/2; -- 2.47.1