From: dsarrut Date: Tue, 12 Jul 2011 06:12:39 +0000 (+0200) Subject: add final opening X-Git-Tag: v1.3.0~289 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=475accc8d5d7b2e4a6aa5473d14cd39d2c22ad4d;p=clitk.git add final opening --- 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