From 475accc8d5d7b2e4a6aa5473d14cd39d2c22ad4d Mon Sep 17 00:00:00 2001 From: dsarrut Date: Tue, 12 Jul 2011 08:12:39 +0200 Subject: [PATCH] add final opening --- segmentation/clitkExtractMediastinalVesselsFilter.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/segmentation/clitkExtractMediastinalVesselsFilter.h b/segmentation/clitkExtractMediastinalVesselsFilter.h index 59ff6f7..44bb53a 100644 --- a/segmentation/clitkExtractMediastinalVesselsFilter.h +++ b/segmentation/clitkExtractMediastinalVesselsFilter.h @@ -125,6 +125,9 @@ namespace clitk { itkSetMacro(MaxNumberOfFoundBifurcation, int); itkGetConstMacro(MaxNumberOfFoundBifurcation, int); + itkSetMacro(FinalOpeningRadius, int); + itkGetConstMacro(FinalOpeningRadius, int); + protected: ExtractMediastinalVesselsFilter(); virtual ~ExtractMediastinalVesselsFilter() {} @@ -150,6 +153,7 @@ namespace clitk { double m_MaxDistanceLeftToCarina; double m_MaxDistanceRightToCarina; int m_MaxNumberOfFoundBifurcation; + int m_FinalOpeningRadius; std::vector m_slice_recon; std::vector m_slice_recon2; @@ -163,10 +167,17 @@ namespace clitk { void CropInputImage(); void TrackBifurcationFromPoint(MaskImagePointer & recon, std::vector & slices_recon, - MaskImagePointType BCA_p, + MaskImagePointType point3D, + MaskImagePointType pointMaxSlice, LabelType newLabel, std::vector & bif); + void TrackVesselsFromPoint(MaskImagePointer & recon, + std::vector & slices_recon, + MaskImagePointType point3D, + MaskImagePointType pointMaxSlice, + LabelType newLabel); + private: ExtractMediastinalVesselsFilter(const Self&); //purposely not implemented void operator=(const Self&); //purposely not implemented -- 2.45.1