X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractMediastinalVesselsFilter.h;h=44bb53af2fe267e2d9a6b3db6a62efe81b477616;hb=60c5b5c699be63c0bba2093f3f353e415fbcec5f;hp=59ff6f7a3f8f182200fbddbdf4fc5acb6de27724;hpb=a515cd4eb114c9310570341ca29f35484356a1e8;p=clitk.git 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