From: Vivien Delmon Date: Fri, 11 May 2012 13:09:28 +0000 (+0200) Subject: COMP: itk4 compatibility X-Git-Tag: v1.3.0~38 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=42819dd210d2f95dd19be42111362be1ab374409;p=clitk.git COMP: itk4 compatibility --- 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;